/* =========================================================
   EUSEC — estilos do site
   Uma única fonte (Inter) e uma escala fixa de tamanhos.
   Use sempre os tokens --fs-* e --fw-*; não crie tamanhos avulsos.
   ========================================================= */
:root {
  /* Cores */
  --navy-950: #061426;
  --navy-900: #0a1d33;
  --navy-800: #102b49;
  --orange-500: #ff8201;   /* laranja do logotipo: fundos e destaques */
  --orange-400: #ff9a33;
  --orange-text: #a84f00;  /* laranja para texto sobre fundo claro */
  --orange-light: #ffa94d; /* laranja para texto sobre fundo escuro */
  --orange-100: #fff4e8;
  --ink: #152238;
  --muted: #5c6878;
  --line: #e3e9ef;
  --surface: #f6f8fa;
  --white: #fff;

  /* Tipografia: 7 tamanhos, 4 pesos */
  --font: Inter, "Segoe UI", Arial, sans-serif;
  --fs-xs: .75rem;                                   /* rótulos, etiquetas */
  --fs-sm: .875rem;                                  /* textos de apoio, cards, rodapé */
  --fs-base: 1rem;                                   /* texto padrão, botões */
  --fs-lg: 1.125rem;                                 /* parágrafo de abertura */
  --fs-h3: 1.25rem;                                  /* títulos de card */
  --fs-h2: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);   /* títulos de seção */
  --fs-h1: clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);   /* título principal da página */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Formas e espaços */
  --radius: 12px;
  --radius-lg: 16px;
  --container: min(1160px, calc(100% - 40px));
  --section: 64px;      /* espaço vertical padrão de cada seção */
  --section-sm: 44px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); font-size: var(--fs-base); font-weight: var(--fw-regular); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--orange-500); outline-offset: 3px; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; padding: 10px 16px; background: var(--white); color: var(--navy-950); border-radius: 8px; }
