/* ==========================================================
   TERRITÓRIO DA PRENDA — P1 CRITICAL CSS
   Consolidated first-viewport styles.
   Secondary section styles are loaded after the initial paint.
========================================================== */

/* ===== base/variables.css ===== */
:root{
    /* ==========================================================
       SISTEMA VISUAL — TERRITÓRIO DA PRENDA
       Direção de arte: Luxo Editorial Gaúcho
    ========================================================== */

    /* Cores de marca */
    --vinho:#5B0D1E;
    --bordo:#7D1F2D;
    --ouro:#D4AF37;
    --rosa:#CB9A8E;
    --bege:#E7D9C5;
    --verde:#4A533D;
    --marfim:#FAF6EF;
    --texto:#2D2D2D;

    /* Superfícies */
    --branco:#FFFFFF;
    --glass:rgba(255,255,255,.08);
    --glass-light:rgba(255,255,255,.72);
    --overlay-dark:rgba(45,16,24,.18);

    /* Tipografia */
    --font-display:"Cormorant Garamond",serif;
    --font-ui:"Montserrat",sans-serif;

    /* Escala editorial */
    --text-xs:11px;
    --text-sm:13px;
    --text-md:16px;
    --text-lg:18px;
    --text-xl:22px;
    --display-hero:clamp(72px,7vw,112px);
    --display-section:clamp(48px,5vw,72px);

    /* Ritmo espacial — base 8px */
    --space-1:8px;
    --space-2:16px;
    --space-3:24px;
    --space-4:40px;
    --space-5:56px;
    --space-6:80px;
    --space-7:120px;
    --space-8:160px;

    /* Raios */
    --radius-sm:8px;
    --radius-md:16px;
    --radius-lg:24px;
    --radius-pill:999px;

    /* Sombras — discretas, sem efeito plástico */
    --shadow-soft:0 12px 36px rgba(45,16,24,.10);
    --shadow-card:0 18px 50px rgba(45,16,24,.12);
    --shadow-lift:0 22px 48px rgba(91,13,30,.18);

    /* Movimento */
    --ease-editorial:cubic-bezier(.22,.61,.36,1);
    --ease-smooth:cubic-bezier(.2,.8,.2,1);
    --motion-fast:.25s;
    --motion-base:.45s;
    --motion-slow:.8s;

    /* Larguras */
    --content-wide:1450px;
    --content-reading:760px;
}


/* ===== base/reset.css ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Montserrat",sans-serif;
    background:var(--marfim);
    color:var(--texto);
    overflow-x:hidden;
}

body::-webkit-scrollbar{
    width:10px;
}

body::-webkit-scrollbar-thumb{
    background:var(--vinho);
}

h1,h2,h3,h4{
    font-family:"Cormorant Garamond",serif;
    font-weight:600;
}

img{
    width:100%;
    display:block;
    content-visibility:auto;
}


/* ===== base/layout.css ===== */
.container{
    width:100%;
    max-width:1450px;
    margin-inline:auto;
}

html{
    overflow-x:clip;
    scroll-behavior:smooth;
}

body{
    min-width:320px;
    overflow-x:clip;
}

img,
svg,
video{
    max-width:100%;
}
    
section{
    padding:20px 7%;
    position:relative;
    scroll-margin-top:86px;
}

@media(max-width:520px){
    section{
        padding:30px 6%;
    }
}


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


/* ===== base/typography.css ===== */
h1,h2,h3,h4{
    font-family:"Cormorant Garamond",serif;
    font-weight:600;
}


/* ===== components/buttons.css ===== */
/* ==========================================================
   BOTÕES — SISTEMA ULTRA PREMIUM
   Direção: Luxo Editorial Gaúcho
   ========================================================== */

