/* ==========================================================
   Porto Brasil — estilos
   Identidade: amarelo #FDE500 · azul royal #1C2D7D · laranja #E3761B
   Mobile-first · sem bibliotecas · fonte auto-hospedada
   ========================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Marca */
  --yellow: #FDE500;
  --yellow-l: #FFF7B3;
  --yellow-ll: #FFFBDF;
  --navy: #1C2D7D;
  --navy-d: #142162;
  --navy-dd: #0B1440;
  --orange: #E3761B;       /* gráficos e detalhes */
  --orange-t: #A84F0A;     /* laranja para texto (contraste AA) */
  --wa: #12853F;           /* botão flutuante do WhatsApp */
  /* Neutros */
  --white: #FFFFFF;
  --gray: #F5F6FA;
  --line: #E3E6EF;
  --text: #1A2240;
  --muted: #4F5873;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 98, .06), 0 8px 24px rgba(20, 33, 98, .07);
  --shadow-h: 0 2px 4px rgba(20, 33, 98, .06), 0 18px 40px rgba(20, 33, 98, .14);
  --header-h: 72px;
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: .95rem; letter-spacing: .01em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
/* CTA principal (WhatsApp): azul da marca com ícone amarelo */
.btn-wa { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(28, 45, 125, .28); }
.btn-wa .ico { color: var(--yellow); }
.btn-wa:hover { background: var(--navy-d); box-shadow: 0 12px 28px rgba(28, 45, 125, .36); }
/* CTA sobre fundos escuros */
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.btn-yellow:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .82rem; }
.btn-lg { min-height: 54px; padding: .9em 1.6em; font-size: 1rem; }
.btn-xl { min-height: 60px; padding: 1em 2em; font-size: 1.05rem; }

/* ---------------- Cabeçalho ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(20, 33, 98, .07); }
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand img { height: 50px; width: auto; }

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  height: 46px; padding: 0 16px 0 14px;
  background: var(--navy); color: #fff; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(28, 45, 125, .3);
  transition: background-color .2s ease;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--navy-d); }
.menu-toggle .bars { display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 20px; }
.menu-toggle .bars span { display: block; height: 2.5px; background: var(--yellow); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: #fff; border-bottom: 4px solid var(--yellow);
  padding: 8px 20px 22px;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 18px 30px rgba(20, 33, 98, .12);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.main-nav ul { display: grid; }
.main-nav a:not(.btn) {
  display: block; padding: 14px 4px; font-weight: 700; text-decoration: none; color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.nav-cta-mobile { width: 100%; margin-top: 16px; }

/* ---------------- Hero (foto de fundo) ---------------- */
.hero { position: relative; overflow: hidden; background: #fff; padding: 0 0 52px; }
.hero-bg { position: relative; display: block; }
.hero-bg img {
  display: block; width: 100%; height: clamp(250px, 72vw, 520px);
  object-fit: cover; object-position: 55% 8%;
}
/* faixas da marca + transição suave da foto para o texto (celular) */
.hero-bg::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; z-index: 1;
  background: linear-gradient(var(--navy) 0 4px, var(--yellow) 4px 7px, var(--orange) 7px 10px);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(255,255,255,.85) 88%, #fff 100%);
}
.hero-inner { position: relative; z-index: 1; margin-top: -44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 16px;
  background: var(--navy); border-radius: 999px;
  font-size: .8rem; font-weight: 700; color: #fff;
  box-shadow: 0 6px 16px rgba(20, 33, 98, .2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(253, 229, 0, .28); }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.7rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .45em; }
.hl {
  background: linear-gradient(transparent 62%, rgba(253, 229, 0, .95) 62%, rgba(253, 229, 0, .95) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: 1.06rem; color: #2A356E; max-width: 560px; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 26px; }
.hero .btn-ghost { background: rgba(255, 255, 255, .7); }
.hero .btn-ghost:hover { background: var(--navy); color: var(--yellow); }
.trust-list { display: grid; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--navy); }
.trust-list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--navy); color: var(--yellow); }