.skip-link:focus { top: 16px; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { margin: 0; color: var(--navy-950); font-weight: var(--fw-bold); letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
/* Itens de grade podem encolher (evita rolagem lateral no celular) */
.split > *, .service-group > *, .calc > *, .app-layout > *, .faq-layout > *, .contact-layout > * { min-width: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.1; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: var(--fw-semibold); letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: var(--fs-lg); line-height: 1.65; }
.eyebrow { display: block; margin: 0 0 12px; color: var(--orange-text); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; text-transform: uppercase; }
.eyebrow-light { color: var(--orange-light); }
p, li, figcaption, summary, small { text-wrap: pretty; } /* sem viúvas */
.nowrap { white-space: nowrap; }
h2 + .lead, h2 + p, .drone-panel h2 + .lead { margin-top: 16px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; z-index: 100; top: 0; background: var(--navy-950); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; min-height: 72px; gap: 32px; }
.brand { display: inline-flex; align-items: center; margin-right: auto; }
/* Logotipo oficial: só altura definida, largura automática (nunca distorce) */
.brand img { display: block; width: auto; height: 54px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #c9d5e1; font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { position: relative; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; height: 2px; left: 0; right: 0; bottom: -8px; background: var(--orange-500); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: currentColor; transition: .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Botões e links ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 10px; background: var(--orange-500); color: var(--navy-950); font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: 1.2; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.button:hover { background: var(--orange-400); }
.button-sm { min-height: 40px; padding-inline: 16px; font-size: var(--fs-sm); }
.button-outline { border-color: rgba(255,255,255,.35); background: transparent; color: var(--white); }
.button-outline:hover { background: rgba(255,255,255,.08); }
.button-dark { background: var(--navy-950); color: var(--white); }
.button-dark:hover { background: var(--navy-800); }
.arrow { transition: transform .15s; }
.button:hover .arrow, .text-link:hover .arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--navy-900); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.text-link:hover { color: var(--orange-text); }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---------- Seções ---------- */
.section { padding: var(--section) 0; }
.section-sm { padding: var(--section-sm) 0; }
/* Duas seções brancas seguidas não somam os dois espaços */
.section:not(.section-surface) + .section-sm:not(.section-surface),
.section-sm:not(.section-surface) + .section-sm:not(.section-surface) { padding-top: 0; }
.section-surface { background: var(--surface); }
/* Título e subtítulo empilhados: título largo, subtítulo logo abaixo */
.section-heading { display: grid; gap: 14px; margin-bottom: 36px; }
.section-heading h2 { max-width: none; text-wrap: pretty; }
.section-heading > .lead { max-width: 860px; }
.section-heading p { margin: 0; }
.section-heading.center { display: block; max-width: 700px; margin: 0 auto 48px; text-align: center; }
.section-heading.center .lead { margin-top: 16px; }

/* ---------- Hero da home ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: 600px; overflow: hidden; background: linear-gradient(180deg, #062a5c 0%, #011433 100%); color: var(--white); isolation: isolate; }
/* A foto fica à direita e se funde com o azul do fundo, para não ficar atrás do texto */
.hero-image { position: absolute; z-index: -1; top: 0; right: 0; width: 72%; height: 100%; object-fit: cover; object-position: right 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%); mask-image: linear-gradient(90deg, transparent 0%, #000 26%); }
.hero-grid { padding: 72px 0; }
.hero-copy { max-width: 580px; }
.hero h1 { color: var(--white); }
.hero h1 span { color: var(--orange-500); }
.hero .lead { margin: 20px 0 32px; color: #d3deea; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; align-items: center; gap: 18px; max-width: 520px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-proof strong { flex: 0 0 auto; color: var(--orange-500); font-size: var(--fs-h2); font-weight: var(--fw-bold); line-height: 1; }
.hero-proof p { margin: 0; color: #c9d6e3; font-size: var(--fs-sm); }
.hero-proof a { display: inline-flex; align-items: center; gap: 6px; color: var(--white); font-weight: var(--fw-semibold); }
.hero-proof a:hover { color: var(--orange-light); }

/* Faixa de diferenciais */
.trust-strip { border-bottom: 1px solid var(--line); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; padding: 22px 0; list-style: none; }
.trust-list li { display: flex; align-items: center; gap: 10px; padding: 0 20px; border-right: 1px solid var(--line); color: #34445a; font-size: var(--fs-sm); font-weight: var(--fw-medium); }
.trust-list li:first-child { padding-left: 0; }
.trust-list li:last-child { border: 0; padding-right: 0; }
.trust-list i { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); }

/* ---------- Cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .15s; }
.pillar:hover { border-color: #c9d4de; }
.pillar-number { color: var(--orange-text); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; }
.pillar h3 { margin: 20px 0 10px; }
.pillar p { color: var(--muted); font-size: var(--fs-sm); }
.pillar ul { margin: 0 0 24px; padding: 0; list-style: none; }
.pillar li { position: relative; margin: 6px 0; padding-left: 16px; color: #405066; font-size: var(--fs-sm); }
.pillar li::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--orange-500); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.media-card { position: relative; min-height: 520px; margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(4,16,31,.75)); }
.media-caption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; color: var(--white); }
.media-caption strong { max-width: 280px; font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: 1.35; }
.media-caption span { color: var(--orange-light); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; }

.feature-list { display: grid; gap: 20px; margin: 28px 0 32px; }
.feature { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.feature-badge { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: var(--orange-100); color: var(--orange-text); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.feature h3 { font-size: var(--fs-base); }
.feature p { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* Aplicativo EUSEC */
.app-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.app-copy .lead { margin-top: 16px; }
.app-features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 28px 0 18px; padding: 0; list-style: none; }
.app-features li { padding-left: 14px; border-left: 2px solid var(--orange-500); }
.app-features strong { display: block; color: var(--navy-950); font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: 1.35; }
.app-features span { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-sm); }
.app-note { margin: 0 0 24px; color: var(--muted); font-size: var(--fs-sm); }
.app-phones { display: flex; justify-content: center; align-items: center; }
.phone { flex: 0 0 auto; width: 31%; margin: 0; overflow: hidden; aspect-ratio: 600 / 1297; border: 7px solid #0b1626; border-radius: 28px; background: var(--white); box-shadow: 0 18px 40px rgba(6,20,38,.16); }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-side { transform: scale(.88); opacity: .96; }
.phone-main { position: relative; z-index: 1; width: 37%; margin: 0 -5%; }
.app-video { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; margin-top: 48px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.app-video h3 { margin-bottom: 8px; }
.app-video p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.app-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--navy-950); }

/* Fotos reais em campo */
.field-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.field-gallery figure { margin: 0; }
.field-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--surface); }
.field-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: var(--fs-sm); font-weight: var(--fw-medium); }

