/* =========================================================
   FILOVITA — estilos
   Cores aproximadas do perfil institucional (não são códigos
   oficiais da marca). Ajuste-as aqui, num só sítio.
   ========================================================= */
:root {
  --ink: #172C34;          /* azul-petróleo muito escuro */
  --ink-2: #1B3942;        /* variação para superfícies sobre o escuro */
  --teal: #087F7B;         /* verde-petróleo principal */
  --teal-deep: #066461;    /* hover sobre claro */
  --teal-bright: #5ECFC7;  /* destaques sobre fundo escuro (contraste ≥ 7:1) */
  --mint: #BED8D2;         /* verde-claro suave */
  --paper: #F6F8F7;        /* branco suave */
  --tile: #F1F5F4;         /* superfícies suaves sobre branco */
  --white: #fff;
  --muted: #5F7076;        /* texto secundário sobre claro (≥ 4.5:1) */
  --muted-dark: #A9C2BC;   /* texto secundário sobre escuro */
  --line-light: rgba(23, 44, 52, .16);
  --line-dark: rgba(190, 216, 210, .2);

  --font-head: "Google Sans", "Product Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Google Sans Text", "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 72px;
  --section-y: clamp(72px, 10vw, 128px);
  --skew: -9deg;
  --focus: var(--teal);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-weight: 600; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.028em; line-height: 1.08; }
h2 { font-weight: 600; font-size: clamp(1.55rem, 2.7vw, 2.2rem); letter-spacing: -.022em; line-height: 1.15; }
h3 { font-weight: 600; font-size: 1.05rem; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 200;
  background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .15s;
}
.skip-link:focus { top: 12px; }

/* Foco visível */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.dark, .site-header { --focus: var(--teal-bright); }

/* Ícones */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.5; }

/* ---------- Secções claras/escuras ---------- */
.section { padding-block: var(--section-y); position: relative; }
.light { background: var(--white); color: var(--ink); }
.panel { margin: 0; border-radius: 0; }
.panel.light { background: var(--paper); overflow: hidden; }
.dark { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; isolation: isolate; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 0;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.dark .eyebrow { color: var(--mint); }
.dark .eyebrow .dot { background: var(--teal-bright); }
.body-lg { font-size: clamp(1rem, 1.15vw, 1.075rem); color: var(--muted); }
.lead { font-size: clamp(1rem, 1.25vw, 1.1rem); color: var(--muted-dark); max-width: 38em; }
.section-head { display: grid; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 64px); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 8px; border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s var(--ease), box-shadow .18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 14px 28px; font-size: .95rem; }
.btn-ico { display: grid; place-items: center; width: 34px; height: 34px; margin: -6px -14px -6px 2px; border-radius: 6px; background: var(--ink); color: var(--mint); }
.btn-ico .ico { width: 18px; height: 18px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); }
.dark .btn-primary, .site-header .btn-primary { background: var(--mint); color: var(--ink); }
.dark .btn-primary:hover, .site-header .btn-primary:hover { background: var(--white); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(190, 216, 210, .5); }
.btn-ghost:hover { background: rgba(190, 216, 210, .12); border-color: var(--mint); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; }

/* ---------- Formas diagonais (símbolo do logótipo) ---------- */
.bar { position: absolute; z-index: -1; pointer-events: none; border-radius: 28px; transform: skewX(var(--skew)); }
.slant {
  position: relative; overflow: hidden; border-radius: 12px; transform: skewX(var(--skew));
  background: var(--ink-2); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .45);
}
.slant img { position: absolute; top: 0; left: -12%; width: 124%; max-width: none; height: 100%; object-fit: cover; transform: skewX(calc(var(--skew) * -1)); }

