/* =========================================================
   Escola Carisma Total — estilos
   ========================================================= */
/* Fontes hospedadas no próprio site (não dependem do Google Fonts) */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations"), url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); }

:root {
  --wine: #7A0C1E;
  --wine-700: #5E0716;
  --wine-900: #3D040D;
  --gold: #E3A944;
  --gold-600: #8A5A10; /* dourado escuro: contraste acessível para textos */
  --gold-100: #FBEFD8;
  --cream: #FFF8EE;
  --cream-2: #FBF1E3;
  --ink: #2A1A1D;
  --muted: #6E5D60;
  --line: #EEDFD0;
  --white: #fff;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(61, 4, 13, .06);
  --shadow: 0 14px 40px -12px rgba(61, 4, 13, .18);
  --shadow-lg: 0 30px 70px -20px rgba(61, 4, 13, .35);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--wine-900); }
h1, h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; }
h3 { font-weight: 700; font-size: 1.15rem; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.i { width: 1.15em; height: 1.15em; flex: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--wine); color: #fff; box-shadow: 0 10px 24px -10px rgba(122, 12, 30, .7); }
.btn--primary:hover { background: var(--wine-700); box-shadow: 0 16px 30px -12px rgba(122, 12, 30, .8); }
.btn--gold { background: var(--gold); color: var(--wine-900); box-shadow: 0 10px 24px -10px rgba(201, 140, 37, .8); }
.btn--gold:hover { background: #EDB758; }
.btn--ghost { background: transparent; color: var(--wine); border-color: rgba(122, 12, 30, .25); }
.btn--ghost:hover { border-color: var(--wine); background: rgba(122, 12, 30, .04); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Topbar ---------- */
.topbar { background: var(--wine-900); color: rgba(255, 248, 238, .85); font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 16px; }
.topbar__contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__contacts a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__contacts a:hover { color: var(--gold); }

.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 248, 238, .08); color: var(--cream); transition: background .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--gold); color: var(--wine-900); transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.social--sm a { width: 30px; height: 30px; background: transparent; }
.social--sm svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text small { font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-bottom: 5px; }
.brand__text strong { font-family: var(--f-display); font-size: 1.45rem; font-weight: 700; color: var(--wine); letter-spacing: -.01em; }
.brand--light .brand__text strong { color: var(--cream); }
.brand--light .brand__text small { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); border-radius: 999px; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover, .nav a.is-current { color: var(--wine); }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; padding: .7em 1.25em; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--cream-2); border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--wine); border-radius: 2px; transition: transform .3s, opacity .3s, top .3s; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(227, 169, 68, .18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(122, 12, 30, .07), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #fff 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .85rem; font-weight: 700; color: var(--wine); box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22A559; box-shadow: 0 0 0 0 rgba(34, 165, 89, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 165, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 165, 89, 0); } }

.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); margin: 22px 0 20px; }
.hero h1 em {
  font-style: italic; color: var(--wine); padding: 0 .04em;
  background-image: linear-gradient(transparent 72%, rgba(227, 169, 68, .5) 72%, rgba(227, 169, 68, .5) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 0; }
.stats li { padding: 0 28px; border-left: 1px solid var(--line); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stats strong { display: block; font-family: var(--f-display); font-size: 2.1rem; font-weight: 600; color: var(--wine); line-height: 1.1; }
.stats span { font-size: .88rem; color: var(--muted); font-weight: 500; }

.hero__art { position: relative; padding: 20px 10px 30px 30px; }
.art-card {
  position: relative; aspect-ratio: 5 / 6; border-radius: 40px 40px 40px 140px; overflow: hidden;
  background: linear-gradient(155deg, var(--wine) 0%, var(--wine-700) 55%, var(--wine-900) 100%);
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.art-card__pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-card__logo { position: relative; width: 58%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .3)); animation: float 6s ease-in-out infinite; }
.art-card__quote { position: relative; margin-top: 22px; font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--cream); text-align: center; line-height: 1.2; }
@keyframes float { 50% { transform: translateY(-10px); } }

