/* --------------------------
   VARIÁVEIS DE COR
--------------------------- */
:root {
    --verde-principal: #009E60;   /* botões, títulos */
    --verde-claro: #E4F5EC;      /* fundos suaves */
    --azul-petroleo: #0B7285;    /* hero / destaques */
    --cinza-fundo: #F5F7FA;      /* fundo geral */
    --texto: #333333;
    --sombra-suave: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* --------------------------
   BASE
--------------------------- */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--texto);
    background-color: var(--cinza-fundo);
}

/* --------------------------
   HEADER
--------------------------- */
header {
    background: #FFFFFF;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Social à esquerda */
.social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
}

.social a {
    text-decoration: none;
    color: var(--texto);
}

.social a img {
    background: transparent;
    width: 36px;
    height: 36px;
}

.social span {
    color: var(--texto);
    font-size: 14px;
}

/* Logo central */
.logo {
    max-width: 190px;
    height: auto;
    flex: 0 0 auto;
    display: block;
}

/* Botão à direita */
.contact {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    font-size: 11px;
}

/* --------------------------
   BOTÕES
--------------------------- */
.btn {
    background-color: transparent;
    color: var(--verde-principal);
    border: 2px solid var(--verde-principal);
    padding: 10px 22px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    margin: 10px 0;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.2s;
    font-weight: bold;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--verde-principal);
    color: #FFFFFF;
    box-shadow: var(--sombra-suave);
}

/* --------------------------
   SECTIONS GERAIS
--------------------------- */
section {
    padding: 20px;
}

/* compensar header fixo */
body > section:first-of-type {
    margin-top: 80px;
}

/* --------------------------
   HERO (primeira dobra)
--------------------------- */
.hero {
    position: relative;
    color: #FFFFFF;
    text-align: left;
    padding: 120px 20px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 80px); 
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(11, 114, 133, 0.7), rgba(0, 0, 0, 0.8));
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* conteúdo acima do overlay */
.hero h1,
.hero h2,
.hero p,
.hero h3,
.hero .btn {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

/* Frase principal mais chamativa */
.hero h1 {
    font-size: clamp(30px, 4.5vw, 42px);
    font-weight: 800;
    margin-bottom: 12px;
}

/* subtítulo */
.hero h2 {
    font-size: clamp(20px, 2.8vw, 26px);
    margin-bottom: 12px;
    color: #E4F5EC;
}

/* textos */
.hero p {
    font-size: 16px;
    margin-bottom: 8px;
}

.hero h3 {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 20px;
    color: #E4F5EC;
}

/* Botão do hero mais destacado */
.hero .btn {
    margin-top: 18px;
    background-color: rgba(0, 158, 96, 0.1);
    border-color: #FFFFFF;
    color: #FFFFFF;
}

/* --------------------------
   SOBRE MIM
--------------------------- */
.about {
    display: flex;
    align-items: stretch;
    gap: 24px;
    padding: 40px 20px;
    border-bottom: 2px solid #E0E5EC;
    background-color: #FFFFFF;
}

.about .text {
    flex: 2;
}

.about .text h1 {
    font-size: 30px;
    text-align: left;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--azul-petroleo);
}

.about .text p {
    font-size: 17px;
    margin-bottom: 10px;
}

/* destaque leve no primeiro parágrafo */
.about .text p:first-of-type {
    font-weight: bold;
    color: var(--verde-principal);
}

/* imagem nítida e com cara de “card” */
.about img {
    flex: 1;
    max-width: 320px;
    border-radius: 12px;
    object-fit: cover;
    align-self: center;
    box-shadow: var(--sombra-suave);
    background-color: #FFFFFF;
}

/* --------------------------
   ÁREAS DE ATUAÇÃO
--------------------------- */
.areas {
    background-color: var(--verde-claro);
    padding: 40px 20px;
    border-bottom: 2px solid #D3E6DC;
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.areas img {
    flex: 1;
    max-width: 320px;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--sombra-suave);
}

.areas .content {
    flex: 2;
}

.areas h2 {
    font-size: 30px;
    text-align: left;
    margin: 0 0 16px 0;
    color: var(--azul-petroleo);
}

/* listas mais limpas */
.areas ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.areas > .content > ul > li {
    margin-bottom: 12px;
}

.areas li strong {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 18px;
    color: var(--verde-principal);
}

.areas li ul {
    padding-left: 18px;
    margin-top: 4px;
}

.areas li ul li {
    margin-bottom: 4px;
    font-size: 15px;
}

/* Botão abaixo do texto */
.areas .btn {
    margin-top: 12px;
}

/* --------------------------
   COMO FUNCIONA
--------------------------- */
.como-funciona {
    background-color: #FFFFFF;
    padding: 35px 20px 40px;
    text-align: center;
    border-bottom: 2px solid #E0E5EC;
}

