/* =========================================================================
   CONSERTO CERTO — Sistema de identidade visual (Identidade da Marca v2)
   Tokens: Carvão + Marfim + Ferrugem (acento único)
   Tipografia: Outfit (display) · Inter (corpo) · JetBrains Mono (técnico)
   ========================================================================= */

/* ---------- TOKENS ---------- */
:root {
  color-scheme: light;

  /* Superfícies */
  --bg-base: #f7f4ee;      /* Marfim — fundo principal */
  --bg-surface: #fbf9f3;   /* superfície levemente elevada */
  --bg-elevated: #ffffff;  /* cards */
  --bg-callout: #ebe5d5;   /* Marfim quente — blocos de destaque */
  --bg-dark: #1a1d23;      /* Carvão — contraste pontual */

  /* Faixas escuras, header e footer via token (trocam com o tema) */
  --band-bg: #1a1d23;      /* filosofia, contato, CTA de razões */
  --header-bg: rgba(247,244,238,.82);
  --footer-bg: #14161b;

  /* Texto */
  --text-primary: #1a1d23;
  --text-secondary: #5a6270;
  --text-muted: #7a8290;
  --text-inverse: #f7f4ee;

  /* Bordas */
  --border-soft: #ddd4be;  /* Areia */
  --border-strong: #c7bc9f;

  /* Acento único — Ferrugem */
  --accent: #c87a3a;
  --accent-hover: #d99359;
  --accent-soft: #c87a3a1f;

  /* Efeitos */
  --hero-glow: radial-gradient(60% 60% at 82% 0%, #c87a3a2e, transparent 70%);
  --shadow-sm: 0 1px 2px rgba(26,29,35,.05), 0 1px 3px rgba(26,29,35,.06);
  --shadow-md: 0 4px 6px rgba(26,29,35,.04), 0 10px 24px rgba(26,29,35,.07);
  --shadow-lg: 0 12px 32px rgba(26,29,35,.10), 0 2px 8px rgba(26,29,35,.06);

  /* Tipografia */
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Raio */
  --radius-sm: .375rem;
  --radius-md: .625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Layout */
  --container: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --nav-h: 68px;
}

/* ---------- TEMA ESCURO ---------- */
[data-theme="dark"] {
  color-scheme: dark;

  --bg-base: #15181e;
  --bg-surface: #191d24;
  --bg-elevated: #20252e;
  --bg-callout: #1e232b;
  --bg-dark: #0e1116;

  --text-primary: #f3f0e9;
  --text-secondary: #aab2bf;
  --text-muted: #7e8695;
  --text-inverse: #f7f4ee;

  --border-soft: #2f3641;
  --border-strong: #434b58;

  /* Ferrugem claro no escuro — melhor contraste sobre Carvão */
  --accent: #d99359;
  --accent-hover: #e8a86a;
  --accent-soft: #d9935922;

  --band-bg: #0e1116;      /* faixas ficam mais escuras que a base */
  --header-bg: rgba(21,24,30,.82);
  --footer-bg: #0a0c10;

  --hero-glow: radial-gradient(60% 60% at 82% 0%, #c87a3a3d, transparent 70%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 4px 6px rgba(0,0,0,.28), 0 10px 24px rgba(0,0,0,.38);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.35);
}

/* Transição suave ao trocar de tema (não afeta transições interativas) */
body, .site-header, .philo-band, .contact, .reasons-cta, .site-footer,
.section--surface, .section--callout {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-base);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ---------- TIPOGRAFIA ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-primary); }
.h-display { font-weight: 900; }
h1 { font-size: clamp(2.1rem, 6.2vw, 3.85rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
p { color: var(--text-secondary); }

.label {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--callout { background: var(--bg-callout); }
.section--surface { background: var(--bg-surface); }
.section-head { max-width: 620px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head p { margin-top: .85rem; font-size: 1.05rem; }
.section-head .label { display: inline-block; margin-bottom: .9rem; }

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--text-primary); border: 1px solid var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--bg-dark); color: var(--text-inverse); }
.btn--dark:hover { background: #2d3340; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  height: var(--nav-h);
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--border-soft); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: baseline; gap: .1rem; font-family: var(--font-display); font-weight: 900; font-size: 1.28rem; letter-spacing: -0.03em; line-height: 1; }
.brand span { color: var(--accent); }
.nav-links { display: none; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--text-secondary); transition: color .18s ease; }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.nav-cta { display: none; }

