@charset "UTF-8";

@font-face {
    font-family: "Montserrat";
    src: url(../Fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
}

@font-face {
    font-family: "Lovelo";
    src: url(/Fonts/lovelo/Lovelo\ Line\ Light.otf);
}

:root {
    --cor1: #1b254f; /*Cor de Destaque*/
    --cor2: #7e82b6; /*Cor Principal*/
    --cor3: #ededed; /*Cor Normal*/
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--cor3);
    color: #1b254f;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

header {
    background-color: var(--cor1);
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 20px 0;
}

.wavesup {
    display: block;
    height: 52px;
    background-image: url(../IMG/waves.svg);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center center;
}

.wavesupmain {
    display: block;
    height: 52px;
    background-image: url(../IMG/wavesmain.svg);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center center;
}

.wavesdown {
    display: block;
    height: 52px;
    background-image: url(../IMG/waves2.svg);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: center center;
}

a.underline {
    color: var(--cor2);
}

/* Logo */
button > h1 > a {
    color: var(--cor2);
    background-color: #fff;
    position: fixed;
    top: 10px;
    left: 10px;
    margin-left: 3px;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 28px;
    box-shadow: 1px 3px 4px 0px var(--cor1);
}

span {
    color: var(--cor1);
}

h2 {
    font-weight: bolder;
}

h2 > strong > span {
    color: var(--cor2);
}

/* Título centralizado */
header > h2{
    color: var(--cor3);
    font-size: 33px;
    display: flex;
    align-items: center;
    font-weight: normal;
}

#titulo{
    margin: 30px;
}

header > p {
    color: var(--cor3);
    font-size: 22px;
    display: flex;
    align-items: center;
}

/* Menu no final do header */
nav {
    display: flex;
    justify-content: center;
    gap: 50px;
    font-size: 1.15em;
    margin-bottom: 10px;
}

