/* ============================================================
   Dra. Graziela Carvalho — Advocacia Trabalhista Empresarial
   Design system: editorial minimalism premium.
   Base bone/ink com serifa editorial + seções petróleo profundo
   e accent teal. Motion com easings custom, apenas
   transform/opacity/clip-path, respeitando reduced-motion.
   ============================================================ */

:root {
  /* ---- Color ---- */
  --bone:        #f6f4ef;   /* warm paper base */
  --bone-2:      #efece4;   /* slightly deeper paper */
  --paper:       #fbfaf7;   /* card / raised surfaces */
  --ink:         #14140f;   /* near-black text */
  --ink-2:       #45463f;   /* secondary text */
  --ink-3:       #6d6e66;   /* muted text */
  --petrol:      #001f2d;   /* deep dark sections */
  --petrol-2:    #06303f;   /* dark section variant */
  --teal:        #008793;   /* signature accent */
  --teal-bright: #12a6b2;   /* accent hover / on-dark */
  --teal-soft:   rgba(0, 135, 147, 0.12);
  --line:        rgba(20, 20, 15, 0.12);
  --line-2:      rgba(20, 20, 15, 0.08);
  --line-dark:   rgba(255, 255, 255, 0.14);
  --whatsapp:    #25d366;
  --whatsapp-dark:#1ebc59;

  /* ---- Elevation ---- */
  --shadow-sm: 0 1px 2px rgba(0, 31, 45, 0.05), 0 4px 16px rgba(0, 31, 45, 0.05);
  --shadow-md: 0 10px 34px rgba(0, 31, 45, 0.12);
  --shadow-lg: 0 30px 70px rgba(0, 31, 45, 0.20);

  /* ---- Type ---- */
  --serif: "Fraunces", "Georgia", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ---- Layout ---- */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  /* ---- Motion ---- */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --dur-fast: 160ms;
  --dur-base: 260ms;
  --dur-slow: 640ms;
  --dur-reveal: 900ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
/* Lenis smooth-scroll hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--bone);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; color: var(--ink-2); }

/* Fluid display scale — editorial, big */
.display  { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.03em; font-size: clamp(2.8rem, 7.5vw, 6rem); }
.h-xl     { font-size: clamp(2.2rem, 5vw, 3.9rem); }
.h-lg     { font-size: clamp(1.9rem, 4vw, 3rem); }
.h-md     { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--teal);
  display: inline-block;
}

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

.section { padding: clamp(72px, 12vh, 150px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin: 18px 0 0; }
.section-head .lead { margin-top: 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--petrol); color: #fff; padding: 10px 16px; z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- Grain (premium tactile layer on dark surfaces) ---- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.06; mix-blend-mode: overlay; pointer-events: none; z-index: 0;
}
.grain > * { position: relative; z-index: 1; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --btn-fg: #fff;
  --btn-bg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 1em 1.7em;
  font-family: var(--sans); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bg); border-radius: 100px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.btn .icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(0.97); }
}