/* Botão de tema (claro/escuro) */
.theme-toggle { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--text-secondary); border: 1px solid transparent; transition: background .2s ease, color .2s ease; }
.theme-toggle:hover { background: var(--bg-callout); color: var(--text-primary); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 55;
  background: var(--bg-base); border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; padding: 1rem var(--gutter) 1.5rem; }
.mobile-menu a { padding: .85rem 0; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--border-soft); }
.mobile-menu .btn { margin-top: 1.1rem; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-glow); pointer-events: none; }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; position: relative; }
.hero-copy .label { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; background: var(--accent-soft); border-radius: 999px; margin-bottom: 1.4rem; }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy h1 .accent { color: var(--accent); }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.22rem); max-width: 34ch; margin-bottom: 2rem; color: var(--text-secondary); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.2rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-secondary); padding: .4rem .8rem; border: 1px solid var(--border-soft); border-radius: 999px; background: var(--bg-surface); }

.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: -12px; bottom: 22px;
  background: var(--bg-elevated); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: .85rem 1.05rem; display: flex; align-items: center; gap: .7rem; max-width: 230px;
}
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-badge strong { font-family: var(--font-display); font-size: .95rem; display: block; }
.hero-badge small { color: var(--text-muted); font-size: .8rem; }

/* ---------- FAIXA FILOSOFIA ---------- */
.philo-band { background: var(--band-bg); color: var(--text-inverse); }
.philo-band .container { display: grid; gap: 2rem; padding-block: clamp(2.75rem, 6vw, 4rem); }
.philo-quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.8vw, 2.35rem); line-height: 1.2; letter-spacing: -.02em; }
.philo-quote .accent { color: var(--accent-hover); }
.philo-author { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #b6bcc7; margin-top: 1rem; }
.philo-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-self: center; }
.philo-stats dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #8b93a1; }
.philo-stats dd { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-top: .25rem; }

