/* ============================================================
   ANDREAZZA OURO — "Ônix & Ouro"
   Landing de conversão · compra de ouro a domicílio · Canoas/RS
   Display: Fraunces · Corpo: Manrope
   ============================================================ */

:root {
    /* — superfícies (ônix quente) — */
    --bg:          #100F0D;
    --bg-2:        #17150F;
    --surface:     #1D1A13;
    --surface-2:   #241F16;

    /* — ouro velho — */
    --gold:        #D4AF6E;
    --gold-light:  #E9CF98;
    --gold-deep:   #A67C3C;
    --gold-ink:    #120E06; /* texto sobre botão dourado */

    /* — neutros marfim — */
    --cream:       #F2EBDC;
    --heading:     #F4EEE0;
    --text:        #DED6C6;
    --muted:       #9D9585;
    --muted-2:     #7C7566;

    /* — linhas / brilhos — */
    --line:        rgba(212, 175, 110, 0.20);
    --line-soft:   rgba(242, 235, 220, 0.08);
    --glow:        rgba(212, 175, 110, 0.14);
    --wa:          #25D366;

    /* — tipografia — */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Manrope', system-ui, -apple-system, sans-serif;

    /* — sistema — */
    --radius:    14px;
    --radius-lg: 20px;
    --maxw:      1200px;
    --gutter:    clamp(20px, 5vw, 48px);
    --ease:      cubic-bezier(0.16, 1, 0.3, 1);
    --dur:       0.55s;

    /* — ritmo vertical (8pt) — */
    --sp-section: clamp(64px, 9vw, 130px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* textura de grão sutil no fundo (anti-genérico, ar de "cofre/couro") */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
    background-image:
        radial-gradient(circle at 15% 10%, rgba(212,175,110,0.05), transparent 40%),
        radial-gradient(circle at 85% 90%, rgba(212,175,110,0.04), transparent 42%);
}

/* ---------- tipografia ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--heading);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.01em;
    font-optical-sizing: auto;
}
.gold {
    color: var(--gold);
    font-style: italic;
    font-weight: 500;
}

/* ---------- layout ---------- */
.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 1;
}
.section { padding-block: var(--sp-section); position: relative; z-index: 1; }
.section--dark { background: var(--bg-2); border-block: 1px solid var(--line-soft); }

.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.section__title {
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    margin-top: 14px;
}
.section__lead {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.06rem;
}
.section__cta { text-align: center; margin-top: clamp(38px, 5vw, 56px); }

/* overline / tag — detalhe de joalheria */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(212,175,110,0.05);
}
.tag i { font-size: 1rem; }
.tag--center { margin-inline: auto; }

/* ornamento divisor (linha + losango) — assinatura joalheria */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 22px auto 0;
    max-width: 220px;
    color: var(--gold);
}
.ornament::before, .ornament::after {
    content: "";
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, var(--gold-deep));
}
.ornament::after { background: linear-gradient(90deg, var(--gold-deep), transparent); }
.ornament span { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }

