/* ═══════════════════════════════════════════════════════
   CLAUDIA MAIA — STYLE SYSTEM
   ═══════════════════════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
    --ink: #0f0d0b;
    --ink-2: #1a1510;
    --ink-3: #251d14;
    --cream: #faf6ec;
    --cream-2: #f2ebd9;
    --gold: #b8922a;
    --gold-lt: #d4a84b;
    --gold-pale: #e8c97a;
    --rose: #c4796a;
    --text-on-dark: #ede8da;
    --muted-on-dark: #a89f8c;
    --text-on-light: #1a1510;
    --muted-on-light: #6b5e4a;
    --line-dark: rgba(232, 201, 122, .14);
    --line-light: rgba(15, 13, 11, .12);
    --sh-dark: 0 32px 96px rgba(0, 0, 0, .42);
    --sh-card: 0 16px 48px rgba(0, 0, 0, .28);
    --r-sm: 6px;
    --r-md: 14px;
    --r-pill: 999px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    /* Cor única do plano escuro fragmentado */
    --dark-plane: #100d0a;
}

/* ── RESET ── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-on-dark);
    background: var(--dark-plane);
    overflow-x: hidden;
}

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

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

p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
}

/* ── NOISE TEXTURE ── */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .025;
    background-size: 128px;
}

/* ── TYPOGRAPHY ── */
.display,
h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.02em;
}

h2,
h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.01em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--gold-lt);
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--gold-lt);
    flex-shrink: 0;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1;
    cursor: pointer;
    border: none;
    transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold) 100%);
    color: #100e09;
    box-shadow: 0 10px 32px rgba(184, 146, 42, .28);
}

.btn-primary:hover {
    box-shadow: 0 16px 40px rgba(184, 146, 42, .38);
}

.btn-ghost-dark {
    background: rgba(232, 201, 122, .08);
    border: 1px solid rgba(232, 201, 122, .28);
    color: var(--gold-pale);
}

.btn-ghost-dark:hover {
    background: rgba(232, 201, 122, .14);
    border-color: rgba(232, 201, 122, .5);
}

.btn-ghost-light {
    background: rgba(15, 13, 11, .05);
    border: 1px solid rgba(15, 13, 11, .2);
    color: var(--ink);
}

.btn-ghost-light:hover {
    background: rgba(15, 13, 11, .1);
}

/* ── HEADER ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 72px;
    padding: 0 clamp(20px, 5vw, 68px);
    transition: background 280ms var(--ease-out), border-color 280ms, transform 320ms var(--ease-out), box-shadow 280ms;
    border-bottom: 1px solid transparent;
    will-change: transform;
}

.site-header.scrolled {
    background: rgba(15, 13, 11, .88);
    border-color: var(--line-dark);
    box-shadow: 0 8px 40px rgba(0, 0, 0, .28);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--cream);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--gold-lt);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 16px;
    color: var(--gold-pale);
    flex-shrink: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--muted-on-dark);
    text-transform: uppercase;
    transition: color 160ms;
}

.site-nav a:hover {
    color: var(--gold-pale);
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: var(--dark-plane);
}



/* ── HERO PARTICLES ── */
#hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

/* Background radial accent */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Diagonal divider between copy and image */
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 80px);
    width: 160px;
    background: linear-gradient(to right, var(--dark-plane), transparent);
    pointer-events: none;
    z-index: 2;
}

.hero-left {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px clamp(24px, 5vw, 80px) 80px;
}

.hero-tagline {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(62px, 9vw, 130px);
    line-height: .96;
    letter-spacing: -.03em;
    color: var(--cream);
    margin: 0 0 28px;
}

.hero-tagline em {
    font-style: italic;
    color: var(--gold-pale);
    display: block;
}

.hero-sub {
    max-width: 440px;
    font-size: clamp(16px, 2vw, 20px);
    color: var(--muted-on-dark);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Decorative line ornament */
.hero-ornament {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    color: var(--muted-on-dark);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-ornament::before,
.hero-ornament::after {
    content: "";
    flex: 1;
    max-width: 40px;
    height: 1px;
    background: var(--gold-lt);
}

.hero-right {
    position: relative;
    overflow: visible;
}

.hero-right::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, var(--dark-plane));
}