/* Etapas */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: steps; }
.step { counter-increment: steps; padding-top: 20px; border-top: 2px solid var(--line); }
.step-number { display: block; margin-bottom: 12px; color: var(--orange-text); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; }
.step-number::before { content: "ETAPA 0" counter(steps); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* Drone */
.drone-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.drone-panel img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); }
.drone-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.drone-tags span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: #34445a; font-size: var(--fs-xs); font-weight: var(--fw-medium); }

/* Segmentos */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.segment { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.segment span { display: block; margin-bottom: 16px; color: var(--orange-text); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; }
.segment p { margin: 8px 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* Perguntas frequentes */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq-layout .lead { margin: 16px 0 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: block; padding: 20px 40px 20px 0; color: var(--navy-950); font-size: var(--fs-base); font-weight: var(--fw-semibold); line-height: 1.45; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq-item summary:hover { color: var(--orange-text); }
.faq-item p { margin: -4px 0 20px; max-width: 640px; color: var(--muted); font-size: var(--fs-sm); }

/* Chamada final */
.cta-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(32px, 5vw, 56px); border: 1px solid var(--line); border-left: 4px solid var(--orange-500); border-radius: var(--radius-lg); background: var(--surface); }
.cta-panel h2 { max-width: 640px; }
.cta-panel p { max-width: 600px; margin: 12px 0 0; color: var(--muted); }

/* ---------- Topo das páginas internas ---------- */
.page-hero { padding: 56px 0 52px; background: var(--navy-950); color: var(--white); }
.page-hero .eyebrow { color: var(--orange-light); }
.page-hero h1 { max-width: 820px; color: var(--white); }
.page-hero .lead { max-width: 660px; margin: 18px 0 0; color: #c2d0dc; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; color: #93a7b9; font-size: var(--fs-xs); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--orange-light); }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Serviços ---------- */
.service-group { display: grid; grid-template-columns: .5fr 1fr; gap: 56px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.service-group:first-child { padding-top: 0; }
.service-group:last-child { border: 0; padding-bottom: 0; }
.service-group-title { position: sticky; top: 104px; align-self: start; }
.service-group-title small { display: block; color: var(--orange-text); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; }
.service-group-title h2 { margin: 12px 0 14px; }
.service-group-title .lead { font-size: var(--fs-base); }
.service-photo { margin: 24px 0 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--surface); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
.service-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.service-card.wide { grid-column: 1 / -1; }
.service-card-tag { color: var(--orange-text); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; text-transform: uppercase; }
.service-card h3 { margin: 16px 0 8px; }
.service-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.service-card strong { display: block; margin-top: 14px; color: var(--navy-900); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.service-card .text-link { margin-top: 14px; }
.service-card.highlight { border-color: #ffd4a8; background: var(--orange-100); }

/* ---------- A EUSEC ---------- */
.photo-mosaic { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 280px 280px; gap: 12px; }
.photo-mosaic figure { overflow: hidden; margin: 0; border-radius: var(--radius); }
.photo-mosaic figure:first-child { grid-row: 1 / 3; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.statements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.statement { padding: 24px; border-top: 2px solid var(--orange-500); background: var(--surface); }
.statement strong { display: block; color: var(--navy-950); font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.statement p { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 28px; }
.value { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.value strong { color: var(--navy-950); font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.value p { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Contato ---------- */
.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; align-items: start; }
.contact-aside { position: sticky; top: 104px; }
.contact-aside .lead { margin: 16px 0 28px; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-list small { display: block; color: var(--muted); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; }
.contact-list a, .contact-list strong { display: inline-block; margin-top: 2px; color: var(--navy-950); font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.contact-list a:hover { color: var(--orange-text); }
.contact-card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.contact-card > p { margin-top: 12px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label { color: #263950; font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #ccd6df; border-radius: 10px; background: var(--white); color: var(--ink); font-size: var(--fs-base); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #ffd2a3; border-color: var(--orange-500); }
.field input:user-invalid, .field select:user-invalid { border-color: #c2410c; }
.form-note { margin: 16px 0; color: var(--muted); font-size: var(--fs-xs); }
.form-note a { text-decoration: underline; }
.form-status { min-height: 24px; margin-top: 12px; color: var(--navy-800); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.form-status a { color: var(--orange-text); text-decoration: underline; }

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.calc-card { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.calc-field { padding: 20px 0; border-bottom: 1px solid var(--line); }
.calc-field:first-child { padding-top: 0; }
.calc-label { display: block; color: var(--navy-950); font-size: var(--fs-base); font-weight: var(--fw-semibold); }
.calc-hint { display: block; margin: 2px 0 12px; color: var(--muted); font-size: var(--fs-sm); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: var(--surface); }
.seg button { min-height: 44px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: #34445a; font-size: var(--fs-sm); font-weight: var(--fw-semibold); white-space: nowrap; cursor: pointer; transition: background .15s, color .15s; }
.seg button:hover { background: #eaeff4; }
.seg button[aria-pressed="true"] { background: var(--navy-950); color: var(--white); }
.money { display: flex; align-items: center; gap: 8px; max-width: 220px; padding: 0 14px; border: 1px solid #ccd6df; border-radius: 10px; background: var(--white); }
.money:focus-within { outline: 2px solid #ffd2a3; border-color: var(--orange-500); }
.money span { color: var(--muted); font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
.money input { width: 100%; min-height: 48px; border: 0; background: transparent; color: var(--ink); font-size: var(--fs-base); font-weight: var(--fw-semibold); outline: none; }
.calc input[type="range"] { width: 100%; margin-top: 14px; accent-color: var(--orange-500); }
.calc summary { padding: 16px 0 0; color: var(--navy-900); font-size: var(--fs-sm); font-weight: var(--fw-semibold); cursor: pointer; }
.calc summary:hover { color: var(--orange-text); }
.calc-adv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 14px; }
.calc-result { position: sticky; top: 100px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--navy-950); color: #c3d1dd; font-size: var(--fs-sm); }
.calc-result .k { margin: 0; color: var(--orange-light); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; text-transform: uppercase; }
.calc-big { margin: 10px 0 0; color: var(--white); font-size: var(--fs-h1); font-weight: var(--fw-bold); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-big small { margin-left: 6px; color: #8ea2b5; font-size: var(--fs-base); font-weight: var(--fw-medium); letter-spacing: 0; }
.calc-year { margin: 10px 0 0; }
.calc-year b, .calc-team b, .calc-insight b { color: var(--white); font-weight: var(--fw-semibold); }
.calc-team { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid #1d3550; }
.calc-bar { display: flex; height: 8px; margin: 20px 0 14px; overflow: hidden; border-radius: 99px; background: #1d3550; }
.calc-bar i { display: block; height: 100%; transition: width .3s; }
.calc-bar .s, .calc-legend .s { background: var(--orange-500); }
.calc-bar .e, .calc-legend .e { background: #c96b10; }
.calc-bar .b, .calc-legend .b { background: #5d7690; }
.calc-legend { display: grid; gap: 6px; }
.calc-legend div { display: flex; align-items: center; gap: 8px; }
.calc-legend em { width: 8px; height: 8px; border-radius: 2px; }
.calc-legend span { margin-left: auto; color: var(--white); font-weight: var(--fw-semibold); font-variant-numeric: tabular-nums; }
.calc-insight { margin: 20px 0 0; padding: 14px 16px; border-left: 3px solid var(--orange-500); border-radius: 0 10px 10px 0; background: rgba(255,130,1,.08); }
.calc-result .button { width: 100%; margin-top: 22px; }
.calc-fine { margin: 12px 0 0; color: #8ea2b5; font-size: var(--fs-xs); text-align: center; }
.calc-method { max-width: 820px; margin-top: 40px; }
.calc-method ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); font-size: var(--fs-sm); }
.calc-method li { margin: 8px 0; }
.calc-method b { color: var(--ink); font-weight: var(--fw-semibold); }

/* ---------- Texto corrido (privacidade) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 12px; font-size: var(--fs-h3); }
.prose p, .prose li { color: var(--muted); }
.prose a { color: var(--navy-800); text-decoration: underline; }
.prose a.button { color: var(--white); text-decoration: none; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 52px 0 24px; background: var(--navy-950); color: #a9b9c7; font-size: var(--fs-sm); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .7fr .9fr; gap: 48px; padding-bottom: 40px; }
.footer-brand p { max-width: 320px; margin-top: 16px; }
.footer-brand .brand img { height: 112px; }
.brand-404 { margin-bottom: 40px; }
.brand.brand-404 img { height: 120px; }
.page-hero .hero-actions { margin-top: 28px; }
.footer-column h2 { color: var(--white); font-size: var(--fs-xs); font-weight: var(--fw-semibold); letter-spacing: .1em; text-transform: uppercase; }
.footer-column ul { margin: 16px 0 0; padding: 0; list-style: none; }
.footer-column li { margin: 8px 0; }
.footer-column a:hover, .footer-bottom a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid #1a2c3e; font-size: var(--fs-xs); }

.whatsapp-float { position: fixed; z-index: 90; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1a8f4c; color: var(--white); box-shadow: 0 8px 24px rgba(8,77,38,.25); font-size: var(--fs-sm); font-weight: var(--fw-semibold); transition: background .15s; }
.whatsapp-float svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.whatsapp-float:hover { background: #167a41; }

/* Serviços: até 1100px o título do grupo fica acima dos cards (coluna lateral ficaria estreita demais) */
@media (max-width: 1100px) {
  .service-group { grid-template-columns: 1fr; gap: 28px; }
  .service-group-title { position: static; }
  .service-photo { aspect-ratio: 16 / 9; }
}

/* Notebook pequeno: foto um pouco mais estreita e texto mais compacto */
@media (max-width: 1280px) and (min-width: 981px) {
  .hero-image { width: 58%; }
  .hero-copy { max-width: 520px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  :root { --section: 56px; --section-sm: 40px; }
  .nav { min-height: 64px; }
  .menu-toggle { display: block; }
  .nav > .button { display: none; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 0; padding: 8px 20px 20px; background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.08); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 4px; font-size: var(--fs-base); }
  .nav-links a[aria-current="page"] { color: var(--orange-light); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .nav-cta { margin-top: 8px; justify-content: center; border-radius: 10px; background: var(--orange-500); color: var(--navy-950); font-weight: var(--fw-semibold); }
  /* Tablet e celular: a foto vai abaixo do texto, para a equipe aparecer inteira */
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-image { position: static; order: 2; width: 100%; height: auto; aspect-ratio: 16 / 9; object-position: 80% 40%; -webkit-mask-image: none; mask-image: none; }
  .hero-grid { padding: 52px 0 32px; }
  .trust-list { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .trust-list li:nth-child(2) { border-right: 0; }
  .trust-list li:nth-child(3) { padding-left: 0; }
  .pillars, .statements { grid-template-columns: 1fr; }
  .segments { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .drone-panel { grid-template-columns: 1fr; }
  .service-group { grid-template-columns: 1fr; gap: 28px; }
  .service-group-title { position: static; }
  .service-photo { aspect-ratio: 16 / 9; }
  .faq-layout, .calc { grid-template-columns: 1fr; }
  .app-layout, .app-video { grid-template-columns: 1fr; }
  .app-phones { max-width: 560px; margin: 0 auto; }
  .calc-result { position: static; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 981px) { .nav-links .nav-cta { display: none; } }

/* ---------- Celular ---------- */
@media (max-width: 720px) {
  :root { --container: calc(100% - 32px); --section: 48px; --section-sm: 36px; }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { margin-bottom: 32px; }
  .hero-image { aspect-ratio: 4 / 3; object-position: 78% 40%; }
  .hero-grid { padding: 40px 0 28px; }
  .hero-proof { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { margin-top: 28px; }
  .trust-list { padding: 18px 0; }
  .trust-list li { padding: 0 8px 0 0; border-right: 0; font-size: var(--fs-xs); }
  .media-card { min-height: 420px; }
  .field-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .app-features { grid-template-columns: 1fr; gap: 14px; }
  .phone { border-width: 5px; border-radius: 20px; }
  .app-video { gap: 20px; }
  .segments, .steps, .service-grid, .values, .form-grid, .calc-adv { grid-template-columns: 1fr; }
  .service-card.wide, .field.full { grid-column: auto; }
  .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 180px; }
  .photo-mosaic figure:first-child { grid-column: 1 / -1; grid-row: auto; }
  .contact-aside { position: static; }
  .cta-panel { grid-template-columns: 1fr; gap: 24px; }
  .cta-panel .button, .drone-panel .button { width: 100%; padding-inline: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-column:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; padding-bottom: 64px; }
  .brand img { height: 44px; }
  .footer-brand .brand img { height: 96px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* Celulares bem estreitos (320 a 360px) */
@media (max-width: 360px) {
  :root { --fs-h1: 1.75rem; --fs-h2: 1.5rem; }
  .seg button { white-space: normal; font-size: var(--fs-xs); }
}

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

/* Cliques em ícones e textos dentro dos links de WhatsApp contam como clique no próprio link (Tag Manager) */
a[href^="https://wa.me/"] * { pointer-events: none; }