/* ---------- botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    padding: 14px 26px;
    border-radius: 100px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
    will-change: transform;
    min-height: 48px;
}
.btn i { font-size: 1.2em; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; min-height: 56px; }

.btn--primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
    color: var(--gold-ink);
    box-shadow: 0 10px 30px -12px var(--glow);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(212,175,110,0.4); }

.btn--ghost {
    background: transparent;
    color: var(--cream);
    border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn--outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold-deep);
}
.btn--outline:hover { background: var(--gold); color: var(--gold-ink); transform: translateY(-2px); }

/* ---------- header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    background: rgba(16,15,13,0.82);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-bottom-color: var(--line-soft);
}
.header__container { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.header__logo { display: inline-flex; align-items: center; gap: 11px; }
.header__logo-img { height: 46px; width: auto; }
@media (max-width: 400px) { .header__logo-img { height: 40px; } .header__logo-text { font-size: 1.25rem; } }
.header__logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--cream);
}
.header__logo-text strong { color: var(--gold); font-weight: 600; margin-left: 2px; }
.header__cta { display: none; }
@media (min-width: 720px) { .header__cta { display: inline-flex; } }

.header__rating {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: var(--text);
    margin-left: auto;
    margin-right: 18px;
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 70px;
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: url('../img/hero.jpg') center/cover no-repeat;
    transform: scale(1.06);
    filter: saturate(0.85) contrast(1.05);
}
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(16,15,13,0.72) 0%, rgba(16,15,13,0.55) 40%, rgba(16,15,13,0.92) 100%),
        radial-gradient(120% 90% at 20% 30%, rgba(16,15,13,0.35), rgba(16,15,13,0.9));
}
.hero__container { max-width: 860px; }
.hero__title {
    font-size: clamp(2.9rem, 8vw, 5.6rem);
    margin: 24px 0 0;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero__subtitle {
    margin-top: 26px;
    max-width: 620px;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    color: var(--cream);
    opacity: 0.92;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 42px;
    padding-top: 30px;
    border-top: 1px solid var(--line-soft);
}
.hero__badges li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.92rem;
    color: var(--cream);
    letter-spacing: 0.01em;
}
.hero__badges i { color: var(--gold); font-size: 1.2rem; }
.hero__rating { display: inline-flex; margin-top: 26px; }

.hero__scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    display: grid; place-items: center;
    color: var(--gold);
    border: 1px solid var(--line);
    border-radius: 50%;
    animation: bob 2.4s var(--ease) infinite;
    z-index: 2;
}
@keyframes bob { 0%,100%{ transform: translate(-50%, 0);} 50%{ transform: translate(-50%, 8px);} }

/* ---------- o que compramos ---------- */
.buy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 22px;
}
.buy-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding-bottom: 26px;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.buy-card:hover {
    transform: translateY(-6px);
    border-color: var(--line);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7), 0 0 0 1px var(--line);
}
.buy-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.buy-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.buy-card:hover .buy-card__img img { transform: scale(1.07); }
.buy-card h3 { font-size: 1.32rem; margin: 22px 26px 10px; }
.buy-card p { margin: 0 26px; color: var(--muted); font-size: 0.98rem; line-height: 1.6; }
.buy-card--featured { grid-column: span 2; border-color: var(--line); }
.buy-card--featured .buy-card__img { aspect-ratio: 21 / 10; }
.buy-card__flag {
    position: absolute; top: 16px; left: 16px;
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--gold-ink); background: var(--gold);
    padding: 6px 13px; border-radius: 100px;
}
@media (max-width: 620px) { .buy-card--featured { grid-column: span 1; } }

/* ---------- como funciona (passos) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--line); }
.step__img { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.step__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, var(--surface)); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__num {
    position: absolute; top: -6px; right: 18px;
    font-family: var(--font-display);
    font-size: 5.4rem; font-weight: 600; font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold-deep);
    opacity: 0.7;
    z-index: 2;
}
.step__body { padding: 8px 28px 32px; position: relative; z-index: 2; }
.step__body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step__body p { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---------- diferenciais ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk {
    padding: 34px 26px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface), transparent);
    transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur);
}
.perk:hover { transform: translateY(-6px); border-color: var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.perk > i {
    display: inline-grid; place-items: center;
    width: 56px; height: 56px;
    font-size: 1.6rem; color: var(--gold);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 20px;
    background: rgba(212,175,110,0.06);
}
.perk h3 { font-size: 1.28rem; margin-bottom: 9px; }
.perk p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 980px) { .perks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* ---------- regiões ---------- */
.regions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}
.regions li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: 0.96rem;
    color: var(--cream);
    background: rgba(212,175,110,0.04);
    transition: border-color var(--dur) var(--ease), color var(--dur), transform var(--dur) var(--ease);
}
.regions li:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.regions li i { color: var(--gold-deep); font-size: 1rem; }

