
/* Configurações gerais */

/* Cores dos temas */
:root {
    color-scheme: dark;

    --cor-fundo: #0b0b0b;
    --cor-superficie: #111111;
    --cor-texto: #f5f5f5;
    --cor-texto-secundario: #bdbdbd;
    --cor-destaque: #b89b5e;
    --cor-destaque-hover: #d2b675;
    --cor-borda: #292929;
}

[data-theme="light"] {
    color-scheme: light;

    --cor-fundo: #f5f2eb;
    --cor-superficie: #ffffff;
    --cor-texto: #242424;
    --cor-texto-secundario: #555555;
    --cor-destaque: #94763d;
    --cor-destaque-hover: #80622c;
    --cor-borda: #ded8cb;
}

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

body {
    font-family: Arial, sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Cabeçalho */

header {
    background-color: var(--cor-superficie);
    border-bottom: 1px solid var(--cor-destaque);
    padding: 24px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 3px;
}

.logo span {
    color: var(--cor-destaque);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--cor-destaque);
}

/* Seção principal */


.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 60px;
    align-items: center;
    padding: 80px 8%;
    background: linear-gradient(
    90deg,
    var(--cor-fundo) 0%,
    var(--cor-superficie) 65%,
    var(--cor-superficie) 100%
);
}

.hero-image {
    flex: 1;
    max-width: 480px;
}

.hero-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}


.hero-content {
    max-width: 750px;
}

