/* THONGA — sistema visual (ver brief de reestruturação, secção 4.1) */

:root {
  --navy: #0B1D33;
  --navy-700: #13294A;
  --navy-600: #1A3560;
  --copper: #C85D2D;          /* acento decorativo (barras, linhas) */
  --copper-ink: #A94A20;      /* texto cobre sobre fundo claro (contraste AA) */
  --copper-btn: #B04E20;      /* fundo de botões com texto branco (contraste AA) */
  --copper-on-dark: #E88A5A;  /* texto cobre sobre navy (contraste AA) */
  --sand: #F4EFE7;
  --sand-200: #EAE2D5;
  --graphite: #20262E;
  --muted: #56606C;
  --line: #E3DDD3;
  --white: #FFFFFF;
  --food: #647B4E;
  --food-on-dark: #A9C08F;
  --seguros: #1D6373;
  --seguros-on-dark: #7CC0CE;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --container: 1240px;
  --gutter: 20px;
  --section: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-sm: 0 1px 2px rgba(11, 29, 51, .06), 0 2px 8px rgba(11, 29, 51, .04);
  --shadow-lg: 0 24px 48px -18px rgba(11, 29, 51, .22);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Fundo escuro de marca: brilho cobre + teal + linhas onduladas do símbolo */
  --dark-bg:
    url('/images/ondas.svg') right -140px bottom -80px / min(980px, 110vw) auto no-repeat,
    radial-gradient(900px 520px at 88% -10%, rgba(200, 93, 45, .30), transparent 65%),
    radial-gradient(760px 480px at -8% 115%, rgba(29, 99, 115, .42), transparent 62%),
    linear-gradient(165deg, #0B1D33 0%, #0F2542 55%, #0B1D33 100%);
}

@media (max-width: 768px) {
  :root { --section: 64px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture { display: block; max-width: 100%; height: auto; }

a { color: var(--copper-ink); text-underline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.4rem + 3vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }

::selection { background: rgba(200, 93, 45, .22); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { position: relative; padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--dark-bg); color: rgba(255,255,255,.86); overflow: hidden; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { font-size: 1.125rem; color: var(--muted); }
.section--navy .section-head p { color: rgba(255,255,255,.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-ink);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.section--navy .eyebrow, .page-hero .eyebrow { color: var(--copper-on-dark); }

.lead { font-size: 1.1875rem; color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 13px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--copper-btn); color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(176, 78, 32, .75), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn--primary:hover { background: #983F16; box-shadow: 0 14px 28px -10px rgba(176, 78, 32, .85), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sand); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: var(--white); background: rgba(255,255,255,.04); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.btn--outline { border-color: rgba(11, 29, 51, .25); color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn--arrow::after { content: '→'; transition: transform .2s var(--ease); }
.btn--arrow:hover::after { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; color: var(--accent-ink, var(--copper-ink));
  text-decoration: none;
}
.link-arrow::after { content: '→'; transition: transform .2s var(--ease); }
.link-arrow:hover::after, a:hover .link-arrow::after { transform: translateX(4px); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(11, 29, 51, .18); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 80px;
}
.brand img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > a, .nav-drop > button {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font: inherit; font-size: .9375rem; font-weight: 600;
  color: var(--graphite);
  text-decoration: none;
  background: none; border: 0; border-radius: 999px;
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease;
}
.main-nav > a:hover, .nav-drop > button:hover { background: var(--sand); color: var(--navy); }
.main-nav > a[aria-current="page"] { color: var(--copper-ink); }
.main-nav > a[aria-current="page"]::after {
  content: ''; position: absolute; left: 50%; bottom: 2px;
  width: 5px; height: 5px; margin-left: -2.5px;
  background: var(--copper); transform: rotate(45deg);
}

.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.nav-drop > button[aria-expanded="true"] { background: var(--sand); }
.nav-drop > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 12px); left: -20px;
  width: 380px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(11, 29, 51, .28);
  animation: drop-in .18s var(--ease);
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }
.drop-panel[hidden] { display: none; }
.drop-panel a {
  display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--graphite);
  transition: background-color .15s ease;
}
.drop-panel a:hover { background: var(--sand); }
.drop-panel .unit-icon { grid-row: span 2; }
.drop-panel strong { display: block; color: var(--navy); font-size: .9375rem; }
.drop-panel span:not(.unit-icon) { font-size: .875rem; color: var(--muted); line-height: 1.4; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  display: flex; gap: 2px; padding: 3px;
  font-size: .8125rem; font-weight: 700;
  background: var(--sand); border-radius: 999px;
}
.lang-switch a, .lang-switch span {
  padding: 5px 10px; border-radius: 999px; text-decoration: none; color: var(--muted);
}
.lang-switch span { color: var(--navy); background: var(--white); box-shadow: var(--shadow-sm); }
.lang-switch a:hover { color: var(--copper-ink); }

.header-cta { min-height: 44px; padding: 9px 20px; font-size: .9375rem; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-menu { border-top: 1px solid var(--line); background: var(--white); max-height: calc(100vh - 70px); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 12px; padding-bottom: 28px; }
/* só os links do menu — não o selector de idioma */
.mobile-menu nav > a, .mobile-menu .sub a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--graphite); text-decoration: none;
}
.mobile-menu nav > a[aria-current="page"], .mobile-menu .sub a[aria-current="page"] { color: var(--copper-ink); }
.mobile-menu .sub { display: flex; flex-direction: column; gap: 6px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.mobile-menu .sub a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--accent) 7%, white);
  font-weight: 600;
}
.mobile-menu .sub a::before {
  content: ''; flex: none;
  width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg);
}
.mobile-menu .sub-title {
  padding: 18px 0 10px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.mobile-menu nav > .btn { display: inline-flex; margin-top: 20px; padding: 13px 26px; border-bottom: 0; color: var(--white); }
.mobile-menu .lang-switch { margin-top: 18px; align-self: flex-start; font-size: .9375rem; }
.mobile-menu .lang-switch a, .mobile-menu .lang-switch span { padding: 8px 18px; }

@media (max-width: 1080px) {
  .main-nav, .header-cta, .header-actions > .lang-switch { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 480px) {
  .brand img { height: 38px; }
  .header-inner { height: 70px; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: rgba(255,255,255,.84);
}
.hero::after { /* linha de marca na base: as três unidades */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--copper) 0 33.33%, var(--food) 33.33% 66.66%, var(--seguros) 66.66%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 72px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  padding: 7px 16px 7px 14px;
  font-size: .8125rem; font-weight: 700; letter-spacing: .22em;
  color: var(--white);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
}
.hero-kicker i { /* losango do símbolo THONGA */
  width: 8px; height: 8px; background: var(--copper); transform: rotate(45deg);
  box-shadow: 0 0 0 4px rgba(200, 93, 45, .25);
}
.hero h1 {
  margin-bottom: 28px;
  color: var(--white);
  font-size: clamp(2.75rem, 1.4rem + 5vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.text-glow {
  background: linear-gradient(95deg, #F6B38A 0%, #E88A5A 45%, #D2683A 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero .lead { color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 38px; font-size: 1.25rem; }

.hero-media { position: relative; margin: 0; padding: 0 0 26px 26px; }
.hero-media::before { /* moldura desfasada */
  content: ''; position: absolute; top: 26px; left: 0; right: 26px; bottom: 0;
  border: 1.5px solid rgba(232, 138, 90, .5);
  border-radius: 30px;
}
.hero-media::after { /* losango do símbolo */
  content: ''; position: absolute; top: -10px; right: 36px;
  width: 20px; height: 20px; background: var(--copper); transform: rotate(45deg);
  box-shadow: 0 0 0 8px rgba(200, 93, 45, .2);
}
.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .75);
}
.hero-frame::after { /* vinheta para integrar a foto no fundo */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 29, 51, .6));
  pointer-events: none;
}
.hero-frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-chip {
  position: absolute; left: 50px; bottom: 50px;
  display: inline-flex; align-items: center; gap: 8px;
  max-width: calc(100% - 100px);
  padding: 9px 16px 9px 12px;
  font-size: .9375rem; font-weight: 500; line-height: 1.35;
  color: var(--white);
  background: rgba(11, 29, 51, .55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}
.pin { width: 16px; height: 16px; flex: none; color: var(--copper-on-dark); }

.hero-units {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  padding-bottom: 72px;
}
.hero-unit {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.hero-unit:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.24); transform: translateY(-3px); }
.hero-unit strong { display: block; color: var(--white); font-size: 1rem; line-height: 1.3; }
.hero-unit small { display: block; font-size: .875rem; line-height: 1.4; }
.hero-unit::after { content: '→'; margin-left: auto; color: rgba(255,255,255,.5); transition: transform .2s var(--ease), color .2s ease; }
.hero-unit:hover::after { transform: translateX(4px); color: var(--white); }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 48px; }
  .hero-media { max-width: 620px; }
  .hero-units { grid-template-columns: 1fr; gap: 10px; padding-bottom: 52px; }
}
@media (max-width: 520px) {
  .hero-media { padding: 0 0 16px 16px; }
  .hero-media::before { top: 16px; right: 16px; border-radius: 22px; }
  .hero-media::after { right: 24px; width: 14px; height: 14px; top: -7px; }
  .hero-frame { border-radius: 22px; }
  .hero-chip { left: 30px; bottom: 30px; max-width: calc(100% - 44px); font-size: .8125rem; padding: 7px 12px 7px 10px; }
  .hero .lead { font-size: 1.125rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Page hero (páginas internas) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
  color: rgba(255,255,255,.84);
}
.page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--accent, var(--copper));
}
.page-hero .container { position: relative; padding-top: 80px; padding-bottom: 96px; }
.page-hero h1 {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 780px; }
.page-hero .btn-row { margin-top: 34px; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 30px;
  font-size: .875rem; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.82); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 768px) {
  .page-hero .container { padding-top: 44px; padding-bottom: 60px; }
}