/* ---------- loja / localização (Torres) ---------- */
.loc { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 34px; align-items: stretch; }
.loc__photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7); }
.loc__photo img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 480px; }
.loc__side { display: flex; flex-direction: column; gap: 26px; }
.loc__info { display: flex; flex-direction: column; }
.loc__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.loc__list li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.06rem; color: var(--text); }
.loc__list li i { color: var(--gold); font-size: 1.35rem; margin-top: 2px; flex-shrink: 0; }
.loc__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.loc__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); flex: 1; min-height: 240px; }
.loc__map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; filter: grayscale(0.35) contrast(1.05) invert(0.92) hue-rotate(180deg); }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; gap: 24px; } .loc__photo img { min-height: 320px; } .loc__map { min-height: 280px; } .loc__map iframe { min-height: 280px; } }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: var(--surface);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease);
}
.faq__item[open] { border-color: var(--line); }
.faq__item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--heading);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+";
    font-family: var(--font-body);
    font-size: 1.6rem;
    color: var(--gold);
    transition: transform var(--dur) var(--ease);
    line-height: 1;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 24px; color: var(--muted); font-size: 1rem; }

/* ---------- avaliações google ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.reviews__rating { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; color: var(--gold); font-weight: 600; }
.review-card { padding: 26px; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--surface); }
.review-card__stars { color: var(--gold); margin-bottom: 10px; }
.review-card__text { color: var(--text); font-size: 0.98rem; }
.review-card__author { margin-top: 16px; font-weight: 600; color: var(--cream); }

/* ---------- cta final ---------- */
.final-cta {
    position: relative;
    padding-block: clamp(72px, 11vw, 150px);
    text-align: center;
    background:
        radial-gradient(90% 120% at 50% 0%, rgba(212,175,110,0.10), transparent 55%),
        var(--bg-2);
    border-top: 1px solid var(--line);
}
.final-cta__inner { max-width: 720px; margin-inline: auto; }
.final-cta h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.final-cta p { margin: 20px 0 36px; color: var(--muted); font-size: 1.1rem; }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line-soft); padding-top: 64px; }
.footer__container { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__logo-text { font-family: var(--font-display); font-size: 1.5rem; color: var(--cream); }
.footer__logo-text strong { color: var(--gold); }
.footer__logo-img { height: 108px; width: auto; }
.footer__brand p { margin-top: 16px; color: var(--muted); font-size: 0.96rem; max-width: 340px; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__col a, .footer__col p { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.96rem; margin-bottom: 12px; transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: var(--gold); }
.footer__col a i { color: var(--gold-deep); }
.footer__bottom {
    border-top: 1px solid var(--line-soft);
    padding: 22px var(--gutter);
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
    max-width: var(--maxw); margin-inline: auto;
    font-size: 0.86rem; color: var(--muted-2);
}
.footer__bottom a:hover { color: var(--gold); }

/* ---------- whatsapp flutuante ---------- */
.wa-float {
    position: fixed;
    right: clamp(16px, 3vw, 28px);
    bottom: clamp(16px, 3vw, 28px);
    z-index: 90;
    width: 60px; height: 60px;
    display: grid; place-items: center;
    background: var(--wa);
    color: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 0 12px 30px -8px rgba(37,211,102,0.5);
    transition: transform var(--dur) var(--ease);
    animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0%,100%{ box-shadow: 0 12px 30px -8px rgba(37,211,102,0.5);} 50%{ box-shadow: 0 12px 30px -4px rgba(37,211,102,0.75);} }

/* ---------- reveal — só oculta quando o motion (GSAP) está ativo;
   sem GSAP / reduced-motion o conteúdo aparece normalmente ---------- */
body.motion .reveal { opacity: 0; transform: translateY(24px); }

/* ---------- responsivo ---------- */
@media (max-width: 720px) {
    body { font-size: 16px; }
    .hero { min-height: 92svh; padding-top: 104px; }
    .hero__bg { background-image: url('../img/hero-mobile.jpg'); }
    .footer__container { grid-template-columns: 1fr; gap: 30px; }
    .btn { width: 100%; }
    .hero__actions .btn, .section__cta .btn { width: auto; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
}
