/* Igreja Evangélica Viva (IEViva) | Praia das Gaivotas, Vila Velha ES
   Mesma anatomia do site do IWE: topbar, cabeçalho com submenus, carrossel, faixa de números,
   seções com reveal, FAQ, faixa de CTA e rodapé. Acrescenta tema claro/escuro. */

:root {
  --ink: #17110f;
  --ink-2: #251a16;
  --flame: #ff6a13;
  --flame-btn: #c44a06;
  --flame-dk: #a63d04;
  --ember: #ffb13b;
  --on-ink: #fff6ee;

  --bg: #fffaf5;
  --surface: #ffffff;
  --alt: #fbefe3;
  --text: #2a1d17;
  --muted: #6f5d52;
  --line: #ecdccd;
  --eyebrow: #b8420a;
  --link: #a63d04;
  --shadow: rgba(60, 28, 10, .14);

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, sans-serif;
  --f-serif: "Newsreader", Georgia, serif;

  --radius: 16px;
  --gutter: clamp(20px, 4vw, 40px);
  --maxw: 1200px;
  --head-h: 76px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #130e0c;
  --surface: #1d1613;
  --alt: #19120f;
  --text: #f6ece4;
  --muted: #b9a89c;
  --line: #33261f;
  --eyebrow: #ff8a47;
  --link: #ff9a5e;
  --shadow: rgba(0, 0, 0, .5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; transition: background-color .25s ease, color .25s ease; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 800; color: var(--text); }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.ic { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 .95rem var(--f-body); padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--flame { background: var(--flame-btn); color: #fff; }
.btn--flame:hover { background: var(--flame-dk); }
.btn--ghost { color: var(--on-ink); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn--line { color: var(--text); border-color: var(--line); background: var(--surface); }
.btn--line:hover { border-color: var(--flame); color: var(--flame-dk); }
:root[data-theme="dark"] .btn--line:hover { color: var(--ember); }
.btn--light { background: var(--on-ink); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--on-ink); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--flame); padding-bottom: 2px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; }
.eyebrow--light { color: var(--ember); }

/* Topbar */
.topbar { background: var(--ink); color: rgba(255,246,238,.85); font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 0 rgba(255,106,19,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255,106,19,0); } 100% { box-shadow: 0 0 0 0 rgba(255,106,19,0); } }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { text-decoration: none; white-space: nowrap; }
.topbar__links a:hover { color: var(--ember); }
.topbar :focus-visible { outline-color: var(--ember); }

/* Cabeçalho */
.head { position: sticky; top: 0; z-index: 50; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .2s ease, background-color .25s ease; }
.head.is-stuck { box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__logo { height: 50px; width: auto; max-width: none; }
.foot .brand__logo { height: 64px; }
.head :focus-visible { outline-color: var(--ember); }
.brand__txt { display: grid; line-height: 1; }
.brand__name { font: 800 1.55rem var(--f-display); letter-spacing: -.03em; }
.brand__name b { color: var(--flame-btn); font-weight: 800; }
:root[data-theme="dark"] .brand__name b { color: var(--flame); }
.brand__sub { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.menu { display: flex; align-items: center; gap: 16px; }
.menu__list { display: flex; align-items: center; gap: 2px; }
.menu__item { position: relative; }
.menu__link { display: inline-flex; align-items: center; gap: 6px; font: 600 .95rem var(--f-body); color: var(--on-ink); padding: 10px 12px; border-radius: 8px; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.menu__link:hover { background: rgba(255,255,255,.1); }
.menu__toggle svg { width: 10px; height: 6px; transition: transform .2s ease; stroke-width: 1.6; }
.menu__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { position: absolute; left: 0; top: calc(100% + 10px); min-width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.sub a:hover { background: var(--alt); }
.sub strong { display: block; font-family: var(--f-display); font-size: 1rem; }
.sub span { font-size: .85rem; color: var(--muted); }
.themebtn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: transparent; color: var(--on-ink); display: grid; place-items: center; cursor: pointer; transition: background-color .18s ease, border-color .18s ease; }
.themebtn:hover { border-color: var(--flame); background: rgba(255,255,255,.1); }
.themebtn .i-sun { display: none; }
:root[data-theme="dark"] .themebtn .i-sun { display: block; }
:root[data-theme="dark"] .themebtn .i-moon { display: none; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.22); background: transparent; border-radius: 12px; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--on-ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.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) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.head__tools { display: flex; align-items: center; gap: 10px; }

/* Hero / carrossel */
.hero { position: relative; color: var(--on-ink); isolation: isolate; background: var(--ink); overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(560px, 82vh, 740px); padding: clamp(64px, 9vw, 110px) 0 clamp(150px, 15vw, 210px); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.art { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.art::before { content: ""; position: absolute; inset: -10%; transform: scale(1.08); transition: transform 9s ease-out; }
.slide.is-active .art::before { transform: scale(1); }
.art--1::before { background: radial-gradient(60% 70% at 78% 40%, rgba(255,106,19,.62), transparent 62%), radial-gradient(40% 50% at 92% 90%, rgba(255,177,59,.4), transparent 60%), linear-gradient(135deg, #17110f, #2a1710); }
.art--2::before { background: radial-gradient(55% 65% at 80% 55%, rgba(255,177,59,.5), transparent 62%), radial-gradient(50% 50% at 60% 5%, rgba(255,106,19,.35), transparent 60%), linear-gradient(160deg, #1b120e, #331a0e); }
.art--3::before { background: radial-gradient(60% 70% at 75% 35%, rgba(224,68,40,.55), transparent 62%), radial-gradient(45% 55% at 95% 85%, rgba(255,106,19,.45), transparent 60%), linear-gradient(120deg, #170f0e, #2d120d); }
.art--4::before { background: radial-gradient(55% 65% at 80% 50%, rgba(255,138,71,.5), transparent 62%), radial-gradient(45% 45% at 55% 100%, rgba(255,177,59,.3), transparent 60%), linear-gradient(150deg, #171010, #2b1b13); }
.art__flame { position: absolute; right: clamp(-60px, 4vw, 90px); top: 50%; width: clamp(260px, 36vw, 520px); transform: translateY(-50%); opacity: .95; filter: drop-shadow(0 0 60px rgba(255,106,19,.55)); animation: flicker 5s ease-in-out infinite; }
@keyframes flicker { 0%,100% { transform: translateY(-50%) scale(1); } 50% { transform: translateY(-51.5%) scale(1.035); } }
.art__rings { position: absolute; right: clamp(-200px, -6vw, -60px); top: 50%; width: clamp(420px, 56vw, 820px); transform: translateY(-50%); opacity: .5; }
.art__rings circle { fill: none; stroke: rgba(255,177,59,.45); stroke-width: 1.2; }
.slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,9,7,.82) 0%, rgba(14,9,7,.6) 36%, rgba(14,9,7,.18) 56%, rgba(14,9,7,0) 70%); }
.slide__in { width: 100%; }
.slide__in > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.slide.is-active .slide__in > * { opacity: 1; transform: none; }
.slide.is-active .slide__in > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide__in > :nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide__in > :nth-child(4) { transition-delay: .36s; }
.slide__title { font-size: clamp(2.4rem, 4.8vw, 4.4rem); max-width: 14ch; color: var(--on-ink); text-shadow: 0 2px 22px rgba(0,0,0,.45); }
.slide__title .hl { color: var(--ember); }
.slide__title em { color: var(--on-ink); }
.slide__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: min(48ch, 42vw); color: rgba(255,246,238,.92); margin: 24px 0 32px; }
.slide__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.carousel__bar { position: absolute; left: 0; right: 0; bottom: 100px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-inline: auto; }
.dots { display: flex; gap: 10px; }
.dot-b { position: relative; width: 44px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255,255,255,.28); cursor: pointer; overflow: hidden; }
.dot-b::before { content: ""; position: absolute; inset: -12px 0; }
.dot-b i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ember); border-radius: 6px; }
.dot-b.is-done i { width: 100%; }
.dot-b.is-on i { width: 100%; transition: width var(--dur, 7s) linear; }
.carousel.is-paused .dot-b.is-on i { transition: none; }
.carousel__btns { display: flex; gap: 8px; }
.cbtn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: rgba(14,9,7,.4); color: var(--on-ink); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.cbtn:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.cbtn .i-play { display: none; }
.carousel.is-paused .cbtn .i-play { display: block; }
.carousel.is-paused .cbtn .i-pause { display: none; }
.carousel.is-away .slide__in > * { opacity: 0 !important; transform: translateY(18px) !important; transition: none !important; }

/* Faixa de números */
.stats { position: relative; z-index: 2; margin-top: -76px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 28px 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font: 800 clamp(1.9rem, 3.4vw, 2.8rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--text); }
.stats b small { font-size: .5em; color: var(--flame-btn); margin-left: 2px; }
:root[data-theme="dark"] .stats b small { color: var(--flame); }
.stats span { display: block; margin-top: 8px; font-size: .92rem; color: var(--muted); line-height: 1.35; }

/* Seções */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec--alt { background: var(--alt); }
.sec__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.sec__head p { color: var(--muted); margin-top: 16px; font-size: 1.1rem; }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.sec__head--row > div { max-width: 62ch; }

/* Programação semanal */
.week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 18px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.day:hover { transform: translateY(-4px); box-shadow: 0 22px 44px var(--shadow); border-color: var(--flame); }
.day--lead { background: var(--ink); color: var(--on-ink); border-color: var(--ink-2); }
.day--lead h3, .day--lead .ev b { color: var(--on-ink); }
.day--lead .ev span, .day--lead .day__hint { color: rgba(255,246,238,.72); }
.day--lead .ev { border-color: rgba(255,255,255,.14); }
.day__name { display: flex; align-items: center; gap: 10px; }
.day__name h3 { font-size: 1.5rem; }
.day__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--alt); color: var(--flame-btn); display: grid; place-items: center; }
.day--lead .day__ic { background: rgba(255,106,19,.18); color: var(--ember); }
:root[data-theme="dark"] .day__ic { color: var(--flame); }
.ev { display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.ev time { font: 800 1.45rem var(--f-display); letter-spacing: -.02em; color: var(--flame-btn); }
:root[data-theme="dark"] .ev time, .day--lead .ev time { color: var(--ember); }
.ev b { display: block; font-family: var(--f-display); font-size: 1.1rem; color: var(--text); }
.ev span { font-size: .93rem; color: var(--muted); line-height: 1.4; }
.day__hint { margin: 0; font-size: .92rem; color: var(--muted); }
.day__foot { margin-top: auto; }
.week__note { margin-top: 22px; color: var(--muted); font-size: .95rem; }

/* Quem somos */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about__art { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: radial-gradient(70% 60% at 50% 70%, rgba(255,106,19,.65), transparent 65%), linear-gradient(160deg, #17110f, #2c170d); display: grid; place-items: center; box-shadow: 0 30px 60px var(--shadow); }
.about__art svg { width: 62%; filter: drop-shadow(0 0 50px rgba(255,106,19,.6)); animation: flicker2 5s ease-in-out infinite; }
@keyframes flicker2 { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.about__badge { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(23,17,15,.78); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; color: var(--on-ink); font-size: .92rem; }
.about__badge b { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.about h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 18px; }
.about__lead { font-size: 1.2rem; color: var(--text); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.pillars li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.pillars .day__ic { width: 38px; height: 38px; border-radius: 10px; }
.pillars b { display: block; font-family: var(--f-display); font-size: 1.05rem; }
.pillars span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }
.pastors { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-left: 4px solid var(--flame); background: var(--alt); border-radius: 0 14px 14px 0; }
.pastors b { font-family: var(--f-display); font-size: 1.15rem; display: block; }
.pastors span { color: var(--muted); font-size: .93rem; }
.pastors a { color: var(--link); font-weight: 600; }

/* Células */
.cells { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps { display: grid; gap: 14px; counter-reset: s; margin: 28px 0; }
.steps li { counter-increment: s; position: relative; padding: 18px 18px 18px 72px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--flame-btn); color: #fff; font: 800 1.1rem var(--f-display); display: grid; place-items: center; }
.steps b { font-family: var(--f-display); display: block; font-size: 1.05rem; }
.steps span { color: var(--muted); font-size: .93rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 24px 48px var(--shadow); }
.card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.card > p { color: var(--muted); margin-bottom: 22px; }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; font: 500 1rem var(--f-body); color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .18s ease, box-shadow .18s ease; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--flame); box-shadow: 0 0 0 4px rgba(255,106,19,.18); }
.form small { color: var(--muted); font-size: .85rem; }
.form__ok { display: none; padding: 14px 16px; border-radius: 12px; background: var(--alt); border: 1px solid var(--line); font-size: .95rem; }
.form.is-sent .form__ok { display: block; }

/* Conferência */
.conf { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); border-radius: 28px; padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 7fr 4fr; gap: 40px; align-items: center; }
.conf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 90% 50%, rgba(255,106,19,.55), transparent 62%), radial-gradient(40% 60% at 0% 100%, rgba(255,177,59,.2), transparent 60%); }
.conf h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); color: var(--on-ink); max-width: 16ch; }
.conf h2 em { color: var(--ember); }
.conf p { color: rgba(255,246,238,.85); max-width: 52ch; margin: 18px 0 28px; font-size: 1.1rem; }
.conf__tag { justify-self: end; text-align: right; }
.conf__tag b { display: block; font: 800 clamp(3rem, 8vw, 6.4rem)/.9 var(--f-display); letter-spacing: -.04em; color: var(--ember); }
.conf__tag span { font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,246,238,.8); }

/* Conecte */
.connect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px var(--shadow); border-color: var(--flame); }
.tile .day__ic { width: 48px; height: 48px; border-radius: 14px; }
.tile h3 { font-size: 1.35rem; }
.tile p { color: var(--muted); margin: 0; font-size: .98rem; }
.tile .link { margin-top: auto; width: fit-content; }
.app { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 26px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.app .day__ic { width: 60px; height: 60px; border-radius: 18px; }
.app h3 { font-size: 1.4rem; margin-bottom: 4px; }
.app p { margin: 0; color: var(--muted); }

/* Visite */
.visit { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.visit__info { display: grid; gap: 14px; align-content: start; }
.info { display: flex; gap: 16px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.info .day__ic { width: 44px; height: 44px; }
.info b { font-family: var(--f-display); font-size: 1.1rem; display: block; margin-bottom: 2px; }
.info span, .info address { font-style: normal; color: var(--muted); font-size: .98rem; line-height: 1.45; display: block; }
.info a { color: var(--link); font-weight: 600; }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.map { position: relative; min-height: 420px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--alt); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
:root[data-theme="dark"] .map iframe { filter: invert(.92) hue-rotate(180deg) saturate(.8); }

/* FAQ */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq header { position: sticky; top: calc(var(--head-h) + 24px); }
.faq h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 18px; }
.faq__side { color: var(--muted); }
.faq__side a { color: var(--link); font-weight: 600; }
.faq__list { display: grid; gap: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .18s ease; }
details[open] { border-color: var(--flame); }
summary { cursor: pointer; list-style: none; font: 700 1.1rem var(--f-display); color: var(--text); padding: 20px 56px 20px 22px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after, summary::before { content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 2px; background: var(--flame); transition: transform .2s ease; }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0); }
details p { padding: 0 22px 22px; margin: 0; color: var(--muted); max-width: 62ch; }
details a { color: var(--link); font-weight: 600; }

/* CTA final */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--flame-btn); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 100% 0%, rgba(255,177,59,.55), transparent 60%); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 22ch; color: #fff; }
.cta h2 em { display: block; color: var(--ink); }

