/* =========================================================================
   OneGrid IoT — styles.css
   HTML estático + CSS puro. Sem build, sem framework.
   Paleta e layout conforme PDF Home-1 + onegrid.com.br
   ========================================================================= */

:root {
  /* Marca */
  --brand:        #1aa18d;   /* teal-verde — botões, eyebrows, acentos */
  --brand-600:    #158a79;   /* hover */
  --brand-700:    #0f6f62;
  --ink:          #0b2e2c;   /* fundo escuro (hero / seções petróleo) */
  --ink-2:        #103e3a;   /* gradiente escuro */
  --mint:         #e4f4ef;   /* fundo claro menta (cases) */
  --mint-2:       #d6efe7;

  /* Neutros */
  --bg:           #f6f8f8;
  --surface:      #ffffff;
  --line:         #e6edec;
  --text:         #11302e;
  --muted:        #5d6f6d;
  --muted-2:      #8a9997;
  --on-dark:      #eaf5f2;
  --on-dark-mut:  #9fc0ba;

  /* Layout */
  --maxw:         1180px;
  --radius:       18px;
  --radius-sm:    12px;
  --shadow:       0 18px 50px -24px rgba(11, 46, 44, .35);
  --shadow-soft:  0 10px 30px -18px rgba(11, 46, 44, .25);
  --ease:         cubic-bezier(.22, .61, .36, 1);

  --header-h:     74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 18px;
}
.eyebrow--center { text-align: center; }

.section { padding: 96px 0; }
.section__head { max-width: 720px; margin: 0 auto; }
.section__head--center { text-align: center; }
.section__title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); font-weight: 600; }
.section__lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Botões -------------------------------------------------------- */
.btn {
  --pad-y: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 24px -12px rgba(26,161,141,.7); }