.btn{
    --btn-height:58px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:var(--btn-height);
    padding:0 34px;
    border:1px solid rgba(212,175,55,.62);
    border-radius:var(--radius-pill);
    position:relative;
    isolation:isolate;
    overflow:hidden;
    cursor:pointer;
    text-decoration:none;
    font-family:var(--font-ui);
    font-size:12px;
    font-weight:600;
    line-height:1;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--ouro);
    background:
        radial-gradient(circle at 28% 20%, rgba(255,255,255,.14), transparent 30%),
        linear-gradient(145deg, var(--bordo), var(--vinho));
    box-shadow:
        0 12px 28px rgba(91,13,30,.20),
        inset 0 1px 0 rgba(255,255,255,.16),
        inset 0 -8px 16px rgba(0,0,0,.12);
    text-shadow:0 1px 8px rgba(0,0,0,.18);
    transition:
        transform var(--motion-base) var(--ease-smooth),
        box-shadow var(--motion-base) ease,
        border-color var(--motion-base) ease,
        background var(--motion-base) ease,
        color var(--motion-base) ease;
}

.btn span{
    position:relative;
    z-index:2;
}

.btn::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(110deg, rgba(255,255,255,.13), transparent 46%, rgba(255,255,255,.04));
    opacity:.9;
    pointer-events:none;
    z-index:0;
}

.btn::after{
    content:"";
    position:absolute;
    inset:4px;
    border:1px solid rgba(250,246,239,.10);
    border-radius:inherit;
    pointer-events:none;
    z-index:1;
}

.btn-primary{
    color:var(--ouro);
}

/* Segundo CTA: mais silencioso, preservando a hierarquia do primeiro. */
.hero-buttons .btn-secondary,
.hero-buttons .btn:nth-child(2){
    color:var(--vinho);
    background:rgba(250,246,239,.72);
    border-color:rgba(212,175,55,.72);
    box-shadow:
        0 10px 24px rgba(45,16,24,.10),
        inset 0 1px 0 rgba(255,255,255,.75);
    text-shadow:none;
    backdrop-filter:blur(5px);
}

.hero-buttons .btn-secondary::before,
.hero-buttons .btn:nth-child(2)::before{
    background:linear-gradient(110deg, rgba(255,255,255,.55), transparent 58%);
}

.btn:hover{
    transform:translateY(-3px);
    border-color:rgba(212,175,55,.92);
    box-shadow:
        0 17px 34px rgba(91,13,30,.25),
        0 0 0 4px rgba(212,175,55,.055),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -8px 16px rgba(0,0,0,.12);
}

.btn-primary:hover{
    color:var(--ouro);
    background:
        radial-gradient(circle at 28% 20%, rgba(255,255,255,.18), transparent 31%),
        linear-gradient(145deg, var(--bordo), var(--vinho));
}