.hero-photo-wrap {
    position: absolute;
    inset: 0;
    bottom: -2px;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-photo-wrap img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 1.2;
    filter: contrast(1.04) saturate(.9);
}

.hero-photo-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(to right, rgba(16, 13, 10, 1) 0%, rgba(16, 13, 10, .7) 18%, rgba(16, 13, 10, .15) 42%, transparent 60%),
        linear-gradient(to left, rgba(16, 13, 10, .6) 0%, rgba(16, 13, 10, .2) 18%, transparent 38%),
        linear-gradient(to top, rgba(16, 13, 10, .7) 0%, rgba(16, 13, 10, .2) 22%, transparent 48%),
        linear-gradient(to bottom, rgba(16, 13, 10, 1) 0%, rgba(16, 13, 10, .8) 8%, transparent 22%);
}

.hero-photo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(15, 13, 11, .78) 0%, rgba(15, 13, 11, .18) 48%, transparent 68%),
        linear-gradient(to top, rgba(15, 13, 11, .62) 0%, rgba(15, 13, 11, .24) 42%, transparent 64%);
}

/* ── DIAGONAL SLASH — corte inclinado na base do hero ──
   Pseudo-elemento posicionado sobre o hero, na parte inferior.
   Cria ilusão de corte violento: escuro do hero acima,
   claro da intro no meio, escuro do body abaixo se conectando.
── */
.hero-slash {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 160px;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.hero-slash::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--dark-plane);
    clip-path: polygon(0 0, 100% 0, 100% 28%, 0 100%);
}

.hero-slash::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--cream);
    clip-path: polygon(0 100%, 100% 28%, 100% 100%);
}

.intro {
    padding-top: clamp(100px, 14vw, 160px);
}

.hero {
    margin-bottom: -1px;
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: clamp(24px, 5vw, 80px);
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted-on-dark);
}

.scroll-line {
    width: 36px;
    height: 1px;
    background: var(--gold-lt);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleX(1);
        opacity: 1;
    }

    50% {
        transform: scaleX(.5);
        opacity: .5;
    }
}

/* ── SECTION BASE ── */
.section {
    position: relative;
    padding: clamp(80px, 10vw, 130px) clamp(24px, 5vw, 80px);
    overflow: hidden;
}

/* ── INTRO / STATEMENT ── */
.intro {
    background: var(--cream);
    color: var(--text-on-light);
}

.intro-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro h2 {
    font-size: clamp(38px, 6vw, 72px);
    color: var(--ink);
    margin-bottom: 20px;
}

.intro p {
    font-size: clamp(17px, 2.2vw, 22px);
    color: var(--muted-on-light);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.intro .eyebrow {
    color: var(--gold);
}

.intro .eyebrow::before {
    background: var(--gold);
}

/* Stats row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: clamp(32px, 6vw, 80px);
    flex-wrap: wrap;
    padding-top: 48px;
    border-top: 1px solid var(--line-light);
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted-on-light);
}

/* ══════════════════════════════════════════════════════
   BLOCO INTERLIGADO — SERVIÇOS + CASES
   70% #FFFCE6 · 30% var(--ink)
   O corte diagonal é espelhado entre as duas seções,
   criando continuidade visual perfeita.
   ══════════════════════════════════════════════════════ */

/* ── SERVICES ──
   Corte: claro (esq/topo) → escuro (dir/base)
   diagonal de cima-esquerda para baixo-direita          */
.services {
    /* Fundo escuro FIXO — fica estático enquanto o site rola */
    background:
        linear-gradient(108deg,
            transparent 0%,
            transparent 69%,
            var(--dark-plane) 69%,
            var(--dark-plane) 100%),
        var(--dark-plane);
    background-attachment: fixed, scroll;
    background-size: 100% 100%, auto;
}

/* Fundo claro rola normalmente (parallax visual) */
.services::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(108deg,
            #FFFCE6 0%,
            #FFFCE6 59%,
            transparent 59%,
            transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Header: textos sobre fundo claro */
.services-header {
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.services-lead {
    margin-top: 14px;
    font-size: 18px;
    color: var(--muted-on-light);
    max-width: 560px;
    margin-bottom: 0;
    line-height: 1.65;
}

.services-header h2 {
    font-size: clamp(36px, 5vw, 60px);
    color: var(--ink);
    margin: 0;
}

.services-header p {
    color: var(--muted-on-light);
    font-size: 17px;
    margin: 0;
}

.services .eyebrow {
    color: var(--gold);
}

.services .eyebrow::before {
    background: var(--gold);
}

/* Grid de cards sobre o fundo claro */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(15, 13, 11, .1);
    border: 1px solid rgba(15, 13, 11, .1);
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 252, 230, .9);
    padding: 40px 30px;
    transition: background 240ms;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-lt));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 320ms var(--ease-out);
}