.btn--primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(26,161,141,.8); }
.btn--ghost { background: transparent; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
.btn--ghost:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }
.btn .ico { width: 18px; height: 18px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 100;
  transition: transform .4s var(--ease);
}
.site-header__bar {
  max-width: var(--maxw);
  margin-inline: auto;
  margin-inline: max(16px, calc((100vw - var(--maxw)) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
  padding: 0 12px 0 22px;
  border-radius: 16px;
  background: rgba(13, 46, 43, .55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px -16px rgba(0,0,0,.5);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.site-header.is-scrolled .site-header__bar {
  background: rgba(255,255,255,.86);
  border-color: var(--line);
  box-shadow: 0 12px 34px -20px rgba(11,46,44,.4);
}
.site-header.is-hidden { transform: translateY(-130%); }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 40px; width: auto; display: block; }
.brand__logo--dark { display: none; }              /* header escuro → logo branca */
.is-scrolled .brand__logo--light { display: none; } /* header rolado (branco) → logo teal */
.is-scrolled .brand__logo--dark { display: block; }
.brand--footer .brand__logo { height: 56px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px;
  font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.is-scrolled .nav__link { color: var(--muted); }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.is-scrolled .nav__link:hover, .is-scrolled .nav__link.is-active { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__caret { width: 14px; height: 14px; transition: transform .3s var(--ease); opacity: .8; }

/* Dropdown (Onegrid) */
.nav__dd {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
/* ponte invisível: cobre o vão entre o link e o submenu p/ o hover não cair */
.nav__dd::before {
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav__item--has-dd:hover .nav__dd,
.nav__item--has-dd:focus-within .nav__dd { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav__item--has-dd:hover .nav__caret { transform: rotate(180deg); }
.nav__dd a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--text); transition: background .18s; }
.nav__dd a:hover { background: var(--mint); }
.nav__dd a span { font-weight: 600; font-size: .92rem; }
.nav__dd a small { color: var(--muted-2); font-size: .76rem; }

.nav__cta { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 10px;
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  cursor: pointer; padding: 0; place-items: center;
}
.is-scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.is-scrolled .nav-toggle span, .is-scrolled .nav-toggle span::before, .is-scrolled .nav-toggle span::after { background: var(--ink); }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(0); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  color: var(--on-dark);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(26,161,141,.28), transparent 55%),
    linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 55%, #0a3b39 100%);
}
.hero__skyline { position: absolute; inset: 0; opacity: .5; mix-blend-mode: screen; pointer-events: none; object-fit: cover; height: 100%; width: 100%; }
.hero__grid { position: absolute; inset: 0; opacity: .14;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 54px 54px; mask-image: radial-gradient(120% 80% at 70% 30%, #000 20%, transparent 75%); pointer-events: none; }

.hero__card {
  position: relative;
  max-width: 600px;
  padding: 44px 44px 40px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.7);
}
.hero h1 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(2.1rem, 1.2rem + 4vw, 3.6rem);
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--brand); }
.hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.hero__note { max-width: 230px; color: var(--on-dark-mut); font-size: .9rem; line-height: 1.45; }

/* =========================================================================
   FAIXA — Gestão predial inteligente
   ========================================================================= */
.intro { text-align: center; padding: 90px 0; }
.intro__title { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem); max-width: 760px; margin: 0 auto; }
.intro__quote { margin: 34px auto 0; max-width: 640px; color: var(--muted); font-size: 1.05rem; font-style: italic; }
.intro__quote b { color: var(--brand-700); font-style: normal; }

/* =========================================================================
   BENEFÍCIOS — cards
   ========================================================================= */
.bg-soft { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint); color: var(--brand-700); margin-bottom: 22px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* =========================================================================
   MISSÃO — seção escura split
   ========================================================================= */
.mission {
  position: relative; overflow: hidden;
  background: radial-gradient(110% 120% at 90% 10%, rgba(26,161,141,.25), transparent 55%), linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
}
.mission__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.mission .eyebrow { color: var(--brand); }
.mission h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); margin-bottom: 26px; }
.mission__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mission__cols p { color: var(--on-dark-mut); font-size: .96rem; margin: 0; }
.mission .btn { margin-top: 34px; }
.mission__art {
  aspect-ratio: 4/3; border-radius: var(--radius);
  background:
    conic-gradient(from 220deg at 60% 40%, rgba(26,161,141,.5), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px),
    linear-gradient(160deg, #0f4a45, #0a302d);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 0 60px rgba(0,0,0,.4);
  position: relative; overflow: hidden;
}
.mission__art::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .25;
  transform: perspective(600px) rotateX(38deg) scale(1.4); transform-origin: bottom;
  mask-image: linear-gradient(to top, #000, transparent);
}

/* =========================================================================
   RESULTADOS / CASES
   ========================================================================= */
.cases { background: var(--mint); }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 56px; }
.case {
  background: linear-gradient(160deg, var(--ink-2), var(--ink));
  border-radius: var(--radius); padding: 22px; color: var(--on-dark);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08);
  transition: transform .35s var(--ease);
}
.case:hover { transform: translateY(-6px); }
.case__chart { height: 150px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; display: flex; align-items: flex-end; gap: 8px; padding: 14px; }
.case__chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--brand), var(--brand-700)); opacity: .9; }
.case__label { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-mut); }
.case__metric { font-size: 1.7rem; font-weight: 700; font-family: "Poppins", sans-serif; color: #fff; margin-top: 4px; }
.case__metric span { color: var(--brand); }

/* =========================================================================
   DEPOIMENTO
   ========================================================================= */
.quote-sec { background: var(--mint); padding-top: 0; }
.quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quote__panel {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #fff; border: 1px solid var(--line); aspect-ratio: 16/11;
  background-image:
    linear-gradient(#fff, #fff),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 26px);
}
.quote blockquote { font-family: "Poppins", sans-serif; font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.9rem); line-height: 1.3; color: var(--text); margin: 0; }
.quote__author { margin-top: 26px; padding-left: 18px; border-left: 3px solid var(--brand); }
.quote__author strong { display: block; font-size: 1rem; }
.quote__author small { color: var(--muted); letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }

/* =========================================================================
   SOLUÇÃO — passos numerados
   ========================================================================= */
.solution__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.solution h2 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem); font-weight: 600; }
.steps { display: grid; gap: 36px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.step__num { font-family: "Poppins", sans-serif; font-size: 2rem; font-weight: 600; color: var(--mint-2); line-height: 1; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.dashboard {
  margin-top: 64px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff;
}
.dashboard__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fbfdfc; }
.dashboard__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.dashboard__bar i:nth-child(1){ background:#f1746b;} .dashboard__bar i:nth-child(2){ background:#f4bd54;} .dashboard__bar i:nth-child(3){ background:#5ac68a;}
.dashboard__bar b { margin-left: 10px; font-family:"Poppins",sans-serif; font-weight:600; color: var(--brand-700); font-size:.85rem; }
.dashboard__body { display: grid; grid-template-columns: 200px 1fr; min-height: 300px; }
.dashboard__side { border-right: 1px solid var(--line); padding: 20px; background:#fbfdfc; display:grid; gap:12px; align-content:start; }
.dashboard__side i { height: 12px; border-radius: 6px; background: var(--line); }
.dashboard__side i:nth-child(odd){ width: 80%; } .dashboard__side i:nth-child(1){ width: 60%; background: var(--brand); opacity:.6;}
.dashboard__main { padding: 26px; display:flex; align-items:flex-end; gap:14px; }
.dashboard__main i { flex:1; border-radius:6px 6px 0 0; background: linear-gradient(var(--brand), var(--mint-2)); }

/* =========================================================================
   SELO
   ========================================================================= */
.seal { text-align: center; padding: 88px 0; }
.seal__badge { width: 150px; height: 150px; margin: 28px auto 0; }
.seal__badge svg { width: 100%; height: 100%; }

/* =========================================================================
   CONTATO
   ========================================================================= */
.contact { position: relative; padding: 110px 0; background: radial-gradient(100% 120% at 15% 10%, rgba(26,161,141,.28), transparent 55%), linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--on-dark); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.contact h2 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 2.8rem); }
.contact__lead { color: var(--on-dark-mut); margin: 18px 0 36px; max-width: 420px; }
.contact__list { display: grid; gap: 22px; }
.contact__row { display: flex; gap: 16px; align-items: flex-start; }
.contact__row .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--brand); }
.contact__row .ic svg { width: 20px; height: 20px; }
.contact__row span { color: var(--on-dark); font-size: .95rem; line-height: 1.5; }
.contact__row small { color: var(--on-dark-mut); display:block; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; margin-bottom:2px;}