.hero-buttons .btn-secondary:hover,
.hero-buttons .btn:nth-child(2):hover{
    color:var(--vinho);
    background:rgba(250,246,239,.92);
    box-shadow:
        0 15px 30px rgba(45,16,24,.14),
        0 0 0 4px rgba(212,175,55,.055),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.btn:active{
    transform:translateY(-1px) scale(.985);
}

.btn:focus-visible{
    outline:2px solid rgba(212,175,55,.95);
    outline-offset:4px;
}

/*
 * P4 — .collection-link pertence exclusivamente à seção Coleções.
 * Essa regra é carregada por sections/collections.css e não participa
 * do primeiro viewport; mantê-la aqui apenas duplicava bytes críticos.
 */

/* v4.1.23 P0: inline SVG icons */
.icon{width:1em;height:1em;display:inline-block;flex:0 0 auto;fill:currentColor;vertical-align:-0.125em;}


/* ===== components/header.css ===== */
/* ==========================================================
   HEADER + NAVEGAÇÃO — v4.1.5
   Direção: Ultra Premium / Luxo Editorial Gaúcho
   Objetivo: preservar a identidade e as dimensões originais,
   harmonizando logo, navegação, WhatsApp e menu mobile.
========================================================== */

header{
    --header-logo-size:62px;
    --header-height:86px;
    --header-side-padding:4.8%;

    position:fixed;
    width:100%;
    height:var(--header-height);
    top:0;
    left:0;
    z-index:999;
    background:rgba(250,246,239,.94);
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(91,13,30,.07);
    transition:transform .45s ease,opacity .45s ease,background .35s ease;
    transform:translateY(0);
    opacity:1;
}

header.header-hidden{
    transform:translateY(-120%);
    opacity:0;
    pointer-events:none;
}

.navbar{
    position:relative;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    padding:0 var(--header-side-padding);
    box-sizing:border-box;
}

.logo{
    flex:0 0 auto;
    min-width:0;
    font-family:var(--font-display);
    color:var(--vinho);
    display:flex;
    align-items:center;
    gap:14px;
    cursor:pointer;
    text-decoration:none;
}

.logo:hover .logo-text{opacity:.92;}
.logo:focus{outline:none;}

.logo img{
    width:var(--header-logo-size);
    height:var(--header-logo-size);
    aspect-ratio:1 / 1;
    object-fit:contain;
    flex:0 0 var(--header-logo-size);
    display:block;
    border-radius:50%;
    filter:drop-shadow(0 4px 12px rgba(0,0,0,.15));
    transition:transform .4s ease,filter .4s ease;
}

.logo:hover img{
    transform:scale(1.05);
    filter:drop-shadow(0 6px 15px rgba(0,0,0,.17));
}

.logo-text{
    font-family:var(--font-display);
    color:var(--vinho);
    font-size:32px;
    line-height:.90;
    font-weight:600;
    letter-spacing:1px;
    white-space:nowrap;
    transition:opacity .3s ease;
}

.logo-text span{
    display:inline-block;
    margin-top:5px;
    color:var(--ouro);
    letter-spacing:5px;
    font-size:20px;
    font-weight:600;
}

/* ==========================================================
   NAVEGAÇÃO DESKTOP
========================================================== */
.menu{
    margin-left:auto;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:clamp(22px,2.2vw,35px);
    padding:0 clamp(22px,2.4vw,38px);
    box-sizing:border-box;
}

.menu a{
    text-decoration:none;
    color:var(--vinho);
    font-family:var(--font-ui);
    font-size:13px;
    font-weight:500;
    letter-spacing:2px;
    line-height:1;
    position:relative;
    white-space:nowrap;
}

.menu a::after{
    content:"";
    position:absolute;
    width:0;
    height:1px;
    background:var(--ouro);
    left:0;
    bottom:-8px;
    transition:width .4s var(--ease-editorial);
}

.menu a:hover::after,
.menu a:focus-visible::after{
    width:100%;
}

.menu a:focus-visible{
    outline:2px solid rgba(212,175,55,.65);
    outline-offset:5px;
    border-radius:2px;
}

/* ==========================================================
   WHATSAPP — BOTÃO CIRCULAR SOBRE O HEADER
   Mesmo padrão visual do botão de menu mobile, em todas as larguras.
   No desktop não existe mais bloco vinho de fundo.
========================================================== */
.header-whatsapp{
    width:52px;
    height:52px;
    flex:0 0 52px;
    min-width:52px;
    margin-left:clamp(12px,1.5vw,22px);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    box-sizing:border-box;
    text-decoration:none;
    border:1px solid rgba(212,175,55,.48);
    border-radius:50%;
    background:
        radial-gradient(circle at 30% 25%,rgba(255,255,255,.16),transparent 28%),
        linear-gradient(145deg,rgba(125,31,45,.98),rgba(91,13,30,1));
    box-shadow:
        0 10px 24px rgba(91,13,30,.22),
        inset 0 1px 0 rgba(255,255,255,.14),
        inset 0 -8px 16px rgba(0,0,0,.12);
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.header-whatsapp::before{
    content:"";
    position:absolute;
    inset:5px;
    border:1px solid rgba(250,246,239,.12);
    border-radius:50%;
    pointer-events:none;
    transition:opacity .3s ease,transform .35s ease;
}

.header-whatsapp::after{
    content:"";
    position:absolute;
    width:30px;
    height:30px;
    border-radius:50%;
    border:1px solid rgba(212,175,55,.14);
    box-shadow:0 0 18px rgba(212,175,55,.08);
    pointer-events:none;
    transition:transform .4s ease,opacity .3s ease;
}

.header-whatsapp-icon{
    width:30px;
    height:30px;
    flex:0 0 30px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:1;
    border:0;
    border-radius:50%;
    color:var(--ouro);
    font-size:18px;
    line-height:1;
    box-sizing:border-box;
    box-shadow:none;
    transition:transform .35s var(--ease-smooth),color .35s ease;
}

.header-whatsapp-icon i{
    line-height:1;
    display:block;
}

.header-whatsapp:hover{
    transform:translateY(-2px) scale(1.025);
    border-color:rgba(212,175,55,.82);
    box-shadow:
        0 14px 30px rgba(91,13,30,.30),
        0 0 0 5px rgba(212,175,55,.07),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -8px 16px rgba(0,0,0,.12);
}

.header-whatsapp:hover::before{
    opacity:.85;
    transform:rotate(45deg);
}

.header-whatsapp:hover::after{
    transform:scale(.86);
    opacity:.85;
}

.header-whatsapp:hover .header-whatsapp-icon{
    transform:scale(1.045);
    color:#f7e6a8;
}

.header-whatsapp:active{
    transform:scale(.96);
}

.header-whatsapp:focus-visible{
    outline:2px solid rgba(212,175,55,.9);
    outline-offset:4px;
}

/* ==========================================================
   BOTÃO MENU MOBILE
   Dimensão-base preservada: 52 x 52 px.
========================================================== */
.mobile-toggle{
    display:none;
    width:52px;
    height:52px;
    flex:0 0 52px;
    padding:0;
    position:relative;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:1001;
    appearance:none;
    -webkit-appearance:none;
    border:1px solid rgba(212,175,55,.48);
    border-radius:50%;
    background:
        radial-gradient(circle at 30% 25%,rgba(255,255,255,.16),transparent 28%),
        linear-gradient(145deg,rgba(125,31,45,.98),rgba(91,13,30,1));
    box-shadow:
        0 10px 24px rgba(91,13,30,.22),
        inset 0 1px 0 rgba(255,255,255,.14),
        inset 0 -8px 16px rgba(0,0,0,.12);
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.mobile-toggle::before{
    content:"";
    position:absolute;
    inset:5px;
    border:1px solid rgba(250,246,239,.12);
    border-radius:50%;
    pointer-events:none;
    transition:opacity .3s ease,transform .35s ease;
}

.mobile-toggle::after{
    content:"";
    position:absolute;
    width:30px;
    height:30px;
    border-radius:50%;
    border:1px solid rgba(212,175,55,.14);
    box-shadow:0 0 18px rgba(212,175,55,.08);
    pointer-events:none;
    transition:transform .4s ease,opacity .3s ease;
}

.mobile-toggle span{
    position:absolute;
    height:1.5px;
    background:linear-gradient(90deg,#f7e6a8,var(--ouro),#f7e6a8);
    left:50%;
    border-radius:10px;
    box-shadow:0 1px 5px rgba(0,0,0,.28);
    transform:translateX(-50%);
    transition:
        top .35s cubic-bezier(.2,.8,.2,1),
        width .35s ease,
        opacity .25s ease,
        transform .35s cubic-bezier(.2,.8,.2,1);
}

.mobile-toggle span:nth-child(1){top:18px;width:18px;}
.mobile-toggle span:nth-child(2){top:25px;width:23px;}
.mobile-toggle span:nth-child(3){top:32px;width:14px;}

.mobile-toggle:hover{
    transform:translateY(-2px) scale(1.025);
    border-color:rgba(212,175,55,.82);
    box-shadow:
        0 14px 30px rgba(91,13,30,.30),
        0 0 0 5px rgba(212,175,55,.07),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -8px 16px rgba(0,0,0,.12);
}

.mobile-toggle:hover span:nth-child(1),
.mobile-toggle:hover span:nth-child(3){width:23px;}

.mobile-toggle:active{transform:scale(.96);}

.mobile-toggle:focus-visible{
    outline:2px solid rgba(212,175,55,.9);
    outline-offset:4px;
}

.mobile-toggle.active{
    border-color:rgba(212,175,55,.78);
    background:
        radial-gradient(circle at 30% 25%,rgba(255,255,255,.18),transparent 30%),
        linear-gradient(145deg,var(--vinho),#3d0713);
    box-shadow:
        0 14px 32px rgba(61,7,19,.32),
        0 0 0 5px rgba(212,175,55,.06),
        inset 0 1px 0 rgba(255,255,255,.12);
}

.mobile-toggle.active::before{opacity:.65;transform:rotate(45deg);}
.mobile-toggle.active::after{transform:scale(.86);opacity:.75;}
.mobile-toggle.active span:nth-child(1){top:25px;width:22px;transform:translateX(-50%) rotate(45deg);}
.mobile-toggle.active span:nth-child(2){opacity:0;width:0;}
.mobile-toggle.active span:nth-child(3){top:25px;width:22px;transform:translateX(-50%) rotate(-45deg);}

/* ==========================================================
   TABLET / MOBILE
========================================================== */
@media(max-width:980px){

    header{
        --header-logo-size:60px;
        --header-height:82px;
        --header-side-padding:5%;
    }

    .navbar{
        gap:10px;
    }

    .logo{
        gap:11px;
    }

    .logo-text{
        font-size:27px;
    }

    .logo-text span{
        margin-top:4px;
        font-size:15px;
        letter-spacing:3px;
    }

    .menu{
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        height:auto;
        display:flex;
        flex-direction:row;
        justify-content:center;
        align-items:center;
        flex-wrap:wrap;
        gap:8px 10px;
        padding:16px 5%;
        background:rgba(250,246,239,.97);
        backdrop-filter:blur(18px);
        -webkit-backdrop-filter:blur(18px);
        border-top:1px solid rgba(0,0,0,.05);
        border-bottom:1px solid rgba(0,0,0,.05);
        box-shadow:0 15px 35px rgba(0,0,0,.08);
        opacity:0;
        visibility:hidden;
        transform:translateY(-15px);
        transition:.35s ease;
        z-index:998;
    }

    .menu.active{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

    .menu a{
        padding:9px 12px;
        border-radius:30px;
        font-size:10.5px;
        letter-spacing:1.35px;
        background:rgba(91,13,30,.04);
        transition:.3s;
    }

    .menu a:hover,
    .menu a:focus-visible{
        background:rgba(212,175,55,.15);
        outline:none;
    }

    /* WhatsApp: exatamente o mesmo botão circular premium do menu. */
    .header-whatsapp{
        margin-left:auto;
        width:52px;
        height:52px;
        flex:0 0 52px;
        min-width:52px;
    }

    .header-whatsapp-icon{
        width:30px;
        height:30px;
        flex-basis:30px;
        font-size:18px;
    }

    .mobile-toggle{
        display:flex;
        margin-left:1px;
    }
}

/* ==========================================================
   MOBILE ESTREITO
========================================================== */
@media(max-width:520px){

    header{
        --header-logo-size:58px;
        --header-height:78px;
        --header-side-padding:4.5%;
    }

    .logo{
        gap:9px;
    }

    .logo-text{
        font-size:24px;
        letter-spacing:.7px;
    }

    .logo-text span{
        margin-top:3px;
        font-size:13.5px;
        letter-spacing:2.6px;
    }

    .header-whatsapp{
        width:48px;
        height:48px;
        flex-basis:48px;
        min-width:48px;
    }

    .header-whatsapp-icon{
        width:28px;
        height:28px;
        flex-basis:28px;
        font-size:17px;
    }

    .mobile-toggle{
        width:52px;
        height:52px;
        flex-basis:52px;
    }
}

@media(max-width:389px){

    header{
        --header-logo-size:56px;
        --header-height:76px;
        --header-side-padding:4%;
    }

    .logo{
        gap:8px;
    }

    .logo-text{
        font-size:22px;
    }

    .logo-text span{
        font-size:12.5px;
        letter-spacing:2.2px;
    }

    .header-whatsapp{
        width:44px;
        height:44px;
        flex-basis:44px;
        min-width:44px;
    }

    .header-whatsapp-icon{
        width:26px;
        height:26px;
        flex-basis:26px;
        font-size:16px;
    }
}

@media(max-width:359px){

    header{
        --header-logo-size:54px;
        --header-height:74px;
    }

    .logo-text{
        font-size:20px;
    }

    .logo-text span{
        font-size:11.5px;
        letter-spacing:2px;
    }

    .header-whatsapp{
        flex-basis:38px;
        width:38px;
        min-width:38px;
        height:38px;
    }

    .header-whatsapp-icon{
        width:29px;
        height:29px;
        flex-basis:29px;
        font-size:15px;
    }
}

@media(prefers-reduced-motion:reduce){
    header,
    .logo img,
    .logo-text,
    .menu,
    .menu a::after,
    .header-whatsapp,
    .header-whatsapp-icon,
    .mobile-toggle,
    .mobile-toggle::before,
    .mobile-toggle::after,
    .mobile-toggle span{
        transition:none;
    }
}

/* ==========================================================
   v4.1.23 P0 — WhatsApp dourado no header mobile
   Mantém o botão e a identidade existentes; garante que o
   SVG inline utilize o dourado da identidade também no mobile.
========================================================== */
@media(max-width:980px){
    .header-whatsapp-icon .icon-whatsapp,
    .header-whatsapp-icon .icon-whatsapp path{
        color:var(--ouro);
        fill:var(--ouro);
    }
}


/* ===== sections/hero.css ===== */
/* =============================================================
   HERO / INÍCIO
   Direção de arte: LUXO EDITORIAL GAÚCHO
   Versão 4.1.4 — fotografia integral sob o header
============================================================= */

 .hero{
    height:100svh;
    min-height:100svh;
    display:flex;
    align-items:center;
    position:relative;
    isolation:isolate;
    overflow:hidden;
    margin-top:0;
    padding:0;
    background-color:var(--marfim);
    background-image:url("../images/hero/hero-prenda.webp");
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:
        linear-gradient(90deg,
            rgba(250,246,239,.98) 0%,
            rgba(250,246,239,.96) 20%,
            rgba(250,246,239,.86) 31%,
            rgba(250,246,239,.58) 43%,
            rgba(250,246,239,.25) 54%,
            rgba(250,246,239,.06) 68%,
            rgba(250,246,239,0) 100%);
}

.hero::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(45,16,24,.025),transparent 28%,transparent 78%,rgba(45,16,24,.08));
}

.hero .container{
    position:relative;
    z-index:1;
    width:100%;
    max-width:none;
    margin:0;
    padding:0 4.9%;
}

.hero-content{
    width:min(100%,700px);
    max-width:700px;
    padding:0;
    transform:translateY(24px);
}

/* A fotografia ocupa 100% da viewport; o header fica sobreposto.
   O conteúdo recebe apenas um pequeno deslocamento óptico para não
   competir com a barra superior. */
@media (max-width:980px){
    .hero-content{
        transform:translateY(10px);
    }
}

.hero-subtitle{
    position:relative;
    display:block;
    width:min(100%,515px);
    padding:0 0 18px;
    margin:0 0 28px;
    color:var(--vinho);
    font-family:var(--font-ui);
    font-size:11px;
    font-weight:600;
    letter-spacing:4.2px;
    line-height:1.35;
}

.hero-subtitle::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:1px;
    background:linear-gradient(90deg,rgba(212,175,55,.75),rgba(212,175,55,.22) 78%,transparent);
}

.hero-subtitle::after{
    content:"";
    position:absolute;
    width:7px;
    height:7px;
    left:50%;
    bottom:-3px;
    transform:translateX(-50%) rotate(45deg);
    background:var(--ouro);
    box-shadow:0 0 0 3px rgba(250,246,239,.72);
}

.hero h1{
    max-width:700px;
    margin:0;
    color:var(--vinho);
    font-family:var(--font-display);
    font-size:clamp(68px,6.05vw,94px);
    font-weight:600;
    line-height:.89;
    letter-spacing:-2.1px;
    text-wrap:balance;
}

.hero h1 span{
    color:var(--ouro);
    font-style:italic;
    text-shadow:0 1px 0 rgba(91,13,30,.05);
}

.hero p{
    max-width:500px;
    margin:30px 0 31px;
    color:#3e3032;
    font-family:var(--font-ui);
    font-size:15.5px;
    font-weight:400;
    line-height:1.65;
}

.hero-buttons{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.hero-buttons .btn{
    padding:16px 31px;
}

.hero-buttons .btn:nth-child(2){
    color:var(--vinho);
    background:rgba(250,246,239,.50);
    border-color:rgba(212,175,55,.78);
    box-shadow:0 10px 26px rgba(45,16,24,.07);
    text-shadow:none;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
}

.hero-buttons .btn:nth-child(2)::before{
    background:linear-gradient(135deg,rgba(212,175,55,.10),rgba(212,175,55,.02));
    opacity:1;
}

.hero-buttons .btn:nth-child(2)::after{
    border-color:rgba(212,175,55,.10);
}

.hero-buttons .btn:nth-child(2):hover{
    color:var(--vinho);
    border-color:rgba(212,175,55,.95);
    background:rgba(250,246,239,.80);
}

.scroll-indicator{
    position:absolute;
    left:22.2%;
    bottom:22px;
    z-index:2;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    color:#8b6517;
    font-family:var(--font-ui);
    font-size:9px;
    font-weight:600;
    letter-spacing:3px;
    line-height:1;
    opacity:.78;
    animation:hero-scroll 3s var(--ease-editorial) infinite;
}

.scroll-indicator::after{
    content:"";
    width:1px;
    height:27px;
    background:linear-gradient(to bottom,rgba(212,175,55,.82),rgba(212,175,55,.12));
}

@keyframes hero-scroll{
    0%,100%{transform:translateY(0);opacity:.55;}
    50%{transform:translateY(4px);opacity:.86;}
}

/* =============================================================
   DESKTOP COM ALTURA REDUZIDA
   Mantém título, texto e CTAs dentro da viewport sem sacrificar
   a composição fotográfica.
============================================================= */



/* =============================================================
   TABLET
============================================================= */

@media(max-width:980px){
    .hero{
        height:100svh;
        min-height:640px;
        margin-top:0;
        padding:0;
        background-position:68% center;
    }

    .hero::before{
        background:
            linear-gradient(
                90deg,
                rgba(250,246,239,.94) 0%,
                rgba(250,246,239,.82) 34%,
                rgba(250,246,239,.50) 55%,
                rgba(250,246,239,.16) 76%,
                rgba(250,246,239,0) 100%
            );
    }

    .hero .container{
        padding:0 6%;
    }

    .hero-content{
        max-width:690px;
        padding:0;
    }

    .hero h1{
        font-size:clamp(58px,8vw,78px);
        letter-spacing:-1.5px;
        line-height:.9;
    }

    .hero p{
        max-width:540px;
        margin:20px 0 24px;
        font-size:16px;
        line-height:1.65;
    }

    .hero-buttons .btn{
        padding:15px 30px;
    }

    .scroll-indicator{
        bottom:18px;
    }
}

/* =============================================================
   MOBILE — composição própria
============================================================= */

@media(max-width:640px){
    .hero{
        height:100svh;
        min-height:100svh;
        margin-top:0;
        align-items:flex-start;
        padding:0;
        background-position:63% center;
    }

    .hero::before{
        background:
            linear-gradient(
                180deg,
                rgba(250,246,239,.97) 0%,
                rgba(250,246,239,.90) 25%,
                rgba(250,246,239,.60) 46%,
                rgba(250,246,239,.16) 67%,
                rgba(250,246,239,.02) 100%
            );
    }

    .hero::after{
        background:linear-gradient(
            180deg,
            rgba(45,16,24,.04) 0%,
            rgba(45,16,24,0) 55%,
            rgba(45,16,24,.16) 100%
        );
    }

    .hero .container{
        padding:0 6%;
    }

    .hero-content{
        width:100%;
        max-width:100%;
        padding:110px 0 120px;
        transform:none;
        text-align:left;
    }

    .hero-subtitle{
        max-width:310px;
        margin-bottom:var(--space-3);
        letter-spacing:2.8px;
        font-size:10px;
    }

    .hero-subtitle::before{
        width:24px;
        flex-basis:24px;
    }

    .hero h1{
        max-width:100%;
        font-size:clamp(44px,12vw,58px);
        line-height:.91;
        letter-spacing:-1px;
    }

    .hero p{
        max-width:360px;
        margin:var(--space-4) 0;
        font-size:15px;
        line-height:1.7;
    }

    .hero-buttons{
        width:100%;
        max-width:360px;
        align-items:stretch;
        gap:12px;
    }

    .hero-buttons .btn{
        width:100%;
        padding:16px 28px;
    }

    .scroll-indicator{
        bottom:18px;
        font-size:9px;
        letter-spacing:2.5px;
    }

    .scroll-indicator::after{
        height:22px;
    }
}

@media(max-width:380px){
    .hero{
        background-position:60% center;
    }

    .hero-content{
        padding-top:100px;
        padding-bottom:110px;
    }

    .hero h1{
        font-size:clamp(40px,11.5vw,50px);
    }

    .hero p{
        margin:var(--space-3) 0;
        font-size:14px;
    }
}

/* =============================================================
   ACESSIBILIDADE / REDUCED MOTION
============================================================= */

@media(prefers-reduced-motion:reduce){
    .scroll-indicator{
        animation:none;
    }
}


/* ===== sections/splash.css ===== */
/* =========================
   SPLASH PREMIUM
========================= */

#splash-screen{
    position:fixed;
    inset:0;
    background:
    radial-gradient(
        circle at center,
        #7D1F2D 0%,
        #5B0D1E 55%,
        #3d0715 100%
    );
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:99999;
    transition:
        opacity 1s ease,
        visibility 1s ease;
}

#splash-screen.hide{
    opacity:0;
    visibility:hidden;
}

.splash-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    animation:splashFade 1.5s ease;
}

.splash-content img{
    width:220px;
    height:220px;
    object-fit:contain;
    filter:drop-shadow(0 20px 40px rgba(0,0,0,.35));
    animation:logoPulse 2.5s infinite;
}

.splash-loader{
    width:180px;
    height:3px;
    background:rgba(255,255,255,.25);
    margin-top:35px;
    overflow:hidden;
    border-radius:10px;
}

.splash-loader span{
    display:block;
    height:100%;
    width:40%;
    background:
    linear-gradient(
        90deg,
        transparent,
        #D4AF37,
        transparent
    );
    animation:loading 1.6s infinite;
}

.splash-content p{
    margin-top:20px;
    color:#f5eee5;
    font-size:12px;
    letter-spacing:3px;
    text-transform:uppercase;
}

/* ===== utilities/utilities.css ===== */
/* UTILIDADES GLOBAIS */

/* Reveal */

.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:1s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* Tela de bloqueio */

.skip-link{
    position:fixed;
    top:12px;
    left:12px;
    z-index:1000000;
    padding:12px 18px;
    border-radius:8px;
    background:var(--vinho);
    color:#fff;
    text-decoration:none;
    transform:translateY(-180%);
    transition:transform .2s ease;
}

.skip-link:focus{
    transform:translateY(0);
}


/* ===== utilities/animations.css ===== */
/* ANIMAÇÕES GLOBAIS */

@keyframes loading{

    from{
        transform:translateX(-150%);
    }

    to{
        transform:translateX(350%);
    }

}

@keyframes logoPulse{

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

    50%{
        transform:scale(1.04);
    }

}

@keyframes splashFade{

    from{
        opacity:0;
        transform:translateY(20px);
    }

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

}

/* ==========================================================
   ESTADOS INICIAIS — ELEMENTOS INTERATIVOS
========================================================== */
#successModal,
#messageModal{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}

#successModal.show,
#messageModal.show{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}
/* P2 — Gallery Loader: estado inicial invisível no critical path. */
#gallery-loader{
    position:fixed;
    inset:0;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
}
#gallery-loader.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}