.hero-subtitle {
    color: var(--cor-destaque);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-description {
    max-width: 560px;
    color: var(--cor-texto-secundario);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-button {
    display: inline-block;
    background-color: var(--cor-destaque);
    color: #0b0b0b;
    padding: 16px 28px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.hero-button:hover {
    background-color: var(--cor-destaque-hover);
}

/* Seção sobre o escritório */

.about {
    padding: 110px 8%;
    background-color: var(--cor-superficie);
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
}

.about-subtitle {
    color: var(--cor-destaque);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 24px;
}

.about h2 {
    max-width: 750px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.25;
    margin-bottom: 30px;
}

.about-description {
    max-width: 760px;
    color: var(--cor-texto-secundario);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Seção de serviços */

.services {
    padding: 110px 8%;
    background-color: var(--cor-fundo);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.services-subtitle {
    color: var(--cor-destaque);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.services-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.services-header > p:last-child {
    color: var(--cor-texto-secundario);
    font-size: 16px;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    background-color: var(--cor-superficie);
    border: 1px solid var(--cor-borda);
    transition: border-color 0.3s ease,
                transform 0.3s ease;
}

.service-card:hover {
    border-color: var(--cor-destaque);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 21px;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--cor-texto-secundario);
    font-size: 15px;
    line-height: 1.8;
}

/* Seção da equipe */

.team {
    padding: 110px 8%;
    background-color: var(--cor-superficie);
}

.team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.team-subtitle {
    color: var(--cor-destaque);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.team-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.team-header > p:last-child {
    color: var(--cor-texto-secundario);
    font-size: 16px;
    line-height: 1.8;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.team-card {
    background-color: var(--cor-fundo);
    border: 1px solid var(--cor-borda);
    overflow: hidden;
    transition: border-color 0.3s ease,
                transform 0.3s ease;
}

.team-card:hover {
    border-color: var(--cor-destaque);
    transform: translateY(-5px);
}

.team-photo {
    height: 320px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.team-info {
    padding: 28px;
}

.team-info h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.team-role {
    color: var(--cor-destaque);
    font-size: 13px;
    margin-bottom: 16px;
}

.team-info > p:last-child {
    color: var(--cor-texto-secundario);
    font-size: 15px;
    line-height: 1.8;
}

/* Seção de contato */
.contact {
    padding: 110px 8%;
    background-color: var(--cor-fundo);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    max-width: 700px;
    margin-bottom: 50px;
}

.contact-subtitle {
    color: var(--cor-destaque);
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.contact-header h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
}

.contact-header > p:last-child {
    color: var(--cor-texto-secundario);
    font-size: 16px;
    line-height: 1.8;
}

/* Informações e formulário lado a lado */
.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 60px;
    align-items: start;
}

.contact-details h3 {
    font-size: 22px;
    margin-bottom: 28px;
}

.contact-details p {
    color: var(--cor-texto-secundario);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.contact-details strong {
    display: inline-block;
    color: var(--cor-destaque);
    margin-bottom: 6px;
}

/* Formulário */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 14px;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 22px;
    background-color: var(--cor-superficie);
    border: 1px solid var(--cor-borda);
    color: var(--cor-texto);
    font: inherit;
    border-radius: 2px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 1px solid var(--cor-destaque);
    border-color: var(--cor-destaque);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    align-self: flex-start;
    border: none;
    cursor: pointer;
    padding: 15px 26px;
    background-color: var(--cor-destaque);
    color: #0b0b0b;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--cor-destaque-hover);
}

/* Rodapé */
.footer {
    padding: 60px 8% 24px;
    background-color: var(--cor-superficie);
    border-top: 1px solid var(--cor-destaque);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-description {
    color: var(--cor-texto-secundario);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
    margin-bottom: 30px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 40px;
}

.footer-nav a {
    color: var(--cor-texto-secundario);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--cor-destaque);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--cor-borda);
}

.footer-bottom p {
    color: var(--cor-texto-secundario);
    font-size: 12px;
    line-height: 1.6;
}

/* Adaptação para celulares */
@media (max-width: 768px) {
    .services-grid {
    grid-template-columns: 1fr;
}

.team-grid {
    grid-template-columns: 1fr;
}
.team-photo {
    height: 240px;
}

        header {
        padding: 18px 4%;
    }

    header .container {
        flex-wrap: nowrap;
        gap: 12px;
    }

    header .logo {
        font-size: 19px;
        letter-spacing: 2px;
        flex-shrink: 0;
    }

    header nav {
        gap: 8px;
        flex-wrap: nowrap;
    }

    header nav a {
        font-size: 12px;
    }
    .hero {
        flex-direction: column;
        padding: 60px 6%;
        gap: 40px;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
    }

    .hero-image img {
        height: 350px;
    }

    .hero-content {
        width: 100%;
    }
    
.contact {
    padding: 60px 6%;
}

.contact-content {
    grid-template-columns: 1fr;
    gap: 35px;
}
}

/* Ajuste para telas intermediárias */
@media (min-width: 769px) and (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 35px;
        padding: 60px 6%;
    }

    .hero-image {
        width: 100%;
        max-width: 600px;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-height: 520px;
    }

    .hero-content {
        width: 100%;
        max-width: 750px;
    }
}

html {
    scroll-behavior: smooth;
}

/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    isolation: isolate;
    transition: background-color 0.3s ease,
                transform 0.3s ease;
}

.whatsapp-icon {
    width: 34px;
    height: 34px;
    position: relative;
    z-index: 2;
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid #25d366;
    border-radius: 50%;
    animation: whatsapp-wave 2.4s ease-out infinite;
    z-index: -1;
    pointer-events: none;
}

.whatsapp-float::after {
    animation-delay: 1.2s;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.05);
}

@keyframes whatsapp-wave {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::before,
    .whatsapp-float::after {
        animation: none;
    }

    .whatsapp-float {
        transition: none;
    }
}

/* Botão de alternância de tema */
#theme-toggle {
    background: transparent;
    border: 1px solid var(--cor-destaque);
    color: var(--cor-texto);
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#theme-toggle:hover {
    background-color: var(--cor-superficie);
    transform: scale(1.05);
}
#theme-toggle svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: var(--cor-destaque);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mensagem de status do formulário */
.form-status {
    margin-top: 12px;
    color: var(--cor-destaque);
    font-size: 14px;
    line-height: 1.5;
}

/* Personalização Vera Lúcia */
.team-grid { grid-template-columns: minmax(0, 480px); }
.team-photo { height: 460px; }
.team-photo img { object-fit: cover; object-position: center 25%; }
.location { padding: 90px 8%; background: var(--cor-fundo); }
.location iframe { width: 100%; height: 400px; border: 1px solid var(--cor-borda); display:block; }
.map-link { display:inline-block; margin-top: 18px; color:var(--cor-destaque); }
.social-links { display:flex; gap:16px; margin-bottom:24px; }
.social-links a { display:grid; place-items:center; width:48px; height:48px; border:1px solid var(--cor-destaque); color:var(--cor-destaque); transition: .3s; }
.social-links a:hover,.social-links a:focus-visible { background:var(--cor-destaque); color:#0b0b0b; }
.social-links svg { width:24px; height:24px; }
.hero-button:active,.contact-form button:active { background:var(--cor-destaque-hover); }
section { scroll-margin-top: 120px; }
#theme-toggle { flex-shrink:0; }
@media(max-width:768px){ header .container { flex-wrap:wrap; } header nav { order:3; width:100%; justify-content:space-between; } .team-photo { height:auto; } .team-photo img { height:auto; } .location { padding:60px 6%; } .location iframe { height:300px; } .footer-bottom { flex-direction:column; } }

/* Identidade visual e navegação sempre visível */
header { padding: 12px 8% 0; }
header .container { display:flex; justify-content:center; position:relative; min-height:64px; }
.logo { display:inline-flex; align-items:center; max-width:100%; }
.logo img { display:block; width:260px; max-width:100%; height:auto; }
header #theme-toggle { position:absolute; right:0; top:50%; transform:translateY(-50%); }
header #theme-toggle:hover { transform:translateY(-50%) scale(1.05); }
header nav { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 32px; padding:14px 0; border-top:1px solid var(--cor-borda); }
header nav a { font-weight:600; }
header nav a:focus-visible, header nav a:active { color:var(--cor-destaque); }
section { scroll-margin-top:150px; }
.hero-content { flex:1; min-width:0; }
.team-photo { background:#171717; }
.team-photo img { object-fit:contain; }
@media(max-width:768px) {
 header { padding:8px 4% 0; }
 header .container { min-height:52px; }
 header .logo { max-width:calc(100% - 96px); }
 header .logo img { width:210px; }
 header nav { gap:8px 15px; padding:12px 0; justify-content:center; }
 header nav a { font-size:12px; }
 section { scroll-margin-top:155px; }
 .about,.services,.team { padding:60px 6%; }
 .hero h1 { font-size:clamp(30px,8vw,42px); }
 .team-photo img { width:100%; max-height:460px; object-fit:contain; }
 .whatsapp-float { width:52px; height:52px; right:16px; bottom:16px; }
 .footer .logo img { width:210px; }
}

/* Remove a linha divisória interna do cabeçalho */
header nav {
    border-top: none !important;
}