.float-badge {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 16px; padding: 12px 18px 12px 12px; box-shadow: var(--shadow);
}
.float-badge strong { display: block; font-size: .92rem; color: var(--wine-900); line-height: 1.2; }
.float-badge small { font-size: .78rem; color: var(--muted); }
.float-badge__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); flex: none; }
.float-badge__ic--red { background: #FBE7EA; color: var(--wine); }
.float-badge__ic svg { width: 20px; height: 20px; }
.float-badge--a { top: 54px; left: -14px; animation: float 7s ease-in-out infinite; }
.float-badge--b { bottom: 0; right: -6px; animation: float 8s ease-in-out infinite reverse; }

/* ---------- Seções ---------- */
.section { padding: 104px 0; }
.section--cream { background: var(--cream); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head h2, .split__text h2, .contact__info h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 14px 0 16px; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-600);
}
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker--light { color: var(--gold); }
.hl { color: var(--wine); font-style: italic; }

/* Missão, visão, valores */
.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: 36px 32px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar__ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-100); color: var(--wine); margin-bottom: 22px; }
.pillar__ic svg { width: 26px; height: 26px; }
.pillar h3 { font-family: var(--f-display); font-size: 1.55rem; font-weight: 600; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: .98rem; }
.pillar--featured { background: var(--wine); border-color: var(--wine); }
.pillar--featured h3 { color: #fff; }
.pillar--featured p { color: rgba(255, 248, 238, .82); }
.pillar--featured .pillar__ic { background: rgba(227, 169, 68, .18); color: var(--gold); }

/* Etapas */
.tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 36px; flex-wrap: wrap; background: #fff; padding: 8px; border-radius: 22px; border: 1px solid var(--line); width: fit-content; margin-inline: auto; box-shadow: var(--shadow-sm); }
.tab {
  border: 0; background: transparent; padding: 14px 24px; border-radius: 16px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 2px; transition: background .25s, color .25s;
}
.tab span { font-weight: 700; font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.tab small { font-size: .8rem; color: var(--muted); }
.tab:hover { background: var(--cream-2); }
.tab.is-active { background: var(--wine); color: #fff; }
.tab.is-active small { color: rgba(255, 248, 238, .7); }
.tag { font-style: normal; font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--wine-900); padding: 3px 8px; border-radius: 999px; }

.panel { animation: fadeUp .45s ease both; }
.panel[hidden] { display: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.grades { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grade {
  position: relative; background: #fff; border-radius: var(--radius); padding: 28px 26px 30px; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s; overflow: hidden;
}
.grade::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); transform: scaleY(.35); transform-origin: top; transition: transform .35s ease; }
.grade:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.grade:hover::before { transform: scaleY(1); }
.grade__age { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--wine); background: #FBE7EA; padding: 5px 11px; border-radius: 999px; }
.grade h3 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; margin: 14px 0 10px; }
.grade p { color: var(--muted); font-size: .96rem; }

/* Diferenciais */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.split__text p { color: var(--muted); font-size: 1.08rem; margin-bottom: 30px; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--radius-lg); background: var(--cream); transition: background .3s, transform .3s; }
.feature:nth-child(even) { transform: translateY(32px); }
.feature:hover { background: var(--gold-100); }
.feature__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--wine); box-shadow: var(--shadow-sm); }
.feature__ic svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* CTA matrículas */
.cta { padding: 0 0 8px; }
.cta__inner {
  position: relative; overflow: hidden; border-radius: 36px; padding: 64px 64px;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(227, 169, 68, .3), transparent 60%),
    linear-gradient(135deg, var(--wine) 0%, var(--wine-900) 100%);
  color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center;
  max-width: calc(var(--container) - 48px); box-shadow: var(--shadow-lg);
}
.cta__inner::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 300px; opacity: .08;
  background: url("../img/simbolo-claro.svg") no-repeat center / contain; pointer-events: none;
}
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin: 12px 0 14px; }
.cta p { color: rgba(255, 248, 238, .85); max-width: 620px; }
.cta strong { color: var(--gold); }
.cta__actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }

/* Citação */
.quote { margin: 0 auto 72px; max-width: 860px; text-align: center; }
.quote__mark { width: 52px; margin: 0 auto 18px; fill: var(--gold); }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 500; font-style: italic; line-height: 1.3; color: var(--wine-900); }
.quote figcaption { margin-top: 18px; font-weight: 700; color: var(--gold-600); letter-spacing: .04em; }

