/* Landing A/B (issue #111), versions 1 (/) and 3 (/v3). Mobile first (Oscar, 29/10: "ads é visto
   no celular"): base rules are the 390 px phone, min-width queries add the larger screens.
   Loaded after the other sheets, so its base rules also lift the older phone sizes to the floor:
   no text under 12 px, body text 16 px, buttons and choices 48 px, inputs 16 px. */
.lp-ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Hero: "O VeloPrep é diferente." with the three-step icon flow, then the call line */
.lp-diff{max-width:34rem;margin:16px 0;padding:14px;border:1px solid #4f6798;background:rgba(9,18,42,.62);border-radius:8px;color:#e6ecf8;font-size:16px;line-height:1.5}
.lp-diff b{display:block;color:#fff;font-size:1.15rem;margin-bottom:6px}
.lp-diff .lp-sub{display:block;font-weight:400;color:#cfd8ea}
.lp-flow{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:22px}
.lp-flow li{position:relative;display:flex;align-items:center;gap:8px;font-size:16px;line-height:1.35;color:#fff;font-weight:600}
.lp-flow li span.dot{width:36px;height:36px;border-radius:12px;background:#20315c;border:1px solid #4f6798;color:#a9c5ff;display:grid;place-items:center;flex:none}
.lp-flow li:not(:last-child)::after{content:"↓";position:absolute;left:12px;top:38px;color:#a9c5ff;font-size:.9rem;line-height:1}
.lp-cta-line{max-width:34rem;margin:0 0 14px;color:#fff;font-weight:600;font-size:16px;line-height:1.45}
.lp-linear .hook-scene{font-size:16px;line-height:1.5}
/* Version 3's headline is one long sentence: one step smaller, so it breaks only between its phrases */
.lp-linear .lp-message h1.lp-long,.lp-linear .lp-message h1.lp-long .sentence{font-size:34px;text-wrap:wrap}

/* Buttons: full width on the phone; the sticky one sits at the bottom until the hero button or the form shows */
.btn{font-size:16px!important;min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px}
#hero-next,.lp-mid-cta{width:100%}
.lp-mid-cta{margin-top:36px}
.lp-sticky{display:flex;position:fixed;left:12px;right:12px;bottom:12px;z-index:98;width:auto;box-shadow:0 8px 24px rgba(9,18,42,.35);transition:transform .25s,opacity .25s}
.lp-sticky.off{transform:translateY(140%);opacity:0;pointer-events:none}
/* Room under the footer so the sticky bar never covers the last line of the page */
.lp-linear .footer{padding-bottom:84px}

/* Search scene captions: one lit at a time on the phone, all four in a row from tablet up */
.mess-steps{list-style:none;margin:0 0 26px;padding:0;display:grid;gap:8px}
.mess-steps li{display:flex;gap:10px;align-items:flex-start;font-weight:600;font-size:16px;line-height:1.35;color:#14213d;padding:12px 14px;border-radius:12px;border:1px solid #d6dbe6;background:#fff;transition:opacity .25s,background .25s,color .25s}
.mess-steps li b{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#eaf0fd;color:#2454c6;font-size:14px}
.steps-live .mess-steps li{opacity:.35}
.steps-live .mess-steps li:not(.on){display:none}
.steps-live .mess-steps li.done{opacity:.6}
.steps-live .mess-steps li.on{opacity:1;background:#14213d;color:#fff;border-color:#14213d}
.steps-live .mess-steps li.on b{background:#2454c6;color:#fff}

/* Pinned search scene on the phone fills the screen while pinned: captions, search bar, then the
   window pile scaled to the space left, down to just above the sticky CTA (orchestrator, 29/10) */
.lp-linear .linear-search{display:flex;flex-direction:column;height:calc(100svh - 128px)}
.lp-linear .linear-search .mess{flex:1;height:auto;min-height:0}
.lp-linear .mess-win{width:80%;height:66%}
.lp-linear .win-body{height:calc(100% - 34px)}
.lp-linear .win-sheet{left:0;top:10%}
.lp-linear .win-chat{left:5%;top:16%}
.lp-linear .win-mail{left:12%;top:23%}
.lp-linear .win-drive{left:20%;top:30%}

/* Security block in #limites (issue #120): "protegidos." on its own line in the page emphasis
   (blue, upright), three one-line cards, then the key card across the grid as a four-step flow */
#limites h2 em,#limites .lp-sec em{font-style:normal;color:var(--blue)}
#limites .lp-sec em{font-weight:600}
.lp-sec{list-style:none;margin:22px 0 26px;padding:0;display:grid;gap:16px}
.lp-sec>li{display:flex;gap:14px;align-items:flex-start;border:1px solid #d6dbe6;border-radius:12px;padding:16px;background:#fff;color:#14213d;font-size:16px;line-height:1.4}
.lp-sec .dot{width:44px;height:44px;border-radius:12px;background:#eaf0fd;color:#2454c6;display:grid;place-items:center;flex:none}
.lp-sec b{display:block;margin-bottom:2px;text-wrap:balance}
.lp-sec .lp-ic{overflow:visible}
.lp-sec>.lp-sec-gate{grid-column:1/-1;flex-direction:column;align-items:stretch;gap:18px}
.gate-head{display:flex;gap:14px;align-items:center}
.gate-head b{margin:0}
.lp-gate{list-style:none;margin:0;padding:0 0 0 4px;display:grid;gap:22px}
.lp-gate li{position:relative;display:flex;align-items:center;gap:12px;font-weight:600;line-height:1.3}
.lp-gate .dot{width:36px;height:36px}
.lp-gate li:not(:last-child)::after{content:"↓";position:absolute;left:12px;top:40px;color:#2454c6;font-size:.9rem;line-height:1}

/* Floor for the older sheets' phone sizes (10-11 px labels, 12-13 px form text) */
.eyebrow,.lp-linear .lp-message .eyebrow{font-size:12px!important;letter-spacing:.06em}
.comparison-label,.comparison-row small,.after-cell small,.before-cell small,.product-caption{font-size:14px!important}
.application .form-intro{font-size:16px}
.application .one-trust,.application .footer,.application .footer .wrap,.lp-linear .form-card p{font-size:12px}
.form-card .choice{font-size:16px!important;min-height:48px;display:flex;align-items:center;gap:12px;padding:0 14px}
.form-card .choice input{width:22px;height:22px;flex:none}
.form-card input:not([type=radio]):not([type=checkbox]),.form-card select,.form-card textarea{font-size:16px!important;min-height:48px}
.form-card .sms input{width:22px;height:22px}

@media(min-width:761px){
 .lp-diff{margin:20px 0 22px;padding:16px 18px}
 .lp-flow{grid-template-columns:repeat(3,1fr);gap:26px}
 .lp-flow li{flex-direction:column;align-items:flex-start;font-size:.98rem}
 .lp-flow li span.dot{width:44px;height:44px}
 .lp-flow li:not(:last-child)::after{content:"→";left:auto;right:-20px;top:10px;font-size:1.1rem}
 .lp-cta-line{font-size:1.05rem}
 #hero-next,.lp-mid-cta{width:auto}
 .lp-sticky{display:none}
 .lp-linear .footer{padding-bottom:20px}
 .mess-steps{grid-template-columns:repeat(4,1fr);gap:12px}
 .steps-live .mess-steps li:not(.on){display:flex}
 .lp-sec{grid-template-columns:repeat(2,1fr)}
 #limites .lp-sec{grid-template-columns:1fr}
 .lp-gate{grid-template-columns:repeat(4,1fr);gap:26px;padding:0}
 .lp-gate li{flex-direction:column;align-items:flex-start;gap:10px}
 .lp-gate .dot{width:44px;height:44px}
 /* A line from each icon to the next one, so the four steps read as one path */
 .lp-gate li:not(:last-child)::after{content:"";left:54px;right:-16px;top:21px;height:2px;background:#c9d6f5}
 /* Desktop search scene: the sizes of proposta-apply-coluna */
 .lp-linear .linear-search{display:block;height:auto}
 .lp-linear .linear-search .mess{height:450px}
 .lp-linear .mess-win{width:46%;height:220px}
 .lp-linear .win-body{height:186px}
 .lp-linear .win-sheet{top:84px}
 .lp-linear .win-chat{left:9%;top:100px}
 .lp-linear .win-mail{left:28%;top:132px}
 .lp-linear .win-drive{left:50%;top:166px}
}
@media(min-width:1280px){
 .lp-linear .linear-search .mess{height:560px}
 .lp-linear .mess-win{width:40%;height:260px}
 .lp-linear .win-body{height:226px}
 .lp-linear .win-sheet{top:100px}
 .lp-linear .win-chat{top:122px}
 .lp-linear .win-mail{top:160px}
 .lp-linear .win-drive{top:200px}
}
.comparison-header span{font-size:12px}
/* #antes-depois (#120 fix): title, then the line under it, then the table, at every width */
#antes-depois .wrap{display:flex;flex-direction:column}
#antes-depois .comparison{order:1}
#antes-depois .wrap>p{margin:0 0 4px}
/* The 1180 px frame (below) replaces the #59 breakout: the table and the search scene keep the
   same margins as the titles instead of growing past them */
@media(min-width:1280px){
 .lp-linear .linear-search,.lp-linear .linear-contrast .comparison{width:auto;margin-left:0}
 /* The window pile sat left with the right half empty: centre it in a narrower box */
 .lp-linear .linear-search .mess{max-width:960px;margin-inline:auto}
}

/* Desktop composition (Oscar, 29/10: "fica tudo num pedacinho dentro do meio da página"): one
   1180 px frame for header, sections and footer; the hero splits into message and "diferente";
   short text sections put the title left and the content right, so no column floats alone. */
@media(min-width:761px){
 /* The H1 stays above the H2 at every width (it fell under it at 768) */
 .lp-linear .lp-message h1{font-size:clamp(46px,5vw,64px)}
 .lp-linear .lp-message h1.lp-long,.lp-linear .lp-message h1.lp-long .sentence{font-size:clamp(44px,4.4vw,56px)}
 .lp-linear .linear-section h2{font-size:clamp(40px,4.2vw,56px);max-width:none}
 #implantacao .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:40px;align-items:start}
 #implantacao .wrap>*{grid-column:2}
 #implantacao .wrap>h2{grid-column:1;grid-row:1/span 6;margin:0}
 /* #limites stays one column, title on top, so the key flow gets the full width (#120) */
}
@media(min-width:1024px){
 .lp-linear .wrap,.lp-linear .linear-hero header .wrap,.lp-linear .footer .wrap{max-width:1180px}
 .lp-linear .hero-content{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,5fr);column-gap:56px;align-items:start}
 .lp-linear .hero-content .lp-message{display:contents}
 .lp-linear .hero-content .eyebrow{grid-column:1/-1;grid-row:1}
 .lp-linear .hero-content h1,.lp-linear .hero-content .hook-scene,.lp-linear .hero-content .lp-cta-line,.lp-linear #hero-next{grid-column:1}
 .lp-linear .hero-content h1{grid-row:2}
 .lp-linear .hero-content .hook-scene{grid-row:3}
 .lp-linear .hero-content .lp-cta-line{grid-row:4;margin-top:28px}
 .lp-linear #hero-next{grid-row:5;justify-self:start;margin-top:0}
 .lp-linear .hero-content .lp-diff{grid-column:2;grid-row:2/span 4;align-self:center;margin:0;padding:24px 26px}
 .lp-linear .hero-content .lp-flow{grid-template-columns:1fr;gap:20px}
 .lp-linear .hero-content .lp-flow li{flex-direction:row;align-items:center;gap:14px;font-size:1.05rem}
 .lp-linear .hero-content .lp-flow li:not(:last-child)::after{content:"↓";left:15px;right:auto;top:46px;font-size:.9rem;line-height:1}
 #implantacao .wrap{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:64px}
 #limites .lp-sec{grid-template-columns:repeat(3,1fr)}
 .lp-linear .form-area .wrap{max-width:1180px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:64px;align-items:start}
 .lp-linear .form-area .wrap>h2{grid-column:1;grid-row:1}
 .lp-linear .form-area .wrap>.form-intro{grid-column:1;grid-row:2}
 .lp-linear .form-area .wrap>.form-card{grid-column:2;grid-row:1/span 3}
 .lp-linear .form-area .wrap>.one-trust{grid-column:2;grid-row:4}
}