/* ---------- Unidades (cores de acento) ---------- */
.unit-logistics { --accent: var(--copper); --accent-ink: var(--copper-ink); --accent-on-dark: var(--copper-on-dark); }
.unit-food { --accent: var(--food); --accent-ink: var(--food); --accent-on-dark: var(--food-on-dark); }
.unit-seguros { --accent: var(--seguros); --accent-ink: var(--seguros); --accent-on-dark: var(--seguros-on-dark); }
.unit-food .eyebrow, .unit-seguros .eyebrow { color: var(--accent-ink); }

.unit-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  color: var(--accent-ink, var(--copper-ink));
  background: color-mix(in srgb, var(--accent, var(--copper)) 12%, white);
}
.unit-icon svg { width: 24px; height: 24px; }
/* Ícones sobre fundo escuro */
.hero-unit .unit-icon, .cta-unit .unit-icon {
  color: var(--accent-on-dark);
  background: color-mix(in srgb, var(--accent-on-dark) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-on-dark) 30%, transparent);
}

.unit-tag {
  display: inline-block; margin-bottom: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink);
}

/* ---------- Grelhas e cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .grid-3.grid-sm-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card::before { /* barra de acento que cresce no hover */
  content: ''; position: absolute; left: 30px; right: 30px; top: -1px; height: 3px;
  background: var(--accent, var(--copper));
  border-radius: 0 0 3px 3px;
  transform: scaleX(.2); transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent, var(--copper)) 30%, var(--line)); }