nav > a {
    color: var(--cor3);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav > a:hover {
    text-decoration: none;
    color: var(--cor2);
}

/* Conteúdo principal */
article {
    text-align: center;
    margin: 100px;
}

h3 {
    font-size: 80px;
}

/*Sessão: Nossa Tragetória*/
.historia {
    background-color: var(--cor2);
    color: var(--cor3);
    padding: 50px 100px;
    display: flex;
    font-size: 120%;
    align-items: center;
    justify-content: center;
    gap: 40px; /* espaço entre texto e imagem */
    flex-wrap: wrap;
    text-align: left; 
}

.historia > div {
    max-width: 600px; /* limita o tamanho do texto */
}

.historia h2 {
    text-align: center;
    margin-bottom: 20px;
}

.historia p {
    line-height: 1.6;
    text-align: justify;
}

.historia img {
    width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Sessão: Nossa Equipe */

.equipe {
    background-color: var(--cor3);
    color: var(--cor1);
    text-align: center;
    padding: 25px 40px;
}

.equipe > p {
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.membro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap; /* garante responsividade */
    text-align: left;
}

.membro:nth-child(even) {
    flex-direction: row-reverse; /* alterna o lado da imagem */
}

.FotoEquipe {
    border-radius: 100%;
    height: 200px;
    width: 200px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.membro .info {
    max-width: 400px;
}

.membro .info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--cor1);
}

.membro .info p {
    font-size: 16px;
    line-height: 1.6;
}

.cases {
    display: flex;
    align-items: center;
    text-align: justify;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 25px 40px;
    width: 100%;
    max-width: 560px; /* largura original do vídeo que você usou */
    margin: 0 auto;   /* centraliza */
}

video {
    width: 100%;
    aspect-ratio: auto;
}


/*Serviço*/
.servicos {
    background-color: var(--cor1);
    color: var(--cor3);
    text-align: center;
    font-weight: bold;
    padding: 60px 0px 60px 0px;
}

.aba-servicos {
    width: 300px;
    height: 100px;
    margin: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background-color: var(--cor2);
    
}

.aba-servicos2 {
    width: 300px;
    height: 100px;
    margin: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: var(--cor1);
    background-color: var(--cor3);
    
}

.servicos > .bloco {
    display: inline-block;
}

/*Preços*/

.precos {
    background-color: #090c27;
    color: var(--cor3);
    text-align: center;
    padding: 50px 80px;
}

/*Quadrado de planos*/

.cards{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.main__heading {
  font-weight: 600;
  font-size: 2.25em;
  margin-bottom: 0.75em;
  text-align: center;
  color: #eceff1;
}

.card {
  --flow-space: 0.5em;
  --hsl: var(--hue), var(--saturation), var(--lightness);
  flex: 1 1 14rem;
  padding: 1.5em 2em;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  align-items: start;
  gap: 1.25em;
  color: #eceff1;
  background-color: var(--cor2);
  border: 1px solid #eceff133;
  border-radius: 15px;
}

.card:nth-child(1) {
  --hue: 165;
  --saturation: 82.26%;
  --lightness: 51.37%;
}

.card__bullets {
  line-height: 1.4;
}

.card__heading {
  font-size: 2.20em;
  font-weight: 600;
}

.card__price {
  font-size: 1.02em;
  font-weight: 700;
}

.flow > * + * {
  margin-top: var(--flow-space, 1.25em);
}

.cta {
  display: block;
  align-self: end;
  margin: 1em 0 0.5em 0;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  outline: 1px solid white;
  padding: 0.7em;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.card:hover {
  --lightness: 80%;
  background: #ffffff80;
  color: #000;
  outline: 1px solid rgb(255, 255, 255);
  box-shadow: inset 0 0 80px whitesmoke, inset 20px 0 80px rgba(17, 0, 255, 0.747),
    inset -20px 0 80px #a47dab, inset 20px 0 300px rgb(0, 132, 255), inset -20px 0 300px #7e82b6,
    0 0 50px #fff, -10px 0 80px #f0f, 10px 0 80px #0ff;
  transition: all ease-in-out 0.3s;
}

.card:hover > .cta {
  outline: none;
  background-color: var(--cor1);
}

#contato {
    margin-top: 20px;
    background-color: var(--cor2);
    color: var(--cor3);
    border: white 1px solid;
    padding: 15px 30px 15px 20px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

li {
    list-style-type: none;
}

li::before {
    content: "✓ ";
    color: var(--cor3);
}

footer {
    background-color: var(--cor1);
    color: var(--cor3);
    text-align: center;
    padding: 10px 0;
}

button {
    background-color: var(--cor1);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button a {
    color: var(--cor3);
    text-decoration: none;
}

.whatsapp{
    width: 25px;
    height: 25px;
    vertical-align: middle;
    margin-right: 10px;
}

/*Footer*/

footer > a > img {
    width: 20px;
    height: 20px;
    margin: 0 10px;
    vertical-align: middle;
}

footer > p {
    display: inline-block;
}



/* ============================
    RESPONSIVIDADE GERAL
============================ */

/* Telas até 1024px (tablets em paisagem e pequenos laptops) */
@media (max-width: 1024px) {
    header {
        height: auto;
        padding: 30px 20px;
    }

    nav {
        gap: 30px;
        font-size: 1em;
        flex-wrap: wrap;
    }

    .historia {
        padding: 40px 40px;
        text-align: center;
    }

    .historia img {
        width: 250px;
    }

    .membro {
        gap: 20px;
    }

    .membro .info {
        max-width: 100%;
    }

    .cards {
        gap: 20px;
    }
}

/* Telas até 768px (tablets em retrato e celulares em paisagem) */
@media (max-width: 768px) {

    /* Header */
    header {
        height: auto;
        padding: 20px;
    }

    header h2 {
        font-size: 26px;
    }

    header p {
        font-size: 18px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    /* Sessão Historia */
    .historia {
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        text-align: center;
    }

    .historia img {
        width: 230px;
    }

    /* Equipe */
    .membro {
        flex-direction: column !important;
        text-align: center;
    }

    .FotoEquipe {
        height: 180px;
        width: 180px;
    }

    .membro .info h3 {
        text-align: center;
    }

    /* Cards (Planos) */
    .cards {
        flex-direction: column;
        align-items: stretch;
    }

    .card {
        width: 100%;
        max-width: 350px;
        margin: auto;
    }

    /* Footer */
    footer img {
        width: 35px;
        height: 35px;
    }
}

/* Telas até 480px (celulares em retrato) */
@media (max-width: 480px) {

    /* Logo */
    button > h1 > a {
        font-size: 20px;
        padding: 4px 12px;
    }

    header h2 {
        font-size: 22px;
    }

    nav {
        font-size: 0.95em;
    }

    article {
        margin: 50px 10px;
    }

    h3 {
        font-size: 60px;
    }

    .historia {
        padding: 25px 15px;
    }

    .historia img {
        width: 180px;
    }

    .FotoEquipe {
        width: 150px;
        height: 150px;
    }

    .membro .info p {
        font-size: 15px;
    }

    .preços {
        padding: 20px;
    }
}