/* ---------- Cabeçalho ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background-color .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; color: var(--paper); }
.site-header.is-solid, body.menu-open .site-header { background: var(--ink); border-bottom-color: var(--line-dark); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5); }
.header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 6px; }
.nav a {
  position: relative; display: block; padding: 10px 14px; text-decoration: none; border-radius: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--muted-dark); transition: color .15s;
}
.nav a:hover { color: var(--white); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--teal-bright); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a[aria-current="true"] { color: var(--white); }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { min-height: 44px; padding: 10px 20px; }

.menu-btn { display: none; width: 48px; height: 48px; margin-left: auto; align-items: center; justify-content: center; background: transparent; border: 1.5px solid var(--line-dark); border-radius: 10px; color: var(--paper); cursor: pointer; transition: background-color .15s; }
.menu-btn:hover { background: rgba(190, 216, 210, .12); }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

.menu-movel { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gutter) 28px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
.menu-movel ul { margin-bottom: 20px; }
.menu-movel li + li { border-top: 1px solid var(--line-dark); }
.menu-movel li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.menu-movel li a[aria-current="true"] { color: var(--teal-bright); }
.menu-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(8, 18, 22, .6); }

@media (max-width: 959px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 960px) {
  .menu-movel, .menu-backdrop { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--header-h) + clamp(32px, 6vw, 80px)); padding-bottom: 0; min-height: min(100svh, 880px); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(32px, 5vw, 64px); }
.hero-photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 64%; background: var(--ink-2); clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0, rgba(23, 44, 52, 0) 26%); }
.bar-b { top: -10%; right: 62%; width: 8%; height: 130%; background: rgba(8, 127, 123, .34); border-radius: 28px; z-index: -1; }
.hero-grid { display: block; }
.hero-copy { max-width: 540px; }
.hero-copy h1 { font-size: clamp(2rem, 3.9vw, 3.15rem); }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy h1 em { font-style: normal; color: var(--teal-bright); }
.hero-copy .lead { margin-bottom: 34px; }
.eyebrow-hero { margin-bottom: 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line-dark); }
.hero-note { display: flex; align-items: center; gap: 16px; color: var(--muted-dark); font-size: .92rem; max-width: 22em; }
.hero-note-n { flex: none; width: 14px; height: 34px; border-radius: 4px; background: var(--teal-bright); transform: skewX(var(--skew)); box-shadow: 10px 0 0 -2px rgba(94, 207, 199, .45); margin-right: 6px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips a { display: block; padding: 11px 20px; border-radius: 8px; background: rgba(246, 248, 247, .1); border: 1px solid rgba(190, 216, 210, .28); color: var(--paper); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .85rem; backdrop-filter: blur(6px); transition: background-color .18s, color .18s; }
.hero-chips a:hover { background: var(--paper); color: var(--ink); }
.hero-tag, .loc-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px; border-radius: 8px; background: var(--ink); color: var(--paper);
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .55);
}
.hero-tag { right: clamp(20px, 3vw, 40px); bottom: 118px; z-index: 1; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -20px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(23, 44, 52, .7), rgba(23, 44, 52, 0)); transition: opacity .25s; }
.site-header.is-solid::before, body.menu-open .site-header::before { opacity: 0; }
.hero-tag .ico, .loc-chip .ico { width: 18px; height: 18px; color: var(--teal-bright); }

@media (max-width: 899px) {
  .hero { min-height: 0; display: flex; flex-direction: column; gap: 0; padding-top: calc(var(--header-h) + 28px); }
  .hero-photo { position: relative; z-index: 0; width: auto; height: auto; aspect-ratio: 4 / 3; margin: 28px 0 0; border-radius: 0; clip-path: none; order: 3; }
  .hero-photo::after { background: none; }
  .hero-tag { right: auto; left: 14px; bottom: 14px; }
  .site-header::before { display: none; }
  .bar-b { display: none; }
  .hero-grid { order: 1; }
  .hero-foot { order: 4; margin-top: 28px; }
}

/* ---------- Sobre ---------- */
.about-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 24px clamp(24px, 5vw, 64px); align-items: start; }
.about-lead h2 { margin-bottom: 26px; max-width: 17em; }
.about-lead .body-lg { max-width: 40em; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.tiles li { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3vw, 32px); background: var(--tile); border-radius: 12px; min-height: 220px; }
.tile-ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: auto; border-radius: 10px; background: var(--white); color: var(--teal); box-shadow: 0 6px 16px -10px rgba(23, 44, 52, .45); }
.tiles h3 { font-size: 1.15rem; margin-top: 28px; }
.tiles p { color: var(--muted); font-size: .95rem; }