/* Rodapé */
.foot { background: var(--ink); color: rgba(255,246,238,.76); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.foot .brand { color: var(--on-ink); }
.foot .brand__name b { color: var(--flame); }
.foot .brand__sub { color: rgba(255,246,238,.6); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot__brand p { max-width: 36ch; margin-top: 18px; }
.foot h3 { font: 700 .8rem var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); margin-bottom: 14px; }
.foot nav, .foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot nav h3, .foot__col h3 { margin-bottom: 6px; }
.foot a { text-decoration: none; width: fit-content; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot__base { margin-top: 56px; font-size: .85rem; }
.foot__base p { margin: 0; padding-block: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.foot :focus-visible { outline-color: var(--ember); }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,0,0,.35); transition: transform .18s ease; text-decoration: none; }
.fab:hover { transform: scale(1.07); }
.fab .ic { width: 28px; height: 28px; }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .burger { display: block; }
  .menu { position: fixed; inset: calc(var(--head-h) + 41px) 0 0 0; background: var(--surface); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 20px; padding: 20px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .28s ease, visibility .28s; }
  .menu.is-open { transform: none; visibility: visible; }
  .menu__list { flex-direction: column; align-items: stretch; gap: 0; }
  .menu__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--text); }
  .menu__link:hover { background: var(--alt); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; display: none; background: transparent; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .menu .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .week, .connect { grid-template-columns: 1fr; }
  .about, .cells, .visit, .faq { grid-template-columns: 1fr; }
  .about__art { aspect-ratio: auto; height: clamp(280px, 44vw, 380px); }
  .about__art svg { width: auto; height: 74%; }
  .faq header { position: static; }
  .conf { grid-template-columns: 1fr; }
  .conf__tag { justify-self: start; text-align: left; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .app { grid-template-columns: auto 1fr; }
  .app .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topbar__links a:not(:first-child) { display: none; }
  .topbar__msg { font-size: .78rem; }
  .slide__title { max-width: 12ch; }
  .slide__lead { max-width: 46ch; }
  .slide::before { background: linear-gradient(180deg, rgba(14,9,7,.8) 0%, rgba(14,9,7,.62) 60%, rgba(14,9,7,.3) 100%); }
  .art__flame { opacity: .55; right: -60px; }
  .carousel__bar { bottom: 96px; }
  .dot-b { width: 30px; }
  .stats li { padding: 22px 18px; }
  .pillars, .form__row { grid-template-columns: 1fr; }
  .ev { grid-template-columns: 70px 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Galeria do Instagram */
.gal { position: relative; }
.gal__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__item { position: relative; flex: 0 0 clamp(240px, 26vw, 320px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; scroll-snap-align: start; background: var(--alt); box-shadow: 0 18px 36px var(--shadow); text-decoration: none; color: var(--on-ink); isolation: isolate; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gal__item:hover img { transform: scale(1.05); }
.gal__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(14,9,7,.82) 100%); }
.gal__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; font: 600 .95rem/1.3 var(--f-body); display: flex; gap: 8px; align-items: flex-end; justify-content: space-between; }
.gal__cap .ic { flex: none; opacity: .9; }
.gal__ctrl { display: flex; gap: 8px; margin-top: 6px; }
.cbtn--line { border-color: var(--line); background: var(--surface); color: var(--text); backdrop-filter: none; }
.cbtn--line:hover { background: var(--flame-btn); color: #fff; border-color: var(--flame-btn); }
@media (max-width: 640px) { .gal__item { flex-basis: 74%; } }

/* Fotos do carrossel do topo */
.slide__photo { position: absolute; z-index: 0; margin: 0; right: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))); top: calc(50% - 46px); width: clamp(250px, 25vw, 372px); aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--ink-2); box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.14); transform: translateY(-50%) rotate(2.4deg) scale(.94); opacity: 0; transition: opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.slide.is-active .slide__photo { opacity: 1; transform: translateY(-50%) rotate(2.4deg) scale(1); transition-delay: .15s; }
.slide__photo img { width: 100%; height: 100%; object-fit: cover; }
.slide__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(14,9,7,.35)); pointer-events: none; }
.slide .art__rings { right: clamp(-120px, 2vw, 40px); opacity: .38; }
.carousel.is-away .slide__photo { opacity: 0 !important; transition: none !important; }
.slide__in { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .slide__photo { inset: 0; top: 0; right: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; transform: scale(1.05); z-index: -2; }
  .slide.is-active .slide__photo { transform: none; }
  .slide__photo::after { background: none; }
  .slide__photo img { object-position: 50% 30%; }
  .slide::before { background: linear-gradient(180deg, rgba(14,9,7,.72) 0%, rgba(14,9,7,.78) 50%, rgba(14,9,7,.9) 100%); }
  .art__rings { display: none; }
  .slide__lead { max-width: 46ch; }
}

/* Acabamento unificado das fotos (laranja quente, sem editar o arquivo) */
.slide__photo img { filter: contrast(1.06) saturate(1.08); }
.slide__photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(155deg, rgba(255,106,19,.34), rgba(23,17,15,.28) 70%); mix-blend-mode: soft-light; }
