:root {
    --wine: #8f3f45;
    --wine-dark: #672c32;
    --rose: #d87084;
    --blush: #f8e2de;
    --cream: #f8f3ec;
    --paper: #fffdf9;
    --ink: #35272a;
    --muted: #6f6062;
    --line: #eadbd5;
    --green: #557c62;
    --shadow: 0 18px 50px rgba(87, 43, 48, .12);
    --radius-lg: 32px;
    --radius-md: 22px;
    --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: clip;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
    width: var(--container);
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; }
.brand-mark {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 2px solid #f4d5d8;
    object-fit: cover;
}
.brand-tagline { color: var(--wine); font-weight: 600; }
.brand-tagline i { display: inline-block; width: 4px; height: 4px; margin: 0 9px 3px; border-radius: 50%; background: currentColor; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.bio-link { padding: 11px 16px; color: var(--wine); font-weight: 700; text-decoration: none; }
.bio-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta, .primary-cta, .secondary-cta, .submit-button {
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.hero-actions, .closing-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.text-cta { color: var(--wine-dark); font-weight: 700; text-underline-offset: 4px; }
.text-cta:hover { color: var(--wine); }
.header-cta { padding: 12px 20px; color: var(--wine); border: 1px solid var(--wine); }
.header-cta:hover { color: #fff; background: var(--wine); }
.header-cta:focus-visible, .primary-cta:focus-visible, .secondary-cta:focus-visible,
.submit-button:focus-visible, .text-cta:focus-visible,
.bio-link:focus-visible, .faq summary:focus-visible {
    outline: 3px solid #c56b79;
    outline-offset: 3px;
}

.hero {
    width: var(--container);
    margin: 22px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
    align-items: stretch;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(24px, 4vw, 52px);
    border-radius: 38px;
    background: linear-gradient(135deg, #f9e4df 0%, #f5d7d5 58%, #efd0ce 100%);
    overflow: hidden;
}
.hero-video-wrap { position: relative; min-height: 560px; overflow: hidden; border-radius: 28px; background: #c9828d; box-shadow: var(--shadow); }
.hero-video { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.eyebrow { margin: 0 0 12px; color: var(--wine); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
h1, h2 { margin: 0; font-family: "Playfair Display", Georgia, serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 14ch; font-size: clamp(42px, 4.6vw, 64px); }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.hero-lead { max-width: 52ch; margin: 22px 0 18px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); }
.hero-benefits { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.hero-benefits li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.hero-benefits li::before { content: "✓"; display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; color: #fff; background: var(--green); border-radius: 50%; font-size: 13px; }
.primary-cta { width: fit-content; padding: 16px 25px; color: #fff; background: var(--wine); box-shadow: 0 12px 26px rgba(143,63,69,.22); }
.primary-cta:hover, .submit-button:hover { background: var(--wine-dark); }
.microcopy { margin: 9px 0 0 10px; color: var(--muted); font-size: 13px; }

.form-band {
    width: var(--container);
    margin: 72px auto;
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: clamp(38px, 6vw, 86px);
    align-items: center;
    padding: clamp(30px, 5vw, 64px);
    border-radius: var(--radius-lg);
    color: #fff;
    background: var(--wine-dark);
}
.form-intro .eyebrow { color: #f0bdc3; }
.form-intro p:not(.eyebrow) { max-width: 40ch; color: #ead9d7; font-size: 18px; }
.response-time { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-weight: 700; }
.response-time span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(22px, 4vw, 38px); color: var(--ink); background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin: 0 0 7px; font-size: 14px; font-weight: 700; }
.field input { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #dbcac6; border-radius: 12px; color: var(--ink); background: #fffdfa; font: inherit; outline: none; }
.field input:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(143,63,69,.12); }
.field input[aria-invalid="true"] { border-color: #a53640; }
.field-error { display: block; min-height: 18px; margin: 5px 2px 0; color: #9b2f39; font-size: 12px; font-weight: 600; }
.field-error:empty { min-height: 0; margin-top: 0; }
.field-hint { display: block; margin: 5px 2px 0; color: var(--muted); font-size: 12px; }
.submit-button { width: 100%; min-height: 54px; padding: 14px 22px; color: #fff; background: var(--wine); }
.submit-button[aria-busy="true"] { cursor: wait; opacity: .78; }
.privacy-note { margin: 10px 4px 0; color: var(--muted); font-size: 12px; text-align: center; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
.form-alert { grid-column: 1 / -1; display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; }
.form-alert strong { font-size: 16px; }
.form-alert a { width: fit-content; margin-top: 5px; font-weight: 700; text-underline-offset: 3px; }
.form-alert.is-success { color: #31573d; background: #e5f2e8; }
.form-alert.is-error { color: #8a2931; background: #fae8e9; }

.benefits, .steps, .faq { width: var(--container); margin: 0 auto; padding: 62px 0; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit-grid article { min-height: 240px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--cream); }
.benefit-grid article > span { display: inline-block; margin-bottom: 34px; color: var(--rose); font: 700 14px/1 "DM Sans", sans-serif; }
.benefit-grid p, .step-list p, .faq p { color: var(--muted); }

.steps { text-align: center; }
.steps .section-heading { margin-right: auto; margin-left: auto; }
.step-list { max-width: 870px; margin: 0 auto 30px; padding: 0; list-style: none; text-align: left; }
.step-list li { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-list li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: var(--wine); font-weight: 700; }
.step-list p { margin: 6px 0 0; }
.secondary-cta { display: inline-block; padding: 14px 24px; color: var(--wine); border: 1px solid var(--wine); }
.secondary-cta:hover { color: #fff; background: var(--wine); }

.faq { max-width: 900px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 44px 24px 0; list-style: none; cursor: pointer; font-size: 18px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 22px; color: var(--wine); font-size: 24px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -5px 0 24px; max-width: 70ch; }

.closing-cta { width: var(--container); margin: 50px auto 0; padding: clamp(44px, 7vw, 84px); border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--wine-dark), var(--wine)); text-align: center; }
.closing-cta .eyebrow { color: #f2c7cc; }
.closing-cta h2 { max-width: 18ch; margin: 0 auto; }
.closing-cta > p:not(.eyebrow) { color: #efdadd; font-size: 18px; }
.primary-cta.light { display: inline-block; margin-top: 10px; color: var(--wine-dark); background: #fff; box-shadow: none; }
.closing-actions { justify-content: center; margin-top: 20px; }
.closing-actions .primary-cta.light { margin-top: 0; }
.secondary-cta.light-outline { color: #fff; border-color: rgba(255,255,255,.72); }
.secondary-cta.light-outline:hover { color: var(--wine-dark); background: #fff; }

footer { width: var(--container); margin: 0 auto; padding: 46px 0 110px; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: 14px; }
.footer-brand { color: var(--wine); font-weight: 800; letter-spacing: .13em; }
footer p { margin-right: auto; }
.whatsapp-float {
    position: fixed;
    z-index: 80;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 58px;
    height: 58px;
    padding: 0 20px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #25d366;
    box-shadow: 0 10px 26px rgba(18, 94, 51, .26);
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.whatsapp-float:hover { background: #1fb959; transform: scale(1.03); }
.whatsapp-float:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #167a3c; }
.whatsapp-float svg { width: 31px; height: 31px; }
.whatsapp-label { white-space: nowrap; }

@media (max-width: 900px) {
    :root { --container: min(100% - 28px, 720px); }
    .brand-tagline { display: none; }
    .hero { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .hero-video-wrap { min-height: 420px; }
    .hero-copy { padding: 18px 8px 24px; }
    h1 { max-width: 13ch; }
    .form-band { grid-template-columns: 1fr; gap: 30px; }
    .benefit-grid { grid-template-columns: 1fr 1fr; }
    .whatsapp-float { right: 16px; width: 56px; min-width: 56px; height: 56px; padding: 0; border-radius: 50%; }
    .whatsapp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

@media (max-width: 600px) {
    :root { --container: calc(100% - 24px); --radius-lg: 24px; --radius-md: 18px; }
    body { padding-bottom: 70px; }
    .site-header { min-height: 78px; }
    .brand-mark { width: 56px; height: 56px; }
    .header-actions { gap: 4px; }
    .bio-link { padding: 10px 8px; font-size: 14px; }
    .header-cta { display: none; }
    .hero { margin-top: 8px; border-radius: 26px; }
    .hero-video-wrap { min-height: 220px; border-radius: 18px; }
    h1 { font-size: clamp(36px, 10vw, 45px); }
    h2 { font-size: 34px; }
    .hero-lead { font-size: 18px; }
    .primary-cta { width: 100%; }
    .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
    .hero-copy { padding-bottom: 70px; }
    .text-cta { text-align: center; }
    .microcopy { text-align: center; }
    .form-band { margin: 42px auto; padding: 28px 18px 18px; }
    .lead-form { grid-template-columns: 1fr; padding: 20px 16px; gap: 15px; }
    .field-full { grid-column: auto; }
    .benefits, .steps, .faq { padding: 44px 0; }
    .benefit-grid { grid-template-columns: 1fr; }
    .benefit-grid article { min-height: auto; }
    .step-list li { grid-template-columns: 46px 1fr; gap: 14px; }
    .step-list li > span { width: 42px; height: 42px; }
    .closing-cta { padding: 44px 22px; }
    footer { display: grid; gap: 8px; padding-bottom: 30px; }
    footer p { margin: 0; }
    .whatsapp-float { right: 0; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 50px; min-width: 50px; height: 50px; padding: 0; border-radius: 50%; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    body.form-has-focus .whatsapp-float { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}


/* =====================================================================
   AJUSTES DESTA VERSÃO
   Tudo acima é o CSS original, sem alteração. O que muda está daqui para baixo.
   ===================================================================== */

[hidden] { display: none !important; }
h1, h2 { text-wrap: balance; }

/* Topo: título novo é mais longo, então a escala muda */
h1 { max-width: 18ch; font-size: clamp(38px, 4.3vw, 56px); }
.hero-benefits li { align-items: flex-start; }
.hero-benefits li::before { margin-top: 1px; }

/* Cartões de "Por que a Mila Rosa": rótulo no lugar do número (não é uma sequência) */
.benefit-grid article > span {
    margin-bottom: 28px;
    color: var(--benefit-accent, var(--wine));
    font: 700 12px/1 "DM Sans", sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.benefit-grid article {
    border-color: var(--benefit-border, var(--line));
    background: var(--benefit-bg, var(--cream));
}
.benefit-grid article p { color: #514246; }
.benefit-grid article:nth-child(1) {
    --benefit-bg: #f6e3e1;
    --benefit-border: #e7c8c6;
    --benefit-accent: #7c343b;
}
.benefit-grid article:nth-child(2) {
    --benefit-bg: #f8eadc;
    --benefit-border: #ead1bb;
    --benefit-accent: #814931;
}
.benefit-grid article:nth-child(3) {
    --benefit-bg: #eee8f2;
    --benefit-border: #d9cede;
    --benefit-accent: #694d70;
}
.benefit-grid article:nth-child(4) {
    --benefit-bg: #e7efe8;
    --benefit-border: #ccddce;
    --benefit-accent: #45634c;
}
.section-heading-center { margin-right: auto; margin-left: auto; text-align: center; }

/* Formulário: escolha "Como você vende hoje?" */
.choice-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.choice-group legend { padding: 0; margin: 0 0 9px; font-size: 14px; font-weight: 700; }
.choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-box {
    display: flex; align-items: center; justify-content: flex-start; gap: 11px; min-height: 64px; padding: 12px 14px;
    border: 1px solid #ecd5d1; border-radius: 14px; background: #f9ece9; color: var(--wine-dark); text-align: left;
    font-size: 15px; font-weight: 650; line-height: 1.25; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.choice-box::before {
    content: ""; flex: 0 0 21px; width: 21px; height: 21px; border: 2px solid #b88789; border-radius: 50%;
    background: var(--paper); transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.choice:hover .choice-box { border-color: #c78f91; background: #f6e4e1; }
.choice input:checked + .choice-box { border-color: var(--wine); background: #f3deda; box-shadow: 0 5px 16px rgba(103,44,50,.11); color: var(--wine-dark); }
.choice input:checked + .choice-box::before { border-color: var(--wine); background: var(--wine); box-shadow: inset 0 0 0 5px var(--paper); }
.choice input:focus-visible + .choice-box { outline: 3px solid #c56b79; outline-offset: 3px; }
.choice-group[aria-invalid="true"] .choice-box { border-color: #d8a1a5; }
.optional { color: var(--muted); font-weight: 500; }

/* Botão flutuante do WhatsApp some enquanto o botão de cadastro ou o formulário estão na tela */
.whatsapp-float { transition: background-color .2s ease, transform .2s ease, opacity .2s ease, visibility .2s ease; }
body.hide-float .whatsapp-float { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); }

.closing-cta h2 { max-width: 22ch; }

/* Depoimentos em carrossel */
.depo { width: var(--container); margin: 0 auto; padding: 62px 0 54px; --card-w: min(72vw, 264px); --gap: 16px; }
.depo .section-heading { max-width: 720px; }
.track {
    display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 4px;
    margin-inline: -4px; padding: 6px 4px 18px; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 3px solid #c56b79; outline-offset: 2px; border-radius: 12px; }
@media (prefers-reduced-motion: no-preference) { .track { scroll-behavior: smooth; } }
.slide { flex: 0 0 var(--card-w); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.media {
    position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0;
    border-radius: 20px; overflow: hidden; background: var(--blush); cursor: pointer;
    box-shadow: 0 1px 2px rgba(103,44,50,.08), 0 14px 30px -14px rgba(103,44,50,.35); -webkit-tap-highlight-color: transparent;
}
.media:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; display: grid; place-items: center; color: #fff; background: rgba(103,44,50,.86); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: opacity .2s ease, transform .2s ease; }
.badge svg { width: 55%; height: 55%; fill: currentColor; }
.badge.play { left: 50%; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; transform: translateX(-50%); }
.badge.play svg { margin-left: 2px; }
.badge.zoom { right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%; }
.media:hover .badge.play { transform: translateX(-50%) scale(1.06); }
.slide.is-playing .badge.play { opacity: 0; pointer-events: none; }
.cap { display: flex; flex-direction: column; gap: 2px; padding-inline: 4px; }
.cap strong { font-size: 15px; font-weight: 700; }
.cap span { color: var(--muted); font-size: 14px; }
.depo-whatsapp {
    width: fit-content;
    margin-top: 7px;
    color: var(--wine);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}
.depo-whatsapp:hover { color: var(--wine-dark); }
.depo-whatsapp:focus-visible {
    outline: 3px solid #c56b79;
    outline-offset: 3px;
    border-radius: 4px;
}
.controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.dots { display: flex; gap: 14px; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.dot[aria-current="true"] { background: var(--wine); transform: scaleX(2.4); }
.dot:focus-visible { outline: 3px solid #c56b79; outline-offset: 3px; }
.arrows { display: none; gap: 10px; }
.arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--wine); background: transparent; color: var(--wine); cursor: pointer; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover:not(:disabled) { background: var(--wine); color: #fff; }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow:focus-visible { outline: 3px solid #c56b79; outline-offset: 3px; }
@media (min-width: 760px) { .arrows { display: flex; } .controls { margin-top: 8px; } }
@media (max-width: 759px) { .controls { justify-content: center; } }

.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lb::backdrop { background: rgba(31,18,21,.82); }
.lb-box { display: grid; place-items: center; height: 100%; padding: 16px; }
.lb-box img { max-width: min(100%, 520px); max-height: 100%; object-fit: contain; border-radius: 16px; background: #fff; }
.lb-close { position: fixed; top: 14px; right: 14px; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--wine-dark); cursor: pointer; }
.lb-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.lb-close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

@media (max-width: 1100px) {
    .choice-row { grid-template-columns: 1fr; }
    .choice-box { min-height: 54px; }
}
@media (max-width: 600px) {
    h1 { font-size: clamp(34px, 9.2vw, 42px); }
    /* vídeo mais baixo no celular, para o botão de cadastro aparecer na primeira tela */
    .hero-video-wrap { min-height: 180px; }
    .hero-copy { padding-bottom: 20px; }
    .whatsapp-float { right: 12px; }
    .depo { padding: 44px 0 40px; }
}