.bento { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; margin-top: 16px; }
.bento-img { position: relative; overflow: hidden; border-radius: 12px; min-height: 360px; background: var(--ink-2); }
.bento-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loc-chip { left: 18px; bottom: 18px; }
.mission { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: clamp(26px, 4vw, 52px); border-radius: 12px; background: var(--teal); color: var(--white); }
.mission .eyebrow { color: var(--white); margin-bottom: 0; }
.mission .eyebrow .dot { background: var(--white); }
.mission blockquote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.4; letter-spacing: -.015em; max-width: 24em; text-wrap: balance; }
.bar-m1 { right: 6%; top: -20%; width: 14%; height: 150%; background: rgba(255, 255, 255, .1); z-index: -1; }
.bar-m2 { right: -4%; top: -20%; width: 14%; height: 150%; background: rgba(23, 44, 52, .22); z-index: -1; }

@media (max-width: 899px) {
  .about-top { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-img { min-height: 0; height: 300px; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; }
  .tiles li { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
  .tile-ico { margin: 0; }
  .tiles h3 { margin: 0; flex: 1 1 calc(100% - 70px); }
  .tiles p { flex-basis: 100%; }
}

/* ---------- Serviços (explorador) ---------- */
.services .bar-s1 { top: -20%; right: -8%; width: 30%; height: 150%; background: rgba(27, 57, 66, .55); }
.svc { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: repeat(6, auto) 1fr; column-gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc-h { grid-column: 1; border-top: 1px solid var(--line-dark); }
.svc-h:nth-of-type(6) { border-bottom: 1px solid var(--line-dark); }

.svc-btn {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; width: 100%;
  padding: 20px 14px 20px 4px; text-align: left; background: transparent; border: 0; cursor: pointer; color: var(--muted-dark);
  font-family: var(--font-head); font-weight: 600; font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.3; letter-spacing: -.01em;
  transition: color .2s, background-color .2s, padding .25s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.svc-btn::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--teal-bright); transform: scaleY(0); transition: transform .25s var(--ease); }
.svc-n { font-weight: 600; font-size: .85rem; letter-spacing: .08em; color: var(--teal-bright); opacity: .75; min-width: 2ch; }
.svc-btn .ico { width: 20px; height: 20px; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.svc-btn:hover { color: var(--white); background: rgba(190, 216, 210, .05); }
.svc-btn[aria-expanded="true"] { color: var(--white); padding-left: 18px; background: rgba(190, 216, 210, .07); }
.svc-btn[aria-expanded="true"]::before { transform: scaleY(1); }
.svc-btn[aria-expanded="true"] .svc-n { opacity: 1; }
.svc-btn[aria-expanded="true"] .ico { opacity: 1; transform: none; }

.svc-panel { grid-column: 2; grid-row: 1 / -1; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden; }
.svc-panel:not([hidden]) { animation: svcIn .35s var(--ease); }
@keyframes svcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.svc-fig { aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.svc-fig img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: clamp(24px, 3vw, 40px); }
.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; color: var(--teal-bright); }
.svc-top .ico { width: 28px; height: 28px; stroke-width: 1.5; }
.svc-top span { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .14em; }
.svc-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.2; letter-spacing: -.025em; margin-bottom: 14px; color: var(--white); text-wrap: balance; }
.svc-text { color: var(--muted-dark); font-size: .98rem; max-width: 36em; margin-bottom: 28px; }

@media (max-width: 899px) {
  .svc { display: block; }
  .svc-h:nth-of-type(6) { border-bottom: 0; }
  .svc-panel { margin: 4px 0 18px; border-radius: 10px; }
  .svc-h:last-of-type + .svc-panel, .svc-panel:last-child { margin-bottom: 0; }
  .svc-btn { padding-block: 18px; min-height: 64px; }
  .svc-btn .ico { opacity: 1; transform: none; transition: transform .25s var(--ease); transform: rotate(90deg); }
  .svc-btn[aria-expanded="true"] .ico { transform: rotate(-90deg); }
  .svc-fig { aspect-ratio: 16 / 9; }
}

.noscript-note { color: var(--muted-dark); border: 1px solid var(--line-dark); padding: 18px 20px; border-radius: var(--radius-sm); }

/* ---------- Diferenciais ---------- */
.diffs-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 7vw, 110px); align-items: start; }
.diffs-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.diffs-aside h2 { margin-bottom: clamp(28px, 4vw, 44px); max-width: 13em; }
.slant-sm { aspect-ratio: 4 / 4.2; max-width: 380px; margin-left: 6%; border-radius: 12px; }
.diff-list { border-top: 1px solid var(--line-light); }
.diff-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line-light); }
.diff-list .ico { padding: 12px; width: 52px; height: 52px; border-radius: 10px; background: var(--tile); color: var(--teal); grid-row: 1 / span 2; margin-top: 2px; }
.diff-list h3 { font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-bottom: 8px; }
.diff-list p { color: var(--muted); max-width: 32em; font-size: .95rem; }