.card:hover::before { transform: scaleX(1); }
a.card { text-decoration: none; color: inherit; }
.card h3, .card .h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 26px; }
.card-num {
  font-size: 2.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.2px color-mix(in srgb, var(--accent) 45%, white);
}
.section--sand .card { border-color: var(--sand-200); }

/* ---------- Cadeia de valor ---------- */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: 20px;
  margin: 0; padding: 0; list-style: none;
  counter-reset: step;
  --flow-bg: var(--sand);
}
.section:not(.section--sand) .flow { --flow-bg: var(--white); }
.flow::before { /* linha contínua que liga as etapas */
  content: ''; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--accent, var(--copper)), color-mix(in srgb, var(--accent, var(--copper)) 25%, transparent));
}
.flow li { position: relative; counter-increment: step; }
.flow li::before {
  content: counter(step, decimal-leading-zero);
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--accent, var(--copper));
  box-shadow: 0 0 0 7px var(--flow-bg);
  color: var(--accent-ink, var(--navy)); font-size: .9375rem; font-weight: 700; letter-spacing: .02em;
  transition: background-color .2s ease, color .2s ease;
}
.flow li:hover::before { background: var(--accent, var(--copper)); color: var(--white); }
.flow strong { display: block; color: var(--navy); font-size: 1.125rem; line-height: 1.3; }
.flow span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--muted); line-height: 1.45; }