/* ---------------- Seções ---------------- */
.section { padding: 68px 0; }
.section-alt { background: var(--gray); }
.section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 5.5vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-t);
}
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--orange); }
.section-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; text-align: center; }
.muted { color: var(--muted); font-size: .92rem; margin: 0; }

.grid { display: grid; gap: 18px; }

/* Cards de serviços */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 4px; border-radius: 0 0 4px 4px;
  background: var(--yellow); transform: scaleX(0); transition: transform .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: #F3E58A; }
.card:hover::before { transform: scaleX(1); }
.service-card { display: flex; flex-direction: column; }
.service-card h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.icon-tile {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; background: var(--yellow-l); color: var(--navy);
  transition: background-color .25s ease, color .25s ease;
}
.icon-tile svg { width: 30px; height: 30px; }
.card:hover .icon-tile { background: var(--navy); color: var(--yellow); }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  min-height: 44px; font-weight: 800; color: var(--navy); text-decoration: none;
}
.card-link .ico { color: var(--orange); transition: transform .2s ease; }
.card-link:hover .ico { transform: translateX(4px); }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); } /* card inteiro clicável */

/* Sobre */
.about-grid { display: grid; gap: 36px; align-items: center; }
.logo-card {
  position: relative; overflow: hidden;
  background: var(--yellow); border-radius: 28px; padding: 28px 22px; box-shadow: var(--shadow-h);
}
.logo-card img { position: relative; z-index: 1; width: 100%; max-width: 460px; margin: 0 auto; }
.about-copy h2 { font-size: clamp(1.7rem, 5.5vw, 2.4rem); font-weight: 800; }
.about-copy p { color: var(--muted); }
.about-copy .about-strong { color: var(--navy); font-weight: 700; margin-bottom: 24px; }

