/* ==========================================================================
   WILLIS AR CONDICIONADO — Estilos principais
   --------------------------------------------------------------------------
   1. Variáveis (cores, fontes, espaçamentos)  ← edite aqui a identidade
   2. Base
   3. Layout e utilitários
   4. Botões
   5. Header e navegação
   6. Hero (Home) e Page Hero (páginas internas)
   7. Seções e componentes (cards, grids, etc.)
   8. Formulário
   9. Footer e WhatsApp flutuante
   10. Animações
   Ajustes de tela menores ficam em responsive.css
   ========================================================================== */

/* 1. VARIÁVEIS ------------------------------------------------------------- */
:root {
  /* Paleta Willis — azul-marinho + prata (extraída da identidade visual) */
  --blue: #1f4e80;       /* azul-aço: botões, links e destaques sobre fundo claro */
  --blue-600: #173d66;
  --blue-700: #0e243c;
  --blue-50: #eef3f8;
  --blue-100: #d5e0eb;
  --sky: #c3cdd8;        /* prata-azulado: destaques sobre fundo escuro */

  /* Azul-marinho corporativo (fundo do logo) */
  --navy: #112c49;
  --navy-800: #0e243c;
  --navy-950: #09182a;
  --navy-grad: radial-gradient(ellipse 90% 120% at 50% 0%, #1a3d63 0%, #133152 45%, #0e243c 100%);

  /* Prata (acabamento do logo) */
  --silver: linear-gradient(180deg, #f1f3f5 0%, #d3d8de 55%, #b7bec6 100%);
  --silver-solid: #cfd5db;

  /* Neutros */
  --white: #ffffff;
  --gray-25: #fafbfc;
  --gray-50: #f3f5f8;
  --gray-100: #e9edf2;
  --gray-200: #dce2ea;
  --gray-400: #97a1ae;
  --text: #0e1f33;
  --text-muted: #56627a;

  --whatsapp: #1fae55;

  /* Tipografia */
  --font-head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Formas */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 51, .06), 0 2px 8px rgba(10, 22, 51, .04);
  --shadow: 0 10px 30px -12px rgba(10, 22, 51, .18);
  --shadow-lg: 0 30px 60px -24px rgba(10, 22, 51, .35);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 80px;
  --section-y: clamp(72px, 9vw, 128px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 30px; height: 30px; }

/* 3. LAYOUT E UTILITÁRIOS -------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--gray { background: var(--gray-50); }
.section--tight { padding: calc(var(--section-y) * .7) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--sky); }

.accent { color: var(--blue); font-style: italic; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-head--split > div { max-width: 640px; }

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

.placeholder-text {
  display: inline; background: #fff6d6; color: #7a5a00; border-radius: 4px; padding: 0 .3em;
  font-size: .92em; font-weight: 500;
}
.is-placeholder { opacity: .85; }

/* 4. BOTÕES ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: var(--radius-sm);
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { --btn-bg: var(--blue-600); --btn-bd: var(--blue-600); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(31, 78, 128, .7); }
.btn:hover .icon--arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--gray-200); }
.btn--outline:hover { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); box-shadow: none; }
.btn--white { --btn-bg: #fff; --btn-fg: var(--blue); --btn-bd: #fff; }
.btn--white:hover { --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.45); }
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; box-shadow: none; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-bd: var(--whatsapp); }
.btn--whatsapp:hover { --btn-bg: #178f45; --btn-bd: #178f45; box-shadow: 0 12px 24px -12px rgba(31, 174, 85, .7); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .8rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600; color: var(--blue);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

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

/* 5. HEADER ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--gray-100); box-shadow: 0 6px 24px -18px rgba(10, 22, 51, .35); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 38px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-list a {
  position: relative; display: block; padding: 10px 14px;
  font-size: .94rem; font-weight: 500; color: var(--text);
  transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--blue); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile-extra { display: none; }

/* 6. HERO ------------------------------------------------------------------ */
.lines-bg { position: relative; isolation: isolate; }
.lines-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 1px, transparent 1px 46px);
}
.wave { position: absolute; z-index: -1; pointer-events: none; opacity: .35; }