/* Versão vertical: mobile e colunas estreitas (ex.: aside dos formulários) */
.split--form .flow { grid-template-columns: 1fr; gap: 22px; --flow-bg: var(--white); }
.split--form .flow::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent, var(--copper)), color-mix(in srgb, var(--accent, var(--copper)) 20%, transparent)); }
.split--form .flow li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-items: start; }
.split--form .flow li::before { width: 48px; height: 48px; margin: 0; grid-row: span 2; font-size: .875rem; }
.split--form .flow strong { padding-top: 3px; }
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr; gap: 22px; }
  .flow::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent, var(--copper)), color-mix(in srgb, var(--accent, var(--copper)) 20%, transparent)); }
  .flow li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; align-items: start; }
  .flow li::before { width: 48px; height: 48px; margin: 0; grid-row: span 2; font-size: .875rem; }
  .flow strong { padding-top: 3px; }
}

/* ---------- Fotografias ---------- */
.photo { margin: 0; }
.photo picture { overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); box-shadow: var(--shadow-lg); }
.photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.photo:hover img { transform: scale(1.04); }
.photo figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; font-size: .9375rem; color: var(--muted); }
.photo figcaption strong { color: var(--navy); font-weight: 650; }
.photo figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.photo .pin { color: var(--copper); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px; align-items: center;
}
.split--form { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split--form aside { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .split, .split--form { grid-template-columns: 1fr; gap: 40px; }
  .split--form aside { position: static; }
}

/* ---------- Produtos ---------- */
.product {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product picture { overflow: hidden; background: var(--sand); }
.product img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; transition: transform .9s var(--ease); }
.product:hover img { transform: scale(1.05); }
.product-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.product-body p { color: var(--muted); }
.product dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 24px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: .9375rem; }
.product dt { font-weight: 650; color: var(--navy); }
.product dd { margin: 0; color: var(--muted); }
.product .btn { margin-top: auto; }

/* ---------- Listas de serviços ---------- */
.service-list {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
.service-list li {
  position: relative;
  padding: 24px 24px 24px 60px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.service-list li::before { /* losango do símbolo */
  content: ''; position: absolute; left: 26px; top: 31px;
  width: 10px; height: 10px;
  background: var(--accent, var(--copper)); transform: rotate(45deg);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent, var(--copper)) 16%, transparent);
}
.service-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent, var(--copper)) 30%, var(--line)); }
.service-list strong { display: block; color: var(--navy); font-size: 1.0625rem; line-height: 1.35; }
.service-list span { display: block; margin-top: 6px; font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.service-list.stack { grid-template-columns: 1fr; }
@media (max-width: 900px) { .service-list { grid-template-columns: 1fr; } }

.note {
  position: relative;
  margin-top: 36px;
  padding: 22px 26px 22px 64px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--graphite);
}
.note::before {
  content: 'i';
  position: absolute; left: 22px; top: 22px;
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent, var(--copper)); color: var(--white);
  font-size: .875rem; font-weight: 700; font-style: italic; font-family: Georgia, serif;
}
.section--sand .note { border-color: var(--sand-200); }
.note p:last-child { margin: 0; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 1.8em; padding-top: 1em; font-size: 1.75rem; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- CTA por unidade ---------- */
.cta-unit {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 30px 28px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: rgba(255,255,255,.76);
  text-decoration: none;
  overflow: hidden;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.cta-unit::after { /* brilho da cor da unidade */
  content: ''; position: absolute; right: -70px; top: -70px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%);
  opacity: .45; transition: opacity .25s ease;
  pointer-events: none;
}
.cta-unit:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); transform: translateY(-4px); }
.cta-unit:hover::after { opacity: 1; }
.cta-unit .unit-icon { margin-bottom: 10px; }
.cta-unit strong { color: var(--white); font-size: 1.3125rem; line-height: 1.3; letter-spacing: -0.01em; }
.cta-unit .unit-tag { color: var(--accent-on-dark); margin: 0; }
.cta-unit .go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 650; color: var(--white); }
.cta-unit .go::after { content: '→'; transition: transform .2s var(--ease); }
.cta-unit:hover .go::after { transform: translateX(4px); }