/* Botões mobile: proporções compactas com área de toque confortável. */
@media(max-width:980px){
    .hero .hero-buttons{gap:10px;}
    .hero .hero-buttons .btn{--btn-height:44px;min-height:44px;padding:0 20px;font-size:10px;letter-spacing:1.1px;}
}
@media(max-width:520px){
    .hero .hero-buttons{max-width:280px;}
    .hero .hero-buttons .btn{width:100%;font-size:9px;padding-inline:16px;}
}

/* Mobile: centraliza os CTAs e ancora o rosto na faixa livre à direita. */
@media(max-width:980px){
    .hero{--portrait-height:max(100svh,640px);--portrait-face-x:max(101.62svh,650.37px);--portrait-face-half:max(4.4svh,28.16px);background-size:auto var(--portrait-height);background-position:left calc(min(84vw,calc(100vw - var(--portrait-face-half) - 6px)) - var(--portrait-face-x) - clamp(10px,4vw,24px)) top;}
    .hero::before{background:linear-gradient(90deg,rgba(250,246,239,.90) 0%,rgba(250,246,239,.82) 24%,rgba(250,246,239,.58) 42%,rgba(250,246,239,.22) 56%,rgba(250,246,239,0) 66%);}
    .hero .hero-buttons{margin-inline:auto;justify-content:center;}
}
@media(max-width:640px){.hero{--portrait-height:100svh;--portrait-face-x:101.62svh;--portrait-face-half:4.4svh;}}