/* Diferenciais */
.feature { padding: 26px; border-radius: var(--radius); background: var(--gray); border: 1px solid transparent; transition: border-color .25s ease, background-color .25s ease; }
.feature:hover { background: #fff; border-color: var(--line); }
.feature h3 { font-size: 1.08rem; margin: 16px 0 6px; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
.icon-round { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); }
.icon-round svg { width: 26px; height: 26px; }

/* Ambientes */
.env-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.env {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 24px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.3;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.env:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #F3E58A; }
.env svg { width: 34px; height: 34px; color: var(--orange); }
.service-area {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; max-width: 100%;
  margin: 28px auto 0; padding: 12px 22px; border-radius: 999px;
  background: var(--yellow); color: var(--navy); font-size: 1.02rem; box-shadow: var(--shadow);
}
.service-area .ico { width: 22px; height: 22px; color: var(--navy); }
.service-area .nw { white-space: nowrap; }
@media (max-width: 420px) { .service-area { font-size: .92rem; padding: 12px 18px; gap: 8px; } }

/* Vídeos (YouTube com carregamento sob demanda) */
.video-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; }
.video-grid.is-single { max-width: 820px; margin-inline: auto; grid-template-columns: 1fr; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s ease, transform .25s ease; }
.video-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-dd); }
.video-grid.all-vertical { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 280px)); justify-content: center; }
.all-vertical .video-frame { aspect-ratio: 9 / 16; }
.video-grid.all-vertical.is-single { grid-template-columns: minmax(0, 340px); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .3s ease; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 64, 0) 50%, rgba(11, 20, 64, .45)); }
.video-play:hover img { transform: scale(1.04); filter: brightness(.9); }
.play-btn {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%;
  background: var(--yellow); color: var(--navy); box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .2s ease;
}
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover .play-btn, .video-play:focus-visible .play-btn { transform: translate(-50%, -50%) scale(1.08); }
.video-play:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.video-body { padding: 18px 22px 22px; }
.video-body h3 { font-size: 1.08rem; margin: 0 0 4px; }
.video-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.link-ext { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.link-ext .ico { width: 1.4em; height: 1.4em; color: #E62117; }
.link-ext[data-link-google] .ico { color: #4285F4; }

/* Depoimentos */
.testi-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.testi {
  position: relative; display: flex; flex-direction: column; margin: 0;
  padding: 28px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.testi[hidden] { display: none; }
.testi-q { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; color: var(--yellow); }
.stars { display: flex; gap: 2px; margin-bottom: 12px; }
.stars svg { width: 18px; height: 18px; }
.stars .on { color: #F5A70B; }
.stars .off { color: #D7DBE6; }
.testi blockquote { margin: 0 0 20px; flex: 1; }
.testi blockquote p { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.7; padding-right: 30px; }
.testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: 1.1rem; }
.who { display: flex; flex-direction: column; line-height: 1.3; }
.who strong { color: var(--navy); }
.who small { color: var(--muted); font-size: .85rem; }

/* Como funciona */
.steps { display: grid; gap: 18px; }
.step { position: relative; padding: 30px 26px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden; }
.step-num { position: absolute; top: 8px; right: 18px; font-size: 3.8rem; font-weight: 800; line-height: 1; color: var(--yellow-l); letter-spacing: -.04em; }
.step-ico { position: relative; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow); color: var(--navy); }
.step-ico svg { width: 26px; height: 26px; }
.step h3 { position: relative; font-size: 1.15rem; margin: 18px 0 6px; }
.step p { position: relative; color: var(--muted); margin: 0; font-size: .96rem; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item[open] { border-color: #EAD64B; box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none; border-radius: var(--radius-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; }
.faq-icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); transition: background-color .2s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--navy); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--navy); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--yellow); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { padding: 0 20px 18px; color: var(--muted); }
.faq-body p { margin: 0; }

/* CTA final */
.cta-final {
  position: relative; overflow: hidden; padding: 84px 0; color: #fff; text-align: center;
  background: radial-gradient(700px 320px at 85% 0%, rgba(253, 229, 0, .16), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-d));
}
.cta-final::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px; background: var(--yellow);
}
.cta-final::after {
  content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -220px;
  border-radius: 50%; border: 60px solid rgba(253, 229, 0, .07);
}
.cta-inner { position: relative; z-index: 1; max-width: 760px; }
.cta-final h2 { color: #fff; font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 800; }
.cta-final h2 span { color: var(--yellow); }
.cta-final p { color: #D3DAF5; font-size: 1.08rem; margin-bottom: 28px; }
.cta-final .cta-phone { margin: 18px 0 0; font-size: .95rem; }
.cta-phone a { color: var(--yellow); font-weight: 700; }

/* Rodapé */
.site-footer { background: var(--navy-dd); color: #B8C1E6; padding: 56px 0 96px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { margin: 14px 0 0; }
.footer-title { color: var(--yellow); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 6px; }
.site-footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.footer-wa .ico { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp flutuante (verde do WhatsApp para reconhecimento imediato) */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; min-width: 58px; padding: 0 15px;
  background: var(--wa); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float:hover { transform: scale(1.05); box-shadow: 0 14px 32px rgba(0, 0, 0, .28); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1;
  animation: pulse 2.6s ease-out infinite;
}
.wa-float-label { display: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

/* Animação de entrada (só se JS ativo e movimento permitido) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------- Páginas internas ---------------- */
.page { padding: 56px 0 80px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 800; }
.page h2 { font-size: 1.25rem; margin-top: 1.8em; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-weight: 700; color: var(--navy); text-decoration: none; }

/* ================== Breakpoints ================== */
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .services-grid, .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .env-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header-cta { display: inline-flex; }
  .wa-float-label { display: inline; }
  .wa-float { padding: 0 20px 0 16px; }
  .logo-card { padding: 44px 40px; }
}

@media (min-width: 900px) {
  :root { --header-h: 80px; }
  .container { padding-inline: 28px; }
  .brand img { height: 56px; }
  .menu-toggle { display: none; }
  .main-nav {
    position: static; inset: auto; padding: 0; background: none; border: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible; transition: none;
  }
  .main-nav ul { display: flex; gap: 2px; }
  .main-nav a:not(.btn) {
    position: relative; padding: 8px 11px; border: 0; font-size: .94rem; border-radius: 8px; color: var(--text); font-weight: 600;
  }
  .main-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px; border-radius: 2px;
    background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
  }
  .main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
  .main-nav a.is-active { color: var(--navy); }
  .nav-cta-mobile { display: none; }
  .brand { margin-right: 0; }
  .main-nav { margin-left: auto; }

  .section { padding: 96px 0; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .features-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .env-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .steps .step:not(:last-child)::after {
    content: ""; position: absolute; top: 56px; right: -24px; width: 26px; border-top: 2px dashed var(--orange);
  }
  .steps .step { overflow: visible; }
  .cta-final { padding: 110px 0; }
  .footer-grid { grid-template-columns: 2fr 1fr 1.3fr; }
  .site-footer { padding-bottom: 40px; }
}

/* ---------- Telas muito estreitas (≤ 380px: iPhone SE, Androids compactos) ---------- */
@media (max-width: 380px) {
  .container { padding-inline: 16px; }
  .brand img { height: 42px; }
  .menu-toggle { height: 42px; padding: 0 13px 0 12px; font-size: .78rem; gap: 7px; }
  .hero h1 { font-size: 1.95rem; }
  .eyebrow { font-size: .75rem; padding: 5px 12px; }
  .lead { font-size: 1rem; }
  .btn-lg { font-size: .9rem; padding: .85em 1.1em; }
  .btn-xl { font-size: .92rem; padding: .95em 1.2em; }
  .env-grid { gap: 12px; }
  .env { padding: 18px 8px; font-size: .88rem; }
  .card, .feature, .step { padding: 22px 20px; }
}

/* ---------- Tablet (560–899px): CTA do cabeçalho vira ícone para caber o menu ---------- */
@media (min-width: 560px) and (max-width: 899px) {
  .header-cta span { display: none; }
  .header-cta { width: 46px; height: 46px; min-height: 46px; padding: 0; }
  .header-cta .ico { width: 22px; height: 22px; }
  .about-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { padding: 24px 18px; }
}

/* ---------- Desktop médio: menu mais compacto ---------- */
@media (min-width: 900px) and (max-width: 1100px) {
  .main-nav a:not(.btn) { padding: 8px 8px; font-size: .88rem; }
  .header-cta { font-size: .76rem; padding: .55em .9em; }
  .brand img { height: 48px; }
}

/* ---------- Telas grandes ---------- */
@media (min-width: 1440px) {
  .container { max-width: 1280px; }
  .hero h1 { font-size: 4.1rem; }
}

/* ---------- Celular deitado / telas baixas ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --header-h: 60px; }
  .brand img { height: 40px; }
  .wa-float { height: 50px; min-width: 50px; bottom: 12px; right: 12px; }
  .main-nav ul { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .main-nav a:not(.btn) { padding: 10px 4px; }
  .nav-cta-mobile { margin-top: 10px; min-height: 44px; }
}

/* ---------- Hero no computador: foto ocupa o fundo inteiro ---------- */
@media (min-width: 900px) {
  .hero {
    display: flex; align-items: center;
    min-height: clamp(580px, calc(100vh - var(--header-h)), 760px);
    padding: 64px 0 72px;
  }
  .hero-bg { position: absolute; inset: 0; }
  .hero-bg img { height: 100%; object-position: 72% 50%; }
  .hero-bg::before { display: none; }
  .hero-bg::after {
    background: linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.82) 34%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 62%);
  }
  .hero-inner { margin-top: 0; width: 100%; }
  .hero-copy { max-width: 540px; }
  .hero h1 { font-size: clamp(2.8rem, 4.4vw, 4rem); }
}
@media (min-width: 900px) and (max-width: 1150px) {
  .hero-copy { max-width: 470px; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 42%, rgba(255,255,255,.4) 58%, rgba(255,255,255,0) 70%); }
}
/* celular deitado: foto como fundo também, com véu mais forte */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { padding: 28px 0 40px; }
  .hero-bg { position: absolute; inset: 0; }
  .hero-bg img { height: 100%; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.3) 80%); }
  .hero-inner { margin-top: 0; }
  .hero-copy { max-width: 58%; }
  .hero h1 { font-size: 2rem; }
  .lead { font-size: .95rem; }
  .hero-actions { flex-direction: row; margin: 18px 0; }
  .trust-list { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
