/* =====================================================
   deborainacio.com.br — Design System
   Débora Inácio · Psicóloga Clínica
   Tipografia: Cormorant Garamond + Outfit
   ===================================================== */

/* ---- Tokens: light (default) ---- */
:root {
  --bg:          #EEEAE3;
  --surface:     #F7F5F0;
  --surface-2:   #E4E0D8;
  --surface-3:   #D8D3C9;

  --primary:     #2B4E42;
  --primary-mid: #3D6859;
  --primary-l:   #6B9A8A;
  --primary-bg:  #DFE9E5;

  --accent:      #B85468;
  --accent-l:    #D4849A;
  --accent-bg:   #F3E3E7;

  --text:        #182820;
  --text-2:      #3F4F49;
  --text-3:      #7B8C87;

  --border:      #C8C4BB;
  --border-l:    #DDDAD3;
  --shadow:      rgba(24, 40, 32, 0.10);

  /* status */
  --s-open:   #1E6649;
  --s-open-b: #D4EDE3;
  --s-full:   #9C2F2F;
  --s-full-b: #F7E3E3;
  --s-wait:   #7A5910;
  --s-wait-b: #F5EDD8;

  --radius:    6px;
  --radius-lg: 12px;

  /* footer — sobrescrito por cores.php */
  --footer-bg: #182820;
}

/* ---- Tokens: system dark ---- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #111B16;
    --surface:     #172019;
    --surface-2:   #1D2B23;
    --surface-3:   #243328;

    --primary:     #6B9A8A;
    --primary-mid: #5A8A78;
    --primary-l:   #4A7A6D;
    --primary-bg:  #1A2E26;

    --accent:      #D4768A;
    --accent-l:    #E89AAC;
    --accent-bg:   #2A1820;

    --text:        #E6EBE8;
    --text-2:      #A8B8B2;
    --text-3:      #637870;

    --border:      #2C3D34;
    --border-l:    #233029;
    --shadow:      rgba(0, 0, 0, 0.30);

    --s-open:   #56B890;
    --s-open-b: #142A20;
    --s-full:   #E07070;
    --s-full-b: #2A1010;
    --s-wait:   #D4A44A;
    --s-wait-b: #2A1E06;
  }
}

/* ---- Tokens: explicit dark ---- */
:root[data-theme="dark"] {
  --bg:          #111B16;
  --surface:     #172019;
  --surface-2:   #1D2B23;
  --surface-3:   #243328;
  --primary:     #6B9A8A;
  --primary-mid: #5A8A78;
  --primary-l:   #4A7A6D;
  --primary-bg:  #1A2E26;
  --accent:      #D4768A;
  --accent-l:    #E89AAC;
  --accent-bg:   #2A1820;
  --text:        #E6EBE8;
  --text-2:      #A8B8B2;
  --text-3:      #637870;
  --border:      #2C3D34;
  --border-l:    #233029;
  --shadow:      rgba(0, 0, 0, 0.30);
  --s-open:      #56B890;
  --s-open-b:    #142A20;
  --s-full:      #E07070;
  --s-full-b:    #2A1010;
  --s-wait:      #D4A44A;
  --s-wait-b:    #2A1E06;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--fonte-body, 'Outfit', system-ui, sans-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- Type scale ---- */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--text);
  line-height: 1.12;
  text-wrap: balance;
}
h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  line-height: 1.3;
  text-wrap: balance;
}

h1 { font-size: clamp(3rem, 7.5vw, 6.5rem); font-weight: 400; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 400; }
h3 { font-size: clamp(1.35rem, 2.8vw, 1.85rem); font-weight: 400; }
h4 { font-size: 1rem; font-weight: 600; }
h5 { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p { color: var(--text-2); }
em { font-style: italic; }
strong { font-weight: 600; color: var(--text); }
a { color: var(--primary); text-decoration: none; transition: color .18s; }
a:hover { color: var(--primary-mid); }

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ---- Layout ---- */
.wrap { width: min(92%, 1140px); margin: 0 auto; }
section { padding: 72px 0; }

/* Separadores visuais entre seções */
section + section {
  border-top: 1px solid var(--border-l);
}

/* ---- Nav ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--nav-bg-override, color-mix(in srgb, var(--bg) 88%, transparent));
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-l);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px var(--shadow);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 72px;
}

/* Logo: imagem ou texto — controlado pelo admin */
.nav-logo {
  display: flex; align-items: center; text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 56px; /* padrão médio; sobrescrito por cores.php */
  width: auto;
  object-fit: contain;
  display: block;
}
.nav-logo-text {
  display: flex; flex-direction: column; gap: 1px;
}
.nav-logo-text .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.nav-logo-text .sub {
  font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-3);
}

