/* environe.digital — site público */

@font-face { font-family: 'Raleway'; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/raleway-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Raleway'; font-weight: 800; font-style: normal; font-display: swap; src: url(../fonts/raleway-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/hind-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/hind-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Hind'; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/hind-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --navy: #0D204B;
  --navy-2: #1A2E5E;
  --navy-3: #2A3F72;
  --navy-hover: #081634;
  --ink: #111A2E;
  --text: #3F4659;
  --muted: #5E6578;
  --paper: #F4F2EC;
  --white: #FFFFFF;
  --line: #DEDAD0;
  --line-2: #C9C4B7;
  --tint: #E8ECF4;
  --lime: #D4F25A;
  --on-dark: #C9D1E3;
  --on-dark-muted: #93A3C4;
  --good: #1F7A4D;
  --good-bg: #E3F2EA;
  --bad: #B42318;
  --bad-bg: #FDE7E5;
  --radius: 20px;
  --wrap: 1248px;
  --gutter: 48px;
  --font-title: 'Raleway', 'Segoe UI', sans-serif;
  --font-text: 'Hind', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.6; font-variant-numeric: lining-nums; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }
.ic { flex-shrink: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(780px + var(--gutter) * 2); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 17px; line-height: 1; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-hover); color: #fff; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 242, 236, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 40px; height: 84px; }
.brand img { height: 40px; width: auto; }
.nav-panel { display: flex; align-items: center; gap: 32px; flex-grow: 1; }
.main-nav { display: flex; gap: 28px; flex-grow: 1; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 0; }
.main-nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { min-width: 40px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.lang-switch a:hover { background: var(--tint); }
.lang-switch a[aria-current] { background: var(--navy); color: #fff; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .menu-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close { display: block; }

/* Rótulos */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--navy); }
.eyebrow-lime { color: var(--lime); }
.muted { color: #7F8698; }

/* Topo */
.hero { padding: 88px 0 104px; }
.hero-row { display: flex; align-items: center; gap: 72px; }
.hero-copy { flex: 1 1 0; min-width: 0; }
.hero h1 { font-family: var(--font-title); font-weight: 800; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -0.01em; max-width: 12.5em; }
.lead { margin-top: 26px; font-size: 20px; line-height: 1.6; color: var(--text); max-width: 600px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual { width: 540px; flex-shrink: 0; aspect-ratio: 1; background: var(--navy); border-radius: 28px; padding: 34px; display: flex; flex-direction: column; gap: 16px; }
.hv-code { background: var(--navy-2); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; font-family: var(--font-mono); font-size: 14px; line-height: 1.7; color: var(--on-dark-muted); overflow: hidden; }
.hv-code code { font: inherit; white-space: nowrap; }
.hv-code .k { color: var(--lime); } .hv-code .s { color: #fff; } .hv-code .f { color: #93A3C4; }
.hv-dots { display: flex; gap: 6px; margin-bottom: 8px; }
.hv-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--navy-3); }
.hv-row { display: flex; gap: 16px; flex-grow: 1; min-height: 0; }
.hv-chart { flex: 1 1 0; background: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.hv-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.hv-num { font-family: var(--font-title); font-weight: 800; font-size: 30px; color: var(--ink); }
.hv-bars { flex-grow: 1; display: flex; align-items: flex-end; gap: 6px; }
.hv-bars span { flex: 1; border-radius: 4px 4px 0 0; background: #C9D2E4; }
.hv-bars span:nth-child(4) { background: #93A3C4; } .hv-bars span:nth-child(5) { background: #4E6391; } .hv-bars span:nth-child(6) { background: var(--navy); }
.hv-side { width: 180px; display: flex; flex-direction: column; gap: 16px; }
.hv-paid { background: var(--lime); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); font-size: 13px; }
.hv-paid strong { font-size: 16px; }
.hv-next { flex-grow: 1; border: 1.5px dashed var(--navy-3); border-radius: 16px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--on-dark-muted); font-size: 14px; line-height: 1.4; }

/* Secções */
.section { padding: 104px 0; }
.section-white { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-tight { padding: 0 0 72px; }
#projetos.section-tight { padding-top: 0; }
.section-last { padding: 32px 0 104px; }
.section-head { margin-bottom: 52px; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head h2, .projects h2, .contact-panel h2 { font-family: var(--font-title); font-weight: 800; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; letter-spacing: -0.01em; }
.section-head .intro { max-width: 440px; color: var(--text); font-size: 17px; }

.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.card h3 { font-size: 21px; font-weight: 600; font-family: var(--font-text); line-height: 1.3; }
.card p { color: var(--text); font-size: 16px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.steps li { border-top: 2px solid var(--navy); padding-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.step-n { font-family: var(--font-title); font-weight: 800; font-size: 54px; line-height: 1; color: var(--navy); }
.steps h3 { font-size: 21px; font-weight: 600; font-family: var(--font-text); }
.steps p { color: var(--text); font-size: 16px; }

.dark-panel { background: var(--navy); color: #fff; border-radius: 28px; padding: 64px; }
.projects { display: flex; gap: 64px; }
.projects-intro { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.projects-intro .eyebrow { margin-bottom: 0; }
.projects h2 { color: #fff; }
.projects-intro p { color: var(--on-dark); font-size: 17px; }
.projects-grid { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project { background: var(--navy-2); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.project .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.project h3 { color: #fff; font-size: 19px; font-weight: 600; font-family: var(--font-text); }
.project p { color: var(--on-dark); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 72px; }
.feature { display: flex; flex-direction: column; gap: 8px; color: var(--navy); }
.feature h3 { font-size: 17px; font-weight: 600; font-family: var(--font-text); }
.feature p { color: var(--text); font-size: 15px; }

/* Contacto */
.contact-panel { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 56px; display: flex; gap: 64px; }
.contact-intro { width: 400px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-intro .eyebrow { margin-bottom: 0; }
.contact-intro > p { color: var(--text); }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.contact-list .ic { color: var(--navy); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--navy); text-decoration: underline; }

.contact-form { flex-grow: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; background: #fff; font-weight: 400; font-size: 16px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13, 32, 75, .15); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: 14px; font-weight: 500; }
.span-2 { grid-column: span 2; }
.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.form-alert { grid-column: span 2; background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 12px 16px; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-sent { flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; background: var(--good-bg); border-radius: 18px; padding: 40px; }
.sent-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--good); color: #fff; display: flex; align-items: center; justify-content: center; }
.form-sent h3 { font-family: var(--font-title); font-weight: 800; font-size: 28px; }
.form-sent p { color: var(--text); }

/* Legal e 404 */
.legal h1, .notfound h1 { font-family: var(--font-title); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.legal-note { margin-top: 18px; background: var(--tint); border-radius: 10px; padding: 12px 16px; color: var(--ink); }
.legal-body { margin-top: 28px; }
.legal-body h2 { font-family: var(--font-text); font-size: 20px; font-weight: 600; margin: 32px 0 8px; }
.legal-body p { color: var(--text); }
.legal-date { color: var(--muted); font-size: 15px; }
.notfound .lead { margin-bottom: 28px; }

/* Rodapé */
.site-footer { background: var(--navy); color: var(--on-dark); padding: 64px 0 36px; }
.footer-top { display: flex; gap: 56px; }
.footer-brand { flex-grow: 1; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-brand p { font-size: 15px; }
.footer-col { width: 220px; display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { font-family: var(--font-text); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 4px; }
.footer-col a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.footer-col a:hover, .footer-langs a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; border-top: 1px solid var(--navy-3); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--on-dark-muted); }
.footer-langs a { color: var(--on-dark-muted); text-decoration: none; }

/* Responsivo */
@media (max-width: 1180px) {
  .hero-row { gap: 48px; }
  .hero-visual { width: 440px; padding: 26px; }
  .hv-side { width: 150px; }
  .projects { flex-direction: column; gap: 36px; }
  .projects-intro { width: auto; max-width: 640px; }
  .contact-panel { flex-direction: column; gap: 36px; }
  .contact-intro { width: auto; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .header-row { height: 72px; }
  .menu-toggle { display: flex; }
  .nav-panel { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 20px; padding: 16px var(--gutter) 28px; box-shadow: 0 16px 32px rgba(13, 32, 75, .08); }
  .nav-panel.open { display: flex; }
  .main-nav { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .lang-switch { align-self: flex-start; }
  .nav-panel .btn { align-self: stretch; }
  .hero { padding: 48px 0 72px; }
  .hero-row { flex-direction: column; align-items: stretch; }
  .hero-visual { width: 100%; max-width: 520px; aspect-ratio: auto; min-height: 400px; }
  .section { padding: 72px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dark-panel { padding: 40px; }
  .contact-panel { padding: 36px; }
  .footer-top { flex-wrap: wrap; gap: 36px; }
  .footer-brand { flex-basis: 100%; }
  .footer-col { width: auto; flex: 1 1 160px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand img { height: 32px; }
  .lead { font-size: 18px; }
  .actions .btn { flex: 1 1 100%; }
  .hero-visual { padding: 18px; gap: 12px; min-height: 340px; border-radius: 22px; }
  .hv-code { font-size: 12px; padding: 14px; }
  .hv-side { width: 120px; }
  .cards-3, .steps, .features, .projects-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .dark-panel { padding: 28px 22px; border-radius: 22px; }
  .contact-panel { padding: 24px 20px; border-radius: 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .span-2, .form-alert { grid-column: auto; }
  .contact-form .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

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

/* Checkout e pagamento */
.checkout { padding: 48px 0 96px; }
.co-back { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; font-size: 15px; margin-bottom: 12px; }
.co-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.co-head h1 { font-family: var(--font-title); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); }
.co-secure { display: inline-flex; align-items: center; gap: 8px; color: var(--good); font-weight: 600; }
.co-test { background: #FCF0D6; color: #7A4F00; border-radius: 10px; padding: 10px 16px; font-weight: 500; margin-bottom: 16px; }
.checkout .form-alert { margin-bottom: 16px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.co-main { display: flex; flex-direction: column; gap: 18px; }
.co-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.co-card legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; padding: 0; }
.co-card legend + * { clear: both; }
.co-n { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.hint { font-size: 13px; font-weight: 400; color: var(--muted); }
.seg { display: inline-flex; align-self: flex-start; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer; }
.seg input:checked + span { background: var(--navy); color: #fff; font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.opt-grid { display: grid; gap: 12px; }
.opt-1 { grid-template-columns: 1fr; } .opt-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .opt-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-body { display: flex; flex-direction: column; gap: 4px; min-height: 110px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; }
.opt-sm .opt-body { min-height: 76px; }
.opt-body strong { font-size: 16px; }
.opt-body small { font-size: 13px; color: var(--muted); }
.opt-price { font-family: var(--font-title); font-weight: 800; font-size: 22px; margin-top: auto; padding-top: 6px; }
.opt-price small { font-family: var(--font-text); font-weight: 500; font-size: 13px; }
.opt:hover .opt-body { border-color: var(--line-2); }
.opt input:checked + .opt-body { border: 2px solid var(--navy); background: var(--tint); padding: 15px 17px; }
.opt input:focus-visible + .opt-body { outline: 3px solid var(--navy); outline-offset: 2px; }
.tenant-input { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: #fff; }
.tenant-input:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13, 32, 75, .15); }
.tenant-input.is-invalid { border-color: var(--bad); }
.field .tenant-input input { border: 0; border-radius: 0; box-shadow: none; font-family: var(--font-mono); font-size: 15px; min-width: 0; flex: 1; }
.tenant-suffix { display: flex; align-items: center; padding: 0 14px; background: var(--paper); border-left: 1px solid var(--line); font-family: var(--font-mono); font-size: 14px; color: var(--text); white-space: nowrap; font-weight: 500; }
.co-summary { position: sticky; top: 108px; background: var(--navy); color: #fff; border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.co-summary .eyebrow { margin: 0; }
.co-app { display: flex; gap: 14px; align-items: center; }
.co-app strong { display: block; font-size: 17px; }
.co-app small { color: var(--on-dark-muted); font-size: 14px; }
.co-app-icon { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; border: 2px solid rgba(255,255,255,.15); }
.co-app-lg { width: 56px; height: 56px; }
.co-app-icon.has-icon { border: 0; overflow: hidden; background: transparent; display: block; }
.co-app-icon.has-icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.co-lines { margin: 0; border-top: 1px solid var(--navy-3); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.co-lines div { display: flex; justify-content: space-between; gap: 12px; }
.co-lines dt { color: var(--on-dark); }
.co-lines dd { margin: 0; }
.co-lines .co-total { border-top: 1px solid var(--navy-3); padding-top: 12px; align-items: baseline; }
.co-total dt { color: #fff; font-weight: 600; }
.co-total dd { font-family: var(--font-title); font-weight: 800; font-size: 30px; }
.co-vatnote { font-size: 13px; color: var(--on-dark-muted); }
.co-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--on-dark); cursor: pointer; }
.co-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lime); flex-shrink: 0; }
.co-consent a { color: #fff; }
.co-summary .field-error { color: #FFB4AB; }
.btn-lime { background: var(--lime); color: var(--ink); min-height: 56px; }
.btn-lime:hover { background: #C4E640; color: var(--ink); }
.co-notes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--on-dark-muted); }
.co-notes li { display: flex; gap: 8px; align-items: flex-start; }
.co-notes .ic { color: var(--lime); margin-top: 2px; }
[hidden] { display: none !important; }

.pay { padding: 56px 0 104px; }
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.pay-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.pay-top .eyebrow { margin-bottom: 6px; }
.pay-top h1 { font-family: var(--font-title); font-weight: 800; font-size: 44px; }
.pay-desc { color: var(--text); }
.pay-vat { font-size: 14px; color: var(--muted); margin-top: -12px; }
.pay-box { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pay-box h2, .form-sent h2 { font-size: 20px; font-weight: 600; font-family: var(--font-text); }
.mb-ref { margin: 4px 0; display: grid; grid-template-columns: repeat(3, auto); gap: 8px 36px; }
.mb-ref dt { font-size: 13px; color: var(--muted); }
.mb-ref dd { margin: 0; font-family: var(--font-mono); font-size: 22px; font-weight: 500; letter-spacing: .02em; }
.pay-muted { color: var(--muted); font-size: 14px; }
.pay-foot { display: flex; gap: 8px; align-items: center; }
.pay-methods summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 6px 0; }
.pay-form { display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.pay-form .btn { align-self: flex-start; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--tint); border-top-color: var(--navy); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1000px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .opt-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .co-card { padding: 20px 18px; }
  .form-2, .opt-2, .opt-3, .opt-4 { grid-template-columns: 1fr; }
  .opt-body { min-height: 0; }
  .pay-card { padding: 24px 20px; }
  .mb-ref { grid-template-columns: 1fr; }
  .pay-top h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.co-price-note { margin: 12px 0 0; font-size: 13px; color: var(--muted, #5b6478); }
.tenant-input.is-locked { background: #f1f2f6; }
.tenant-input.is-locked input { color: #3b4254; cursor: default; }

/* checkout: aviso de recomendação */
.co-ref{display:flex;align-items:center;gap:10px;margin:0 0 18px;padding:12px 16px;border-radius:12px;background:#EAF7D2;color:#24400A;font-weight:600}
.co-ref svg{flex:none}

/* Checkout por país (Stripe, IVA) */
.opt.is-static { cursor: default; }
.opt.is-static .opt-body { border: 2px solid var(--navy); background: var(--tint); padding: 15px 17px; }
.co-stripe-hint { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.co-vies { font-weight: 600; }
.co-vies:empty { display: none; }
.pay-methods-list { margin: 6px 0 16px; font-size: 14px; color: var(--muted); }