.service-card:hover {
    background: #ffffffc2;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 56px;
    font-weight: 300;
    color: rgb(184, 146, 42);
    line-height: 1;
    margin-bottom: 28px;
    display: block;
}

.service-card h3 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: var(--muted-on-light);
    margin: 0;
    line-height: 1.65;
}

/* ── AGENDAMENTO ── */
.booking {
    /* Fundo escuro fixo — mesmo plano fragmentado de services/cases */
    background: var(--dark-plane);
    background-attachment: fixed;
    overflow: hidden;
}

/* Camada de blur extremo: simula vidro fosco distorcido sobre o escuro */
.booking::before {
    content: "";
    position: absolute;
    inset: -40px;
    /* ultrapassa bordas para o blur não criar borda dura */
    z-index: 0;
    pointer-events: none;
    /* Manchas de cor que serão completamente borradas */

    filter: blur(72px) saturate(1.4);
}

/* Segunda camada: vidro translúcido com backdrop-filter */
.booking::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

}

.booking-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 100px);
    align-items: center;
}

.booking-copy .eyebrow {
    color: var(--gold-pale);
}

.booking-copy .eyebrow::before {
    background: var(--gold-pale);
}

.booking-copy h2 {
    font-size: clamp(34px, 5vw, 58px);
    color: var(--cream);
    margin-bottom: 18px;
}

.booking-copy p {
    font-size: 17px;
    color: var(--muted-on-dark);
    max-width: 420px;
    margin-bottom: 32px;
}

/* Fix list items on dark bg */
.booking-copy ul li {
    color: var(--muted-on-dark) !important;
}

.booking-card {
    background: rgba(16, 13, 10, .72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--line-dark);
    padding: clamp(32px, 4vw, 52px);
    box-shadow: var(--sh-dark);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-pale), var(--rose));
}

.booking-card p {
    font-size: 16px;
    color: var(--muted-on-dark);
    margin-bottom: 28px;
    line-height: 1.7;
}

.booking-card .btn {
    width: 100%;
}

.booking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.meta-tag {
    padding: 6px 14px;
    border: 1px solid var(--line-dark);
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--muted-on-dark);
}

/* ── CASES ──
   Corte espelhado: escuro (esq/topo) → claro (dir/base)
   Diagonal oposta à de services = continuidade visual    */
.cases {
    background:
        linear-gradient(108deg,
            var(--dark-plane) 0%,
            var(--dark-plane) 51%,
            transparent 51%,
            transparent 100%),
        var(--dark-plane);
    background-attachment: fixed, scroll;
    background-size: 100% 100%, auto;
}

.cases::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(108deg,
            transparent 0%,
            transparent 39%,
            #FFFCE6 19%,
            #FFFCE6 100%);
    pointer-events: none;
    z-index: 0;
}

/* Header: textos sobre fundo escuro (esquerda) */
.cases-header {
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}

.cases-header h2 {
    font-size: clamp(34px, 5vw, 60px);
    max-width: 680px;
    margin-bottom: 0;
}

.cases .eyebrow {
    color: var(--gold);
}

.cases .eyebrow::before {
    background: var(--gold);
}

/* Cards sobre fundo claro */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.case-card {
    background: rgba(255, 252, 230, .92);
    border: 1px solid rgba(15, 13, 11, .1);
    overflow: hidden;
    transition: border-color 240ms, transform 240ms var(--ease-out), box-shadow 240ms;
}


