@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --cream:      #FAF8F3;
    --cream-dark: #F0EAE0;
    --sage:       #7A9E7E;
    --sage-dark:  #4F7A54;
    --sage-light: #EFF4ED;
    --terra:      #C4956A;
    --terra-light:#F5EAD8;
    --brown:      #2E251A;
    --brown-mid:  #6B5D50;
    --brown-soft: #9C8B7E;
    --white:      #FFFFFF;
    --text:       #3D3328;
    --text-light: #7A6E64;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(250,248,243,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(62,37,26,0.08);
    padding: 0.8rem 0;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo img {
    height: 80px;
    width: auto;
    transition: filter 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.navbar.scrolled .nav-links a { color: var(--brown-mid); }
.nav-links a:hover { color: var(--sage-dark); }
.nav-cta {
    background: var(--sage) !important;
    color: var(--white) !important;
    padding: 0.65rem 1.6rem;
    border-radius: 100px;
    font-weight: 600 !important;
    transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--sage-dark) !important; color: var(--white) !important; }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    width: 26px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--brown); }

/* ===== HERO ===== */
/* ===== HERO ===== */
.hero {
    background: var(--brown);
    display: grid;
    grid-template-columns: 45fr 55fr;
    height: 550px;
    max-height: 550px;
    overflow: hidden;
    position: relative;
}
.hero-left {
    padding: 3rem 2.5rem 2.5rem 4rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(122,158,126,0.5);
    color: var(--sage);
    padding: 0.35rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    width: fit-content;
}
.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 2.6rem;
    line-height: 1.15;
    color: var(--cream);
    margin-bottom: 1rem;
}
.hero h1 em { font-style: italic; color: var(--terra); }
.hero-sub {
    font-size: 0.97rem;
    color: rgba(250,248,243,0.6);
    line-height: 1.75;
    max-width: 420px;
    margin-bottom: 1.8rem;
}
.hero-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat span {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.3rem;
    color: var(--sage);
}
.hero-stat p { font-size: 0.78rem; color: rgba(250,248,243,0.45); margin: 0; }

/* ===== HERO MOSAIC ===== */
.hero-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 3px;
    height: 100%;
    position: relative;
}
.mosaic-item {
    overflow: hidden;
    position: relative;
}
.mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    filter: brightness(0.80) saturate(0.88);
}
.mosaic-item:hover img { transform: scale(1.05); filter: brightness(0.9) saturate(1); }
/* Row 1 — 4 imagens iguais */
.mosaic-item.m1  { grid-column: 1; grid-row: 1; }
.mosaic-item.m2  { grid-column: 2; grid-row: 1; }
.mosaic-item.m3  { grid-column: 3; grid-row: 1; }
.mosaic-item.m4  { grid-column: 4; grid-row: 1; }
/* Row 2 — lateral + central larga + lateral */
.mosaic-item.m5  { grid-column: 1; grid-row: 2; }
.mosaic-item.m6  { grid-column: 2 / 4; grid-row: 2; }
.mosaic-item.m7  { grid-column: 4; grid-row: 2; }
/* Row 3 — 4 imagens iguais */
.mosaic-item.m8  { grid-column: 1; grid-row: 3; }
.mosaic-item.m9  { grid-column: 2; grid-row: 3; }
.mosaic-item.m10 { grid-column: 3; grid-row: 3; }
.mosaic-item.m11 { grid-column: 4; grid-row: 3; }
/* fallback colors */
.mosaic-item.m1  { background: #4F5E50; }
.mosaic-item.m2  { background: #6B5D50; }
.mosaic-item.m3  { background: #7A9E7E; }
.mosaic-item.m4  { background: #C4956A; }
.mosaic-item.m5  { background: #3D3328; }
.mosaic-item.m6  { background: #4F7A54; }
.mosaic-item.m7  { background: #5C4A3A; }
.mosaic-item.m8  { background: #6B7E6C; }
.mosaic-item.m9  { background: #8B7355; }
.mosaic-item.m10 { background: #4A5E4B; }
.mosaic-item.m11 { background: #7A6E64; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}
.btn-sage {
    background: var(--sage);
    color: var(--white);
}
.btn-sage:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
}
.btn-outline-light {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
    border-color: var(--sage);
    color: var(--sage);
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
}
.btn-terra {
    background: var(--terra);
    color: var(--white);
}
.btn-terra:hover {
    background: #A97A50;
    transform: translateY(-2px);
}
.btn-outline-sage {
    background: transparent;
    color: var(--sage-dark);
    border: 1.5px solid var(--sage);
}
.btn-outline-sage:hover {
    background: var(--sage-light);
}

/* ===== STRIP ===== */
.strip {
    background: var(--sage-light);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(122,158,126,0.15);
    border-bottom: 1px solid rgba(122,158,126,0.15);
}
.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.strip-item i {
    font-size: 1.4rem;
    color: var(--sage-dark);
    margin-bottom: 0.6rem;
    display: block;
}
.strip-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 0.2rem;
}
.strip-item span { font-size: 0.85rem; color: var(--brown-soft); }

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}
.section-label::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--sage);
    border-radius: 2px;
}
h2.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--brown);
    margin-bottom: 1rem;
}
h2.section-title em { font-style: italic; color: var(--terra); }
.section-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 520px;
}

/* ===== SOBRE ===== */
#sobre { background: var(--cream); }
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.sobre-img-wrap {
    position: relative;
}
.sobre-img-wrap .blob-bg {
    position: absolute;
    inset: -20px;
    background: var(--sage-light);
    border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
    z-index: 0;
}
.sobre-img-wrap img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
    display: block;
}
.sobre-badge {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    z-index: 2;
    background: var(--white);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 8px 30px rgba(62,37,26,0.12);
    display: flex;
    align-items: center;
    gap: 1rem;
}
.sobre-badge .icon {
    width: 48px; height: 48px;
    background: var(--sage-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage-dark);
    font-size: 1.3rem;
}
.sobre-badge h4 { font-size: 0.9rem; color: var(--brown); margin-bottom: 0.15rem; }
.sobre-badge p { font-size: 0.78rem; color: var(--brown-soft); margin: 0; }
.sobre-content { }
.sobre-content .section-desc { margin-bottom: 1.2rem; }
.sobre-content .crp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--terra-light);
    color: var(--terra);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
}
.pillar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}
.pillar i { color: var(--sage); font-size: 0.85rem; }

