/* ==========================================================
   Dr. Walliston Emmanuel — Site profissional
   Paleta: azul profundo + branco, detalhes em verde-petróleo
   ========================================================== */

:root {
  --navy-900: #0a2740;
  --navy-800: #0e3557;
  --navy-700: #15466f;
  --petrol: #0d7377;
  --petrol-600: #0b6266;
  --petrol-100: #e3f2f1;
  --sky-50: #f3f7fb;
  --sky-100: #e6eef6;
  --ink: #1d2a36;
  --muted: #5b6b7a;
  --line: #dbe4ec;
  --white: #ffffff;
  --whats: #1fa855;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(10, 39, 64, .06);
  --shadow: 0 12px 32px rgba(10, 39, 64, .10);
  --shadow-lg: 0 24px 60px rgba(10, 39, 64, .16);

  --font-serif: "Lora", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--navy-800); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section__head p:last-child { color: var(--muted); }
.section__head--left { text-align: left; margin-left: 0; }
.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: .8em;
}
.small { font-size: .9rem; color: var(--muted); }
.fineprint { font-size: .85rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 14px; margin-top: 28px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy-800); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .95rem/1 var(--font-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px rgba(14, 53, 87, .25); }
.btn--primary:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--ghost:hover { background: var(--navy-800); color: #fff; }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: var(--petrol-100); color: var(--navy-900); }
.btn--whats { background: var(--whats); color: #fff; box-shadow: 0 8px 20px rgba(31, 168, 85, .3); }
.btn--whats:hover { background: #188e47; color: #fff; }
.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-800), var(--petrol));
  color: #fff; font: 700 1rem var(--font-serif); letter-spacing: .04em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-serif); font-size: 1.05rem; white-space: nowrap; }
.brand__text small { white-space: nowrap; }
.nav__cta { white-space: nowrap; }
@media (min-width: 1141px) and (max-width: 1440px) { .nav__cta { display: none; } }
.brand__text small { font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light small { color: rgba(255, 255, 255, .7); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav ul { display: flex; list-style: none; gap: 2px; }
.nav ul a {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: .88rem; font-weight: 500; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav ul a:hover, .nav ul a.is-active { color: var(--petrol); background: var(--petrol-100); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 2px; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 16px 20px 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 12px 10px; font-size: 1rem; border-bottom: 1px solid var(--sky-100); border-radius: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(13, 115, 119, .12), transparent 60%),
    linear-gradient(180deg, var(--sky-50), #fff);
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__sub { font-size: 1.1rem; color: var(--muted); max-width: 600px; }
.hero__call {
  font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; color: var(--navy-700);
  border-left: 3px solid var(--petrol); padding-left: 16px; max-width: 560px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; list-style: none; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--navy-800); }
.hero__facts span { font-size: .85rem; color: var(--muted); max-width: 180px; line-height: 1.4; }

.hero__photo { position: relative; margin: 0; }
.hero__photo::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--petrol), var(--navy-800)); opacity: .9; z-index: 0;
}
.hero__photo img { position: relative; z-index: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero__badge {
  position: absolute; z-index: 2; left: -20px; bottom: 32px;
  display: flex; align-items: center; gap: 10px;
  background: #fff; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow);
  font-size: .85rem; font-weight: 600; color: var(--navy-800);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--whats); box-shadow: 0 0 0 0 rgba(31, 168, 85, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(31, 168, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 168, 85, 0); } }

/* ---------- Boas-vindas / Pilares ---------- */
.welcome__intro { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.welcome__intro p { font-size: 1.1rem; color: var(--muted); }
.pillars__title { text-align: center; font-size: 1.4rem; margin-bottom: 28px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--petrol-100); display: grid; place-items: center; margin-bottom: 20px; }
.pillar__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar p { color: var(--muted); margin: 0; }

/* ---------- Quem sou ---------- */
.about { background: var(--sky-50); }
.about__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about__photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__role { font-weight: 600; color: var(--petrol); margin-top: -.4em; }
.crf { color: var(--muted); font-weight: 500; }
.about__text > p { color: #34434f; }
.signature {
  margin: 32px 0; padding: 28px 32px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: #fff; position: relative;
}
.signature::before { content: "“"; position: absolute; top: -18px; left: 20px; font: 700 5rem/1 var(--font-serif); color: var(--petrol); opacity: .9; }
.signature p { font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; margin: 0 0 .4em; }
.signature cite { font-style: normal; font-size: .9rem; opacity: .8; }
.about__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Serviços ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.filter {
  border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  padding: 9px 18px; border-radius: 999px; font: 500 .88rem var(--font-sans); transition: all .2s;
}
.filter:hover { border-color: var(--petrol); color: var(--petrol); }
.filter.is-active { background: var(--petrol); border-color: var(--petrol); color: #fff; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s, opacity .3s;
  position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--petrol), var(--navy-700)); transition: width .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { width: 100%; }
.card.is-hidden { display: none; }
.card__tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--petrol); background: var(--petrol-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.card h3 { font-size: 1.12rem; }
.card > p { color: var(--muted); font-size: .95rem; flex-grow: 1; }
.card__more {
  border: 0; background: none; padding: 0; cursor: pointer;
  font: 600 .9rem var(--font-sans); color: var(--navy-800); display: inline-flex; align-items: center; gap: 6px;
}
.card__more::after { content: "→"; transition: transform .2s; }
.card__more:hover::after { transform: translateX(4px); }

.note { background: var(--sky-50); border-left: 3px solid var(--petrol); padding: 12px 16px; border-radius: 0 8px 8px 0; font-size: .93rem; color: #34434f; }

.cta-inline {
  margin-top: 48px; padding: 28px 32px; border-radius: var(--radius-lg);
  background: var(--petrol-100); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-inline p { margin: 0; font-family: var(--font-serif); font-size: 1.15rem; color: var(--navy-800); max-width: 640px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 39, 64, .55); backdrop-filter: blur(3px); animation: fade .25s; }
.modal__box {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 40px 36px 32px;
  max-width: 640px; width: 100%; max-height: 88dvh; overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: rise .3s ease;
}
.modal__box h3 { font-size: 1.5rem; }
.modal__box #modal-body p { color: #34434f; }
.modal__box #modal-body ul { padding-left: 1.3em; margin: 0 0 1em; color: #34434f; }
.modal__box #modal-body li { margin-bottom: .4em; }
.modal__box .btn { margin-top: 8px; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--sky-100); font-size: 1.6rem; line-height: 1; color: var(--navy-800); cursor: pointer; }
.modal__close:hover { background: var(--line); }
body.no-scroll { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } }

/* ---------- Formação ---------- */
.formation { background: linear-gradient(180deg, #fff, var(--sky-50)); }
.formation__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.formation__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.formation__aside > p { color: var(--muted); }
.stats { display: flex; gap: 16px; margin: 28px 0; }
.stats div { flex: 1; background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 20px; }
.stats strong { display: block; font: 600 2.2rem/1.1 var(--font-serif); }
.stats span { font-size: .85rem; opacity: .8; }
.formation__photo { margin: 0; }
.formation__photo img { border-radius: var(--radius-lg); aspect-ratio: 16/11; object-fit: cover; object-position: center 22%; width: 100%; box-shadow: var(--shadow); }

.degrees { list-style: none; counter-reset: deg; display: grid; gap: 12px; }
.degrees li {
  counter-increment: deg; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 16px 68px;
  transition: border-color .2s, transform .2s;
}
.degrees li:hover { border-color: var(--petrol); transform: translateX(4px); }
.degrees li::before {
  content: counter(deg, decimal-leading-zero); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  font: 600 1.05rem var(--font-serif); color: var(--petrol);
  width: 36px; height: 36px; border-radius: 10px; background: var(--petrol-100); display: grid; place-items: center;
}
.degrees h3 { font-size: 1.02rem; margin: 0 0 2px; }
.degrees span { font-size: .87rem; color: var(--muted); }

.other-studies { margin-top: 36px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: #fff; border: 1px dashed var(--petrol); color: var(--petrol-600); padding: 8px 16px; border-radius: 999px; font-size: .9rem; }

/* ---------- Como funciona ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 72px; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--sky-50); }
.step__n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px;
  background: var(--navy-800); color: #fff; font: 600 1.1rem var(--font-serif);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

.modes { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.modes__photo { margin: 0; }
.modes__photo img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.modes__cards { display: grid; gap: 18px; }
.mode { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: #fff; }
.mode h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; }
.mode h3 svg { width: 26px; height: 26px; fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mode p { color: #34434f; }
.mode p:last-child { margin-bottom: 0; }
.mode--highlight { background: var(--petrol-100); border-color: transparent; }
.checklist { list-style: none; display: grid; gap: 6px; margin-bottom: 14px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--petrol); font-weight: 700; }

/* ---------- Para quem é ---------- */
.who { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; }
.who h2 { color: #fff; }
.who .eyebrow { color: #7fd1cf; }
.who__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.who__text p { color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin-bottom: 28px; }
.who__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.who__list li {
  position: relative; padding: 18px 18px 18px 50px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; line-height: 1.5;
}
.who__list li::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 18px; height: 18px; border-radius: 50%;
  background: #7fd1cf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2740' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Conteúdos ---------- */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.topic {
  display: block; padding: 24px 22px; border-radius: var(--radius); border: 1px solid var(--line);
  text-decoration: none; color: inherit; background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.topic h3 { font-size: 1.05rem; }
.topic p { color: var(--muted); font-size: .92rem; margin: 0; }
.topic--ig { background: linear-gradient(135deg, var(--petrol), var(--navy-800)); border: 0; }
.topic--ig h3, .topic--ig p { color: #fff; }
.topic--ig p { opacity: .85; }
.topic--ig svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; margin-bottom: 12px; }

.partners {
  margin-top: 80px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px;
  padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--sky-50);
}
.partners p { color: #34434f; }

/* ---------- FAQ ---------- */
.faq { background: var(--sky-50); }
.faq__inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.accordion { display: grid; gap: 10px; }
.accordion details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.accordion details[open] { border-color: var(--petrol); box-shadow: var(--shadow-sm); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; color: var(--navy-800);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--petrol-100); color: var(--petrol); font-size: 1.2rem; font-weight: 500; transition: transform .25s;
}
.accordion details[open] summary::after { content: "−"; }
.accordion details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contato ---------- */
.contact__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; display: grid; gap: 16px; margin: 28px 0 32px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg {
  width: 46px; height: 46px; padding: 11px; border-radius: 12px; flex-shrink: 0;
  background: var(--petrol-100); fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.contact__list span { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-weight: 600; font-size: 1.1rem; text-decoration: none; color: var(--navy-800); }
.contact__list a:hover { color: var(--petrol); }
.contact__photo { margin: 0; }
.contact__photo img { border-radius: var(--radius-lg); aspect-ratio: 16/10; object-fit: cover; object-position: center 20%; width: 100%; box-shadow: var(--shadow); }

.contact__form {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow);
}
.contact__form h3 { font-size: 1.4rem; margin-bottom: .3em; }
.contact__form label { display: block; font-weight: 600; font-size: .9rem; margin: 18px 0 6px; color: var(--navy-800); }
.contact__form input[type="text"] {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 1rem var(--font-sans); color: var(--ink); transition: border-color .2s, box-shadow .2s; background: #fff;
}
.contact__form input[type="text"]:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px var(--petrol-100); }
.contact__form input.is-invalid { border-color: #c0392b; }
.contact__form fieldset { border: 0; padding: 0; margin: 22px 0 24px; }
.contact__form legend { font-weight: 600; font-size: .9rem; color: var(--navy-800); margin-bottom: 8px; }
.contact__form .radio { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 8px 0; cursor: pointer; color: var(--ink); }
.contact__form .radio input { width: 18px; height: 18px; accent-color: var(--petrol); }
.form__error { color: #c0392b; font-size: .9rem; font-weight: 500; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; font-size: .93rem; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: #7fd1cf; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__quote { font-family: var(--font-serif); font-style: italic; margin-top: 18px; color: rgba(255, 255, 255, .7); }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__legal { padding-top: 24px; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.footer__legal p { margin-bottom: .7em; max-width: 920px; }
.footer__copy { margin-top: 16px; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: flex; align-items: center; gap: 8px;
  background: var(--whats); color: #fff; text-decoration: none;
  padding: 12px 20px 12px 14px; border-radius: 999px; box-shadow: 0 10px 28px rgba(31, 168, 85, .4);
  font-weight: 600; transition: transform .2s, box-shadow .2s;
}
.whats-float:hover { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 34px rgba(31, 168, 85, .5); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Página de privacidade ---------- */
.legal-page { padding: clamp(48px, 6vw, 88px) 0; }
.legal-page .container { max-width: 820px; }
.legal-page h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal-page p, .legal-page li { color: #34434f; }
.legal-page ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal-page .note { margin: 24px 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero__inner, .about__inner, .formation__inner, .modes, .who__inner, .faq__inner, .contact__inner, .partners { grid-template-columns: 1fr; }
  .hero__photo { max-width: 440px; margin: 0 auto; order: -1; }
  .hero__photo::before { inset: 16px -16px -16px 16px; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -18px; white-space: nowrap; }
  .about__photo, .formation__aside, .faq .section__head, .contact__form { position: static; }
  .about__photo { max-width: 420px; }
  .modes__photo { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .topics { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .brand__text small { display: none; }
  .brand__mark { width: 40px; height: 40px; }
  .hero__actions .btn, .about__actions .btn { flex: 1 1 100%; }
  .steps, .topics, .who__list { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 28px; padding: 0 16px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex-shrink: 0; }
  .cta-inline { padding: 24px 20px; }
  .cta-inline .btn { width: 100%; }
  .modal__box { padding: 36px 22px 24px; }
  .contact__form { padding: 26px 20px; }
  .footer__inner { grid-template-columns: 1fr; }
  .whats-float { padding: 14px; right: 16px; bottom: 16px; }
  .whats-float span { display: none; }
  .signature { padding: 24px 22px; }
  .signature p { font-size: 1.15rem; }
}

/* ---------- Logo do WhatsApp ---------- */
svg.wa { fill: currentColor !important; stroke: none !important; }
.btn svg.wa { width: 22px; height: 22px; }
.contact__list svg.wa { color: var(--whats); background: #e3f6ea; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }
.wa-link svg.wa { width: 20px; height: 20px; color: var(--whats); }
.footer .wa-link svg.wa { color: #4ad27f; }
