/* =========================================================
   Regler — direção "Linhas de controle"
   Roxo noturno + violeta da marca, linhas horizontais da capa
   da apresentação, Sora (títulos) + Manrope (texto).
   ========================================================= */

:root {
  --night-950: #120b20;
  --night-900: #1b122d;    /* fundo da capa */
  --night-800: #241a3b;
  --night-700: #30244d;
  --violet: #5a33b9;       /* violeta do símbolo */
  --violet-600: #6a45d8;
  --violet-300: #a28ff0;   /* violeta claro para texto sobre fundo escuro */
  --lavender: #cdc9da;
  --paper: #f6f4fa;
  --paper-2: #ece8f5;
  --ink: #1b122d;
  --ink-soft: #4e4663;
  --line-dark: rgba(205, 201, 218, .16);
  --line-light: rgba(27, 18, 45, .12);
  --white: #ffffff;

  --display: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0; font-family: var(--text);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.65;
  color: var(--ink); background: var(--paper);
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -.02em; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--violet-300); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.skip-link { position: absolute; left: 1rem; top: -100%; padding: .6rem 1rem; background: var(--violet); color: var(--white); z-index: 200; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h2 { font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3rem); font-weight: 700; }
h2 span, h1 span { color: var(--violet); }

.kicker, .eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: currentColor; }
.kicker--light { color: var(--violet-300); }
.eyebrow { color: var(--lavender); letter-spacing: .18em; }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { --bg: var(--violet); --fg: var(--white); --bd: var(--violet); }
.btn-primary:hover { --bg: var(--violet-600); --bd: var(--violet-600); }
.btn-ghost { --fg: var(--white); --bd: rgba(205,201,218,.45); }
.btn-ghost:hover { --bd: var(--white); }
.btn-sm { min-height: 40px; padding: .45rem 1.1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--white); transition: background-color .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled, .site-header.is-open { background: rgba(18, 11, 32, .96); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 132px; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.9rem, 1.6vw, 1.75rem); }
.site-nav a { text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--lavender); padding-block: .5rem; }
.site-nav a:hover { color: var(--white); }
.nav-toggle { display: none; }
@media (max-width: 1023px) {
  .nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); border-radius: 12px; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--white); position: relative; transition: transform .2s ease; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .is-open .nav-toggle-bars { background: transparent; }
  .is-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .is-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto; background: var(--night-950); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 1.5rem; border-top: 1px solid var(--line-dark); display: none; }
  .is-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 1.25rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--night-900); color: var(--white); padding-top: calc(var(--header-h) + clamp(24px, 5vw, 56px)); overflow: hidden; isolation: isolate; }
.hero-lines {
  /* linhas horizontais escalonadas da capa da apresentação */
  position: absolute; z-index: -1; top: calc(var(--header-h) + 48px); right: 0; width: 62%;
  display: grid; gap: clamp(14px, 2.2vw, 26px);
}
.hero-lines i { display: block; height: 1px; background: linear-gradient(90deg, transparent, rgba(162,143,240,.5)); }
.hero-lines i:nth-child(1) { margin-left: 30%; } .hero-lines i:nth-child(2) { margin-left: 24%; }
.hero-lines i:nth-child(3) { margin-left: 34%; } .hero-lines i:nth-child(4) { margin-left: 18%; }
.hero-lines i:nth-child(5) { margin-left: 40%; } .hero-lines i:nth-child(6) { margin-left: 28%; }
.hero-lines i:nth-child(7) { margin-left: 46%; } .hero-lines i:nth-child(8) { margin-left: 36%; }
.hero-lines i:nth-child(9) { margin-left: 52%; }

