*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --cream: #F5F0E8;
    --warm-white: #ebf3fd;
    --charcoal: #1700ab;
    --mid: #3A3A38;
    --muted: #7A7872;
    --blue: #cae1ff;
    --blue-light: #23559b;
    --glass: rgba(245, 240, 232, 0.06);
    --border: #23559b9d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--charcoal);
    color: var(--cream);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4vw;
    transition: background .4s, box-shadow .4s;
}

nav.scrolled {
    background: #003580;
    box-shadow: 0 1px 0 var(--border);
    backdrop-filter: blur(12px);
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: .12em;
    color: var(--blue);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.logo span {
    color: var(--cream);
    font-style: italic;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .75;
    transition: opacity .2s, color .2s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--blue);
}

.nav-cta {
    background: var(--blue);
    color: var(--charcoal) !important;
    padding: .5rem 1.3rem;
    opacity: 1 !important;
    font-weight: 500;
    border-radius: 2px;
    transition: background .2s !important;
}

.nav-cta:hover {
    background: var(--blue-light) !important;
    color: var(--blue) !important;
}

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: .3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 4vw 6rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #23559b40 45%, rgba(28, 28, 26, .65) 100%),
        url(img/hero.webp) center/cover no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(184, 149, 90, .12) 0%, transparent 65%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--blue);
    border: 1px solid var(--border);
    padding: .35rem .9rem;
    margin-bottom: 2rem;
    animation: fadeUp .8s ease both;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 300;
    line-height: 1.08;
    animation: fadeUp .8s .15s ease both;
}

.hero-title em {
    font-style: italic;
    color: var(--blue);
}

.hero-sub {
    margin-top: 1.4rem;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--blue);
    max-width: 500px;
    animation: fadeUp .8s .3s ease both;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp .8s .45s ease both;
}

.btn-primary {
    background: var(--blue);
    color: var(--charcoal);
    padding: .85rem 2.2rem;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background .2s, transform .2s;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    color: var(--blue);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--cream);
    padding: .85rem 2.2rem;
    font-size: .88rem;
    font-weight: 400;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: border-color .2s, color .2s, transform .2s;
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.hero-stats {
    position: absolute;
    bottom: 3rem;
    right: 4vw;
    display: flex;
    gap: 3rem;
    animation: fadeUp .8s .6s ease both;
}

.stat {
    text-align: right;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--blue-light);
    line-height: 1;
}

.stat-label {
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    opacity: .5;
    margin-top: .2rem;
}

/* ── SECTION BASE ── */
section {
    padding: 7rem 4vw;
}

.section-tag {
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #23559b;
    margin-bottom: 1rem;
    display: block;
}

.section-tag2 {
    font-size: .7rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #cae1ff;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
}

.section-title em {
    font-style: italic;
    color: #23559b;
}

/* ── ABOUT ── */
#about {
    background: var(--warm-white);
    color: var(--charcoal);
}

#about .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

#about .about-text p {
    margin-top: 1.5rem;
    color: var(--mid);
    line-height: 1.85;
    font-size: .95rem;
}

.about-img-wrap {
    position: relative;
    height: 520px;
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

.about-img-label {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--blue-light);
    color: var(--blue);
    padding: 1rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
}

.pillars {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.pillar {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: .88rem;
    color: var(--mid);
}

.pillar-dot {
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── SERVICES ── */
#services {
    background: #003580;
}

#services .head {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5px;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--border);
    border: 1px solid var(--border);
}

.service-card {
    background: var(--blue-light);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: background .3s;
    cursor: default;
}

.service-card:hover {
    background: var(--blue);

    h3,
    p{
    color: var(--blue-light);}
}

.service-icon {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 2px;
    display: grid;
    place-items: center;
}

.service-icon:hover {
    background-color: var(--blue-light);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue);
    fill: none;
    stroke-width: 1.5;
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--blue);
}

.service-card p {
    font-size: .85rem;
    line-height: 1.7;
    color: var(--blue);
}

.service-link {
    margin-top: auto;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--blue-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    opacity: 0;
    transition: opacity .3s;
}


.service-card:hover .service-link {
    opacity: 1;
}

/* ── PROCESS ── */
#process {
    background: #003580;
}

#process .inner {
    max-width: 1200px;
    margin: 0 auto;
}

#process .head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.step {
    padding: 2.5rem 2.5rem 2.5rem 0;
    border-right: 1px solid var(--border);
    padding-right: 2.5rem;
    padding-left: 2.5rem;
    position: relative;
}

.step:last-child {
    border-right: none;
}

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--blue);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: .8rem;
}