.case-card:hover {
    border-color: var(--gold-lt);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 13, 11, .12);
}

.case-visual {
    height: 300px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(184, 146, 42, .12) 0%, transparent 50%),
        rgba(15, 13, 11, .06);
    border-bottom: 1px solid rgba(15, 13, 11, .1);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--gold);
    letter-spacing: .06em;
    position: relative;
    overflow: hidden;
}

.case-visual2 {
    height: 300px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(184, 146, 42, .12) 0%, transparent 50%),
        rgba(15, 13, 11, .06);
    border-bottom: 1px solid rgba(15, 13, 11, .1);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 22px;
    color: var(--gold);
    letter-spacing: .06em;
    position: relative;
    overflow: hidden;
}

.case-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(184, 146, 42, .06) 100%);
}

.case-body {
    padding: 28px 28px 32px;
}

.case-body h3 {
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 10px;
}

.case-body p {
    font-size: 15px;
    color: var(--muted-on-light);
    margin: 0;
    line-height: 1.65;
}

/* ── CONTACT ── */
.contact {
    background:
        linear-gradient(108deg,
            transparent 0%,
            transparent 25.95%,
            #FFFCE6 0%,
            #FFFCE6 100%),
        var(--dark-plane);

    background-size: 100% 100%, auto;
}

.contact-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.contact .eyebrow {
    color: var(--gold);
}

.contact .eyebrow::before {
    background: var(--gold);
}

.contact h2 {
    font-size: clamp(36px, 5.5vw, 70px);
    color: var(--ink);
    margin-bottom: 18px;
}

.contact p {
    font-size: 18px;
    color: var(--muted-on-light);
    max-width: 520px;
    margin: 0 auto 40px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--dark-plane);
    padding: 52px clamp(24px, 5vw, 80px) 32px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    color: var(--cream);
    font-weight: 600;
}

.footer-tagline {
    font-size: 13px;
    color: var(--muted-on-dark);
    letter-spacing: .04em;
    padding-left: 14px;
    border-left: 1px solid var(--line-dark);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-dark);
}

.footer-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted-on-dark);
    transition: color 160ms;
}

.footer-nav a:hover {
    color: var(--gold-pale);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--muted-on-dark);
    letter-spacing: .04em;
}

.footer-credit strong {
    color: var(--gold-lt);
    font-weight: 600;
}