.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.9rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 1.4rem; }
.hero h1 span { display: block; color: var(--violet-300); }
.hero-lede { color: var(--lavender); max-width: 46ch; font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-media { margin: 0; position: relative; }
.hero-media img {
  width: 100%; height: auto; border-radius: var(--radius);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 14%);
}
.hero-media figcaption {
  position: absolute; left: 0; bottom: -1px; padding: .9rem 1.2rem .9rem 1.1rem;
  background: var(--night-900); border-top-right-radius: var(--radius);
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender);
}
.hero-media figcaption strong { display: block; color: var(--violet-300); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr 1.15fr; }
}
.hero-bases {
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-top: clamp(40px, 6vw, 72px);
  padding-block: 1.3rem; border-top: 1px solid var(--line-dark);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender);
}
.hero-bases span { display: inline-flex; align-items: center; gap: .55rem; }
.hero-bases span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--violet-300); }

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.about-body { max-width: 64ch; color: var(--ink-soft); }
.about-body h2 { margin-bottom: 1.4rem; }
.about-body h2 span { display: block; }
.about-body strong { color: var(--ink); }
.about-body .lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.25rem); color: var(--ink); line-height: 1.55; }
.about-media { margin: 0; }
.about-media img { width: 100%; height: auto; border-radius: var(--radius); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.facts div { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.1rem; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--violet); }
.facts dd { margin: .25rem 0 0; color: var(--ink-soft); font-size: .93rem; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Rodoviário (mapa original da apresentação) ---------- */
.road { background: var(--night-900); color: var(--white); }
.road-grid { display: grid; gap: clamp(32px, 5vw, 56px); }
.road h2 span { display: block; color: var(--violet-300); }
.road-lede { color: var(--lavender); font-size: 1.1rem; margin: 1rem 0 1.5rem; }
.road-states { color: var(--lavender); font-size: .95rem; letter-spacing: .04em; }
.road-states strong { color: var(--white); font-family: var(--display); letter-spacing: .08em; }
.map-figure { margin: 0; justify-self: center; width: min(100%, 460px); }
.map-figure img { width: 100%; height: auto; }
.map-figure figcaption { text-align: center; font-family: var(--display); font-weight: 700; letter-spacing: .12em; color: var(--violet); margin-top: .5rem; font-size: .85rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line-dark); }
.values li { padding: 1.25rem 1rem 0 0; display: grid; gap: .15rem; }
.values strong { font-family: var(--display); color: var(--white); }
.values span { color: var(--lavender); font-size: .92rem; }
@media (min-width: 960px) {
  .road-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .values { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Transferências ---------- */
.transfers-media { margin: 0 0 clamp(32px, 5vw, 56px); }
.transfers-media img { width: 100%; height: auto; border-radius: var(--radius); }
.transfers-grid { display: grid; gap: clamp(32px, 5vw, 56px); }
.transfers-copy h2 { margin-bottom: 1rem; max-width: 20ch; }
.transfers-copy > p { color: var(--ink-soft); max-width: 56ch; }
.checklist { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .7rem; align-items: baseline; font-weight: 600; }
.checklist li::before { content: ""; width: 14px; height: 8px; border-left: 3px solid var(--violet); border-bottom: 3px solid var(--violet); transform: rotate(-45deg) translateY(-3px); flex: none; }
.signoff { color: var(--ink-soft); border-top: 1px solid var(--line-light); padding-top: 1rem; }
.signoff strong { color: var(--violet); }
.map-figure--small { width: min(100%, 340px); background: var(--night-900); border-radius: var(--radius); padding: 1rem 1rem .75rem; }
.map-figure--small figcaption { color: var(--violet-300); }
@media (min-width: 960px) { .transfers-grid { grid-template-columns: 1.4fr 1fr; align-items: center; } }

/* ---------- Armazenagem, ovas e desovas ---------- */
.storage { background: var(--night-700); color: var(--white); }
.storage-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
.storage h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); font-weight: 800; }
.storage h2 span { display: block; color: var(--violet-300); }
.storage-sub { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--lavender); margin: 1rem 0 1.5rem; }
.storage-copy > p { color: var(--lavender); max-width: 58ch; }
.storage-copy strong { color: var(--white); }
.storage-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.storage-list li { padding: .9rem 1rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); font-family: var(--display); font-weight: 600; }
.storage-media { margin: 0; }
.storage-media img { width: 100%; height: auto; border-radius: var(--radius); }
@media (min-width: 960px) { .storage-grid { grid-template-columns: 1.15fr .85fr; align-items: center; } }

