/* ===== VARIÁVEIS DE COR ===== */
:root {
    --primary: #6b9080;
    --primary-dark: #6b9080;
    --primary-light: rgba(107, 144, 128, 0.15);
    --secondary: #6b9080;
    --bg-soft: #F5F0E5;
    --bg-dark: #2c2418;
    --bg-dark2: #3d3122;
    --text-dark: #1A1A16;
    --text-muted: #5A5A55;
    --blob-sage: rgba(107, 144, 128, 0.3);
    --blob-warm: #DDD0B0;
    --card-border: rgba(107, 144, 128, 0.18);
}

/* ===== RESET BASE ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    font-family: 'Karla', sans-serif;
    overflow-x: hidden;
    background: var(--bg-soft);
    color: var(--text-dark);
}

/* ===== TIPOGRAFIA ===== */
.font-playfair { font-family: 'DM Serif Text', serif; }

/* ===== BOTÃO PRIMÁRIO ===== */
.btn-primary {
    background: var(--primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 144, 128, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Karla', sans-serif;
    white-space: nowrap;
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
@media (max-width: 767px) {
    a[data-eid="e8"] {
        display: none !important;
    }
    #sobre .relative > .relative {
        aspect-ratio: unset !important;
        height: auto !important;
        border-radius: 16px !important;
    }
    #sobre .relative > .relative img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
    #sobre .absolute.-top-6,
    #sobre .absolute.-bottom-6 {
        display: none !important;
    }
}
@media (min-width: 768px) {
    a[data-eid="e8"] {
        display: inline-flex !important;
    }
}
.header-link {
    color: #78716c;
    font-family: 'Karla', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
.header-link:hover { color: var(--primary); }

#site-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 24px rgba(0,0,0,0.07);
    padding-top: 12px;
    padding-bottom: 12px;
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    padding: 8px 16px;
    text-align: center;
    letter-spacing: 0.03em;
}

/* ===== HERO ===== */
.hero-section {
    background: var(--bg-soft);
}

.hero-photo-container {
    position: relative;
    width: 360px;
    height: 440px;
}
@media (max-width: 767px) {
    .hero-photo-container {
        width: 280px;
        height: 340px;
    }
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    box-shadow: 0 20px 60px rgba(107, 144, 128, 0.25);
}

.hero-blob-1 {
    position: absolute;
    width: 420px;
    height: 420px;
    background: var(--blob-sage);
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
    top: -60px;
    right: -80px;
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}
.hero-blob-2 {
    position: absolute;
    width: 280px;
    height: 280px;
    background: var(--blob-warm);
    border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%;
    bottom: -40px;
    right: 80px;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}
.hero-blob-3 {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--primary-light);
    border-radius: 50%;
    top: 30%;
    left: -60px;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
}

/* ===== STATS ===== */
.stats-section {
    background: var(--bg-dark);
}
@media (min-width: 768px) {
    #stats-section .grid > div {
        border-bottom: none !important;
        border-right: 1px solid rgba(255,255,255,0.10);
    }
    #stats-section .grid > div:last-child {
        border-right: none;
    }
}

/* ===== SEÇÃO SOBRE ===== */
.sobre-section {
    background: white;
}
.sobre-photo {
    width: 100%;
    max-width: 420px;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ===== CARDS DE MEDIA ===== */
.media-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 16px;
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}
.media-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(78,107,71,0.15);
    transform: translateY(-2px);
}
.media-card-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ===== NOSSOS SERVIÇOS — CARDS ===== */
.serv-card {
    background: #FAF8F4;
    border: 1px solid rgba(180,170,160,0.30);
    border-radius: 1rem;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: border-color 300ms, box-shadow 300ms;
}
.serv-card:hover {
    border-color: rgba(107,144,128,0.40);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -4px rgba(0,0,0,0.10);
}
.serv-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(187,152,108,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #bb986c;
    transition: background 300ms;
    flex-shrink: 0;
}
.serv-card:hover .serv-icon {
    background: rgba(187,152,108,0.20);
}
.serv-line {
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(187,152,108,0.40), transparent);
    transform: scaleX(0);
    transition: transform 300ms;
}
.serv-card:hover .serv-line {
    transform: scaleX(1);
}

/* ===== ESPECIALIDADES — CARDS DARK ===== */
.espec-card {
    position: relative;
    padding: 28px;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    cursor: default;
    transition: background 300ms, border-color 300ms;
}
.espec-card:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(107,144,128,0.40);
}
.espec-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(107,144,128,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: rgba(180,210,200,0.90);
    transition: background 300ms;
    flex-shrink: 0;
}
.espec-card:hover .espec-icon {
    background: rgba(107,144,128,0.25);
}
.espec-line {
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(107,144,128,0.50), transparent);
    transform: scaleX(0);
    transition: transform 300ms;
}
.espec-card:hover .espec-line {
    transform: scaleX(1);
}