.hero { position: relative; background: var(--gray-50); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(calc(100vh - var(--header-h)), 780px); }
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 64px 72px max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.hero__content h1 { max-width: 620px; }
.hero__content .lead { max-width: 520px; margin-bottom: 36px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--gray-200); }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--text-muted); }
.hero__checks .icon { width: 20px; height: 20px; color: var(--blue); }

.hero__visual {
  position: relative; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  padding: 72px max(var(--gutter), calc((100vw - var(--container)) / 2)) 72px 56px;
}
.hero__visual .wave { right: -80px; top: 12%; width: 520px; }
.hero__stage { position: relative; width: 100%; max-width: 520px; }
.hero__media {
  position: relative; width: 100%; aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.2);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__card {
  position: absolute; left: -40px; bottom: -36px; z-index: 2;
  width: min(300px, 70%); padding: 22px 22px 18px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.hero__card-title { font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); margin-bottom: 14px; }
.hero__steps { list-style: none; display: grid; gap: 10px; }
.hero__steps li { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-muted); }
.hero__steps b {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--blue-50); color: var(--blue); font-size: .75rem; font-weight: 700;
}
.hero__steps li + li { position: relative; }


/* Capa com foto de fundo (Home) */
.hero-cover { position: relative; isolation: isolate; overflow: hidden; min-height: min(calc(100vh - var(--header-h)), 760px); display: flex; align-items: center; background: var(--navy); color: #fff; }
.hero-cover__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; animation: hero-zoom 1.6s var(--ease) both; }
.hero-cover__overlay { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(9,24,42,.92) 0%, rgba(9,24,42,.78) 38%, rgba(26,61,99,.35) 70%, rgba(26,61,99,.12) 100%),
    linear-gradient(0deg, rgba(9,24,42,.55) 0%, transparent 35%); }
.hero-cover__inner { width: 100%; padding-top: 96px; padding-bottom: 96px; }
.hero-cover__content { max-width: 640px; }
.hero-cover__content > * { animation: rise .9s var(--ease) both; }
.hero-cover__content > *:nth-child(2) { animation-delay: .08s; }
.hero-cover__content > *:nth-child(3) { animation-delay: .16s; }
.hero-cover__content > *:nth-child(4) { animation-delay: .24s; }
.hero-cover__content > *:nth-child(5) { animation-delay: .32s; }
.hero-cover h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-cover .accent { color: var(--sky); }
.hero-cover .lead { color: rgba(255,255,255,.88); max-width: 540px; margin-bottom: 36px; }
.hero-cover__checks { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-cover__checks li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.88); }
.hero-cover__checks .icon { width: 20px; height: 20px; color: var(--sky); }
@keyframes hero-zoom { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }

/* Page hero — páginas internas */
.page-hero { position: relative; background: var(--blue); color: #fff; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 clamp(64px, 7vw, 96px); }
.page-hero .wave { right: -120px; top: -40px; width: 620px; }
.page-hero h1 { color: #fff; max-width: 860px; font-size: clamp(2rem, 4.2vw, 3.3rem); }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .84rem; margin-bottom: 26px; color: rgba(255,255,255,.7); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.breadcrumb a:hover { color: #fff; }

/* 7. SEÇÕES E COMPONENTES -------------------------------------------------- */

/* Sobre curto (credibilidade) */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.intro p { color: var(--text-muted); font-size: 1.08rem; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.pillar { background: #fff; padding: 28px 26px; transition: background .3s; }
.pillar:hover { background: var(--gray-25); }
.pillar .icon { color: var(--blue); width: 28px; height: 28px; margin-bottom: 18px; }
.pillar h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pillar p { font-size: .92rem; margin: 0; color: var(--text-muted); }

/* Cards de soluções */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius);
  padding: 30px 26px 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue); transition: background .35s var(--ease), color .35s var(--ease);
}
.card:hover .card__icon { background: var(--blue); color: #fff; }
.card__num { font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: .95rem; color: var(--gray-400); }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--text-muted); margin-bottom: 22px; }
.card .link-arrow { margin-top: auto; }