.step p {
    font-size: .85rem;
    line-height: 1.7;
    color: var(--blue);
}

.step-cta {
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    text-decoration: none;
}

.step-cta svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ── GALLERY strip ── */
#gallery {
    background: var(--charcoal);
    padding: 0;
    overflow: hidden;
}

.gallery-strip {
    display: flex;
    gap: 2px;
    animation: slide 50s linear infinite;
    width: max-content;
}

.gallery-strip img {
    width: 340px;
    height: 240px;
    object-fit: cover;
    flex-shrink: 0;
    filter: brightness(.7) saturate(.8);
    transition: filter .4s;
}

.gallery-strip img:hover {
    filter: brightness(1) saturate(1);
}

@keyframes slide {
    to {
        transform: translateX(-50%);
    }
}

/* ── FAQ ── */
#faq {
    background: var(--warm-white);
    color: var(--charcoal);
}

#faq .inner {
    max-width: 800px;
    margin: 0 auto;
}

#faq .section-title {
    color: var(--charcoal);
    margin-bottom: 3rem;
}

#faq .section-tag {
    color: var(--blue);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    color: var(--charcoal);
    text-align: left;
    gap: 1rem;
}

.faq-q:hover {
    color: var(--blue);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: transform .3s, background .3s;
}

.faq-icon svg {
    width: 10px;
    height: 10px;
    stroke: var(--mid);
    stroke-width: 2;
    fill: none;
    transition: .3s;
}

.faq-item.open .faq-icon {
    background: var(--blue);
    border-color: var(--blue);
    transform: rotate(45deg);
}

.faq-item.open .faq-icon svg {
    stroke: #fff;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    font-size: .88rem;
    line-height: 1.8;
    color: var(--mid);
}

.faq-item.open .faq-a {
    max-height: 200px;
    padding-bottom: 1.2rem;
}

/* ── CTA BAND ── */
#cta-band {
    background: var(--blue);
    padding: 5rem 4vw;
    text-align: center;
}

#cta-band h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

#cta-band p {
    color: rgba(28, 28, 26, .65);
    font-size: .95rem;
    margin-bottom: 2.5rem;
}

.btn-dark {
    background: var(--charcoal);
    color: var(--blue);
    padding: 1rem 2.8rem;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    transition: background .2s;
}

.btn-dark:hover {
    background: var(--blue);
    color: var(--blue-light);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

/* ── FOOTER ── */
footer {
    background: #003580;
    padding: 4rem 4vw 2rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--blue);
    margin-bottom: 1rem;
    display: block;
}

footer p {
    font-size: .82rem;
    line-height: 1.8;
    color: var(--blue);
}

.footer-col h4 {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.footer-col ul a {
    font-size: .82rem;
    color: rgba(245, 240, 232, .45);
    text-decoration: none;
    transition: color .2s;
}

.footer-col ul a:hover {
    color: var(--blue-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .75rem;
    color: rgba(245, 240, 232, .25);
}
.footer-bottom a:hover{
    color: var(--blue) !important;
    transition: color .2s;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 200;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    text-decoration: none;
    animation: pulse 2.5s infinite;
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
    }

    50% {
        box-shadow: 0 4px 32px rgba(37, 211, 102, .7);
    }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── MOBILE ── */
@media (max-width: 768px) {

    /* Fundo do navbar quando o menu estiver aberto */
    nav.menu-open {
        background: #003580;
        box-shadow: 0 1px 0 var(--border);
        backdrop-filter: blur(12px);
    }

    /* Menu fullscreen */
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        inset: 0; /* equivale a top:0; right:0; bottom:0; left:0 */
        width: 100vw;
        height: 100vh;
        padding: 6rem 2rem 2rem;
        background: #003580;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        list-style: none;
        z-index: 99;
    }

    /* Exibe o menu */
    .nav-links.open {
        display: flex;
    }

    /* Links do menu */
    .nav-links a {
        font-size: 1rem;
        opacity: 1;
        color: var(--cream);
    }

    /* Botão hamburguer */
    .hamburger {
        display: flex;
        position: relative;
        z-index: 101;
    }

    /* Ajustes gerais do layout mobile */
    #hero {
        padding: 7rem 5vw 4rem;
    }

    .hero-stats {
        position: static;
        flex-direction: row;
        margin-top: 3rem;
        justify-content: flex-start;
    }

    #about .inner {
        grid-template-columns: 1fr;
    }

    .about-img-wrap {
        height: 300px;
    }

    .about-img-label {
        display: none;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 2rem 0;
    }

    .step:last-child {
        border-bottom: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}