/* Charlots — fundamentos e utilitários compartilhados */
:root {
    --color-bg:#f6f5f3;
    --color-dark:#1f1f1f;
    --color-muted:#6b6b6b;
    --color-border:rgba(31,31,31,.14);
    --font-body:'Manrope',system-ui,sans-serif;
    --font-heading:'Archivo',sans-serif;
    --container:1440px;
    --gutter:clamp(16px,4vw,44px);
    --radius:26px;
    --radius-full:999px;
    --space-section:clamp(52px,7vw,96px)
}

*,*::before,*::after {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:100px
}

body {
    margin:0;
    background:var(--color-bg);
    color:var(--color-dark);
    font-family:var(--font-body);
    -webkit-font-smoothing:antialiased
}

a {
    color:inherit;
    text-decoration:none;
    transition:background .2s,color .2s,box-shadow .2s
}

button,input,select,textarea {
    font:inherit
}

button {
    cursor:pointer
}

button:disabled {
    cursor:wait;
    opacity:.6
}

img {
    display:block;
    max-width:100%;
    height:auto
}

h1,h2,h3,h4,p,figure {
    margin:0
}

h1,h2,h3,h4 {
    font-family:var(--font-heading);
    font-weight:600;
    letter-spacing:-.025em
}

p {
    line-height:1.65
}

button,a,input,textarea,select {
    touch-action:manipulation
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
    outline:3px solid #89714e;
    outline-offset:4px
}

::selection {
    background:rgba(31,31,31,.14)
}

[hidden] {
    display:none!important
}

.container {
    width:100%;
    max-width:var(--container);
    margin-inline:auto;
    padding-inline:var(--gutter)
}

.outer {
    padding-inline:var(--gutter)
}

.section {
    padding-block:var(--space-section)
}

.d-flex {
    display:flex
}

.flex-col {
    flex-direction:column
}

.flex-wrap {
    flex-wrap:wrap
}

.items-center {
    align-items:center
}

.items-start {
    align-items:flex-start
}

.items-end {
    align-items:flex-end
}

.justify-between {
    justify-content:space-between
}

.self-start {
    align-self:flex-start
}

.gap4 {
    gap:4px
}

.gap8 {
    gap:8px
}

.gap12 {
    gap:12px
}

.gap16 {
    gap:16px
}

.gap20 {
    gap:20px
}

.gap24 {
    gap:24px
}

.grid4,.grid3,.grid2 {
    display:grid;
    gap:clamp(14px,1.6vw,22px)
}

.grid4 {
    grid-template-columns:repeat(4,minmax(0,1fr))
}

.grid3 {
    grid-template-columns:repeat(3,minmax(0,1fr))
}

.grid2 {
    grid-template-columns:repeat(2,minmax(0,1fr))
}

.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}

.skip-link {
    position:fixed;
    top:-100px;
    left:16px;
    z-index:999;
    background:#fff;
    padding:15px;
    border-radius:12px
}

.skip-link:focus {
    top:10px
}

.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:16px 28px;
    border-radius:var(--radius-full);
    font-family:var(--font-heading);
    font-size:15px;
    font-weight:600;
    border:1px solid transparent;
    line-height:1.25;
    text-align:center
}

