/* ============================================================
   Sorriso Vital — Odontologia & Estética
   css/style.css
   Design system · Layout · Animações · Responsivo
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --teal-500: #12b3a7;
  --teal-600: #0b8f84;
  --teal-700: #0a7a71;
  --teal-800: #08645e;
  --deep: #062a28;
  --deep-2: #0a3533;
  --ink: #0c2b29;
  --body: #42605d;
  --muted: #748987;
  --line: #dfe9e7;
  --bg: #f5f9f8;
  --surface: #ffffff;
  --gold: #d4af5f;
  --gold-soft: #f3e5c8;
  --star: #ffc94d;
  --wa: #25d366;

  --font-head: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(6, 42, 40, .06);
  --shadow-md: 0 14px 40px rgba(6, 42, 40, .10);
  --shadow-lg: 0 24px 60px rgba(6, 42, 40, .16);
  --maxw: 1200px;
  --header-h: 76px;
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

img { height: auto; }

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

input, select, textarea { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 800;
}

::selection { background: var(--teal-600); color: #fff; }

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: top .25s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout helpers ---------- */
.container {
  width: min(var(--maxw), 100% - 48px);
  margin-inline: auto;
}
.container--narrow { max-width: 860px; }

.section { padding: 104px 0; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }

.section-head__title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.section-head__title span { color: var(--teal-600); }
.section-head__sub { font-size: 1.06rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
}

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:active { transform: translateY(0) scale(.985); }

.btn--lg { padding: 17px 32px; font-size: 1.02rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600) 55%, var(--teal-700));
  color: #fff;
  box-shadow: 0 10px 26px rgba(11, 143, 132, .35);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(11, 143, 132, .42);
}

.btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .38);
  background: rgba(6, 42, 40, .25);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .85);
  transform: translateY(-3px);
}

.btn--light {
  background: #fff;
  color: var(--deep);
  box-shadow: 0 12px 30px rgba(6, 42, 40, .28);
}
.btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(6, 42, 40, .34); }

.btn--outline-light {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  transform: translateY(-3px);
}