.nav-menu {
  display: flex; align-items: center; gap: 1.6rem;
}
.nav-links {
  display: flex; align-items: center; gap: 1.6rem; list-style: none;
}
.nav-links a {
  font-size: var(--nav-fonte-size, 0.95rem); font-weight: 500;
  color: var(--text-2); white-space: nowrap;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; border-radius: 1px;
  background: var(--accent);
}

/* WhatsApp — pill compacto com verde oficial */
.btn-nav-wa {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 100px;
  background: #25D366; color: #fff;
  font-size: 0.8rem; font-weight: 600;
  white-space: nowrap;
  transition: filter .18s, transform .15s;
  box-shadow: 0 2px 8px rgba(37,211,102,.28);
}
.btn-nav-wa:hover { filter: brightness(.92); color: #fff; transform: translateY(-1px); }
.btn-nav-wa svg { flex-shrink: 0; width: 15px; height: 15px; }

.nav-toggle {
  display: none; cursor: pointer; background: none; border: none;
  padding: 8px; margin-right: -8px; border-radius: 4px;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 1px; margin: 5px 0;
  transition: transform .25s, opacity .25s;
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 840px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
  }
  .nav.open .nav-menu { display: flex; }
  .nav-links {
    flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--border-l);
    margin-bottom: 1rem; padding-bottom: 1rem; gap: 0;
  }
  .nav-links li { border-bottom: 1px solid var(--border-l); }
  .nav-links li:first-child { border-top: 1px solid var(--border-l); }
  .nav-links a {
    display: block; padding: 13px 4px;
    font-size: 0.95rem; color: var(--text);
  }
  .btn-nav-wa {
    justify-content: center;
    border-radius: 8px;
    padding: 13px 20px;
    font-size: 0.9rem;
    box-shadow: none;
  }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600; font-size: 0.9rem;
  border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .18s, color .18s, border-color .18s, transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.btn-primary {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-mid); border-color: var(--primary-mid); color: #fff; }

.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-bg); }

.btn-accent {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-accent:hover { background: var(--accent-l); border-color: var(--accent-l); color: #fff; }

.btn-ghost {
  background: var(--surface); color: var(--text-2); border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary-l); color: var(--primary); }

.btn-wait {
  background: var(--s-full-b); color: var(--s-full); border-color: var(--s-full);
}
.btn-wait:hover { background: var(--s-full); color: #fff; }

.btn-sm { padding: 9px 20px; font-size: 0.83rem; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ---- Status badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 3px;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-open   { background: var(--s-open-b);   color: var(--s-open); }
.badge-full   { background: var(--s-full-b);   color: var(--s-full); }
.badge-unavail { background: var(--s-wait-b); color: var(--s-wait); }

.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.badge-open   .badge-dot { background: var(--s-open);   animation: pulse 2.4s infinite; }
.badge-full   .badge-dot { background: var(--s-full); }
.badge-unavail .badge-dot { background: var(--s-wait); animation: pulse 3s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .badge-dot { animation: none !important; }
}

/* ---- Section header ---- */
.sh { max-width: 620px; }
.sh.center { margin: 0 auto; text-align: center; }
.sh .label { display: block; margin-bottom: 10px; }
.sh h2 { margin-bottom: 0.75rem; }
.sh h2 em { color: var(--primary); font-style: normal; }
.sh p { font-size: 1.05rem; line-height: 1.7; color: var(--text-2); }
.sh + * { margin-top: 4rem; }

/* Accent bar before non-centered section headers */
.sh:not(.center) .rule {
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent));
  border-radius: 2px;
  margin-bottom: 14px;
}

/* ---- Divider ---- */
.rule {
  width: 40px; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  margin: 14px 0;
}
.sh.center .rule { margin: 14px auto; }

/* =====================================================
   HERO — layout centralizado, editorial
   ===================================================== */
.hero {
  padding-top: 64px;
  min-height: 84vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 10%, color-mix(in srgb, var(--primary) 6%, transparent), transparent),
    radial-gradient(ellipse 40% 40% at 85% 85%, color-mix(in srgb, var(--accent) 5%, transparent), transparent);
  pointer-events: none;
}
.hero-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 0 4rem;
  position: relative;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-eyebrow .dot,