/* ===== SEÇÃO ESPECIALIDADES ===== */
.spec-card {
    background: white;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}
.spec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(107, 144, 128, 0.15);
    border-color: var(--primary-light);
}
.spec-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

/* ===== SEÇÃO EQUIPE ===== */
.team-section {
    background: var(--bg-soft);
}
.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(107, 144, 128, 0.18);
}
.team-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
}
.team-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== SEÇÃO METODOLOGIA ===== */
.metodologia-section {
    background: var(--bg-dark2);
    position: relative;
    overflow: hidden;
}
.method-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(107, 144, 128, 0.25);
    border: 1px solid rgba(176, 206, 196, 0.3);
    border-radius: 999px;
    padding: 6px 16px;
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s;
}
.method-tag:hover {
    background: rgba(107, 144, 128, 0.45);
    border-color: var(--primary-light);
}

/* ===== COMO FUNCIONA ===== */
.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}
.step-card:hover {
    box-shadow: 0 12px 36px rgba(107, 144, 128, 0.12);
    transform: translateY(-4px);
}
.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'DM Serif Text', serif;
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* ===== DEPOIMENTOS ===== */
.depoimentos-section {
    background: var(--bg-dark);
}
.depo-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}
.depo-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(176, 206, 196, 0.3);
}
.depo-stars {
    color: #F5C842;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.depo-quote {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.depo-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-btn:hover .faq-q-text { color: #6b9080; }
.faq-btn:hover .faq-plus-icon { border-color: #6b9080; color: #6b9080; }
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background: white;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-content.open {
    max-height: 400px;
}
.faq-icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-primary-btn {
    transition: background 300ms;
}
.cta-primary-btn:hover {
    background: #5a7a6a !important;
}
.cta-section {
    background: #eef4f1;
    position: relative;
    overflow: hidden;
}
.cta-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    pointer-events: none;
}

/* ===== FOOTER ===== */
.footer-section {
    background: var(--bg-dark);
}
.footer-social:hover { color: #ffffff; }
@media (min-width: 768px) {
    footer[data-section="footer"] {
        padding-bottom: 40px !important;
    }
    footer[data-section="footer"] > div {
        flex-direction: row !important;
        align-items: center !important;
    }
    footer[data-section="footer"] > div > div:last-child {
        align-items: flex-end !important;
    }
}

/* ===== SEÇÃO LABEL ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ===== DIVIDER DECORATIVO ===== */
.divider-sage {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 999px;
    margin: 16px auto;
}
.divider-sage-left {
    width: 48px;
    height: 3px;
    background: var(--primary);
    border-radius: 999px;
    margin: 16px 0;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes breathe {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 0.9; transform: scale(1.15); }
}
.animate-float { animation: float 4s ease-in-out infinite; }
.animate-breathe { animation: breathe 3s ease-in-out infinite; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes blobMorph {
    0%,  100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
    25%        { border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%; }
    50%        { border-radius: 50% 50% 60% 40% / 55% 45% 50% 50%; }
    75%        { border-radius: 40% 60% 45% 55% / 45% 55% 60% 40%; }
}

.blob-shape {
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
    animation: blobMorph 8s ease-in-out infinite;
}

/* ===== PROTEÇÃO DE BOTÕES ===== */
button, input[type="button"], input[type="submit"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
}
a[href*="wa.me"], a[href*="whatsapp.com"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}
@media (max-width: 767px) {
    nav a[href*="wa.me"], nav a[href*="whatsapp.com"] {
        display: none !important;
    }
}

/* ===== GALERIA DE MÍDIAS ===== */
.media-gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}
.media-gallery-card:hover .media-gallery-overlay {
    opacity: 1;
}
.media-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.media-gallery-card:hover .media-gallery-img {
    transform: scale(1.05);
}
.media-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(107, 144, 128, 0.55);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.media-gallery-label {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== CONTATO ===== */
.contato-section {
    background: white;
}
.contato-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--card-border);
}
.contato-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* ===== NAVBAR CTA — hide on mobile (beats global wa.me rule) ===== */
@media (max-width: 767px) {
    #site-header a[data-eid="e8"] { display: none !important; }
}
@media (min-width: 768px) {
    #site-header a[data-eid="e8"] { display: inline-flex !important; }
}