.btn-primary { --btn-bg: var(--teal); --btn-fg: #fff; border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-bright); border-color: var(--teal-bright); box-shadow: 0 12px 30px rgba(0,135,147,0.28); }

.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-dark:hover { box-shadow: var(--shadow-md); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost.on-dark { --btn-fg: #fff; border-color: var(--line-dark); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.btn-whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); box-shadow: 0 12px 30px rgba(37,211,102,0.3); }

.btn-lg { padding: 1.15em 2.1em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Text link with animated underline */
.link-underline {
  position: relative; color: var(--ink); font-weight: 500;
  padding-bottom: 2px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: currentColor; transition: right var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-underline:hover::after { right: 0; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(246, 244, 239, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line-2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 18px; padding-bottom: 18px;
  transition: padding var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled .header-inner { padding-top: 13px; padding-bottom: 13px; }

.brand { display: flex; align-items: baseline; gap: 10px; flex: none; }
.brand-name {
  font-family: var(--serif); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink);
  line-height: 1;
}
.brand-tag {
  font-family: var(--sans); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--ink-3); font-weight: 500;
}

.main-nav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
.main-nav a {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); padding: 4px 0;
  transition: color var(--dur-base) ease;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px;
  background: var(--teal); transition: right var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .main-nav a:hover { color: var(--ink); }
  .main-nav a:hover::after { right: 0; }
}

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 100px; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(120px, 20vh, 190px);
  padding-bottom: clamp(60px, 10vh, 110px);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-title { margin: 22px 0 0; }
.hero-title .accent { color: var(--teal); font-style: italic; }
.hero-lead { margin-top: 26px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 14px 30px;
  margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line);
}
.hero-meta li {
  list-style: none; display: flex; align-items: center; gap: 9px;
  font-size: 0.85rem; color: var(--ink-2); font-weight: 500;
}
.hero-meta svg { width: 17px; height: 17px; stroke: var(--teal); fill: none; stroke-width: 1.6; flex: none; }

/* Portrait frame — clip reveal + parallax */
.hero-media { position: relative; }
.figure {
  position: relative; overflow: hidden; border-radius: 4px;
  background: var(--bone-2);
}
.figure img {
  width: 100%; height: 100%; object-fit: cover; will-change: transform;
}
/* parallax image sits taller than frame so no gaps */
.figure.parallax { }
.figure.parallax img { height: 128%; margin-top: -14%; }

.hero-figure { aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.hero-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  background: rgba(0, 31, 45, 0.72); color: #fff;
  padding: 11px 16px; border-radius: 3px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-tag b { display: block; font-family: var(--serif); color: var(--teal-bright); font-size: 0.95rem; font-weight: 600; }
.hero-tag span { font-size: 0.7rem; letter-spacing: 0.04em; opacity: 0.85; }

/* clip reveal (applied to any [data-reveal-img]) */
[data-reveal-img] { clip-path: inset(0 0 100% 0); transition: clip-path var(--dur-reveal) var(--ease-in-out); }
[data-reveal-img][data-visible] { clip-path: inset(0 0 0 0); }

/* ============================================================
   Marquee (moving trust strip)
   ============================================================ */
.marquee {
  background: var(--petrol); color: rgba(255,255,255,0.9);
  padding: 20px 0; overflow: hidden; white-space: nowrap;
  border-block: 1px solid var(--line-dark);
}
.marquee-track {
  display: inline-flex; gap: 0; align-items: center;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: -0.01em; padding: 0 24px;
}
.marquee-item::after { content: "✳"; color: var(--teal-bright); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Manifesto — big editorial statement
   ============================================================ */
.manifesto { padding: clamp(80px, 14vh, 170px) 0; }
.manifesto-text {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.7rem, 3.9vw, 3.2rem); line-height: 1.14; letter-spacing: -0.02em;
  max-width: 20ch; margin: 26px 0 0; color: var(--ink);
}
.manifesto-text em { font-style: italic; color: var(--teal); }
.manifesto-word { display: inline-block; }

/* word reveal */
.word-reveal .manifesto-word {
  opacity: 0.14; transition: opacity var(--dur-base) var(--ease-out);
}
.word-reveal[data-lit] .manifesto-word { opacity: 1; }

/* ============================================================
   Sobre
   ============================================================ */
.sobre-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.sobre-figure { aspect-ratio: 3 / 4; box-shadow: var(--shadow-md); }
.sobre-content h2 { margin: 18px 0 0; }
.sobre-content .lead { margin-top: 20px; }
.sobre-content p + p { margin-top: 16px; }
.checklist { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; font-size: 0.98rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 100px;
  background: var(--teal-soft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  background: var(--teal);
}

/* ============================================================
   Full-bleed parallax image break
   ============================================================ */
.imgbreak {
  position: relative; height: clamp(340px, 58vh, 620px); overflow: hidden;
  display: grid; place-items: center; text-align: center;
}
.imgbreak-media { position: absolute; inset: 0; z-index: 0; }
.imgbreak-media img {
  position: absolute; left: 0; top: -18%; width: 100%; height: 136%; object-fit: cover;
  will-change: transform;
}
.imgbreak::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,31,45,0.55), rgba(0,31,45,0.72));
}
.imgbreak-inner { position: relative; z-index: 2; color: #fff; max-width: 760px; padding: 0 var(--gutter); }
.imgbreak-inner .eyebrow { color: var(--teal-bright); justify-content: center; }
.imgbreak-inner .eyebrow::before { background: var(--teal-bright); }
.imgbreak-inner h2 { color: #fff; margin-top: 18px; }
.imgbreak-inner p { color: rgba(255,255,255,0.82); margin-top: 18px; font-size: 1.1rem; }

/* ============================================================
   Áreas de atuação — refined minimal cards
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.card {
  background: var(--bone); padding: 40px 34px;
  transition: background var(--dur-base) var(--ease-out);
  position: relative;
}
.card-index {
  font-family: var(--serif); font-size: 0.9rem; color: var(--teal); font-weight: 600; letter-spacing: 0.02em;
}
.card-icon { margin: 22px 0 20px; }
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  transition: stroke var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.card h3 { font-size: 1.22rem; margin: 0 0 10px; }
.card p { font-size: 0.93rem; color: var(--ink-2); line-height: 1.6; }
.card::after {
  content: ""; position: absolute; left: 34px; right: 34px; bottom: 0; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { background: var(--paper); }
  .card:hover .card-icon svg { stroke: var(--teal); transform: translateY(-2px); }
  .card:hover::after { transform: scaleX(1); }
}

/* ============================================================
   Diferenciais — numbered editorial list
   ============================================================ */
.dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 0; }
.dif-item { padding: 34px 30px 34px 0; border-top: 1px solid var(--line); }
.dif-num { font-family: var(--serif); font-size: 2.4rem; color: var(--teal); font-weight: 400; line-height: 1; }
.dif-item h3 { font-size: 1.18rem; margin: 16px 0 8px; }
.dif-item p { font-size: 0.93rem; color: var(--ink-2); }

/* ============================================================
   Processo — timeline
   ============================================================ */
.steps { list-style: none; margin: 0 0 52px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { padding: 0 26px 0 0; position: relative; }
.step-num {
  width: 46px; height: 46px; border-radius: 100px; border: 1px solid var(--teal);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; color: var(--teal); font-size: 1.05rem;
  background: var(--bone); position: relative; z-index: 1; margin-bottom: 22px;
}
.step::before {
  content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 1px; background: var(--line);
}
.step:last-child::before { display: none; }
.step h3 { font-size: 1.1rem; margin: 0 0 8px; }
.step p { font-size: 0.9rem; color: var(--ink-2); }
.processo-cta { text-align: center; }

/* ============================================================
   Público
   ============================================================ */
.publico-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.publico-list { list-style: none; margin: 0; padding: 0; }
.publico-list li {
  padding: 20px 0; border-top: 1px solid var(--line-dark); font-size: 1.05rem; font-weight: 500;
  display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,0.92);
  transition: padding-left var(--dur-base) var(--ease-out);
}
.publico-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.publico-list li::before { content: ""; width: 7px; height: 7px; border-radius: 100px; background: var(--teal-bright); flex: none; }
@media (hover: hover) and (pointer: fine) {
  .publico-list li:hover { padding-left: 10px; }
}

/* ============================================================
   FAQ — minimal accordion (hairline rules only)
   ============================================================ */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion-item { border-top: 1px solid var(--line); }
.accordion-item:last-child { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: none; text-align: left; cursor: pointer;
  padding: 26px 4px; font-family: var(--serif); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; color: var(--ink);
  transition: color var(--dur-base) ease;
}
.accordion-trigger:hover { color: var(--teal); }
.accordion-icon { position: relative; flex: none; width: 20px; height: 20px; }
.accordion-icon::before, .accordion-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--teal);
  transition: transform var(--dur-base) var(--ease-out);
}
.accordion-icon::before { width: 16px; height: 1.5px; transform: translate(-50%, -50%); }
.accordion-icon::after  { width: 1.5px; height: 16px; transform: translate(-50%, -50%); }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-in-out); }
.accordion-panel p { padding: 0 4px 26px; margin: 0; color: var(--ink-2); font-size: 1rem; max-width: 68ch; }