/* ===== ESPECIALIDADES ===== */
#especialidades { background: var(--cream-dark); }
.esp-header { margin-bottom: 2rem; }
.esp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.esp-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border-left: 4px solid transparent;
    transition: all 0.35s;
    cursor: default;
}
.esp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(62,37,26,0.09);
}
.esp-card.sage  { border-color: var(--sage); }
.esp-card.terra { border-color: var(--terra); }
.esp-card.brown { border-color: var(--brown-soft); }
.esp-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}
.sage .esp-icon  { background: var(--sage-light);  color: var(--sage-dark); }
.terra .esp-icon { background: var(--terra-light); color: var(--terra); }
.brown .esp-icon { background: var(--cream-dark);  color: var(--brown-mid); }
.esp-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--brown); margin-bottom: 0.6rem; }
.esp-card p  { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== COMO FUNCIONA ===== */
#como-funciona { background: var(--brown); }
#como-funciona .section-label { color: var(--sage); }
#como-funciona .section-label::before { background: var(--sage); }
#como-funciona h2.section-title { color: var(--cream); }
#como-funciona h2.section-title em { color: var(--terra); }
#como-funciona .section-desc { color: rgba(250,248,243,0.6); }
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}
.steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 1px;
    background: rgba(122,158,126,0.3);
}
.step { text-align: center; }
.step-num {
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 2px solid var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: var(--sage);
    background: var(--brown);
    position: relative;
    z-index: 1;
}
.step h3 { font-size: 1.1rem; font-weight: 600; color: var(--cream); margin-bottom: 0.6rem; }
.step p  { font-size: 0.88rem; color: rgba(250,248,243,0.5); line-height: 1.7; max-width: 240px; margin: 0 auto; }

/* ===== DIFERENCIAIS ===== */
#diferenciais { background: var(--sage-light); }
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.diff-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s;
}
.diff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(62,37,26,0.08);
}
.diff-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--sage-light);
    border: 1px solid rgba(122,158,126,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--sage-dark);
    flex-shrink: 0;
}
.diff-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--brown); margin-bottom: 0.4rem; }
.diff-card p  { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }



/* ===== CTA ===== */
.cta-section {
    background: var(--sage);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -60px; left: -60px;
    width: 240px; height: 240px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.cta-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative; z-index: 1;
}
.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    position: relative; z-index: 1;
}
.cta-section .btn-white {
    background: var(--white);
    color: var(--sage-dark);
    font-weight: 600;
    position: relative; z-index: 1;
}
.cta-section .btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.cta-section .btn-outline-light { position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
#contato { background: var(--cream-dark); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}
.contact-info .section-desc { margin-bottom: 2.5rem; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.ci-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.ci-icon.sage     { background: var(--sage-light);  color: var(--sage-dark); }
.ci-icon.whatsapp { background: rgba(37,211,102,0.12); color: #25D366; }
.ci-icon.terra    { background: var(--terra-light); color: var(--terra); }
.contact-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--brown); margin-bottom: 0.2rem; }
.contact-item p  { font-size: 0.88rem; color: var(--text-light); margin: 0; }
.contact-item a  { color: var(--sage-dark); text-decoration: none; font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.contact-form-wrap {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(62,37,26,0.07);
}
.contact-form-wrap h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--brown);
    margin-bottom: 1.8rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--brown-mid); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid rgba(62,37,26,0.12);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.93rem;
    background: var(--cream);
    color: var(--text);
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--sage);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--sage);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.3s;
}
.btn-submit:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--brown);
    color: rgba(250,248,243,0.55);
    padding: 3.5rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}
.footer-logo img { height: 60px; width: auto;  }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.5rem; }
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(250,248,243,0.5);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--sage); color: var(--white); }
.footer-col h4 { color: var(--cream); font-size: 0.93rem; font-weight: 600; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: rgba(250,248,243,0.45); text-decoration: none; font-size: 0.88rem; transition: color 0.3s; }
.footer-col ul a:hover { color: var(--sage); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.82rem;
}
.footer-bottom p + p { margin-top: 0.4rem; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.75s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--brown);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
}
.mobile-menu a:hover { color: var(--sage); }
.close-menu {
    position: absolute;
    top: 1.5rem; right: 2rem;
    font-size: 2rem;
    color: var(--cream);
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; }
    .hero-mosaic { display: none; }
    .hero-right { display: none; }
    .hero-left { padding: 9rem 2rem 6rem; }
    .esp-grid { grid-template-columns: repeat(2, 1fr); }
    .sobre-grid { grid-template-columns: 1fr; }
    .sobre-img-wrap { max-width: 460px; margin: 0 auto; }
    .diff-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .steps::before { display: none; }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.6rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .esp-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    h2.section-title { font-size: 2rem; }
    .cta-section h2 { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pillars { grid-template-columns: 1fr; }
    .depo-wrap { padding: 2rem; }
    .strip-grid { grid-template-columns: repeat(2, 1fr); }
}
