/* Ártico Engenharia Térmica */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Marca: azuis do logo "A", azul-noite e o gelo das capas da Ártico */
  --night: #050f22;
  --navy: #081a36;
  --navy-2: #0d2549;
  --blue: #0861c8;
  --blue-hover: #0750a6;
  --sky: #38b6ff;
  --ice: #eaf4fc;
  --ice-2: #d7eaf9;
  --ink: #0d1626;
  --muted: #4c5a6e;
  --white: #ffffff;
  --line: #d9e4ef;
  --line-dark: rgba(56, 182, 255, 0.18);
  --green: #137a3e;
  --green-hover: #106033;

  --font: "Archivo", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(13, 22, 38, 0.06), 0 12px 28px -16px rgba(13, 22, 38, 0.22);
  --shadow-up: 0 2px 4px rgba(13, 22, 38, 0.07), 0 22px 44px -20px rgba(13, 22, 38, 0.32);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--sky); color: var(--night); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 { line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 4vw + 1rem, 4.4rem); letter-spacing: -0.035em; font-stretch: 104%; }
h2 { font-size: clamp(1.9rem, 2vw + 1rem, 3rem); letter-spacing: -0.03em; font-stretch: 104%; }
h3 { font-size: 1.22rem; letter-spacing: -0.012em; line-height: 1.2; }
.mt { margin-top: 28px; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.note { font-size: 0.95rem; color: var(--muted); margin-top: 1.6em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(800px + var(--gutter) * 2); }
.section, .hero, .trust { padding-inline: var(--gutter); }
.section > .wrap, .hero > .wrap, .trust > .wrap { padding-inline: 0; max-width: var(--wrap); }
.section > .wrap.narrow { max-width: 800px; }

.section { padding-block: clamp(72px, 9vw, 120px); background: var(--white); }
.section--white { background: var(--white); }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: #d5e2f1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p, .section--navy .lead { color: #b6c8dc; }
.section--navy a:not(.btn) { color: #fff; }
.section-head { max-width: 800px; margin-bottom: clamp(36px, 4vw, 56px); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease-out, border-color 0.18s ease-out, transform 0.18s ease-out;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }
.btn--action { background: var(--green); border-color: var(--green); }
.btn--action:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn--line { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--line:hover { background: var(--ice); border-color: var(--blue); }
.hero .btn--line { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero .btn--line:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; }
.btn--ice { background: var(--sky); border-color: var(--sky); color: var(--night); }
.btn--ice:hover { background: #6cc9ff; border-color: #6cc9ff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.18s ease-out; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--sky); }
main p a:not(.btn):not(.link-arrow) { color: var(--blue); text-underline-offset: 3px; }
.section--navy p a:not(.btn):not(.link-arrow) { color: var(--sky); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 168px; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav a, .nav-toggle-sub {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; cursor: pointer;
  border-radius: 999px; color: var(--navy); font-size: 0.97rem; font-weight: 500; text-decoration: none; white-space: nowrap;
}
.main-nav a:hover, .nav-toggle-sub:hover { background: var(--ice); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.nav-toggle-sub svg { width: 16px; height: 16px; transition: transform 0.2s; }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 12px); left: 0; width: 350px; padding: 8px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-up);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s;
}
.has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .nav-toggle-sub svg { transform: rotate(180deg); }
.submenu a { display: block; width: 100%; padding: 10px 14px; border-radius: var(--r-sm); white-space: normal; }
.submenu small { display: block; color: var(--muted); font-size: 0.84rem; font-weight: 400; }
.header-phone { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--navy); text-decoration: none; }
.header-phone:hover { color: var(--blue); }
.header-cta { flex: none; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--navy); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-menu { display: none; }
.menu-open .menu-btn .i-close { display: block; }

/* Topo da home */
.hero { position: relative; background: var(--night); color: #d5e2f1; overflow: hidden; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--night) 0%, rgba(5, 15, 34, 0.7) 26%, rgba(5, 15, 34, 0.15) 62%, rgba(5, 15, 34, 0.35) 100%);
}
.hero .hero-grid {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px;
  padding-block: clamp(64px, 8vw, 120px) clamp(56px, 7vw, 96px);
}
.hero-text { max-width: 740px; }
.hero h1 { color: #fff; }
/* Título da home é longo (palavra-chave completa): um pouco menor para caber no celular */
.hero:not(.hero--page) .hero-text h1 { font-size: clamp(2rem, 3.2vw + 1rem, 3.9rem); }
.hero .lead { color: #b6c8dc; margin-bottom: 32px; font-size: 1.2rem; }
.hero-mascot {
  width: clamp(160px, 15vw, 230px); justify-self: end; align-self: end;
  margin-bottom: calc(-1 * clamp(56px, 7vw, 96px));
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.5));
}

.quick-form {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; gap: 10px; align-items: end;
  background: var(--white); padding: 12px; border-radius: 22px; max-width: 760px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.qf-field { display: grid; gap: 4px; padding: 6px 10px 0; }
.qf-field label { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.qf-field select { min-height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ice); color: var(--ink); width: 100%; }
.qf-field select:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.quick-form .btn { min-height: 60px; border-radius: 16px; }
.hero-note { font-size: 0.92rem; color: #8ea6c2; margin: 14px 0 0 6px; }

/* Barra de confiança, continuação do topo */
.trust { background: var(--night); border-top: 1px solid var(--line-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: grid; gap: 4px; padding: 28px 24px 30px; text-decoration: none; color: #8ea6c2; font-size: 0.93rem; line-height: 1.35; }
.trust-item + .trust-item { border-left: 1px solid var(--line-dark); }
.trust-item strong { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; font-stretch: 104%; }
a.trust-item:hover strong { color: var(--sky); }
.stars { display: inline-flex; gap: 1px; color: #f5b301; }
.stars svg { width: 16px; height: 16px; }

/* Topo das páginas internas */
.hero--page .hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 6vw, 88px); }
.hero--page .hero-text { max-width: none; }
.hero--page h1 { font-size: clamp(2.1rem, 2.8vw + 1rem, 3.4rem); max-width: 20ch; }
.hero--page .photo img { aspect-ratio: 4 / 4.5; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.hero--page .photo--plan img { aspect-ratio: auto; }
.hero--page .photo figcaption { color: #8ea6c2; }
.hero--page .hero-photo { max-width: 420px; justify-self: end; width: 100%; }
.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin: 26px 0 0; font-size: 0.95rem; color: #b6c8dc; }
.hero-facts a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-weight: 600; text-decoration: none; }
main .hero p.hero-facts a:not(.btn) { color: #fff; }
.hero-facts a:hover { text-decoration: underline; }
.hero--plain { padding-block: 56px 48px; }
.hero--plain h1 { color: #fff; margin-top: 14px; }
.hero--plain .lead { color: #b6c8dc; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; list-style: none; font-size: 0.9rem; color: #8ea6c2; margin-bottom: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: #d5e2f1; }
.breadcrumb a:hover { text-decoration: underline; }

/* Fotos */
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); background: var(--ice-2); }
.photo figcaption { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.section--navy .photo figcaption { color: #8ea6c2; }
.photo--land img { aspect-ratio: 3 / 2; }
.photo--banner img { aspect-ratio: 21 / 8; object-position: center 40%; }
.photo--banner { margin-bottom: 28px; }
.photo--square img { aspect-ratio: 1 / 1; }
.photo--plan img { aspect-ratio: auto; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.photo--plan-wide img { width: 100%; }

.gallery { display: grid; gap: 16px; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; }
.gallery .photo--tall { grid-row: span 2; display: flex; flex-direction: column; }
.gallery .photo--tall img { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
.gallery .photo--wide { grid-column: span 2; }
.gallery .photo:not(.photo--tall) img { aspect-ratio: 4 / 3; }
.gallery .photo.photo--wide:not(.photo--tall) img { aspect-ratio: 21 / 9; object-position: center 35%; }
.gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
.gallery--2 .photo img { aspect-ratio: 3 / 4; }

/* Serviços com foto */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  transition: box-shadow 0.22s ease-out, transform 0.22s ease-out;
}
.svc-card:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.svc-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--ice-2); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease-out; }
.svc-card:hover .svc-media img { transform: scale(1.04); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 22px; }
.svc-card h3 { margin-bottom: 8px; }
.svc-card h3 a { text-decoration: none; color: var(--navy); }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; }
.svc-card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.95rem; color: var(--blue); }
.svc-more svg { width: 17px; height: 17px; transition: transform 0.18s ease-out; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }
/* PMOC em destaque: ocupa duas colunas e duas linhas, texto sobre a foto */
.svc-card--lead { grid-column: span 2; grid-row: span 2; min-height: 480px; border: 0; background: var(--night); }
.svc-card--lead .svc-media { position: absolute; inset: 0; aspect-ratio: auto; }
.svc-card--lead .svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 15, 34, 0.95) 0%, rgba(5, 15, 34, 0.55) 45%, rgba(5, 15, 34, 0) 75%); }
.svc-card--lead .svc-body { position: relative; justify-content: flex-end; padding: clamp(24px, 3vw, 40px); max-width: 620px; }
.svc-card.svc-card--lead h3 { font-size: clamp(1.6rem, 1.4vw + 1rem, 2.2rem); letter-spacing: -0.025em; }
.svc-card.svc-card--lead h3, .svc-card.svc-card--lead h3 a { color: #fff; }
.svc-card.svc-card--lead p { color: #d5e2f1; font-size: 1.05rem; flex: 0; }
.svc-card.svc-card--lead .svc-more { color: var(--sky); margin-top: 0; }

/* Tecnologia (fundo escuro) */
.tech-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tech-grid article { display: flex; flex-direction: column; background: var(--navy-2); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 12px 12px 24px; }
.tech-grid .photo img { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.tech-grid .photo--plan img { object-fit: cover; object-position: left top; border: 0; }
.tech-grid .photo figcaption { padding-inline: 6px; }
.tech-grid h3 { margin: 16px 12px 6px; }
.tech-grid p { margin: 0 12px; }

/* Blocos */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.split--wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two-col > article { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow); }
.section--ice .two-col > article { border-color: transparent; }
.two-col > article p { color: var(--muted); }
.two-col .checks { margin-bottom: 24px; }
.panel { background: var(--white); padding: clamp(26px, 3vw, 40px); border-radius: var(--r); box-shadow: var(--shadow); }
.section--navy .panel { background: var(--navy-2); border: 1px solid var(--line-dark); box-shadow: none; }
.panel .btn { margin-top: 28px; }

.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.checks svg { width: 20px; height: 20px; margin-top: 3px; color: var(--blue); }
.section--navy .checks svg { color: var(--sky); }
.plain-list { list-style: none; display: grid; gap: 10px; }
.plain-list li { background: var(--ice); border-radius: var(--r-sm); padding: 14px 18px 14px 46px; position: relative; }
.plain-list li::before { content: ""; position: absolute; left: 20px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--ice-2); }

.def-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.def-grid > div { background: var(--ice); border-radius: var(--r); padding: 22px 24px; }
.def-grid dt { font-weight: 700; color: var(--navy); font-size: 1.1rem; margin-bottom: 4px; }
.def-grid dd { margin: 0; color: var(--muted); }

.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table thead th { font-size: 0.85rem; font-weight: 600; color: #fff; background: var(--navy); }
.spec-table tbody th { font-weight: 600; color: var(--navy); width: 36%; }
.spec-table tbody tr:nth-child(even) { background: var(--ice); }

/* Processo em linha do tempo */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: s; position: relative; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: calc((100% - 84px) / 4 - 22px); height: 2px; background: linear-gradient(90deg, var(--blue), var(--sky)); }
.steps--3::before { right: calc((100% - 56px) / 3 - 22px); }
.steps li { counter-increment: s; position: relative; }
.steps li::before {
  content: counter(s); position: relative; display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px;
  border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--blue); font-weight: 700; font-size: 1.1rem;
}
.section--ice .steps li::before { background: var(--ice); }
.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* Avaliações */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; }
.quote blockquote p { margin: 0; }
.quote figcaption { font-size: 0.92rem; color: var(--muted); }
.quote figcaption a { color: var(--muted); }
.quote--card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote--card .stars { margin-bottom: 14px; }
.quote--card figcaption { margin-top: auto; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote--wide { grid-column: span 2; background: var(--navy); border-color: var(--navy); box-shadow: none; }
.quote--wide blockquote p { color: #fff; font-size: clamp(1.18rem, 0.8vw + 0.95rem, 1.5rem); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; }
.quote--wide figcaption, .quote--wide figcaption a { color: #b6c8dc; }
.quote--big blockquote p { font-size: clamp(1.2rem, 1vw + 0.9rem, 1.55rem); line-height: 1.45; color: var(--navy); font-weight: 500; }
.split .quote:not(.quote--card) { background: var(--white); padding: 28px; border-radius: var(--r); border: 1px solid var(--line); align-self: center; }

/* Sobre */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.about p { color: var(--muted); max-width: 62ch; }
.about-facts { display: grid; gap: 20px; background: var(--ice); border-radius: var(--r); padding: 18px; }
.about-facts dl { margin: 0; display: grid; gap: 14px; padding: 0 8px 8px; }
.about-facts dt { font-size: 0.85rem; font-weight: 600; color: var(--blue); }
.about-facts dd { margin: 0; font-size: 0.97rem; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); transition: border-color 0.18s; }
.faq details[open] { border-color: var(--blue); }
.section--white .faq details { background: var(--ice); border-color: transparent; }
.section--white .faq details[open] { border-color: var(--blue); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 24px; font-weight: 600; font-size: 1.04rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--blue); transition: transform 0.2s ease-out; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 24px 20px; color: var(--muted); }
.faq .answer p { margin: 0; }

/* Contato */
.contact { background: var(--night); color: #fff; }
.contact h2 { color: #fff; }
.contact .lead { color: #b6c8dc; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-list { margin: 28px 0 0; display: grid; gap: 12px; }
.contact-list dt { font-size: 0.85rem; color: #8ea6c2; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.form-card { background: var(--white); color: var(--ink); padding: clamp(24px, 3vw, 36px); border-radius: 22px; }
.form-card > p { color: var(--muted); font-size: 0.95rem; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.93rem; color: var(--navy); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ice); font-size: 1rem; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form-card .btn { width: 100%; }
.form-card .btn--ice { background: var(--green); border-color: var(--green); color: #fff; }
.form-card .btn--ice:hover { background: var(--green-hover); border-color: var(--green-hover); }
.field-error { color: #b42318; font-size: 0.85rem; }
.field input[aria-invalid="true"] { border-color: #b42318; }

/* Chamada final das páginas de serviço */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.cta .btn { margin-top: 10px; }
.cta h3 { font-size: 1rem; }
.other-links { list-style: none; display: grid; gap: 8px; }
.other-links a { display: block; padding: 12px 18px; border-radius: 999px; text-decoration: none; color: #d5e2f1; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.other-links a:hover { background: rgba(56, 182, 255, 0.12); color: #fff; }

/* Texto */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }
.prose-block h2 { margin-top: 1.4em; font-size: clamp(1.45rem, 1vw + 1rem, 2rem); }
.prose-block h2:first-child { margin-top: 0; }
.prose-block p { color: var(--muted); }

/* Rodapé */
.site-footer { background: var(--night); color: #9fb3ca; padding: 72px 0 100px; font-size: 0.95rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img { width: 180px; margin-bottom: 18px; }
.footer-grid h2 { font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0; font-stretch: 100%; }
.footer-grid ul { list-style: none; display: grid; gap: 4px; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; font-size: 0.86rem; color: #7f93ab; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* WhatsApp flutuante e aviso de cookies */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.5); transition: bottom 0.3s ease-out, transform 0.18s ease-out; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 29px; height: 29px; }
body.has-notice .wa-float { bottom: var(--notice-h, 120px); }
.cookie-notice { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 400px; padding: 16px 18px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-up); font-size: 0.92rem; }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0 0 12px; color: var(--muted); }
.cookie-notice a { color: var(--blue); font-weight: 600; }
.cookie-notice .btn { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Responsivo */
@media (max-width: 1140px) { .header-phone { display: none; } }
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-card--lead { grid-row: auto; min-height: 420px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .def-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .quote--wide { grid-column: 1 / -1; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
}
/* Menu hambúrguer até 1024 px: entre 921 e 1024 os itens não cabem numa linha */
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .brand img { width: 148px; }
  .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 12px var(--gutter) 40px; background: var(--white); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity 0.15s, visibility 0.15s; }
  .menu-open .main-nav { visibility: visible; opacity: 1; }
  .menu-open { overflow: hidden; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a, .nav-toggle-sub { width: 100%; padding: 15px 4px; font-size: 1.05rem; justify-content: space-between; border-radius: 0; white-space: normal; }
  .main-nav a:hover, .nav-toggle-sub:hover { background: none; color: var(--blue); }
  .submenu { position: static; width: auto; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px; }
  .has-sub.is-open .submenu { display: block; }
  .submenu a { padding: 10px 4px 10px 14px; }
  .nav-mobile-cta { border-bottom: 0 !important; margin-top: 20px; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; color: #fff; }
}
@media (max-width: 920px) {
  .hero-media { position: relative; width: 100%; height: 260px; }
  .hero-media::before { background: linear-gradient(0deg, var(--night) 0%, rgba(5, 15, 34, 0) 65%); }
  .hero .hero-grid { grid-template-columns: 1fr; padding-block: 8px 56px; }
  .hero-mascot { position: absolute; right: 0; top: auto; bottom: 100%; width: auto; height: clamp(150px, 24vw, 200px); margin: 0; }
  .hero--page .hero-grid { grid-template-columns: 1fr; }
  .hero--page .hero-photo { justify-self: start; max-width: none; }
  .hero--page .photo img { aspect-ratio: 16 / 10; }
  .hero--page .photo--plan img { aspect-ratio: auto; }
  .quick-form { grid-template-columns: 1fr 1fr; }
  .quick-form .btn { grid-column: 1 / -1; }
  .split, .split--wide, .contact-grid, .cta-grid, .about, .faq-layout { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .photo--tall { grid-row: auto; grid-column: 1 / -1; }
  .gallery .photo--tall img { flex: none; aspect-ratio: 4 / 3; }
  .photo--banner img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1025px) { .nav-mobile-cta { display: none; } }
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .quick-form { grid-template-columns: 1fr; border-radius: 18px; }
  .svc-grid, .review-grid, .tech-grid { grid-template-columns: 1fr; }
  .svc-card--lead { grid-column: auto; min-height: 400px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 20px 14px; }
  .trust-item strong { font-size: 1.25rem; }
  .steps, .steps--3 { grid-template-columns: 1fr; }
  .def-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .spec-table th, .spec-table td { padding: 12px; font-size: 0.95rem; }
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { right: 14px; bottom: 14px; }
}
.trust h2, .hero h2 { color: #fff; }