@media (max-width: 899px) {
  .diffs-grid { grid-template-columns: 1fr; }
  .diffs-aside { position: static; }
  .slant-sm { display: none; }
}
@media (max-width: 480px) {
  .diff-list li { grid-template-columns: 1fr; row-gap: 10px; }
  .diff-list .ico { grid-row: auto; }
}

/* ---------- Faixa de convite ---------- */
.cta-band { padding-block: clamp(64px, 9vw, 112px); }
.bar-d1 { top: -30%; left: 52%; width: 14%; height: 170%; background: rgba(8, 127, 123, .32); }
.bar-d2 { top: -30%; left: 69%; width: 14%; height: 170%; background: var(--ink-2); }
.bar-d3 { top: -30%; left: 86%; width: 14%; height: 170%; background: rgba(8, 127, 123, .18); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: clamp(28px, 5vw, 64px); }
.cta-in h2 { max-width: 15em; margin-bottom: 16px; }
.cta-in .btn { flex: none; }
@media (max-width: 820px) {
  .cta-in { flex-direction: column; align-items: flex-start; }
  .bar-d1 { left: 62%; } .bar-d2 { left: 78%; } .bar-d3 { left: 94%; }
}

/* ---------- Contacto / formulário ---------- */
.contact { background: var(--mint) !important; }
.contact .eyebrow { color: var(--teal-deep); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy h2 { margin-bottom: 20px; }
.contact-copy .body-lg { color: #3F5259; max-width: 30em; }
.contact-facts, .contact-direct { margin-top: 32px; display: grid; gap: 14px; }
.contact-facts li, .contact-direct li, .contact-direct a { display: flex; align-items: flex-start; gap: 14px; }
.contact-facts strong { display: block; font-family: var(--font-head); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.contact-facts .ico { color: var(--teal-deep); margin-top: 2px; }
.contact-direct { margin-top: 20px; }
.slant-wide { aspect-ratio: 16 / 9; margin: 44px 0 0 4%; max-width: 480px; border-radius: 12px; }
@media (max-width: 899px) { .slant-wide { display: none; } }
.contact-direct a { align-items: center; text-decoration: none; padding: 12px 16px; background: var(--paper); border-radius: 12px; font-weight: 600; width: 100%; transition: background-color .15s, transform .15s var(--ease); }
.contact-direct a:hover { background: var(--white); transform: translateX(3px); }
.contact-direct .ico { color: var(--teal); }

.form { background: var(--paper); border-radius: 12px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 60px -36px rgba(23, 44, 52, .5); display: grid; gap: 20px; }
.form-title { font-size: 1.5rem; }
.form-hint { color: var(--muted); font-size: .92rem; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { font-weight: 500; font-size: .88rem; }
.req { color: var(--muted); font-weight: 500; font-size: .85em; }
.opt { color: var(--muted); font-weight: 500; font-size: .85em; }
.field input, .field select, .field textarea {
  font-size: .95rem;
  width: 100%; min-height: 50px; padding: 12px 14px; background: var(--white); border: 1.5px solid #9AACB0; border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(8, 127, 123, .25); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF8F7; }
.field [aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 4px rgba(179, 38, 30, .22); }
.err { display: flex; gap: 8px; align-items: flex-start; color: #A31D16; font-size: .86rem; font-weight: 500; line-height: 1.4; }
.err::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: #A31D16; color: #fff; font-size: .75rem; font-weight: 600; display: grid; place-items: center; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); pointer-events: none; }
.select-wrap select.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(8, 127, 123, .7); } 30% { box-shadow: 0 0 0 6px rgba(8, 127, 123, .35); } 100% { box-shadow: 0 0 0 0 rgba(8, 127, 123, 0); } }

.form-status { padding: 16px 18px; border-radius: 12px; border: 1.5px solid; font-size: .98rem; line-height: 1.5; }
.form-status strong { display: block; font-family: var(--font-head); margin-bottom: 4px; }
.form-status.is-info { background: #FFF7E0; border-color: #C49A1A; color: #4D3A00; }
.form-status.is-error { background: #FDECEA; border-color: #B3261E; color: #6B120D; }
.form-status.is-ok { background: #E4F4EF; border-color: var(--teal); color: #0B3F3D; }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Rodapé ---------- */
.site-footer { padding-top: clamp(56px, 8vw, 88px); }
.bar-f1 { top: -40%; right: -4%; width: 26%; height: 180%; background: rgba(27, 57, 66, .5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-claim { font-family: var(--font-head); font-weight: 500; font-size: 1rem; color: var(--mint); max-width: 18em; }
.footer-h { font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 4px; }
.site-footer nav a, .footer-direct a { display: inline-block; padding: 6px 0; text-decoration: none; color: var(--muted-dark); transition: color .15s; }
.site-footer nav a:hover, .footer-direct a:hover { color: var(--white); }
.footer-loc { display: flex; align-items: center; gap: 10px; color: var(--paper); }
.footer-loc .ico { color: var(--teal-bright); width: 20px; height: 20px; }
.footer-direct { margin-top: 12px; }
.footer-base { border-top: 1px solid var(--line-dark); padding-block: 24px; position: relative; color: var(--muted-dark); font-size: .9rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Animações de entrada (só se o JS as activar) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js-reveal [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* ---------- Telemóvel ---------- */
@media (max-width: 640px) {
  :root { --section-y: 56px; --header-h: 64px; --gutter: 20px; }
  .brand img { height: 36px; }
  .menu-btn { width: 44px; height: 44px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .eyebrow { font-size: .68rem; letter-spacing: .1em; gap: 8px; margin-bottom: 18px; }
  .eyebrow-hero { margin-bottom: 18px; }
  .hero-copy h1 { font-size: clamp(1.9rem, 8.4vw, 2.25rem); margin-bottom: 16px; }
  .lead, .body-lg { font-size: .96rem; }
  .hero-copy .lead { margin-bottom: 26px; }
  .hero .btn-row { flex-direction: column; gap: 10px; }
  .hero .btn-row .btn { width: 100%; }
  .btn-lg { min-height: 54px; }
  .hero-photo { aspect-ratio: 5 / 4; margin-top: 30px; }
  .hero-chips { display: none; }
  .hero-foot { padding-block: 20px; }
  .hero-note { font-size: .92rem; }
  h2 { font-size: clamp(1.45rem, 6.6vw, 1.75rem); }
  .section-head { text-align: left; justify-items: start; margin-bottom: 28px; }
  .tiles { margin-top: 28px; gap: 10px; }
  .tiles li { padding: 18px; }
  .tile-ico { width: 44px; height: 44px; }
  .bento { margin-top: 10px; gap: 10px; }
  .bento-img { height: 240px; }
  .mission { padding: 24px 20px; gap: 22px; }
  .mission blockquote { font-size: 1.05rem; }
  .svc-btn { padding: 16px 8px 16px 4px; gap: 14px; font-size: .95rem; }
  .svc-body { padding: 20px; }
  .svc-title { font-size: 1.25rem; }
  .svc-text { font-size: .95rem; margin-bottom: 20px; }
  .svc-body .btn { width: 100%; }
  .diffs-grid { gap: 28px; }
  .diffs-aside h2 { margin-bottom: 0; }
  .diff-list li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 20px 0; row-gap: 0; }
  .diff-list .ico { width: 44px; height: 44px; padding: 10px; grid-row: 1 / span 2; }
  .diff-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
  .diff-list p { font-size: .92rem; }
  .cta-in .btn { width: 100%; }
  .contact-grid { gap: 28px; }
  .form { padding: 20px 16px; gap: 16px; }
  .field input, .field select, .field textarea {
  font-size: .95rem; font-size: 16px; }
  .footer-grid { gap: 24px; padding-bottom: 32px; }
}