.social-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scard {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.scard > svg:first-child { width: 46px; height: 46px; padding: 11px; border-radius: 14px; flex: none; color: #fff; }
.scard--ig > svg:first-child { background: linear-gradient(45deg, #F9A825, #E1306C 50%, #833AB4); }
.scard--g > svg:first-child { background: var(--gold); color: var(--wine-900); }
.scard--fb > svg:first-child { background: #1877F2; }
.scard div { flex: 1; min-width: 0; }
.scard strong { display: block; color: var(--wine-900); }
.scard span { font-size: .88rem; color: var(--muted); }
.scard .arrow { width: 20px; height: 20px; color: var(--wine); transition: transform .25s; flex: none; }
.scard:hover .arrow { transform: translateX(4px); }

/* Perguntas frequentes */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); margin: 14px 0 16px; }
.faq__head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.faq__list { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; font-weight: 700; font-size: 1.04rem; color: var(--wine-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--wine); }
.faq__ic { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--cream-2); color: var(--wine); flex: none; transition: transform .3s, background .3s, color .3s; }
.faq__item[open] .faq__ic { transform: rotate(45deg); background: var(--wine); color: #fff; }
.faq__a { padding: 0 24px 24px; color: var(--muted); }
.faq__a a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.faq__item[open] .faq__a { animation: fadeUp .35s ease both; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.08rem; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.ci { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--wine); box-shadow: var(--shadow-sm); flex: none; }
.ci svg { width: 22px; height: 22px; }
.contact__list small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.contact__list a { font-weight: 600; color: var(--ink); word-break: break-word; transition: color .2s; }
.contact__list a:hover { color: var(--wine); }

.form { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form h3 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 600; }
.form__hint { color: var(--muted); font-size: .92rem; margin-top: -8px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .88rem; color: var(--wine-900); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  font-weight: 500; font-size: 1rem; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--wine); background: #fff; box-shadow: 0 0 0 4px rgba(122, 12, 30, .1); }
.form .is-invalid { border-color: #C62828; }
.form__error { color: #C62828; font-size: .9rem; font-weight: 600; }
.form button { margin-top: 6px; }

.map { margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--cream-2); height: 380px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* Rodapé */
.footer { background: var(--wine-900); color: rgba(255, 248, 238, .72); padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 48px; padding-bottom: 56px; }
.footer__brand p { margin: 20px 0 24px; max-width: 300px; }
.footer h4 { color: var(--gold); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 20px; font-weight: 800; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px; border-top: 1px solid rgba(255, 248, 238, .1); font-size: .86rem; }
.footer__bottom a:hover { color: var(--gold); }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .25s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.feature.reveal.is-visible:nth-child(even) { transform: translateY(32px); }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1060px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 82px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 24px; background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s ease, visibility 0s; }
  .nav a:not(.btn) { font-size: 1.15rem; padding: 16px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin: 20px 0 0; padding: 1em; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 920px) {
  .hero { padding: 48px 0 72px; }
  .hero__inner, .split, .contact, .faq { grid-template-columns: 1fr; gap: 48px; }
  .faq__head { position: static; }
  .hero__art { max-width: 440px; margin: 0 auto; width: 100%; }
  .pillars { grid-template-columns: 1fr; }
  .social-cards { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; padding: 48px 32px; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
  .section { padding: 80px 0; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 16px; }
  .topbar__contacts a:last-child { display: none; }
  .header__inner { height: 72px; }
  .nav { top: 72px; }
  .brand img { width: 40px; }
  .brand__text strong { font-size: 1.25rem; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .stats li { padding: 0 10px; }
  .stats strong { font-size: 1.45rem; }
  .stats span { font-size: .78rem; line-height: 1.3; display: block; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-badge--a { left: 0; top: 18px; }
  .float-badge--b { right: 0; }
  .art-card__quote { font-size: 1.3rem; }
  .tabs { width: 100%; flex-direction: column; }
  .tab { width: 100%; }
  .features { grid-template-columns: 1fr; }
  .feature:nth-child(even), .feature.reveal.is-visible:nth-child(even) { transform: none; }
  .cta__inner { width: calc(100% - 32px); padding: 40px 24px; border-radius: 28px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .form { padding: 28px 20px; }
  .map { height: 300px; }
  .faq__item summary { padding: 18px; font-size: 1rem; }
  .faq__a { padding: 0 18px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

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

/* =========================================================
   Privacidade, cookies e mapa sob consentimento
   ========================================================= */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--sm { padding: .62em 1.1em; font-size: .9rem; min-height: 44px; }

.form__legal { font-size: .84rem; color: var(--muted); text-align: center; }
.form__legal a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.footer__legal a, .footer__legal button { color: inherit; background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 248, 238, .3); }
.footer__legal a:hover, .footer__legal button:hover { color: var(--gold); }

.map { position: relative; }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 28px;
  background: radial-gradient(circle at 50% 30%, #fff 0%, var(--cream-2) 70%); }
.map__ph strong { color: var(--wine-900); font-size: 1.05rem; }
.map__ph p { color: var(--muted); font-size: .92rem; max-width: 460px; }
.map__pin { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wine); color: #fff; box-shadow: var(--shadow); margin-bottom: 4px; }
.map__pin svg { width: 26px; height: 26px; }
.map__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.map.is-loaded .map__ph { display: none; }

.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px 20px; box-shadow: var(--shadow-lg);
  transform: translateY(calc(100% + 30px)); opacity: 0; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s;
}
.cookie-bar.is-visible { transform: none; opacity: 1; }
.cookie-bar__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); }
.cookie-bar__ic svg { width: 26px; height: 26px; }
.cookie-bar__text strong { display: block; color: var(--wine-900); margin-bottom: 2px; }
.cookie-bar__text p { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.cookie-bar__text a { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
body:has(.cookie-bar.is-visible) .wa-float { bottom: 150px; }

.cookie-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(42, 10, 16, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.cookie-modal.is-visible { opacity: 1; }
.cookie-modal__box { position: relative; width: 100%; max-width: 620px; max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: #fff; border-radius: 26px; padding: 34px 32px 28px; box-shadow: var(--shadow-lg); transform: translateY(16px); transition: transform .3s; }
.cookie-modal.is-visible .cookie-modal__box { transform: none; }
.cookie-modal h2 { font-size: 1.7rem; margin-bottom: 8px; padding-right: 40px; }
.cookie-modal__lead { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.cookie-modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream-2); color: var(--wine); cursor: pointer; display: grid; place-items: center; }
.cookie-modal__close svg { width: 20px; height: 20px; }
.ck-opt { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 16px 0; border-top: 1px solid var(--line); }
.ck-opt strong { color: var(--wine-900); }
.ck-opt p { font-size: .88rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.ck-always, .ck-none { flex: none; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; }
.ck-always { background: #E5F5EC; color: #17703D; }
.ck-none { background: var(--cream-2); color: var(--muted); }
.ck-switch { position: relative; flex: none; width: 54px; height: 32px; cursor: pointer; }
.ck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.ck-switch span { position: absolute; inset: 0; border-radius: 999px; background: #D9CBC0; transition: background .2s; }
.ck-switch span::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .2s; }
.ck-switch input:checked + span { background: var(--wine); }
.ck-switch input:checked + span::after { transform: translateX(22px); }
.ck-switch input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.cookie-modal__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); }
.cookie-modal__actions > a { color: var(--wine); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 2px; }
.cookie-modal__actions > div { display: flex; gap: 8px; flex-wrap: wrap; }
body.ck-lock { overflow: hidden; }

@media (max-width: 760px) {
  .cookie-bar { grid-template-columns: 1fr; gap: 12px; left: 10px; right: 10px; bottom: 10px; padding: 16px; border-radius: 20px; }
  .cookie-bar__ic { display: none; }
  .cookie-bar__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-bar__actions [data-act="accept"] { grid-column: 1 / -1; grid-row: 1; }
  body:has(.cookie-bar.is-visible) .wa-float, body:has(.cookie-bar.is-visible) .a11y-btn { opacity: 0; pointer-events: none; }
  .cookie-modal { align-items: end; padding: 0; }
  .cookie-modal__box { border-radius: 24px 24px 0 0; padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); max-height: 92dvh; }
  .cookie-modal__actions { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .cookie-modal__actions > div { display: grid; grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   Acessibilidade
   ========================================================= */
.a11y-btn {
  position: fixed; left: 22px; bottom: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--wine-900); color: #fff; box-shadow: 0 10px 24px -8px rgba(61, 4, 13, .6); transition: transform .2s, bottom .3s;
}
.a11y-btn:hover { transform: scale(1.06); }
.a11y-btn svg { width: 28px; height: 28px; }
.a11y-panel {
  position: fixed; left: 22px; bottom: 86px; z-index: 95; width: 300px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: 22px; padding: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.a11y-panel__head strong { font-family: var(--f-display); font-size: 1.3rem; color: var(--wine-900); }
.a11y-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream-2); color: var(--wine); cursor: pointer; display: grid; place-items: center; }
.a11y-x svg { width: 20px; height: 20px; }
.a11y-size { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 8px; background: var(--cream); border-radius: 14px; padding: 6px; margin-bottom: 10px; }
.a11y-size button { height: 48px; border: 0; border-radius: 10px; background: #fff; color: var(--wine); font-weight: 800; font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-sm); }
.a11y-size__val { text-align: center; font-weight: 700; font-size: .9rem; color: var(--wine-900); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; min-height: 76px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 700; font-size: .84rem; cursor: pointer; line-height: 1.2;
}
.a11y-grid svg { width: 24px; height: 24px; color: var(--wine); }
.a11y-grid button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff; }
.a11y-grid button[aria-pressed="true"] svg { color: var(--gold); }
.a11y-reset { width: 100%; margin-top: 10px; min-height: 44px; border: 0; background: none; color: var(--wine); font-weight: 700; text-decoration: underline; cursor: pointer; }
body:has(.cookie-bar.is-visible) .a11y-btn { bottom: 150px; }

/* Alto contraste */
html.a11y-contrast { --muted: #1a1a1a; --ink: #000; --line: #000; --cream: #fff; --cream-2: #fff; --gold-100: #fff; --gold-600: #5c3a00; --wine-900: #000; }
html.a11y-contrast body { background: #fff; }
html.a11y-contrast .hero__bg, html.a11y-contrast .art-card__pattern { display: none; }
html.a11y-contrast .pillar, html.a11y-contrast .grade, html.a11y-contrast .feature, html.a11y-contrast .scard,
html.a11y-contrast .faq__item, html.a11y-contrast .form, html.a11y-contrast .tabs { border: 2px solid #000 !important; box-shadow: none; }
html.a11y-contrast .pillar--featured, html.a11y-contrast .cta__inner, html.a11y-contrast .footer, html.a11y-contrast .topbar { background: #000 !important; }
html.a11y-contrast .footer, html.a11y-contrast .footer a, html.a11y-contrast .topbar, html.a11y-contrast .topbar a, html.a11y-contrast .footer__legal button { color: #fff; }
html.a11y-contrast .footer h4, html.a11y-contrast .kicker--light, html.a11y-contrast .cta strong { color: #FFD24A; }
html.a11y-contrast .btn--ghost { border-color: #000; color: #000; }
html.a11y-contrast .form input, html.a11y-contrast .form select, html.a11y-contrast .form textarea { border: 2px solid #000; }
html.a11y-contrast :focus-visible { outline: 4px solid #0050FF; }

/* Destacar links */
html.a11y-links a:not(.btn), html.a11y-links summary { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px; }
html.a11y-links a:not(.btn):hover, html.a11y-links a:not(.btn):focus { background: #FFE57A; color: #000 !important; }
html.a11y-links .btn { outline: 2px dashed currentColor; outline-offset: 3px; }

/* Espaçar texto */
html.a11y-spacing body { letter-spacing: .03em; word-spacing: .12em; }
html.a11y-spacing p, html.a11y-spacing li, html.a11y-spacing .faq__a { line-height: 1.95 !important; }

/* Pausar animações */
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal { opacity: 1; transform: none; }

/* Botão do VLibras acima do botão de acessibilidade em telas pequenas */
[vw] { z-index: 70 !important; }

/* =========================================================
   Ajustes de toque e leitura no celular
   ========================================================= */
.social--sm a { width: 36px; height: 36px; }
.footer ul a { display: inline-block; padding: 3px 0; }
.tab { min-height: 56px; }

@media (max-width: 640px) {
  .topbar__inner { min-height: 48px; }
  .social--sm a { width: 44px; height: 44px; }
  .social a { width: 44px; height: 44px; }
  .footer ul { gap: 6px; }
  .footer ul a { padding: 8px 0; }
  .contact__list a { display: inline-block; padding: 4px 0; }
  .a11y-btn { left: 16px; bottom: 16px; width: 50px; height: 50px; }
  .a11y-panel { left: 16px; right: 16px; width: auto; bottom: 78px; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; padding-bottom: 92px; }
  .footer__legal { justify-content: center; }
  .footer__legal a, .footer__legal button { padding: 10px 4px; }
  .grade, .pillar { padding: 26px 22px; }
  .section__head { margin-bottom: 40px; }
  .eyebrow { font-size: .8rem; }
  .quote { margin-bottom: 52px; }
  .map__ph p { font-size: .88rem; }
  .map__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 640px) {
  .hero h1 em { white-space: normal; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .topbar__contacts a { min-height: 44px; }
  .footer ul a, .contact__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .footer ul { gap: 2px; }
}

/* Mapa: enquanto não carregado, a caixa cresce com o conteúdo (nada corta no celular) */
.map:not(.is-loaded) { height: auto; min-height: 300px; display: flex; }
.map:not(.is-loaded) .map__ph { position: relative; inset: auto; flex: 1; }