.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.header--scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(6, 42, 40, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark { filter: drop-shadow(0 4px 10px rgba(6, 42, 40, .28)); }
.header .brand__mark path { fill: #fff; }
.header--scrolled .brand__mark path { fill: var(--teal-600); }
.brand__mark circle { fill: var(--gold); }

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
  transition: color .35s ease;
}
.header--scrolled .brand__text strong { color: var(--ink); }
.brand__text small {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-500);
  font-weight: 600;
}
.header .brand__text small { color: #b7e7e2; }
.header--scrolled .brand__text small { color: var(--teal-700); }

.nav { display: flex; align-items: center; gap: 30px; }

.nav__list { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  transition: color .25s ease;
}
.header--scrolled .nav__link { color: var(--body); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.header--scrolled .nav__link:hover,
.header--scrolled .nav__link.is-active { color: var(--teal-700); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(6, 42, 40, .25);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background-color .3s ease;
}
.header--scrolled .nav-toggle {
  color: var(--ink);
  background: var(--bg);
  border-color: var(--line);
}
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-menu { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: max(100svh, 680px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 96px;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__media.is-fallback .hero__video { display: none; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 78% 18%, rgba(18, 179, 167, .22), transparent 60%),
    linear-gradient(100deg, rgba(3, 20, 19, .86) 0%, rgba(5, 32, 30, .72) 46%, rgba(6, 42, 40, .42) 100%),
    linear-gradient(0deg, rgba(6, 42, 40, .78), transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #eafffd;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 0 rgba(18, 179, 167, .6);
  animation: pulse-dot 2.2s infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(18, 179, 167, .55); }
  70% { box-shadow: 0 0 0 9px rgba(18, 179, 167, 0); }
  100% { box-shadow: 0 0 0 0 rgba(18, 179, 167, 0); }
}

.hero__title {
  margin: 26px 0 22px;
  font-size: clamp(2.4rem, 6.2vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
}
.hero__title span {
  color: transparent;
  background: linear-gradient(100deg, #6fe3db, #2dbeb3 45%, var(--gold) 120%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__subtitle {
  max-width: 620px;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(255, 255, 255, .88);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: .9rem;
  color: rgba(255, 255, 255, .82);
}
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust li + li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 16px;
}
.hero__trust strong { color: #fff; font-family: var(--font-head); }
.hero__trust-stars { display: inline-flex; gap: 2px; }

.hero__scroll {
  position: absolute;
  z-index: 1;
  left: calc((100% - var(--maxw)) / 2);
  bottom: 30px;
  width: 42px;
  height: 64px;
  display: flex;
  justify-content: center;
}
.hero__scroll span {
  width: 1.5px;
  height: 100%;
  background: rgba(255, 255, 255, .28);
  position: relative;
  border-radius: 2px;
}
.hero__scroll span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 16px;
  border-radius: 4px;
  background: #fff;
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop {
  0% { opacity: 0; top: 0; }
  35% { opacity: 1; }
  100% { opacity: 0; top: calc(100% - 16px); }
}

/* ---------- Ticker ---------- */
.ticker {
  background: linear-gradient(90deg, var(--deep), var(--deep-2));
  color: rgba(255, 255, 255, .85);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.ticker__track {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  animation: ticker 36s linear infinite;
  will-change: transform;
}
.ticker__track > * { display: inline-block; }
.ticker__sep { color: var(--gold); margin: 0 18px; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 143, 132, .35);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(18, 179, 167, .16), rgba(11, 143, 132, .08));
  color: var(--teal-700);
  margin-bottom: 20px;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.card:hover .card__icon {
  transform: translateY(-3px) rotate(-4deg);
  background: var(--teal-600);
  color: #fff;
}

.card h3 {
  font-size: 1.14rem;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.card p { font-size: .95rem; }

/* ---------- Tratamentos (dark) ---------- */
.tratamentos {
  background: radial-gradient(60% 60% at 12% 8%, rgba(18, 179, 167, .14), transparent 60%),
              radial-gradient(50% 50% at 90% 90%, rgba(212, 175, 95, .10), transparent 60%),
              var(--deep);
  color: rgba(255, 255, 255, .8);
}
.section--dark h2, .tratamentos .section-head__title { color: #fff; }
.tratamentos .section-head__title span { color: #6fe3db; }
.tratamentos .eyebrow { color: #9fe8e3; }

.card--service {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.card--service:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(111, 227, 219, .55);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .35);
}
.card--service .card__icon {
  background: rgba(18, 179, 167, .16);
  border: 1px solid rgba(18, 179, 167, .3);
  color: #6fe3db;
}
.card--service:hover .card__icon {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
}
.card--service h3 { color: #fff; }
.card--service p { color: rgba(255, 255, 255, .74); }

.card__link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 700;
  color: #47d5cb;
  transition: gap .25s ease, color .25s ease;
}
.card__link:hover { color: #fff; gap: 13px; }

.tratamentos__foot {
  margin-top: 44px;
  text-align: center;
  color: rgba(255, 255, 255, .75);
}
.tratamentos__foot a {
  color: #6fe3db;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Sobre ---------- */
.sobre { background: var(--surface); }
.sobre__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }

.sobre__media { position: relative; }
.sobre__img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.sobre__img-main img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3.1; }
.sobre__img-small {
  position: absolute;
  left: -36px;
  bottom: -34px;
  width: 46%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
}
.sobre__img-small img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.sobre__badge {
  position: absolute;
  top: 26px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(140deg, var(--teal-600), var(--teal-800));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.sobre__badge strong {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}
.sobre__badge span { font-size: .72rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.9); }

.sobre__content .section-head__title { margin: 12px 0 18px; }
.sobre__content > p { font-size: 1.03rem; }

.check-list { margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  color: var(--ink);
}
.check-list svg {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(18, 179, 167, .14);
  color: var(--teal-700);
}

.sobre__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--teal-700);
  line-height: 1;
}
.stat span { font-size: .82rem; color: var(--muted); }

/* ---------- Processo ---------- */
.processo { background: var(--bg); }
.processo__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.processo__step {
  position: relative;
  padding: 30px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
}
.processo__step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.processo__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--gold));
}
.processo__num {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 143, 132, .5);
  margin-bottom: 16px;
  line-height: 1;
}
.processo__step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.processo__step p { font-size: .92rem; }

/* ---------- Depoimentos ---------- */
.depoimentos { background: var(--surface); }
.card--depoimento {
  display: flex;
  flex-direction: column;
}
.card--depoimento .card__quote {
  position: relative;
  flex: 1;
  margin: 18px 0 24px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
}
.card--depoimento .card__quote::before {
  content: "“";
  display: block;
  font-family: var(--font-head);
  font-size: 3.4rem;
  line-height: .6;
  margin-bottom: 14px;
  color: var(--teal-500);
  font-weight: 800;
}
.card__stars { display: inline-flex; gap: 3px; }
.card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.card__author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-500);
}
.card__author strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.card__author span { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg); }
.accordion {
  display: grid;
  gap: 14px;
}
.accordion__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color .3s ease, box-shadow .3s ease;
}
.accordion__item.is-open {
  border-color: rgba(11, 143, 132, .4);
  box-shadow: var(--shadow-md);
}
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.accordion__trigger svg {
  flex: 0 0 auto;
  color: var(--teal-700);
  transition: transform .35s ease;
}
.accordion__item.is-open .accordion__trigger svg { transform: rotate(180deg); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows .4s ease;
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel-inner { overflow: hidden; }
.accordion__panel-inner p {
  padding: 0 24px 22px;
  font-size: .95rem;
  color: var(--body);
}

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  padding: 120px 0;
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 42, 40, .92), rgba(8, 100, 94, .84));
}
.cta__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}
.cta__title {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 18px;
}
.cta__title span { color: #6fe3db; }
.cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .88);
  max-width: 620px;
  margin: 0 auto 34px;
}
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- Contato ---------- */
.contato { background: var(--surface); }
.contato__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 50px;
  align-items: start;
}

