/* AG Menu — landing page, text pages and maintenance (docs/07 "Landing page"), in the layout of /modelo/lead.html.
   Tokens (colors, fonts, radius) come from base.css. */

html { scroll-padding-top: 6.5rem; }
.landing-page { overflow-x: hidden; }
.site-container { position: relative; width: min(1200px, 100% - 3rem); margin-inline: auto; }
.site-container--narrow { width: min(760px, 100% - 3rem); }
main { position: relative; z-index: 1; }
main:focus, section[tabindex="-1"]:focus { outline: none; }

/* ----- Background decor ----- */
.bg-decor, .bg-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-decor::before {
  content: ""; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 62.5rem; height: 62.5rem;
  background: radial-gradient(circle, rgb(230 57 37 / .1) 0%, transparent 55%); filter: blur(40px);
}
.bg-decor::after {
  content: ""; position: absolute; top: 40%; right: -15%; width: 43.75rem; height: 43.75rem;
  background: radial-gradient(circle, rgb(107 78 255 / .08) 0%, transparent 60%); filter: blur(60px);
}
.bg-grid {
  background-image: linear-gradient(rgb(26 26 31 / .025) 1px, transparent 1px), linear-gradient(90deg, rgb(26 26 31 / .025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* ----- Navbar (floating pill) ----- */
.navbar {
  position: fixed; top: 1rem; left: 50%; z-index: 100; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: calc(100% - 2rem); max-width: 72.5rem; padding: .6rem .6rem .6rem 1.5rem;
  background: rgb(255 255 255 / .78); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--color-border-soft); border-radius: 999px; box-shadow: var(--shadow);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.navbar.is-scrolled { background: rgb(255 255 255 / .94); border-color: var(--color-border); box-shadow: 0 8px 24px -8px rgb(26 26 31 / .1); }
.logo {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--color-text); text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em;
}
.logo img { height: 2.25rem; width: auto; }
.logo__mark {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px; background: var(--gradient-primary);
  color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: 0; box-shadow: 0 6px 16px -6px rgb(230 57 37 / .6);
}
.nav-links { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  display: flex; align-items: center; min-height: 40px; padding: .5rem .9rem; border-radius: 999px;
  color: var(--color-muted); font-size: .9rem; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s;
}
.nav-links a:hover { color: var(--color-text); background: var(--color-surface); }

/* ----- Buttons of the models ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .75rem 1.4rem;
  border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s, color .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-small { min-height: 40px; padding: .4rem 1rem; }
.btn-primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 8px 20px -8px rgb(230 57 37 / .55); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 28px -8px rgb(230 57 37 / .6); }
.btn-ghost { background: var(--color-bg); color: var(--color-text); border-color: var(--color-border); box-shadow: var(--shadow); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary-text); transform: translateY(-1px); }
/* base .button (maintenance page) with the same look */
.landing-page .button { background: var(--gradient-primary); }

/* ----- Hero ----- */
.hero { position: relative; padding: 11rem 0 6rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 2rem; padding: .45rem 1rem .45rem .5rem;
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: 999px; box-shadow: var(--shadow);
  color: var(--color-muted); font-size: .8rem; font-weight: 500;
}
.hero-badge .pill {
  padding: .25rem .75rem; border-radius: 999px; background: var(--gradient-primary); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.75rem; align-items: center; }
.hero h1 { margin: 0 0 1.5rem; font-size: clamp(2.4rem, 1.2rem + 5vw, 4.5rem); }
.hero h1 .gradient {
  background: linear-gradient(135deg, #d63420 0%, #e8502a 50%, var(--color-premium) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--color-primary-text);
}
.hero__text { max-width: 32.5rem; margin: 0 0 2.25rem; font-size: 1.125rem; color: var(--color-muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 2rem; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; color: var(--color-subtle); font-size: .82rem; }
.avatars { display: flex; }
.avatars span {
  display: grid; place-items: center; width: 2rem; height: 2rem; margin-left: -.6rem; overflow: hidden;
  border: 2px solid var(--color-page); border-radius: 50%; background: var(--color-bg);
}
.avatars span:first-child { margin-left: 0; }
.avatars img { width: 100%; height: 100%; object-fit: contain; }

/* Phone mockup (decorative) */
.phone-wrap { display: flex; justify-content: center; perspective: 1200px; }
.phone {
  position: relative; width: 18.75rem; height: 37.5rem; padding: .75rem;
  background: linear-gradient(180deg, #fff, #f5f3ee); border: 1px solid var(--color-border); border-radius: 44px;
  box-shadow: 0 40px 80px -20px rgb(26 26 31 / .2), 0 0 80px -30px rgb(230 57 37 / .3), inset 0 0 0 1px rgb(255 255 255 / .8);
  transform: rotateY(-12deg) rotateX(6deg); transition: transform .6s var(--ease);
}
.phone:hover { transform: rotateY(0) rotateX(0) translateY(-8px); }
.phone::before {
  content: ""; position: absolute; top: .75rem; left: 50%; z-index: 2; transform: translateX(-50%);
  width: 6.25rem; height: 1.5rem; background: #1a1a1f; border-radius: 0 0 16px 16px;
}
.phone-screen { display: flex; flex-direction: column; gap: .75rem; width: 100%; height: 100%; padding: 2.5rem 1rem 1rem; overflow: hidden; background: var(--color-page); border-radius: 32px; }
.mini-header { display: flex; align-items: center; gap: .6rem; padding-bottom: .75rem; border-bottom: 1px solid var(--color-border-soft); }
.mini-logo { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; background: var(--gradient-primary); color: #fff; font-size: .8rem; font-weight: 700; }
.mini-title { font-size: .8rem; font-weight: 700; }
.mini-sub { font-size: .65rem; font-weight: 600; color: var(--color-accent-dark); }
.mini-item { display: flex; align-items: center; gap: .6rem; padding: .6rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: 12px; box-shadow: var(--shadow); }
.mini-thumb { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; border-radius: 9px; background: linear-gradient(135deg, #fdf0eb, #f7f5f0); color: var(--color-primary-text); }
.mini-info { flex: 1; min-width: 0; }
.mini-name { font-size: .7rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-price { font-family: var(--font-mono); font-size: .65rem; font-weight: 600; color: var(--color-accent-dark); }
.mini-add { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%; background: var(--color-primary); color: #fff; font-size: .9rem; font-weight: 700; }
.mini-cart {
  display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: auto; padding: .75rem; border-radius: 12px;
  background: var(--gradient-accent); color: #fff; font-size: .75rem; font-weight: 700; animation: mini-cart-pulse 2.5s ease-in-out infinite;
}
.mini-cart .icon { width: 1rem; height: 1rem; }
@keyframes mini-cart-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgb(0 168 120 / .4); } 50% { box-shadow: 0 0 0 12px rgb(0 168 120 / 0); } }

/* ----- Sections ----- */
.section { position: relative; padding: 6.25rem 0; }
main > .section:first-child { padding-top: 9rem; }   /* text pages: room for the floating navbar */
.section-head { max-width: 40rem; margin: 0 auto 4rem; text-align: center; }
.section-tag {
  display: inline-block; margin: 0 0 1rem; font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--color-primary-text);
}
.section-head h2 { margin: 0 0 1rem; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.section-head p:not(.section-tag) { margin: 0; color: var(--color-muted); font-size: 1.06rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative; overflow: hidden; padding: 1.75rem 1.5rem; background: var(--color-bg);
  border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.step::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(circle at top left, rgb(230 57 37 / .06), transparent 60%);
}
.step:hover { transform: translateY(-6px); border-color: var(--color-primary); box-shadow: 0 20px 50px -20px rgb(230 57 37 / .35); }
.step:hover::before { opacity: 1; }
.step-num { margin: 0 0 1.25rem; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; color: var(--color-subtle); }
.step-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem; border-radius: 12px;
  background: linear-gradient(135deg, #fdf0eb, #f7f5f0); border: 1px solid var(--color-border-soft); color: var(--color-primary-text);
}
.step-icon .icon { width: 1.4rem; height: 1.4rem; }
/* Step with a picture: the picture fills the top of the card, edge to edge. */
.steps:has(.step--image) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.step--image { padding-top: 0; }
.step-image { display: block; width: calc(100% + 3rem); max-width: none; height: auto; margin: 0 -1.5rem 1.5rem; }
.step h3 { margin: 0 0 .5rem; font-size: 1.125rem; }
.step p:not(.step-num) { margin: 0; font-size: .9rem; color: var(--color-muted); }

/* Cart feature */
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.75rem; align-items: center; }
.feature-content h2 { margin: 0 0 1.25rem; font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
.feature-content > p:not(.section-tag) { margin: 0 0 2rem; color: var(--color-muted); font-size: 1.06rem; }
.feature-list { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.feature-list li, .features li, .price-features li { display: flex; align-items: flex-start; gap: .85rem; color: var(--color-muted); font-size: .95rem; }
.check {
  display: grid; place-items: center; width: 1.4rem; height: 1.4rem; flex: none; margin-top: .1rem; border-radius: 50%;
  background: rgb(0 168 120 / .12); border: 1px solid rgb(0 168 120 / .3); color: var(--color-accent-dark);
}
.check .icon { width: .8rem; height: .8rem; }
.wa-mock { position: relative; margin: 0; padding: 1.5rem; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.wa-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border-soft); }
.wa-avatar { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--gradient-primary); color: #fff; font-weight: 700; }
.wa-name { font-size: .95rem; font-weight: 700; }
.wa-status { display: flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 600; color: var(--color-accent-dark); }
.wa-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
.wa-bubble {
  position: relative; max-width: 92%; padding: .9rem 1rem; background: #dcf8c6; color: #1a1a1f;
  border-radius: 12px 12px 12px 4px; box-shadow: 0 4px 12px rgb(26 26 31 / .08); font-size: .82rem; line-height: 1.7;
}
.wa-bubble::after { content: ""; position: absolute; bottom: 0; left: -8px; border-right: 10px solid #dcf8c6; border-top: 10px solid transparent; }
.wa-bubble p { margin: 0 0 .6rem; }
.wa-bubble strong { color: #075e54; }
.wa-bubble .wa-time { margin: 0; text-align: right; font-size: .65rem; color: #54656f; }

/* Features, showcase */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .9rem; margin: 0; padding: 0; list-style: none; }
.features li { padding: 1rem 1.15rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--color-text); }
.showcase { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.showcase a {
  display: grid; justify-items: center; gap: .6rem; height: 100%; padding: 1.25rem .75rem; text-align: center; text-decoration: none;
  background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  color: var(--color-text); font-size: .9rem; font-weight: 600; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.showcase a:hover { transform: translateY(-4px); border-color: var(--color-primary); box-shadow: var(--shadow-card); }
.showcase img { width: 5rem; height: 5rem; object-fit: contain; border-radius: 14px; }

/* Plans */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.price-card {
  position: relative; display: flex; flex-direction: column; padding: 2.25rem 1.75rem; background: var(--color-bg);
  border: 1px solid var(--color-border-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--color-primary); box-shadow: 0 30px 60px -20px rgb(230 57 37 / .25); }
.price-name { margin: 0 0 1rem; font-size: 1.25rem; }
.price-value { display: flex; align-items: baseline; gap: .4rem; margin: 0 0 .5rem; }
.price-value .currency { font-size: 1.125rem; font-weight: 500; color: var(--color-muted); }
.price-value .amount { font-family: var(--font-mono); font-size: 2.6rem; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--color-text); }
.price-value .amount small { font-size: 1.1rem; }
.price-value .period { font-size: .82rem; color: var(--color-subtle); }
.price-desc { margin: 0 0 1.75rem; font-size: .82rem; color: var(--color-subtle); }
.price-features { display: flex; flex-direction: column; gap: .75rem; flex: 1; margin: 0 0 2rem; padding: 0; list-style: none; }
.price-features li { font-size: .85rem; gap: .6rem; }
.price-features .check { width: 1.2rem; height: 1.2rem; margin-top: .05rem; }
.price-card .btn { width: 100%; }
.price-card:hover .btn-ghost { background: var(--gradient-primary); border-color: transparent; color: #fff; }

/* FAQ, about */
.faq { margin-bottom: .75rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: border-color .2s; }
.faq[open], .faq:hover { border-color: var(--color-border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .9rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__chevron { color: var(--color-primary-text); transition: transform .2s; }
.faq[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 1.25rem 1.25rem; color: var(--color-muted); }
.faq__answer p { margin: 0; }
.about { margin: 0; color: var(--color-muted); font-size: 1.06rem; text-align: center; }

/* ----- Forms ----- */
.forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.5rem; align-items: start; }
.card-form { padding: 2rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.card-form:focus { outline: none; }
.card-form .section-tag { margin-bottom: .5rem; }
.card-form h2 { margin: 0 0 1.25rem; font-size: 1.6rem; }
.form { display: grid; gap: 1rem; }
.form .btn { justify-self: start; }
.grid-2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.field { display: grid; gap: .35rem; min-width: 0; }
.field > label { font-size: .9rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: .55rem .9rem; border: 1px solid var(--color-field-border); border-radius: var(--radius);
  background: var(--color-bg); transition: border-color .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-text); }
.field textarea { resize: vertical; line-height: 1.5; }
.field [aria-invalid="true"] { border: 2px solid var(--color-danger); }
.field__hint { margin: 0; font-size: .82rem; color: var(--color-muted); }
.field__error { display: flex; gap: .35rem; margin: 0; color: var(--color-danger); font-weight: 600; font-size: .85rem; }
.required { font-weight: 400; color: var(--color-muted); font-size: .8rem; }
.slug-field { display: flex; align-items: stretch; }
.slug-field span {
  display: flex; align-items: center; max-width: 55%; padding: 0 .75rem; overflow: hidden; white-space: nowrap;
  background: var(--color-surface); border: 1px solid var(--color-field-border); border-right: 0; border-radius: var(--radius) 0 0 var(--radius);
  color: var(--color-muted); font-family: var(--font-mono); font-size: .8rem;
}
.slug-field input { border-radius: 0 var(--radius) var(--radius) 0; }
[data-slug-status].is-ok { color: var(--color-success); font-weight: 600; }
[data-slug-status].is-taken { color: var(--color-danger); font-weight: 600; }
.hp { position: absolute !important; left: -9999px; }
.alert { display: flex; gap: .6rem; margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid; border-left-width: 5px; border-radius: var(--radius); }
.alert p { margin: 0; }
.alert--success { background: #eef8f0; border-color: var(--color-success); color: #0f4a20; }
.alert--error { background: #fdeeee; border-color: var(--color-danger); color: #6e0f12; }

/* ----- Final CTA ----- */
.section--cta { padding-top: 0; }
.cta-final {
  position: relative; overflow: hidden; padding: 4.5rem 2rem; text-align: center;
  background: linear-gradient(135deg, #fff5f2 0%, #f5f0ff 100%); border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card);
}
.cta-final::before {
  content: ""; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 37.5rem; height: 37.5rem; pointer-events: none;
  background: radial-gradient(circle, rgb(230 57 37 / .15), transparent 60%); filter: blur(60px);
}
.cta-final > * { position: relative; }
.cta-final h2 { margin: 0 0 1rem; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.cta-final p { margin: 0 0 2rem; color: var(--color-muted); font-size: 1.06rem; }

/* ----- Text pages (privacy, accessibility, maintenance) ----- */
.text-page { padding: 2.5rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); }
.text-page h1 { margin-top: 0; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.text-page p { color: var(--color-muted); }

/* ----- Documentation (/documentacao): guide of all screens, rendered from _DOCS/*.md (Support\Docs) ----- */
.docs-page { padding-top: 8.5rem; }
.docs-head { margin-bottom: 2rem; }
.docs-head h1 { margin: 0; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.docs { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.docs__nav { padding: 0 1rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.docs__menu > summary { display: flex; align-items: center; min-height: 48px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted); cursor: pointer; }
.docs__nav ol { margin: 0 0 .75rem; padding: 0; list-style: none; }
.docs__nav a { display: flex; align-items: center; min-height: 40px; padding: .25rem .6rem; border-radius: var(--radius); color: var(--color-text); text-decoration: none; font-size: .95rem; }
.docs__nav a:hover { background: var(--color-surface); }
.docs__nav a[aria-current="page"] { background: var(--color-surface); color: var(--color-primary-text); font-weight: 700; }
.docs__body { min-width: 0; }
.docs__sections { margin: 0 0 1rem; padding: .25rem 1rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius); }
.docs__sections summary { display: flex; align-items: center; min-height: 44px; font-weight: 700; cursor: pointer; }
.docs__sections ul { margin: 0 0 .75rem; padding-left: 1.25rem; }
.docs__sections li { margin: .3rem 0; }
.docs__pager { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.docs__pager-link { display: flex; flex: 1 1 14rem; flex-direction: column; gap: .2rem; padding: 1rem 1.25rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--color-text); font-weight: 600; text-decoration: none; }
.docs__pager-link:hover { border-color: var(--color-primary); color: var(--color-primary-text); }
.docs__pager-link span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-subtle); }
.docs__pager-link--next { align-items: flex-end; text-align: right; }
.docs__updated { margin: 1.5rem 0 0; color: var(--color-subtle); font-size: .85rem; }
.docs__cta { margin-top: 2.5rem; padding: 2rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); text-align: center; }
.docs__cta h2 { margin: 0 0 .5rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.docs__cta p { margin: 0 auto 1.5rem; max-width: 34rem; color: var(--color-muted); }
.docs__cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
@media (min-width: 1024px) {
  .docs { grid-template-columns: 16rem minmax(0, 1fr); align-items: start; }
  .docs__nav { position: sticky; top: 6.5rem; max-height: calc(100vh - 7.5rem); overflow-y: auto; }
  .docs__menu > summary { pointer-events: none; list-style: none; }
  .docs__menu > summary::-webkit-details-marker { display: none; }
}

.doc { padding: 2rem; background: var(--color-bg); border: 1px solid var(--color-border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); line-height: 1.65; overflow-wrap: break-word; }
.doc > :first-child { margin-top: 0; }
.doc > :last-child { margin-bottom: 0; }
.doc > h1:first-child { display: none; }   /* the title is the page heading above */
.doc > h1:first-child + * { margin-top: 0; padding-top: 0; border-top: 0; }
.doc h2 { margin: 2.25rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--color-border-soft); font-size: 1.4rem; }
.doc h3 { margin: 1.75rem 0 .5rem; font-size: 1.15rem; }
.doc h4 { margin: 1.25rem 0 .5rem; font-size: 1rem; }
.doc :is(h1, h2, h3, h4) { scroll-margin-top: 6.5rem; }
.doc p, .doc ul, .doc ol { margin: 0 0 1rem; }
.doc ul, .doc ol { padding-left: 1.4rem; }
.doc li { margin: .3rem 0; }
.doc li > ul, .doc li > ol, .doc li > .doc-code { margin: .5rem 0; }
.doc .doc-task { list-style: none; margin-left: -1.4rem; }
.doc code { padding: .1em .35em; border-radius: 6px; background: var(--color-surface); border: 1px solid var(--color-border-soft); font-family: var(--font-mono); font-size: .875em; }
.doc-code { margin: 0 0 1rem; padding: 1rem; overflow-x: auto; background: #0f0f14; color: #f4f2ec; border-radius: var(--radius); font-size: .85rem; line-height: 1.5; }
.doc .doc-code code { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; white-space: pre; }
.doc blockquote { margin: 0 0 1rem; padding: .75rem 1rem; border-left: 5px solid var(--focus); border-radius: var(--radius); background: #eff6ff; color: #123c70; }
.doc blockquote > :last-child { margin-bottom: 0; }
.doc .table-wrap { overflow-x: auto; margin-bottom: 1rem; border: 1px solid var(--color-border); border-radius: var(--radius); }
.doc .table { width: 100%; border-collapse: collapse; }
.doc .table th, .doc .table td { padding: .6rem .8rem; text-align: left; vertical-align: top; font-size: .925rem; border-bottom: 1px solid var(--color-border-soft); }
.doc .table td { min-width: 7rem; }
.doc .table tbody tr:last-child > * { border-bottom: 0; }
.doc .table thead th { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); background: var(--color-surface); }
@media (max-width: 560px) {
  .docs-page { padding-top: 7rem; }
  .doc, .docs__cta { padding: 1.25rem; }
}
html.a11y-contrast .docs__nav a[aria-current="page"], html.a11y-contrast .doc blockquote { background: #000; color: #fff; }
html.a11y-contrast .docs__nav a[aria-current="page"] { outline: 2px solid #ff0; outline-offset: -2px; }
html.a11y-contrast .doc-code { border: 1px solid #fff; background: #000; color: #fff; }
html.a11y-contrast .docs__nav, html.a11y-contrast .doc, html.a11y-contrast .docs__pager-link, html.a11y-contrast .docs__cta { border-color: #fff; }

/* ----- Footer ----- */
.site-footer { position: relative; z-index: 1; padding: 3.75rem 0 2rem; background: #f4f2ed; border-top: 1px solid var(--color-border-soft); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { max-width: 17.5rem; margin: 1rem 0 0; color: var(--color-muted); font-size: .9rem; }
.footer-col h2 { margin: 0 0 1rem; font-family: var(--font); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-subtle); }
.footer-col ul { display: flex; flex-direction: column; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; align-items: center; gap: .5rem; min-height: 36px; color: var(--color-muted); font-size: .9rem; text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--color-primary-text); text-decoration: underline; }
.footer-col .icon { width: 1rem; height: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--color-border); color: var(--color-subtle); font-size: .82rem; }

/* Cookie banner (only when Google Analytics is configured) */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 700; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  max-width: 56rem; margin: 0 auto; padding: 1rem 1.25rem; background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); box-shadow: 0 20px 50px -15px rgb(26 26 31 / .3);
}
.cookie-banner p { margin: 0; flex: 1 1 20rem; font-size: .9rem; }
.cookie-banner__actions { display: flex; gap: .5rem; }

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .navbar__nav { display: none; }
  .hero { padding: 8.75rem 0 3.75rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3.75rem; }
  .phone-wrap { order: -1; }
  .phone { transform: none; }
  .feature-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4.5rem 0; }
  .section-head { margin-bottom: 2.75rem; }
  .section--cta { padding-top: 0; }
}
@media (max-width: 560px) {
  .site-container, .site-container--narrow { width: calc(100% - 2rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .navbar { padding: .5rem .5rem .5rem 1.1rem; }
  .navbar .btn-primary { padding: .6rem 1rem; font-size: .82rem; }
  .logo { font-size: 1.1rem; }
  .phone { width: 16.5rem; height: 33rem; }
  .card-form, .text-page { padding: 1.5rem; }
  .cta-final { padding: 3rem 1.25rem; }
}

html.a11y-contrast .navbar, html.a11y-contrast .site-footer, html.a11y-contrast .cta-final, html.a11y-contrast .wa-bubble { background: #000; color: #fff; }
html.a11y-contrast .bg-decor, html.a11y-contrast .bg-grid { display: none; }
html.a11y-contrast .hero h1 .gradient { background: none; -webkit-text-fill-color: currentColor; color: #ff0; }
html.a11y-contrast .btn-primary, html.a11y-contrast .hero-badge .pill, html.a11y-contrast .logo__mark { color: #000; }
html.a11y-contrast .btn-ghost, html.a11y-contrast .step, html.a11y-contrast .price-card, html.a11y-contrast .card-form { border-color: #fff; }
html.a11y-contrast .wa-bubble strong, html.a11y-contrast .wa-bubble .wa-time { color: #ff0; }
html.a11y-contrast .wa-bubble::after { display: none; }