/* ============================================================
   CTA final (dark)
   ============================================================ */
.cta { background: var(--petrol); color: #fff; padding: clamp(80px, 13vh, 150px) 0; text-align: center; }
.cta-inner { max-width: 760px; margin: 0 auto; }
.cta .eyebrow { color: var(--teal-bright); justify-content: center; }
.cta .eyebrow::before { background: var(--teal-bright); }
.cta h2 { color: #fff; margin: 18px 0 0; }
.cta p { color: rgba(255,255,255,0.8); margin: 22px 0 36px; font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   Contato
   ============================================================ */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contato-info h2 { margin: 18px 0 0; }
.contato-info .lead { margin-top: 18px; }
.info-list { list-style: none; margin: 30px 0; padding: 0; display: grid; gap: 4px; }
.info-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.info-list svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.6; flex: none; }
.info-list a { transition: color var(--dur-base) ease; }
@media (hover: hover) and (pointer: fine) { .info-list a:hover { color: var(--teal); } }

.map-wrap { border-radius: 4px; overflow: hidden; border: 1px solid var(--line); margin-top: 8px; }
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; filter: grayscale(0.3) contrast(1.05); }

.contato-form { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.contato-form h3 { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 24px; }
.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); text-transform: uppercase; }
.form-row input, .form-row textarea {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--bone); resize: vertical;
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease, background var(--dur-base) ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px var(--teal-soft);
}
.form-note { font-size: 0.8rem; color: var(--ink-3); margin: 16px 0 0; text-align: center; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--petrol); color: rgba(255,255,255,0.72); padding-top: clamp(56px, 8vh, 90px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name { color: #fff; font-size: 1.8rem; }
.footer-brand p { margin: 16px 0 0; max-width: 34ch; color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--teal-bright); margin: 0 0 18px; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a, .footer-col span { color: rgba(255,255,255,0.72); font-size: 0.95rem; transition: color var(--dur-base) ease; }
@media (hover: hover) and (pointer: fine) { .footer-col a:hover { color: #fff; } }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 24px 0 32px; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.8rem; margin: 0; max-width: 62ch; }

/* ============================================================
   Floating WhatsApp
   ============================================================ */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 800;
  width: 58px; height: 58px; border-radius: 100px; background: var(--whatsapp);
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,0.42);
  opacity: 0; transform: scale(0.85);
  animation: floatIn var(--dur-slow) var(--ease-out) 1s forwards, pulse 2.8s var(--ease-in-out) 2s infinite;
  transition: transform var(--dur-fast) var(--ease-out);
}
.whatsapp-float:active { transform: scale(0.9); }
.whatsapp-float .icon { width: 30px; height: 30px; fill: #fff; }
@keyframes floatIn { to { opacity: 1; transform: scale(1); } }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 12px 28px rgba(37,211,102,0.42); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 12px 28px rgba(37,211,102,0.42); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 12px 28px rgba(37,211,102,0.42); }
}

/* ============================================================
   Scroll reveal system
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.reveal[data-visible] { opacity: 1; transform: translateY(0); }
.reveal-group > * { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.reveal-group[data-visible] > * { opacity: 1; transform: translateY(0); }

/* ---- Form select + consent ---- */
.form-row select {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 4px; background: var(--bone);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23008793' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  transition: border-color var(--dur-base) ease, box-shadow var(--dur-base) ease, background-color var(--dur-base) ease;
}
.form-row select:focus { outline: none; border-color: var(--teal); background-color: #fff; box-shadow: 0 0 0 3px var(--teal-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: 0.85rem; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--teal); flex: none; width: 16px; height: 16px; }
.consent a { color: var(--teal); text-decoration: underline; }

/* ---- Social icons ---- */
.social-row { display: flex; gap: 12px; margin: 26px 0; }
.social-link {
  width: 44px; height: 44px; border-radius: 100px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.social-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social-link:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .social-link:hover { color: #fff; background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
}
.social-row.on-dark { margin-top: 22px; }
.social-row.on-dark .social-link { border-color: var(--line-dark); color: rgba(255,255,255,0.85); }
@media (hover: hover) and (pointer: fine) {
  .social-row.on-dark .social-link:hover { color: #fff; background: var(--teal); border-color: var(--teal); }
}
.footer-oab { margin-top: 14px !important; color: var(--teal-bright) !important; font-weight: 600; letter-spacing: 0.02em; font-size: 0.9rem !important; }

/* ---- Lead magnet ---- */
.leadmagnet { padding-top: 0; }
.lead-card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(30px, 5vw, 64px);
  background: var(--petrol); color: #fff; border-radius: 10px; padding: clamp(32px, 5vw, 60px); align-items: center;
  position: relative; overflow: hidden;
}
.lead-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 100px;
  background: radial-gradient(circle, rgba(0,135,147,0.35), transparent 70%);
}
.lead-card-text { position: relative; z-index: 1; }
.lead-card .eyebrow { color: var(--teal-bright); }
.lead-card .eyebrow::before { background: var(--teal-bright); }
.lead-card h2 { color: #fff; margin: 16px 0 14px; }
.lead-card p { color: rgba(255,255,255,0.82); }
.lead-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.lead-points li { position: relative; padding-left: 26px; color: rgba(255,255,255,0.9); font-size: 0.92rem; }
.lead-points li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--teal-bright);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center/13px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.lead-form { position: relative; z-index: 1; background: var(--paper); border-radius: 8px; padding: clamp(24px, 3vw, 32px); }
.lead-form .form-row label { color: var(--ink-2); }
.lead-form .consent { color: var(--ink-2); }

/* ---- Article cards (teaser + blog index) ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: 30px 28px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.post-tag { align-self: flex-start; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; color: var(--teal); border: 1px solid var(--teal-soft); background: var(--teal-soft); padding: 4px 10px; border-radius: 100px; margin-bottom: 18px; }
.post-card h3 { font-size: 1.24rem; line-height: 1.2; margin: 0 0 12px; }
.post-card p { font-size: 0.93rem; color: var(--ink-2); flex: 1; }
.post-more { margin-top: 18px; color: var(--teal); font-weight: 600; font-size: 0.9rem; }
@media (hover: hover) and (pointer: fine) {
  .post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
}

/* ---- Article page ---- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-3); margin-bottom: 22px; }
.breadcrumb a { color: var(--ink-3); transition: color var(--dur-base) ease; }
.breadcrumb a:hover { color: var(--teal); }
.article-hero { padding-top: clamp(120px, 18vh, 170px); padding-bottom: clamp(30px, 5vh, 50px); }
.article-hero .post-tag { margin-bottom: 20px; }
.article-title { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.06; max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; color: var(--ink-3); font-size: 0.88rem; }
.article-meta strong { color: var(--ink); font-weight: 600; }
.article-body { max-width: 720px; margin: 0 auto; padding-bottom: clamp(50px, 8vh, 90px); }
.article-lead { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ink); margin: 0 0 36px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 44px 0 0; line-height: 1.15; }
.prose h3 { font-size: 1.25rem; margin: 30px 0 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 1.05rem; line-height: 1.75; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 30px 0; padding: 18px 26px; border-left: 3px solid var(--teal); background: var(--bone-2); border-radius: 0 6px 6px 0; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.article-cta { margin-top: 44px; background: var(--petrol); color: #fff; border-radius: 10px; padding: clamp(28px, 4vw, 44px); text-align: center; }
.article-cta h3 { color: #fff; font-size: 1.5rem; margin: 0 0 10px; }
.article-cta p { color: rgba(255,255,255,0.8); margin: 0 0 22px; }
.article-disclaimer { margin-top: 30px; font-size: 0.82rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 20px; }
.article-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 720px; margin: 0 auto; padding-bottom: clamp(50px, 8vh, 90px); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 440px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-figure { max-width: 420px; aspect-ratio: 4 / 4.4; }
  .publico-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .step::before { display: none; }
  .contato-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .lead-card { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(246,244,239,0.98);
    backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid var(--line-2); box-shadow: var(--shadow-md);
    transform-origin: top right; transform: scale(0.97); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out), visibility var(--dur-base);
    padding: 8px var(--gutter) 22px; max-height: 82vh; overflow-y: auto;
  }
  .main-nav.is-open { transform: scale(1); opacity: 1; visibility: visible; pointer-events: auto; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line-2); }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-hero-wa { display: none; }
  .brand-tag { display: none; }

  .cards-grid { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 30px 0; }
  .hero-actions .btn { flex: 1 1 auto; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .post-grid { grid-template-columns: 1fr; }
  .article-nav { flex-direction: column; }
}

@media (max-width: 420px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .reveal-group > * { opacity: 1 !important; transform: none !important; }
  [data-reveal-img] { clip-path: none !important; }
  .figure.parallax img, .imgbreak-media img { transform: none !important; }
  .word-reveal .manifesto-word { opacity: 1 !important; }
  .marquee-track { animation: none !important; }
}