/* Por que Willis — seção escura */
.why { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.why::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,78,128,.45), transparent 65%); pointer-events: none;
}
.why h2 { color: #fff; }
.why .accent { color: var(--sky); }
.why .section-head p { color: rgba(255,255,255,.72); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 1; }
.why__item { padding: 40px 32px 8px 0; }
.why__item + .why__item { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.12); }
.why__item .icon { width: 32px; height: 32px; color: var(--sky); margin-bottom: 26px; }
.why__item h3 { color: #fff; font-size: 1.15rem; }
.why__item p { color: rgba(255,255,255,.7); font-size: .95rem; margin: 0; }
.why__index { display: block; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: .9rem; color: var(--sky); margin-bottom: 10px; }

/* Segmentos */
.segment {
  position: relative; display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.segment::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.segment:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.segment:hover::before { transform: scaleY(1); }
.segment__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--blue-100); color: var(--blue); }
.segment h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.segment p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--blue); margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue) 0 40px, var(--gray-200) 40px); }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .93rem; color: var(--text-muted); margin: 0; }

/* Projetos */
.project {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__tag {
  position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--navy); font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.project__demo { position: absolute; right: 16px; top: 16px; padding: 6px 10px; border-radius: 999px; background: #fff6d6; color: #7a5a00; font-size: .7rem; font-weight: 600; }
.project__body { padding: 22px 24px 24px; }
.project__body h3 { font-size: 1.1rem; margin-bottom: 12px; }
.project__meta { list-style: none; display: grid; gap: 6px; font-size: .88rem; color: var(--text-muted); }
.project__meta li { display: flex; gap: 8px; align-items: center; }
.project__meta .icon { width: 16px; height: 16px; color: var(--blue); }
.project__meta strong { color: var(--text); font-weight: 600; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn {
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--gray-200); background: #fff;
  font-size: .88rem; font-weight: 500; cursor: pointer; transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.notice {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; margin-bottom: 36px;
  border-radius: var(--radius-sm); background: var(--blue-50); color: var(--navy); font-size: .92rem;
}
.notice .icon { color: var(--blue); margin-top: 2px; }
.notice p { margin: 0; }


/* Boas práticas */
.practice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.practice + .practice { margin-top: 88px; }
.practice--reverse .practice__media { order: 2; }
.practice__media { position: relative; }
.practice__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.practice__media::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -10px; height: 4px; border-radius: 4px; background: var(--blue); }
.practice__tag { display: inline-block; padding: 6px 12px; margin-bottom: 16px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.practice h3 { font-size: clamp(1.45rem, 2.4vw, 1.95rem); }
.practice p { color: var(--text-muted); }
.practice__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 24px 0 8px; }
.practice__cols h4 { font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin: 0 0 14px; }
.practice__cols .check-list { margin: 0; }
.practice__cols .check-list li { font-size: .93rem; }
.check-list--risk .icon { color: #d97706; }
.practice__note { margin: 20px 0 0; padding: 14px 18px; border-left: 3px solid var(--blue); background: var(--gray-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; }
.section--gray .practice__note { background: #fff; }


/* Nossa história */
.history { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.history::after { content: ""; position: absolute; width: 640px; height: 640px; left: -280px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(31,78,128,.4), transparent 65%); pointer-events: none; }
.history__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; position: relative; z-index: 1; }
.history__num { display: block; font-family: var(--font-head); font-weight: 700; font-style: italic; font-size: clamp(5rem, 13vw, 10rem); line-height: .9; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 2px var(--sky); }
.history__cap { display: block; max-width: 320px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; color: rgba(255,255,255,.7); }
.history__photo { margin: 0; justify-self: center; width: 100%; max-width: 380px; position: relative; }
.history__photo img { width: 100%; aspect-ratio: 800 / 1141; object-fit: cover; border-radius: var(--radius-lg); filter: grayscale(1); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); outline: 2px solid rgba(143,176,255,.35); outline-offset: 10px; }
.history__photo figcaption { margin-top: 26px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.history__sub { color: var(--sky); font-size: 1.15rem; margin-bottom: 14px; }
.history__grid { isolation: isolate; }
.history h2 { color: #fff; }
.history p { color: rgba(255,255,255,.75); }
.history__lead { font-size: 1.15rem; color: #fff !important; }
.history strong { color: var(--sky); font-weight: 600; }

/* Perguntas frequentes */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq__aside p { color: var(--text-muted); }
.faq__media { margin-top: 28px; max-width: 340px; }
.faq__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.faq__list { display: grid; gap: 12px; }
.faq__list .btn { justify-self: start; margin-top: 14px; }
.faq__item { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq__item summary { position: relative; list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--navy); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__icon { position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--blue-50); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { margin: 0; padding: 0 24px 22px; color: var(--text-muted); }

/* CTA band */
.cta-band { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.cta-band .wave { right: -140px; top: -30px; width: 620px; opacity: .25; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band h2 { color: #fff; max-width: 640px; margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.82); margin: 0; max-width: 560px; }
.cta-band .btn-row { flex: none; }

/* Páginas internas: soluções detalhadas */
.service-detail {
  display: grid; grid-template-columns: 90px 1fr 1fr; gap: 40px; padding: 48px 0;
  border-top: 1px solid var(--gray-200); scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-detail:last-child { border-bottom: 1px solid var(--gray-200); }
.service-detail__num { font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--blue); }
.service-detail__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--blue-50); color: var(--blue); margin-bottom: 20px; }
.service-detail h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.service-detail p { color: var(--text-muted); }
.service-detail h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; }
.check-list { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.check-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: .96rem; }
.check-list .icon { width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.toc a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--gray-200); font-size: .86rem; font-weight: 500; transition: all .25s; }
.toc a:hover { border-color: var(--blue); color: var(--blue); }

/* Segmentos (página) */
.segment-detail { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 36px; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); scroll-margin-top: calc(var(--header-h) + 24px); transition: box-shadow .35s var(--ease), border-color .35s var(--ease); }
.segment-detail:hover { box-shadow: var(--shadow); border-color: var(--blue-100); }
.segment-detail .segment__icon { width: 64px; height: 64px; }
.segment-detail h2 { font-size: 1.4rem; margin-bottom: 8px; }
.segment-detail p { color: var(--text-muted); font-size: .96rem; }
.segment-detail .check-list { margin: 0; }
.segment-detail .check-list li { font-size: .92rem; }

/* Quem somos */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.about__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--blue-100); border-radius: var(--radius-lg); z-index: -1; }
.about__text p { color: var(--text-muted); font-size: 1.04rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; margin-top: 28px; }
.fact { background: #fff; padding: 20px; }
.fact dt { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.fact dd { margin: 0; font-weight: 600; font-size: .95rem; }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv__card { padding: 36px 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray-100); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.mvv__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mvv__card .card__icon { margin-bottom: 24px; }
.mvv__card h3 { font-size: 1.35rem; }
.mvv__card p, .mvv__card li { color: var(--text-muted); font-size: .96rem; }
.mvv__card .check-list { margin: 0; }

/* Blog / estados vazios */
.empty-state { max-width: 620px; margin: 0 auto; text-align: center; padding: 40px 0; }
.empty-state .card__icon { margin: 0 auto 24px; }
.empty-state p { color: var(--text-muted); }

/* 8. CONTATO E FORMULÁRIO -------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
a.contact-item:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateX(4px); }
.contact-item__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.contact-item--whatsapp .contact-item__icon { background: #e6f7ec; color: var(--whatsapp); }
.contact-item__label { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.contact-item__value { display: block; font-weight: 600; word-break: break-word; }
.map-slot { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray-100); }
.map-slot iframe { display: block; width: 100%; height: 280px; border: 0; }

.form-card { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { color: var(--text-muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); background: var(--gray-25); font-size: 1rem;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gray-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 78, 128, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d92d20; background: #fff; }
.field__error { display: none; font-size: .82rem; color: #d92d20; }
.field.has-error .field__error { display: block; }
.form-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 26px; }
.form-actions .btn { white-space: normal; text-align: center; padding: 10px 16px; font-size: .84rem; letter-spacing: .02em; }
.form-note { font-size: .82rem; color: var(--text-muted); margin: 16px 0 0; }
.form-status { display: none; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; }
.form-status.is-success { display: block; background: #e6f7ec; color: #0f5b2c; }
.form-status.is-error { display: block; background: #fdecea; color: #8a1c12; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 9. FOOTER ---------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 48px; padding: 80px 0 56px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--sky); margin-top: 3px; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15); color: #fff; transition: all .25s var(--ease); }
.social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: .84rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 6px 0 6px;
  border-radius: 999px; background: var(--whatsapp); color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 174, 85, .65);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float__icon { display: grid; place-items: center; width: 48px; height: 48px; }
.wa-float__icon .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .9rem; font-weight: 600; transition: max-width .4s var(--ease), padding .4s var(--ease); }
.wa-float:hover { transform: translateY(-3px); }
.wa-float:hover .wa-float__label { max-width: 220px; padding-right: 16px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--whatsapp); animation: wa-pulse 2.8s var(--ease) infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

/* 10. ANIMAÇÕES ------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.hero__content > * { animation: rise .9s var(--ease) both; }
.hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__content > *:nth-child(4) { animation-delay: .24s; }
.hero__content > *:nth-child(5) { animation-delay: .32s; }
.hero__media { animation: fade 1.2s var(--ease) .2s both; }
.hero__card { animation: rise 1s var(--ease) .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(.98); } to { 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; }
  .reveal { opacity: 1; transform: none; }
}


/* Projetos com várias fotos */
.project__nav { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); opacity: .9; transition: opacity .2s, transform .2s var(--ease); }
.project__nav:hover { opacity: 1; transform: scale(1.06); }
.project__nav .icon { width: 18px; height: 18px; }
.project__nav--prev { left: 12px; }
.project__nav--prev .icon { transform: rotate(180deg); }
.project__nav--next { right: 12px; }
.project__count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(9,24,42,.75); color: #fff; font-size: .75rem; font-weight: 600; letter-spacing: .04em; }

/* Ampliar fotos dos projetos */
.project__media img { cursor: zoom-in; }
.project__zoom { position: absolute; left: 14px; bottom: 14px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(9,24,42,.72); color: #fff; cursor: zoom-in; opacity: .85; transition: opacity .2s, transform .2s var(--ease), background .2s; }
.project__zoom .icon { width: 20px; height: 20px; }
.project:hover .project__zoom, .project__zoom:focus-visible { opacity: 1; transform: scale(1.06); background: var(--navy); }

.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 64px 80px; background: rgba(6,16,29,.96); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lightbox__img { max-width: 100%; max-height: calc(100% - 48px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__caption { margin-top: 16px; color: rgba(255,255,255,.8); font-size: .95rem; text-align: center; }
.lightbox__caption strong { color: #fff; font-weight: 600; }
.lightbox__count { margin-left: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .8rem; }
.lightbox__close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__nav .icon { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev .icon { transform: rotate(180deg); }
.lightbox__nav--next { right: 16px; }
.lightbox--single .lightbox__nav { display: none; }
.lightbox-open, .lightbox-open body { overflow: hidden; }
@media (max-width: 640px) {
  .lightbox { padding: 64px 12px 24px; }
  .lightbox__nav { top: auto; bottom: 18px; margin-top: 0; width: 46px; height: 46px; }
  .lightbox__img { max-height: calc(100% - 110px); }
  .lightbox__caption { margin-bottom: 56px; font-size: .88rem; }
}

/* ==========================================================================
   TEMA WILLIS — azul-marinho + prata
   ========================================================================== */

/* Botão prata (mesmo acabamento do logo) */
.btn--silver { --btn-fg: var(--navy-800); --btn-bd: transparent; background: var(--silver); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(0,0,0,.2); }
.btn--silver:hover { --btn-fg: var(--navy-800); background: linear-gradient(180deg, #ffffff 0%, #e2e6ea 55%, #c6ccd3 100%); box-shadow: 0 12px 24px -12px rgba(0,0,0,.55); }
.btn--white { --btn-fg: var(--navy); }
.btn:hover { box-shadow: 0 12px 24px -12px rgba(14, 36, 60, .6); }

/* Cabeçalho azul-marinho */
.site-header { background: rgba(14, 36, 60, .96); border-bottom-color: rgba(255,255,255,.06); }
.site-header.is-scrolled { border-color: rgba(255,255,255,.08); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.brand img { height: 40px; }
.nav-list a { color: rgba(255,255,255,.82); }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: #fff; }
.nav-list a::after { background: var(--silver-solid); }
.nav-toggle { background: transparent; border-color: rgba(255,255,255,.2); color: #fff; }

/* Blocos escuros com o degradê do logo */
.page-hero, .cta-band, .hero__visual { background: var(--navy-grad); }
.why, .history { background: var(--navy-800); }
.why::after, .history::after { background: radial-gradient(circle, rgba(58,104,153,.35), transparent 65%); }
.site-footer { background: var(--navy-950); }
.social a:hover { background: var(--blue); border-color: var(--blue); }
.card:hover .card__icon { background: var(--navy); }