.btn-dark {
    background:linear-gradient(135deg,#1f1f1f,#454545);
    color:#f6f5f3;
    box-shadow:0 8px 20px #1f1f1f20
}

.btn-dark:hover {
    background:#000;
    color:#fff
}

.btn-light {
    background:#f6f5f3;
    color:#1f1f1f
}

.btn-light:hover {
    background:#fff;
    color:#000
}

.btn-outline {
    border-color:var(--color-border);
    background:transparent
}

.btn-outline:hover {
    background:#1f1f1f;
    color:#f6f5f3
}

.btn-outline-light {
    border-color:#ffffff80;
    color:#fff;
    background:transparent
}

.btn-outline-light:hover {
    background:#ffffff20
}

.icon-btn {
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#ffffffed;
    color:#1f1f1f;
    font-size:18px;
    flex-shrink:0
}

.eyebrow {
    display:block;
    font-size:12px;
    letter-spacing:.16em;
    text-transform:uppercase;
    font-weight:600;
    color:#5f5f5f
}

.text-link {
    display:flex;
    align-items:center;
    gap:7px;
    font-family:var(--font-heading);
    font-size:13px;
    font-weight:600
}

.section-heading {
    display:flex;
    flex-wrap:wrap;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:clamp(26px,4vw,44px)
}

.section-heading>div {
    display:flex;
    flex-direction:column;
    gap:12px;
    max-width:620px
}

.section-heading h2 {
    font-size:clamp(30px,4.2vw,54px);
    line-height:1.04;
    letter-spacing:-.03em
}

.section-heading p {
    font-size:16px;
    color:var(--color-muted)
}

.section-heading .btn {
    padding:14px 24px;
    font-size:14px
}

.topbar {
    background:linear-gradient(90deg,#1f1f1f,#3a3a3a);
    color:#f6f5f3d1;
    font-size:12px;
    letter-spacing:.04em
}

.topbar>.container {
    height:40px;
    gap:16px
}

.topbar span,.topbar .top-phone {
    display:flex;
    align-items:center;
    gap:7px;
    white-space:nowrap
}

.topbar i {
    font-size:15px
}

.social a {
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    border-radius:50%
}

.social a:hover {
    background:#ffffff29;
    color:#fff
}

.site-header {
    position:sticky;
    top:0;
    z-index:60;
    background:#f6f5f3dc;
    backdrop-filter:blur(16px);
    border-bottom:1px solid #1f1f1f14
}

.header-inner {
    height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px
}

.logo {
    height:40px;
    width:auto;
    mix-blend-mode:multiply
}

.desktop-nav {
    display:flex;
    align-items:center;
    gap:2px;
    padding:5px;
    background:#1f1f1f0d;
    border-radius:999px;
    font-family:var(--font-heading);
    font-size:14px;
    font-weight:500
}

.desktop-nav a {
    padding:10px 18px;
    border-radius:999px;
    color:#4a4a4a;
    white-space:nowrap
}

.desktop-nav a[aria-current=page] {
    background:#1f1f1f;
    color:#f6f5f3
}

.desktop-nav a:hover {
    background:#fff
}

.desktop-nav a[aria-current=page]:hover {
    background:#1f1f1f
}

.desktop-contact {
    padding:14px 24px;
    font-size:14px;
    flex-shrink:0
}

.mobile-toggle {
    display:none;
    background:#1f1f1f;
    color:#fff
}

.mobile-nav {
    padding:12px var(--gutter) 24px;
    background:#f6f5f3;
    border-top:1px solid var(--color-border);
    display:flex;
    flex-direction:column
}

.mobile-nav>a:not(.btn) {
    padding:15px 0;
    border-bottom:1px solid var(--color-border)
}

.mobile-nav .btn {
    margin-top:16px
}

.site-footer {
    --footer-wave-height:clamp(64px,9vw,140px);
    position:relative;
    background:linear-gradient(180deg,#1c1c1c,#121212);
    color:#f6f5f3;
    border-radius:0;
    overflow:hidden;
    padding-top:calc(var(--footer-wave-height) + clamp(24px,3vw,44px))
}

/* Recorte vetorial: duas ondas suaves, sem distorcer o conteúdo do rodapé. */
.footer-wave {
    position:absolute;
    top:-1px;
    left:0;
    display:block;
    width:100%;
    height:calc(var(--footer-wave-height) + 1px);
    fill:var(--color-bg);
    pointer-events:none
}

.footer-heading {
    padding-bottom:clamp(32px,4vw,52px);
    border-bottom:1px solid #f6f5f31f
}

.footer-heading h2 {
    font-size:clamp(30px,4.6vw,60px);
    line-height:1.02;
    letter-spacing:-.035em
}

.footer-grid {
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1.4fr;
    gap:clamp(28px,4vw,52px);
    padding-top:clamp(32px,4vw,56px)
}

.footer-logo {
    height:48px;
    width:auto;
    filter:invert(1);
    mix-blend-mode:lighten
}

.footer-grid p {
    color:#f6f5f3b3;
    font-size:14px;
    max-width:290px
}

.footer-grid .social a {
    width:40px;
    height:40px;
    background:#f6f5f31a
}

.footer-links {
    display:flex;
    flex-direction:column;
    gap:14px;
    font-size:14px;
    color:#f6f5f3cc;
    min-width:0
}

.footer-links h3 {
    font-size:12px;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:#f6f5f38c
}

.newsletter-form>input {
    width:100%;
    height:50px;
    padding:0 18px;
    border-radius:999px;
    background:#f6f5f31a;
    border:1px solid #f6f5f32e;
    color:#fff
}

.newsletter-form>input::placeholder {
    color:#e2e2e2
}

.newsletter-form .btn {
    height:50px
}

.consent {
    display:flex;
    gap:8px;
    font-size:11px;
    line-height:1.5
}

.consent input {
    align-self:flex-start;
    margin-top:3px;
    accent-color:#fff
}

.form-feedback {
    padding:10px;
    background:#ffffff1c;
    border-radius:10px
}

.footer-bottom {
    margin-top:clamp(32px,4vw,56px);
    padding:22px 0;
    border-top:1px solid #f6f5f31f;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:12px;
    font-size:12px;
    color:#f6f5f380
}

.whatsapp-float {
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:80;
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:linear-gradient(140deg,#1f1f1f,#4a4a4a);
    color:#fff;
    font-size:28px;
    box-shadow:0 12px 28px #00000047
}

.empty-state {
    padding:42px;
    border:1px solid var(--color-border);
    border-radius:26px;
    display:flex;
    flex-direction:column;
    gap:18px;
    align-items:flex-start
}

.empty-state p {
    color:var(--color-muted)
}

@media(max-width:1179px) {
    .grid4 {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

}

@media(max-width:1099px) {
    .footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

}

@media(max-width:999px) {
    .desktop-nav,.desktop-contact {
        display:none
    }

    .mobile-toggle {
        display:grid
    }

}

@media(min-width:1000px) {
    .mobile-nav {
        display:none
    }

}

@media(max-width:899px) {
    .grid2 {
        grid-template-columns:1fr
    }

    .grid3 {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }

}

@media(max-width:679px) {
    .footer-grid {
        grid-template-columns:1fr
    }

    .top-phone {
        display:none!important
    }

    .topbar .social {
        gap:0
    }

    .topbar>.container {
        gap:4px
    }

    .topbar {
        font-size:10px
    }

}

@media(max-width:659px) {
    .grid4 {
        grid-template-columns:1fr
    }

}

@media(max-width:619px) {
    .grid3 {
        grid-template-columns:1fr
    }

    .btn {
        padding:15px 23px
    }

    .footer-bottom {
        padding-bottom:85px
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }

    *,*::before,*::after {
        animation:none!important;
        transition:none!important
    }

}