.contato__form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { margin-bottom: 18px; }
.form__field label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(18, 179, 167, .15);
}
.form__field.is-invalid input,
.form__field.is-invalid textarea { border-color: #e05252; }
.form__field .error-msg {
  display: none;
  margin-top: 6px;
  font-size: .8rem;
  color: #d44040;
}
.form__field.is-invalid .error-msg { display: block; }
.form__note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }

.contato__info { display: grid; gap: 16px; }
.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease;
}
a.info-card:hover {
  transform: translateX(6px);
  background: #fff;
  border-color: rgba(11, 143, 132, .4);
  box-shadow: var(--shadow-md);
}
.info-card__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgba(18, 179, 167, .16), rgba(11, 143, 132, .08));
  color: var(--teal-700);
}
.info-card strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.info-card span:not(.info-card__icon) { font-size: .9rem; color: var(--body); }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--deep), #041c1a);
  color: rgba(255, 255, 255, .72);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.brand--light .brand__mark path { fill: #fff; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text small { color: #6fe3db; }

.footer__brand p { margin: 20px 0 26px; max-width: 340px; font-size: .95rem; }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .8);
  transition: background-color .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.footer__social a:hover {
  background: var(--teal-600);
  border-color: var(--teal-600);
  color: #fff;
  transform: translateY(-3px);
}

.footer h3 {
  color: #fff;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 22px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { font-size: .93rem; transition: color .25s ease; }
.footer__col a:hover { color: #6fe3db; }
.footer__contact li { font-size: .93rem; }
.footer__contact a:hover { color: #6fe3db; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}

/* ---------- Floating buttons ---------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ee078, var(--wa) 60%, #1cab57);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  transition: transform .3s ease, box-shadow .3s ease;
}
.fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 18px 40px rgba(37, 211, 102, .55); }
.fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: fab-pulse 2.4s infinite;
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}

.to-top {
  position: fixed;
  right: 34px;
  bottom: 96px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background-color .3s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal-700); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--rdelay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .processo__steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sobre__grid { grid-template-columns: 1fr; gap: 64px; }
  .contato__grid { grid-template-columns: 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: linear-gradient(160deg, rgba(6, 42, 40, .98), rgba(8, 64, 62, .97));
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.77, 0, .18, 1);
    padding: 40px 24px;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 6px; text-align: center; }
  .nav__link {
    font-size: 1.25rem;
    padding: 14px;
    color: #fff !important;
  }
  .nav__link::after { left: 50%; right: 50%; background: #6fe3db; }
  body.nav-open .nav__cta { margin-top: 14px; }

  .nav-toggle { display: inline-flex; }
  .nav__cta { display: inline-flex; }
}

@media (max-width: 700px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .processo__steps { grid-template-columns: 1fr; }
  .sobre__stats { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .sobre__img-small { left: 10px; bottom: -24px; }
  .sobre__badge { right: 10px; top: 16px; padding: 12px 16px; }
  .sobre__badge strong { font-size: 1.4rem; }
  .hero { min-height: 92svh; padding: calc(var(--header-h) + 40px) 0 70px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__trust li + li::before { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .contato__form { padding: 26px 22px; }
  .cta { padding: 84px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}