.como-funciona h3 {
    font-size: 28px;
    margin: 0 0 16px 0;
    color: var(--azul-petroleo);
}

/* cartões em coluna */
.como-funciona ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 650px;
    font-size: 17px;
}

.como-funciona li {
    margin-bottom: 10px;
    text-align: left;
    padding: 10px 12px;
    background: var(--verde-claro);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
}

/* substitui o ícone ✔ do texto por pseudo-elemento */
.como-funciona li::before {
    content: '✔';
    color: var(--verde-principal);
    margin-right: 10px;
    margin-top: 2px;
}

/* opcional: remover ✔ do texto original se quiser, via HTML */

/* --------------------------
   HORÁRIO DE ATENDIMENTO
--------------------------- */
.horario {
    background-color: var(--cinza-fundo);
    padding: 40px 20px;
    border-bottom: 2px solid #E0E5EC;
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.horario .content {
    flex: 2;
    animation: slideText 2s ease-in-out;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    box-shadow: var(--sombra-suave);
}

.horario img {
    flex: 1;
    max-width: 320px;
    height: 100%;
    object-fit: cover;
    animation: slideImage 2s ease-in-out;
    border-radius: 12px;
    box-shadow: var(--sombra-suave);
}

.horario h2 {
    font-size: 30px;
    text-align: left;
    margin: 0 0 12px 0;
    color: var(--azul-petroleo);
}

.horario ul {
    list-style: none;
    padding: 0;
    font-size: 17px;
    margin: 0 0 10px 0;
}

.horario li {
    text-align: left;
    margin-bottom: 8px;
}

.horario li::before {
    content: '✔';
    margin-right: 8px;
    color: var(--verde-principal);
}

/* botão abaixo do descritivo */
.horario .btn {
    position: static;
    margin-top: 12px;
}

/* animações */
@keyframes slideText {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideImage {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* --------------------------
   FORMULÁRIO (RESERVE SUA CONSULTA)
--------------------------- */
.form {
    background-color: var(--verde-claro);
    padding: 45px 20px 40px;
    width: 100%;
    text-align: center;
}

.form h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--azul-petroleo);
}

.form form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: var(--sombra-suave);
}

.form .row {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}

.form .input-group {
    flex: 1;
}

.form .row:nth-child(2) .input-group:nth-child(1) {
    flex: 2;
}
.form .row:nth-child(2) .input-group:nth-child(2) {
    flex: 1;
}

.form label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--verde-principal);
    text-align: left;
    font-size: 14px;
}

.form input,
.form select,
.form textarea {
    padding: 12px 14px;
    border: 2px solid var(--verde-principal);
    border-radius: 4px;
    font-size: 15px;
    background-color: #FFFFFF;
    color: var(--texto);
    width: 100%;
}

.form textarea {
    min-height: 80px;
    resize: vertical;
}

.form button {
    background-color: var(--verde-principal);
    color: #FFFFFF;
    border: none;
    padding: 10px 26px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    width: auto;
    margin-top: 10px;
    align-self: center;
    box-shadow: var(--sombra-suave);
}

/* --------------------------
   FOOTER (BARRA FINAL)
--------------------------- */
footer {
    background-color: #FFFFFF;
    color: var(--texto);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #E0E5EC;
}

footer p {
    margin: 0;
    font-size: 14px;
}

footer img {
    max-width: 180px;
    height: auto;
}

/* ícone do Instagram no footer */
footer a {
    text-decoration: none;
}

footer a img {
    width: 36px;
    height: 36px;
    background: transparent;
}

/* --------------------------
   RESPONSIVIDADE
--------------------------- */
@media (max-width: 992px) {
    .about,
    .areas,
    .horario {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .social {
        justify-content: center;
        flex: 1 1 100%;
    }

    .logo {
        max-width: 160px;
        order: -1;
    }

    .contact {
        justify-content: center;
        flex: 1 1 100%;
    }

    body > section:first-of-type {
        margin-top: 120px;
    }

    .hero {
        padding: 110px 16px 40px;
        min-height: auto;
        text-align: center;
        align-items: center;
    }

    .hero h1,
    .hero h2,
    .hero p,
    .hero h3 {
        max-width: 100%;
    }

    .about,
    .areas,
    .horario {
        flex-direction: column;
        padding: 30px 16px;
    }

    .about img,
    .areas img,
    .horario img {
        max-width: 100%;
        width: 100%;
    }

    .about .text h1,
    .areas h2,
    .horario h2 {
        text-align: center;
    }

    .form form {
        flex-direction: column;
        padding: 20px 16px;
    }

    .form .row {
        flex-direction: column;
    }

    .form .row .input-group {
        flex: 1 !important;
    }

    footer {
        justify-content: center;
        gap: 10px;
        text-align: center;
    }
}