.contact__card { background: #fff; color: var(--text); border-radius: 24px; padding: 38px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: #fbfdfc; font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.field textarea { resize: vertical; min-height: 110px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { background: var(--ink); color: var(--on-dark-mut); padding: 76px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer__brand .brand { color: #fff; margin-bottom: 18px; }
.footer__about { font-size: .92rem; line-height: 1.6; max-width: 280px; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--on-dark); transition: background .2s, transform .2s, color .2s; }
.footer__social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-family:"Inter",sans-serif; font-weight:600;}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { font-size: .92rem; transition: color .2s; }
.footer__col a:hover { color: var(--brand); }
.footer__news p { font-size: .92rem; line-height: 1.55; margin: 0 0 16px; }
.footer__news .nl { display: flex; gap: 8px; }
.footer__news input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: .9rem; }
.footer__news input::placeholder { color: var(--on-dark-mut); }
.footer__news input:focus { outline: none; border-color: var(--brand); }
.footer__news button { flex: none; width: 48px; border-radius: 10px; border: none; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.footer__news button:hover { background: var(--brand-600); transform: translateY(-2px); }
.footer__news button svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; }
.footer__bottom a { color: var(--on-dark); }
.footer__bottom a:hover { color: var(--brand); }

/* =========================================================================
   UI FLUTUANTE — WhatsApp, back-to-top, cookies
   ========================================================================= */
.fab { position: fixed; right: 22px; z-index: 90; border: none; cursor: pointer; display: grid; place-items: center; border-radius: 50%; box-shadow: var(--shadow); transition: transform .3s var(--ease), opacity .3s; }
.fab-wa { bottom: 24px; width: 58px; height: 58px; background: #25d366; color: #fff; }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa:hover { transform: scale(1.08); }
.fab-top { bottom: 92px; width: 46px; height: 46px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(12px); }
.fab-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.fab-top svg { width: 22px; height: 22px; }

/* Cookies */
.cookie {
  position: fixed; left: 16px; right: auto; bottom: 16px; z-index: 95;
  width: min(420px, calc(100vw - 32px));
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); padding: 22px 24px;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.cookie.is-in { transform: translateY(0); }
.cookie h4 { font-size: 1rem; margin-bottom: 8px; }
.cookie p { font-size: .86rem; color: var(--muted); margin: 0 0 16px; }
.cookie p a { color: var(--brand); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; }
.cookie__actions .btn { --pad-y: 10px; font-size: .85rem; }

/* Modal de vídeo */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 24px; background: rgba(5,20,19,.78); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .3s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { width: min(900px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transform: scale(.96); transition: transform .3s var(--ease); }
.modal.is-open .modal__box { transform: scale(1); }
.modal__box iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.modal__close:hover { background: rgba(255,255,255,.26); }

/* =========================================================================
   REVEAL ON SCROLL
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* =========================================================================
   PÁGINAS DE TEXTO (privacidade, termos…)
   ========================================================================= */
.page-hero { padding: calc(var(--header-h) + 80px) 0 60px; background: linear-gradient(135deg, var(--ink), var(--ink-2)); color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 3vw, 3rem); }
.page-hero p { color: var(--on-dark-mut); margin-top: 14px; }
.prose { max-width: 760px; margin: 0 auto; padding: 70px 24px 100px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.prose p { color: var(--muted); margin: 0 0 16px; }
.prose ul { color: var(--muted); padding-left: 20px; }

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 980px) {
  .cards, .cases__grid { grid-template-columns: 1fr; }
  .mission__grid, .quote__grid, .solution__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .mission__art { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 6px;
    background: #fff; padding: calc(var(--header-h) + 20px) 22px 30px;
    box-shadow: -20px 0 50px -20px rgba(0,0,0,.4);
    transform: translateX(100%); transition: transform .4s var(--ease);
    margin: 0; overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav__link { color: var(--text); padding: 14px 12px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__caret { margin-left: auto; }
  .nav__dd { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; border: none; padding: 0 0 0 12px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
  .nav__item--has-dd.is-open .nav__dd { max-height: 320px; }
  .nav__cta { margin: 14px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { justify-content: flex-start; }
  .hero__card { padding: 32px 26px; }
}