/* ---------- Formulários ---------- */
.form-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 600px) { .form-card { padding: 24px 18px; } }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

fieldset { margin: 0 0 32px; padding: 0; border: 0; }
fieldset[hidden] { display: none; }
legend {
  margin-bottom: 18px; padding: 0;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

.field label { display: block; margin-bottom: 7px; font-size: 1rem; font-weight: 600; color: var(--navy); }
.field .hint { display: block; margin-top: 6px; font-size: .875rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit; font-size: 1rem;
  color: var(--graphite);
  background: #FCFBF9;
  border: 1px solid #C9C2B6;
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #A69E90; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(200, 93, 45, .18);
}
.req { color: #B42318; }

.unit-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.unit-picker label {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 650; color: var(--navy); line-height: 1.3;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.unit-picker label::after { /* indicador de selecção */
  content: ''; position: absolute; top: 14px; right: 14px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid #B9B2A6; background: var(--white);
  transition: border .15s ease;
}
.unit-picker label:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.unit-picker label span { padding-right: 20px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.unit-picker input { position: absolute; opacity: 0; pointer-events: none; }
.unit-picker label:has(input:checked) {
  background: color-mix(in srgb, var(--accent) 7%, white);
  border-color: var(--accent);
  box-shadow: 0 8px 20px -12px color-mix(in srgb, var(--accent) 70%, transparent);
}
.unit-picker label:has(input:checked)::after { border: 5px solid var(--accent); }
.unit-picker label:has(input:focus-visible) { outline: 3px solid var(--copper); outline-offset: 2px; }
@media (max-width: 640px) { .unit-picker { grid-template-columns: 1fr; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-bottom: 24px; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: #ECF5EC; color: #1E5B25; }
.form-status.is-error { background: #FDEDEC; color: #8A1C12; }

.field .consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--graphite); }
.field .consent input { flex: none; width: 22px; min-height: 22px; height: 22px; margin-top: 2px; accent-color: var(--copper-btn); }
.h-captcha { margin-bottom: 20px; }

.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--copper-ink); text-decoration: underline; }
.contact-list.narrow { max-width: 640px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; background: var(--dark-bg); color: rgba(255,255,255,.7); font-size: 1rem; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--copper) 0 33.33%, var(--food) 33.33% 66.66%, var(--seguros) 66.66%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 88px 0 56px;
}
.footer-grid img { height: 52px; width: auto; margin-bottom: 20px; }
.footer-grid > div:first-child p { max-width: 320px; }
.footer-grid h2 {
  margin-bottom: 18px;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper-on-dark);
}
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .9375rem; color: rgba(255,255,255,.6);
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; padding-top: 60px; gap: 36px; }
  /* espaço para o botão WhatsApp não tapar o conteúdo final */
  .footer-bottom { padding-bottom: 96px; }
}

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1FA855; color: var(--white);
  box-shadow: 0 12px 28px -8px rgba(31, 168, 85, .6);
  transition: transform .2s var(--ease), background-color .2s ease;
}
.wa-float:hover { background: #178A45; transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 520px) {
  .wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ---------- Entrada suave ao fazer scroll (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Utilitários ---------- */
.after-grid { margin-top: 32px; }

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