.hero-super .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.hero h1 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-lead {
  font-size: 1.1rem; line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--text-2);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
}
.chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 3px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.76rem; font-weight: 500; color: var(--text-2);
}
.chip svg { color: var(--primary); flex-shrink: 0; }

@media (max-width: 600px) {
  .hero { min-height: auto; }
  .hero-content { padding: 3.5rem 0 3rem; }
  .hero-lead { font-size: 1rem; }
}

/* =====================================================
   SOBRE
   ===================================================== */
.sobre { background: var(--surface); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 5rem; align-items: start;
}
.sobre-stick { position: sticky; top: 88px; }
.sobre-img-wrap {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary-bg);
  border: 1px solid var(--border);
  position: relative;
}
.sobre-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sobre-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--primary);
}
.sobre-img-placeholder svg { opacity: 0.18; }
.sobre-img-placeholder p { font-size: 0.78rem; color: var(--text-3); }
.sobre-crp {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 20px;
  text-align: center; white-space: nowrap;
  box-shadow: 0 4px 16px var(--shadow);
}
.sobre-crp .cl { display: block; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.sobre-crp .cv { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.sobre-body .sh { margin-bottom: 1.8rem; max-width: 100%; }
.sobre-body p { margin-bottom: 1.1rem; font-size: 0.98rem; line-height: 1.75; }
.sobre-pull {
  margin: 1.8rem 0;
  padding: 1.5rem 2rem;
  border-left: 2.5px solid var(--accent);
  background: var(--accent-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.sobre-pull p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.25rem;
  line-height: 1.5; color: var(--text);
}
.cred-list { display: flex; flex-direction: column; gap: 10px; margin-top: 2rem; }
.cred {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border-l);
}
.cred-icon {
  width: 36px; height: 36px; border-radius: 6px; flex-shrink: 0;
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.cred-text strong { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 2px; }
.cred-text span { font-size: 0.78rem; color: var(--text-3); }
@media (max-width: 840px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-stick { position: relative; top: auto; max-width: 300px; margin: 0 auto; }
}

/* =====================================================
   SERVIÇOS
   ===================================================== */
.servicos { background: var(--bg); }

/* Two-column layout: 3 cards in responsive grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.scard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
}
.scard:hover {
  border-color: var(--primary-l);
  box-shadow: 0 8px 32px var(--shadow);
}
.scard-head {
  padding: 22px 24px 0;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.scard-mark {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.scard-body { padding: 16px 24px; flex: 1; }
.scard-body h3 { font-size: 1.3rem; margin-bottom: 8px; }
.scard-body p  { font-size: 0.88rem; line-height: 1.65; margin-bottom: 1rem; }
.scard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 4px 10px; border-radius: 3px;
  background: var(--bg); color: var(--text-3);
  border: 1px solid var(--border-l);
}
.scard-foot {
  padding: 14px 24px 22px;
  border-top: 1px solid var(--border-l);
  display: flex; flex-direction: column; gap: 8px;
}
.unavail-note {
  font-size: 0.84rem; line-height: 1.55;
  padding: 10px 14px; border-radius: var(--radius);
  background: var(--s-wait-b); color: var(--s-wait);
}
.wait-note { font-size: 0.82rem; color: var(--text-3); margin-bottom: 4px; }

/* =====================================================
   COMO FUNCIONA
   ===================================================== */
.como { background: var(--primary); padding: 56px 0; }
.como .sh .label { color: rgba(255,255,255,0.5); }
.como .sh h2 { color: #fff; }
.como .sh h2 em { color: var(--accent-l); }
.como .sh p { color: rgba(255,255,255,0.65); }
.como .rule { background: var(--accent-l); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}
.step { display: flex; flex-direction: column; gap: 14px; }
.step-n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 400; line-height: 1;
  color: rgba(255,255,255,0.18);
  font-variant-numeric: tabular-nums;
}
.step h4 { color: #fff; font-size: 0.95rem; }
.step p { color: rgba(255,255,255,0.6); font-size: 0.86rem; line-height: 1.6; }

/* =====================================================
   GRUPOS
   ===================================================== */
.grupos { background: var(--surface); }
.grupo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.25rem;
}
.gcard {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.gcard:hover { border-color: var(--primary-l); box-shadow: 0 8px 32px var(--shadow); }
.gcard-accent { height: 3px; background: var(--primary); flex-shrink: 0; }
.gcard-inner { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.gcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.gcard-top h3 { font-size: 1.2rem; }
.gcard-top .gsub { font-size: 0.75rem; color: var(--text-3); font-family: 'Outfit', sans-serif; font-weight: 400; margin-top: 3px; display: block; }
.gcard-desc { font-size: 0.87rem; line-height: 1.65; margin-bottom: 1.2rem; flex: 1; }
.gcard-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 1.2rem;
}
.gmeta {
  background: var(--surface); border-radius: var(--radius);
  padding: 9px 10px; font-size: 0.75rem;
  border: 1px solid var(--border-l);
}
.gmeta .ml { display: block; font-size: 0.63rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 2px; }
.gmeta .mv { font-weight: 600; color: var(--text); }
.gcard-foot { border-top: 1px solid var(--border-l); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }

/* =====================================================
   CASAL
   ===================================================== */
.casal { background: var(--bg); }
.casal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.casal-visual {
  background: var(--primary-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 3rem 2.5rem; text-align: center;
}
.casal-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.casal-visual h3 { color: var(--primary); margin-bottom: 8px; }
.casal-visual p  { font-size: 0.9rem; margin-bottom: 1.5rem; }
.casal-content h2 { margin: 10px 0 1.2rem; }
.casal-content p  { margin-bottom: 1rem; font-size: 0.97rem; line-height: 1.7; }
.casal-for {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0 1.8rem;
}
.for-tag {
  font-size: 0.78rem; font-weight: 500;
  padding: 7px 14px; border-radius: 3px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2);
}
.casal-info {
  background: var(--surface); border: 1px solid var(--border-l);
  border-radius: var(--radius); padding: 14px 18px;
  font-size: 0.85rem; color: var(--text-2);
  margin-bottom: 1.5rem;
}
@media (max-width: 840px) {
  .casal-grid { grid-template-columns: 1fr; }
  .casal-visual { order: -1; }
}

/* =====================================================
   ÉTICA — faixa compacta (não seção)
   ===================================================== */
.etica-strip {
  background: var(--surface);
  padding: 44px 0;
  border-top: 1px solid var(--border-l);
  border-bottom: 1px solid var(--border-l);
}
.etica-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.es-item {
  padding: 0 2rem 0 2rem;
  border-left: 1px solid var(--border-l);
  display: flex; flex-direction: column;
}
.es-item:first-child { border-left: none; padding-left: 0; }
.es-icon {
  width: 32px; height: 32px; border-radius: var(--radius);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; flex-shrink: 0;
}
.es-item strong {
  font-size: 0.9rem; font-weight: 600; color: var(--text);
  font-family: 'Outfit', sans-serif;
  display: block; margin-bottom: 5px;
}
.es-item p {
  font-size: 0.78rem; line-height: 1.55;
}
@media (max-width: 760px) {
  .etica-strip-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .es-item { padding: 0; border: none; }
}
@media (max-width: 480px) {
  .etica-strip-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   EMERGÊNCIA
   ===================================================== */
.emergencia {
  background: #0F1C16;
  padding: 40px 0;
}
.emerg-inner { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.emerg-icon { font-size: 2rem; flex-shrink: 0; }
.emerg-body { flex: 1; min-width: 280px; }
.emerg-body h4 { color: #fff; margin-bottom: 8px; }
.emerg-body p  { color: rgba(255,255,255,0.6); font-size: 0.86rem; line-height: 1.6; margin-bottom: 14px; }
.emerg-contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.emerg-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 4px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85); font-size: 0.8rem; font-weight: 600;
  text-decoration: none; transition: background .18s;
}
.emerg-pill:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* =====================================================
   CONTATO
   ===================================================== */
.contato { background: var(--surface); }
.contato-header { margin-bottom: 3rem; }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem; align-items: start;
}
.contato-info h2 { margin: 10px 0 1rem; }
.contato-info > p { margin-bottom: 1.5rem; font-size: 0.97rem; line-height: 1.7; }

/* ── Formulário de contato ── */
.cf-card {
  background: var(--surface);
  border: 1px solid var(--border-l);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.cf-title { font-family: 'Cormorant Garamond', serif; font-size: 1.45rem; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.cf-sub   { font-size: 0.88rem; color: var(--text-3); margin-bottom: 1.5rem; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cf-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.cf-field label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-3);
}
.cf-field label span { color: var(--accent); }
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 13px;
  width: 100%;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.cf-field input.err,
.cf-field select.err,
.cf-field textarea.err { border-color: var(--s-full); }
.cf-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.cf-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237B8C87' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 36px; }

.cf-btn { width: 100%; justify-content: center; margin-top: 4px; }
.cf-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.cf-privacy {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.73rem; color: var(--text-3);
  margin-top: 10px; line-height: 1.4;
}
.cf-privacy svg { flex-shrink: 0; opacity: .6; }

.cf-feedback {
  padding: 12px 16px; border-radius: var(--radius);
  font-size: 0.87rem; font-weight: 500;
  margin-top: 14px;
}
.cf-feedback.ok  { background: var(--s-open-b); color: var(--s-open); border: 1px solid color-mix(in srgb, var(--s-open) 25%, transparent); }
.cf-feedback.err { background: var(--s-full-b);  color: var(--s-full);  border: 1px solid color-mix(in srgb, var(--s-full) 25%, transparent); }

/* ── WhatsApp dentro do info ── */
.contato-wa { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-l); }

/* Botão WhatsApp na seção contato */
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius);
  background: #25D366; color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: filter .18s, transform .15s;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
}
.btn-wa:hover { filter: brightness(.9); color: #fff; transform: translateY(-1px); }
.contact-items { display: flex; flex-direction: column; gap: 10px; }
.ci {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-l);
}
.ci-icon {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: var(--primary-bg); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ci strong { display: block; font-size: 0.88rem; color: var(--text); margin-bottom: 1px; }
.ci span   { font-size: 0.78rem; color: var(--text-3); }
.contato-wa {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  text-align: center;
}
.wa-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400;
  color: var(--primary); margin-bottom: 8px;
}
.wa-sub { font-size: 0.9rem; margin-bottom: 1.8rem; }
.wa-note { font-size: 0.76rem; color: var(--text-3); margin-top: 1rem; }
@media (max-width: 900px) {
  .contato-grid { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--footer-bg); padding: 60px 0 36px; }
.footer-legal {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 14px 20px;
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  line-height: 1.65; margin-bottom: 2.5rem;
}
.footer-legal strong { color: rgba(255,255,255,0.75); }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.fc-brand .name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: #fff; display: block; margin-bottom: 2px; }
.fc-brand .sub  { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.fc-brand p     { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 12px; }
.fc h5 { color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fc a  { font-size: 0.84rem; color: rgba(255,255,255,0.4); transition: color .18s; }
.fc a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
@media (max-width: 840px) {
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================
   REVEAL / ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Back to top ---- */
#btt {
  position: fixed; bottom: 100px; right: 26px; z-index: 99;
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--primary); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .2s;
}
#btt.show { opacity: 1; pointer-events: all; }
#btt:hover { transform: translateY(-2px); }

/* ---- Wide overflow containers ---- */
.overflow-x { overflow-x: auto; }

/* ── Botão flutuante WhatsApp ─────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 24px; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .25s, box-shadow .25s, opacity .3s;
  opacity: 0; pointer-events: none;
  text-decoration: none;
}
.wa-float.show { opacity: 1; pointer-events: auto; }
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.60);
  color: #fff;
}
.wa-float svg { width: 30px; height: 30px; flex-shrink: 0; }
@media (max-width: 840px) {
  .wa-float { bottom: 20px; right: 16px; width: 50px; height: 50px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ── Banner superior opcional ─────────────────────────────────── */
.banner-topo {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  margin-top: 64px; /* compensa nav fixo */
  display: none; /* mostrado via JS quando há imagem */
}
.banner-topo.ativo { display: block; }
.banner-topo img.banner-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  position: absolute; inset: 0;
}
.banner-overlay {
  position: relative; z-index: 1;
  min-height: 420px;
  background: linear-gradient(160deg, rgba(24,40,32,.62) 0%, rgba(24,40,32,.22) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem;
  gap: 1rem;
}
.banner-titulo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff; font-weight: 400; line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.banner-subtitulo {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  max-width: 560px; line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0,0,0,.2);
}
@media (max-width: 840px) {
  .banner-topo, .banner-overlay { min-height: 280px; }
}