@media (max-width: 640px) {
    .site-nav {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero-tagline {
        font-size: clamp(52px, 18vw, 80px);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stats-row {
        gap: 32px;
    }

    .footer-tagline {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    /* ── CONTACT: fundo sólido no mobile ──
       O gradient diagonal de 108deg cria uma fatia escura
       em viewports estreitos. Sobrescreve com sólido. */
    .contact {
        background: #FFFCE6;
    }
}

/* ═══════════════════════════════════════════════════════
   REVEAL SYSTEM
   ─ Elementos no HERO: animação CSS automática (acima do fold)
   ─ Demais seções: IntersectionObserver adiciona .in-view
   ═══════════════════════════════════════════════════════ */

/* ── OBSERVER-BASED (seções abaixo do fold) ── */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 640ms var(--ease-out),
        transform 720ms var(--ease-out);
}

[data-reveal="left"] {
    transform: translateX(-40px);
}

[data-reveal="right"] {
    transform: translateX(40px);
}

[data-reveal="scale"] {
    transform: scale(.96) translateY(16px);
}

[data-reveal].in-view {
    opacity: 1;
    transform: none;
}

/* Delay escalonado via data-delay */
[data-reveal][data-delay="1"] {
    transition-delay: 80ms;
}

[data-reveal][data-delay="2"] {
    transition-delay: 160ms;
}

[data-reveal][data-delay="3"] {
    transition-delay: 240ms;
}

[data-reveal][data-delay="4"] {
    transition-delay: 320ms;
}


/* ── HERO-REVEAL: animação CSS pura, sem JS observer ── */
/* Keyframes */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeRight {
    from {
        opacity: 0;
        transform: translateX(-32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroFadeLeft {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Aplica a animação em cada elemento hero com data-hero-reveal */
[data-hero-reveal] {
    opacity: 0;
    /* começa invisível */
    animation-fill-mode: forwards;
    /* mantém estado final */
    animation-timing-function: var(--ease-out);
    animation-duration: 700ms;
}

[data-hero-reveal="up"] {
    animation-name: heroFadeUp;
}

[data-hero-reveal="left"] {
    animation-name: heroFadeRight;
}

[data-hero-reveal="right"] {
    animation-name: heroFadeLeft;
}

/* Delays escalonados para o hero */
[data-hero-reveal][data-hero-delay="0"] {
    animation-delay: 100ms;
}

[data-hero-reveal][data-hero-delay="1"] {
    animation-delay: 260ms;
}

[data-hero-reveal][data-hero-delay="2"] {
    animation-delay: 400ms;
}

[data-hero-reveal][data-hero-delay="3"] {
    animation-delay: 540ms;
}

[data-hero-reveal][data-hero-delay="4"] {
    animation-delay: 680ms;
}


/* ── REDUCED MOTION: desativa tudo ── */
@media (prefers-reduced-motion: reduce) {

    [data-reveal],
    [data-reveal].in-view {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    [data-hero-reveal] {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 100svh;
    }

    .hero-left {
        padding-top: 110px;
        padding-bottom: 64px;
        grid-row: 2;
    }

    .hero-right {
        grid-row: 1;
        min-height: 400px;
    }

    .hero-photo-wrap {
        clip-path: none;
    }

    .hero::after {
        display: none;
    }

    .services-header {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .booking-inner {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-nav {
        display: none;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .hero-tagline {
        font-size: clamp(52px, 18vw, 80px);
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .site-footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .stats-row {
        gap: 32px;
    }
}

.footer-credit a {
    color: var(--gold-lt);
    text-decoration: none;
    transition: color 160ms;
}

.footer-credit a:hover {
    color: var(--gold-pale);
}

.footer-credit strong {
    font-weight: 600;
}

/* ── ENVELOPE WRAP ── */
.envelope-wrap {
    --env-top-space: 110px;
    --env-letter-rise: -54%;
    height: calc(460px + var(--env-top-space));
    padding-top: var(--env-top-space);
    position: relative;
    display: flex;
    align-items: flex-end;
}

.envelope {
    width: 100%;
    height: 460px;
    position: relative;
    cursor: default;
    perspective: 900px;
    filter:
        drop-shadow(0 28px 56px rgba(0, 0, 0, .55)) drop-shadow(0 4px 16px rgba(184, 146, 42, .08));
}

/* Corpo */
.envelope__body {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg,
            rgba(184, 146, 42, .13) 0%,
            rgba(212, 168, 75, .07) 40%,
            rgba(15, 13, 11, .6) 100%);
    border: 1px solid rgba(184, 146, 42, .22);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;
    box-shadow:
        inset 0 1px 0 rgba(232, 201, 122, .12),
        inset 0 -14px 30px rgba(0, 0, 0, .22);
}

.envelope__body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-pale), var(--rose), var(--gold-pale), var(--gold));
    opacity: .7;
}

/* Triângulos internos */
.envelope__side {
    position: absolute;
    width: 0;
    height: 0;
}

.envelope__side--left {
    bottom: 0;
    left: 0;
    border-style: solid;
    border-width: 230px 0 0 50%;
    border-color: transparent transparent transparent rgba(15, 13, 11, .28);
}

.envelope__side--right {
    bottom: 0;
    right: 0;
    border-style: solid;
    border-width: 0 0 230px 50%;
    border-color: transparent transparent rgba(15, 13, 11, .28) transparent;
}

.envelope__side--bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 150px;
    border-left-width: 50%;
    border-right-width: 50%;
    border-color: transparent transparent rgba(184, 146, 42, .09) transparent;
}

/* Aba */
.envelope__flap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(165deg,
            rgba(184, 146, 42, .15) 0%,
            rgba(232, 201, 122, .07) 50%,
            rgba(15, 13, 11, .55) 100%);
    border: 1px solid rgba(184, 146, 42, .2);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    transform-origin: top center;
    transform: rotateX(0deg);
    transition: transform 0.58s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease;
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.envelope.open .envelope__flap {
    transform: rotateX(-180deg);
    background: linear-gradient(162deg, rgba(184, 146, 42, .32) 0%, rgba(139, 96, 20, .45) 100%);
}

/* Carta */
.envelope__letter {
    position: absolute;
    left: 8%;
    width: 84%;
    bottom: 6px;
    height: 88%;
    background: var(--cream-2);
    background-image: linear-gradient(var(--cream-2) 0px, var(--cream-2) 23px, rgba(139, 96, 20, .12) 24px);
    background-size: 100% 24px;
    border-left: 2.5px solid rgba(184, 146, 42, .45);
    border-radius: 3px;
    box-shadow:
        0 2px 0 rgba(0, 0, 0, .06),
        0 10px 28px rgba(0, 0, 0, .28),
        0 24px 48px rgba(0, 0, 0, .18);
    transform: translateY(40px);
    opacity: 0;
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.18s,
        opacity 0.42s ease 0.18s;
    z-index: 3;
    overflow: hidden;
}

.envelope.open .envelope__letter {
    transform: translateY(var(--env-letter-rise));
    opacity: 1;
    z-index: 30;
}

.envelope__letter::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 14px;
    background: rgba(184, 146, 42, .18);
    border-left: 1px solid rgba(184, 146, 42, .2);
    border-right: 1px solid rgba(184, 146, 42, .2);
    border-bottom: 1px solid rgba(184, 146, 42, .22);
    z-index: 2;
}

.envelope__letter::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(225deg, var(--cream-3, #e8dfc8) 50%, transparent 50%);
    z-index: 2;
}

/* Conteúdo da carta */
.envelope__letter-inner {
    padding: 22px 18px 16px 26px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    height: 100%;
}

.envelope__letter-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -.01em;
    margin-bottom: 3px;
    line-height: 24px;
}

.envelope__field {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.envelope__field label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
}

.envelope__field input,
.envelope__field textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(139, 96, 20, .25);
    border-radius: 0;
    color: var(--ink-2);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    padding: 4px 0;
    outline: none;
    resize: none;
    transition: border-color .25s ease;
    width: 100%;
    line-height: 24px;
}

.envelope__field input::placeholder,
.envelope__field textarea::placeholder {
    color: rgba(26, 21, 16, .32);
    font-style: italic;
}

.envelope__field input:focus,
.envelope__field textarea:focus {
    border-color: var(--gold);
}

.envelope__field textarea {
    height: 50px;
    overflow: hidden;
}

/* Botão enviar */
.envelope__send {
    align-self: flex-start;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-pale) 0%, var(--gold) 100%);
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform .2s var(--ease-out), box-shadow .2s;
    box-shadow: 0 6px 20px rgba(184, 146, 42, .22);
    position: relative;
    z-index: 1;
}

.envelope__send:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(184, 146, 42, .32);
}

/* Lacre */

.envelope__seal svg {
    width: 14px;
    height: 14px;
    color: var(--gold-lt);
}

.envelope.open .envelope__seal {
    opacity: 0;
    pointer-events: none;
}

/* Dica hover */
.envelope__hint {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--muted-on-dark);
    font-size: 0.78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    z-index: 20;
    transition: opacity .3s ease;
    pointer-events: none;
}

.envelope__hint-icon {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(184, 146, 42, .3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: hintPulse 2.2s ease-in-out infinite;
}

.envelope__hint-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold-lt);
}

.envelope.open .envelope__hint {
    opacity: 0;
}

@keyframes hintPulse {

    0%,
    100% {
        opacity: .6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* Responsivo */
@media (max-width: 900px) {
    .envelope-wrap {
        --env-top-space: 90px;
    }

    .envelope {
        height: 440px;
    }
}

@media (max-width: 540px) {
    .envelope-wrap {
        --env-top-space: 76px;
        --env-letter-rise: -38%;
        height: calc(400px + var(--env-top-space));
    }

    .envelope {
        height: 380px;
    }

    .envelope__letter-inner {
        padding: 16px 14px 14px 20px;
        gap: 6px;
    }

    .envelope__field textarea {
        height: 38px;
    }

    .envelope__send {
        padding: 8px 16px;
        font-size: .65rem;
    }
}