/* ---------- Cargas controladas ---------- */
.controlled { background: var(--night-950); color: var(--white); }
.controlled-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
.controlled h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 1.4rem; }
.controlled h2 span { display: block; color: var(--violet-300); }
.controlled-copy > p { color: var(--lavender); max-width: 56ch; }
.agencies { list-style: none; margin: 2rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.agencies li { display: grid; justify-items: center; gap: .6rem; padding: .9rem .6rem 1rem; border: 1px solid rgba(162,143,240,.28); border-radius: var(--radius); background: #15102a; text-align: center; }
.agencies img { width: 100%; max-width: 110px; height: auto; }
.agencies span { font-family: var(--display); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.controlled-sign { margin-top: 1.5rem; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lavender); }
.controlled-sign strong { color: var(--violet-300); }
.controlled-media { margin: 0; justify-self: center; width: min(100%, 420px); }
.controlled-media img { width: 100%; height: auto; border-radius: var(--radius); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.pillars li { padding: .85rem 0; border-bottom: 1px solid var(--line-dark); color: var(--lavender); }
.pillars strong { color: var(--white); font-family: var(--display); }
@media (min-width: 960px) { .controlled-grid { grid-template-columns: 1.4fr .6fr; align-items: center; } }

/* ---------- Tecnologia ---------- */
.tech { background: var(--paper-2); }
.tech-head { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
.tech-head h2 span { display: block; color: var(--violet); }
.tech-head p { color: var(--ink-soft); font-size: 1.1rem; margin-top: 1rem; max-width: 40ch; }
.tech-media { margin: 0; }
.tech-media img { width: 100%; height: auto; border-radius: var(--radius); }
.tech-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.tech-list li { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 1.3rem 1.25rem; }
.tech-list h3 { font-size: 1.05rem; margin-bottom: .4rem; color: var(--ink); }
.tech-list p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
@media (min-width: 960px) { .tech-head { grid-template-columns: .9fr 1.1fr; } .tech-list { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Por que ---------- */
.why-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
.why-head h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); font-weight: 800; margin-bottom: 2rem; max-width: 10ch; }
.why-media { margin: 0; position: relative; }
.why-media img { width: 100%; max-width: 420px; height: auto; border-radius: var(--radius); }
.why-media figcaption { margin-top: .75rem; font-size: .9rem; color: var(--ink-soft); }
.why-list { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.why-list li { counter-increment: why; display: grid; grid-template-columns: 56px 1fr; gap: .1rem 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-light); }
.why-list li::before { content: counter(why, decimal-leading-zero); grid-row: span 2; font-family: var(--display); font-weight: 700; font-size: .95rem; color: var(--white); background: var(--violet); border-radius: 10px; width: 44px; height: 44px; display: grid; place-items: center; }
.why-list h3 { font-size: 1.15rem; }
.why-list p { margin: 0; color: var(--ink-soft); }
@media (min-width: 960px) { .why-grid { grid-template-columns: .8fr 1.2fr; } .why-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }

/* ---------- Contato ---------- */
.contact { background: var(--night-900); color: var(--white); }
.contact-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
.contact-info h2 { margin-bottom: 1rem; }
.contact-info h2 span { color: var(--violet-300); }
.contact-info > p { color: var(--lavender); max-width: 44ch; margin-bottom: 2rem; }
.phones { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.phones li { display: grid; gap: .1rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.ph-label { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet-300); }
.phones a { font-family: var(--display); font-size: 1.45rem; font-weight: 700; text-decoration: none; }
.phones a:hover { text-decoration: underline; }
.ph-note { color: var(--lavender); font-size: .9rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- Formulário ---------- */
.wa-form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.wa-form h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.form-hint { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.25rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { font-size: .86rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1.5px solid #c3bdd3; border-radius: 8px; background: var(--white); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--violet-300); outline-offset: 0; border-color: var(--violet); }
.form-error { color: #a3121f; font-weight: 700; font-size: .92rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--night-950); color: var(--lavender); padding-block: 3rem 6rem; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; gap: 1rem; justify-items: start; }
.footer-inner img { width: 120px; }
.footer-tag { margin: 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.footer-meta { margin: 0; font-size: .88rem; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; } .footer-meta { text-align: right; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 150; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: #25d366; color: #073b1d; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .15s ease; }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab:hover { transform: scale(1.06); }
.wa-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 14px; overflow: auto; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.wa-dialog::backdrop { background: rgba(18,11,32,.65); }
.wa-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--night-900); color: var(--white); position: sticky; top: 0; }
.wa-dialog-title { margin: 0; font-family: var(--display); font-weight: 800; }
.wa-dialog-sub { margin: 0; font-size: .85rem; color: var(--lavender); }
.wa-close { width: 44px; height: 44px; border: 1px solid var(--line-dark); background: none; border-radius: 10px; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--white); }
.wa-dialog .wa-form { border-radius: 0; }

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