/* ---------- COMO TRABALHO (processo) ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.step { background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.6rem; position: relative; box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--font-mono); font-size: .78rem; color: var(--accent); font-weight: 500; letter-spacing: .1em; }
.step h3 { margin: .5rem 0 .45rem; font-size: 1.18rem; }
.step p { font-size: .95rem; }
.anchor-quote { margin-top: clamp(2rem, 5vw, 3rem); padding: 1.5rem 1.75rem; border-left: 3px solid var(--accent); background: var(--bg-callout); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.anchor-quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--text-primary); line-height: 1.4; }

/* ---------- SERVIÇOS ---------- */
.services { display: grid; gap: 1.5rem; }
.service-card { background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.service-media { position: relative; aspect-ratio: 5/4; overflow: hidden; background: var(--bg-callout); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-media .num { position: absolute; top: .85rem; left: .85rem; font-family: var(--font-mono); font-weight: 500; font-size: .78rem; color: #fff; background: rgba(26,29,35,.7); backdrop-filter: blur(4px); padding: .3rem .6rem; border-radius: 999px; }
.service-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.service-body > p { font-size: .93rem; margin-bottom: 1.1rem; }
.service-items { display: grid; gap: .5rem; margin-top: auto; }
.service-items li { position: relative; padding-left: 1.35rem; font-size: .88rem; color: var(--text-secondary); }
.service-items li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.scope-note { margin-top: clamp(1.75rem, 4vw, 2.5rem); display: flex; gap: .9rem; align-items: flex-start; padding: 1.25rem 1.4rem; border: 1px dashed var(--border-strong); border-radius: var(--radius-md); background: var(--bg-surface); }
.scope-note svg { flex: none; color: var(--accent); margin-top: 2px; }
.scope-note p { font-size: .92rem; color: var(--text-secondary); }

/* ---------- RAZÕES ---------- */
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(2rem, 5vw, 3rem); }
.stat { background: var(--bg-elevated); padding: 1.6rem 1.25rem; text-align: center; }
.stat b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--accent); display: block; letter-spacing: -.03em; }
.stat span { font-size: .82rem; color: var(--text-secondary); display: block; margin-top: .35rem; }
.reasons { display: grid; gap: 1.25rem; }
.reason { display: flex; gap: 1rem; padding: 1.4rem; background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.reason .ic { flex: none; width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.reason h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.reason p { font-size: .9rem; }
.reasons-cta { margin-top: clamp(2rem, 5vw, 3rem); text-align: center; padding: clamp(2rem, 5vw, 3rem); background: var(--band-bg); color: var(--text-inverse); border-radius: var(--radius-xl); }
.reasons-cta h3 { color: #fff; font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: 1.5rem; }

/* ---------- SOBRE ---------- */
.about-grid { display: grid; gap: clamp(2rem, 6vw, 3.5rem); align-items: center; }
.about-media img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-copy h2 .accent { color: var(--accent); }
.about-copy p { font-size: 1.05rem; margin-top: 1.1rem; }
.about-sign { margin-top: 1.75rem; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- DEPOIMENTOS ---------- */
.reviews { display: grid; gap: 1.5rem; }
.review { background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review .stars { color: var(--accent); font-size: .95rem; letter-spacing: .15em; margin-bottom: .9rem; }
.review blockquote { font-size: 1rem; color: var(--text-primary); line-height: 1.55; }
.review figcaption { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.review .who { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.review .tag { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

/* ---------- CONTATO ---------- */
.contact { background: var(--band-bg); color: var(--text-inverse); }
.contact .label { color: var(--accent-hover); }
.contact h2 { color: #fff; }
.contact-grid { display: grid; gap: clamp(2.25rem, 6vw, 4rem); }
.contact-lead { color: #c3c9d3; font-size: 1.08rem; margin: 1rem 0 2rem; max-width: 42ch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.25rem; }
.contact-details { display: grid; gap: 1.1rem; }
.contact-details li { display: flex; gap: .85rem; align-items: flex-start; }
.contact-details .ic { flex: none; color: var(--accent-hover); margin-top: 2px; }
.contact-details dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #8b93a1; }
.contact-details dd { font-size: 1rem; margin-top: .1rem; }
.contact-details a:hover { color: var(--accent-hover); }

/* Formulário alternativo (recolhível) */
.contact-form-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.contact-form-wrap summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.contact-form-wrap summary::-webkit-details-marker { display: none; }
.contact-form-wrap summary .hint { font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: #8b93a1; }
.contact-form-wrap summary .chev { transition: transform .2s ease; color: var(--accent-hover); }
.contact-form-wrap[open] summary .chev { transform: rotate(180deg); }
.contact-form { padding: 0 1.4rem 1.5rem; display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .8rem; color: #c3c9d3; font-weight: 500; }
.field input, .field textarea {
  font: inherit; font-size: .95rem; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm); padding: .75rem .85rem; width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7280; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-hover); background: rgba(255,255,255,.08); }
.form-note { font-size: .78rem; color: #8b93a1; }
.form-status { font-size: .9rem; padding: .6rem 0; display: none; }
.form-status.ok { display: block; color: #7fd88f; }
.form-status.err { display: block; color: #f0a867; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--footer-bg); color: #aab0bb; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { color: #fff; font-size: 1.35rem; }
.footer-brand p { margin-top: .9rem; font-size: .9rem; max-width: 34ch; color: #8b93a1; }
.footer-col h4 { font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #6b7280; margin-bottom: 1rem; }
.footer-col li { margin-bottom: .6rem; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .8rem; color: #6b7280; }

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed; right: clamp(1rem, 4vw, 1.75rem); bottom: clamp(1rem, 4vw, 1.75rem); z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 2px 8px rgba(0,0,0,.15);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- POP-UP DE EMERGÊNCIA (plantão) ---------- */
.emergency {
  position: fixed; left: clamp(1rem, 4vw, 1.75rem); bottom: clamp(1rem, 4vw, 1.75rem); z-index: 50;
  max-width: 320px; background: var(--bg-elevated); border: 1px solid var(--border-soft);
  border-left: 4px solid var(--accent); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 1.1rem 1.2rem 1.15rem; transform: translateY(20px); opacity: 0; visibility: hidden;
  transition: transform .3s ease, opacity .3s ease, visibility .3s;
}
.emergency.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
.emergency strong { font-family: var(--font-display); font-size: 1rem; display: block; margin-bottom: .3rem; }
.emergency p { font-size: .85rem; margin-bottom: .85rem; }
.emergency .btn { font-size: .85rem; padding: .6rem 1rem; }
.emergency-close { position: absolute; top: .5rem; right: .5rem; width: 28px; height: 28px; display: grid; place-items: center; color: var(--text-muted); border-radius: 50%; }
.emergency-close:hover { background: var(--bg-callout); color: var(--text-primary); }

/* ---------- ANIMAÇÃO DE ENTRADA ---------- */
/* Só esconde quando o JS está ativo (.js no <html>). Sem JS, conteúdo visível. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- RESPONSIVO ---------- */
@media (min-width: 620px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .reasons { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .philo-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .philo-band .container { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .about-grid { grid-template-columns: .85fr 1.15fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero-media img { max-height: 620px; }
}
