/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --dark: #111;
  --dark-2: #1a1a1a;
  --light: #f7f3ef;
  --red: #b22222;
  --red-hover: #d43a3a;
  --gold: #c8a96e;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5a;
  --text: #e8e0d8;
  --text-muted: #9e958c;
  --text-dark: #2c2420;
  --text-dark-muted: #6b5e54;
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1060px;
  --pad: 1.5rem;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { color: inherit; font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--pad);
  transition: background 0.4s, padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(17,17,17,0.96);
  padding: 0.6rem var(--pad);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--red);
  letter-spacing: 0.08em;
  font-weight: 400;
}

.nav-links { display: flex; gap: 1.5rem; }

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, #1a1410, #0d0a08);
  z-index: 0;
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 660px;
  padding: 6rem var(--pad) 2rem;
}

.hero-tag {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.85rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.06em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 6px 25px rgba(37,211,102,0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--text);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: 8px;
}

/* ===== SECTIONS ===== */
.section { padding: 5rem 0; }
.section-dark { background: var(--dark-2); }
.section-light { background: var(--light); color: var(--text-dark); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

h2.centered { text-align: center; }
h2.dark { color: var(--text-dark); }

.tag-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.tag-label.dark { color: var(--red); }
.tag-label.centered { text-align: center; }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.section-lead {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-dark-muted);
  line-height: 1.7;
}

.stats-lead {
  color: var(--text-muted);
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

/* ===== ORIGENS ===== */
.section-origens {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== TIMELINE PINS ===== */
.section-timeline {
  background: var(--dark-2);
}

.timeline-pins {
  position: relative;
  height: 800px;
  margin: 3rem auto 0;
  max-width: 500px;
  padding-left: 2rem;
}

/* Vertical axis line */
.timeline-pins::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.1);
}

.tl-pin {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(-50%);
}

/* First pin: no upward overflow */
.tl-pin[style*="top:0%"] { transform: translateY(0); }
/* Last pin: no downward overflow */
.tl-pin[style*="top:100%"] { transform: translateY(-100%); }

/* Dot on the line */
.tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--dark-2);
  flex-shrink: 0;
  z-index: 2;
}

.tl-pin.chinese .tl-dot { background: var(--red); }
.tl-pin.egyptian .tl-dot { background: #c8963e; }
.tl-pin.roman .tl-dot { background: #5b7fa5; }
.tl-pin.western .tl-dot { background: #6b8e6b; }

/* Label */
.tl-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  line-height: 1.4;
}

.tl-label small {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.75rem;
  margin-right: 0.35rem;
}

.tl-pin.chinese .tl-label { color: var(--text); font-weight: 500; }

/* Today pin */
.tl-pin.today .tl-dot {
  width: 16px;
  height: 16px;
  margin-left: -2px;
  box-shadow: 0 0 12px rgba(178,34,34,0.5);
}

.tl-pin.today .tl-label {
  color: var(--red);
  font-weight: 600;
  font-style: italic;
}

.timeline-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.chinese { background: var(--red); }
.legend-dot.egyptian { background: #c8963e; }
.legend-dot.roman { background: #5b7fa5; }
.legend-dot.western { background: #6b8e6b; }

.origens-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.origem-item {
  position: relative;
  padding: 1.5rem;
  border-left: 2px solid var(--red);
}

.origem-tempo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 0.35rem;
}

.origem-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.origem-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.about-text .highlight {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.about-text strong { color: var(--text); }

.about-text a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(200,169,110,0.3);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.3s;
}

.about-text a:hover { text-decoration-color: var(--gold); }
.about-text a strong { color: var(--gold); }

.about-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; min-width: 0; }

.stat-number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  font-weight: 600;
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.1rem;
}

/* ===== IMAGE SLOTS ===== */
.img-slot {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #2a2220, #1a1412);
  border: 2px dashed rgba(178,34,34,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.img-slot::after {
  content: attr(data-label);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.img-slot img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.img-slot:has(img)::after { display: none; }
.img-slot:has(img) { border: none; background: none; }

.img-slot.short { aspect-ratio: 4/3; }

.section-light .img-slot {
  background: linear-gradient(135deg, #e8e2db, #ddd5cc);
  border-color: rgba(178,34,34,0.2);
}

.section-light .img-slot::after { color: var(--text-dark-muted); }

/* ===== PRACTICES ===== */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.practice-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.practice-body { padding: 1.25rem 1.25rem 1.5rem; }

.practice-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-style: italic;
  color: var(--red);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.practice-body > p:last-child {
  font-size: 0.88rem;
  color: var(--text-dark-muted);
  line-height: 1.55;
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.benefit-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
}

.benefit-icon { color: var(--red); margin-bottom: 0.75rem; }

.benefit-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== ESCOLAS ===== */
.escolas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.escolas-text p {
  font-size: 0.95rem;
  color: var(--text-dark-muted);
  margin-bottom: 0.85rem;
}

/* Banner quote */
.escolas-banner {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--red);
  background: rgba(178,34,34,0.06);
  border-radius: 0 8px 8px 0;
}

.banner-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--red);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.banner-sub {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  line-height: 1.55;
  margin: 0;
}

/* Impacto escolar */
.escolas-impacto {
  margin-top: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.escolas-impacto h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.impacto-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.impacto-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.impacto-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.impacto-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.impacto-item p {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  margin: 0;
  line-height: 1.5;
}

.impacto-destaque {
  color: var(--text-dark);
  font-style: italic;
  font-weight: 500;
}

.escolas-locais {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.escolas-locais.destaque {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--red);
  border-radius: 10px;
  border-top: none;
}

.escolas-locais.destaque h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 1.25rem;
  text-align: center;
  letter-spacing: 0.02em;
}

.locais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.local-card {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transition: background 0.3s;
}

.local-card:hover { background: rgba(255,255,255,0.18); }

.local-anos {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.local-card strong {
  font-size: 0.95rem;
  color: #fff;
}

.local-card > span:last-child {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.escolas-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.escolas-images .img-slot {
  flex: 1 1 0;
  aspect-ratio: auto;
  min-height: 160px;
}

.escolas-images .escolas-locais { flex: 0 0 auto; }

/* ===== AULAS PARTICULARES ===== */
.particulares-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.particulares-text p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.particulares-text .highlight {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.particulares-text strong { color: var(--text); }

.particulares-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.img-slot.gallery {
  aspect-ratio: 4/3;
  border-radius: 8px;
}

/* ===== CONTATO ===== */
.contato-container {
  text-align: center;
  max-width: 560px;
}

.contato-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.contato-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.contato-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  transition: color 0.3s;
  font-size: 0.9rem;
}

.contato-link:hover { color: #fff; }
.contato-link svg { flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p { font-size: 0.75rem; color: var(--text-muted); }

.footer-social { display: flex; gap: 1rem; }

.footer-social a {
  color: var(--text-muted);
  transition: color 0.3s;
  padding: 4px;
}

.footer-social a:hover { color: #fff; }

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem; right: 1.25rem;
  z-index: 999;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,0.55);
}

/* ========================================================
   RESPONSIVE — TABLET (max 960px)
   ======================================================== */
@media (max-width: 960px) {
  :root { --pad: 1.25rem; }

  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 0.7rem; }

  .origens-timeline { grid-template-columns: repeat(2, 1fr); }


  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .about-image .img-slot { aspect-ratio: 1; }

  .practices-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .practices-grid .practice-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .escolas-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .escolas-images {
    flex-direction: row;
    gap: 1rem;
  }

  .escolas-images .img-slot { flex: 1; }

  .escolas-locais.destaque { padding: 1.5rem; }

  .particulares-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .particulares-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .particulares-image .img-slot { aspect-ratio: 4/3; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================
   RESPONSIVE — MOBILE (max 640px)
   ======================================================== */
@media (max-width: 640px) {
  :root { --pad: 1rem; }

  .origens-timeline { grid-template-columns: 1fr; gap: 0; }
  .origem-item { padding: 1.25rem 1.25rem 1.25rem 1.25rem; }
  .origem-tempo { font-size: 1.1rem; }

  .timeline-pins { height: 650px; padding-left: 1.5rem; }
  .timeline-pins::before { left: 1.5rem; }
  .tl-label { font-size: 0.75rem; }
  .tl-label small { font-size: 0.68rem; }
  .tl-dot { width: 10px; height: 10px; }
  .tl-pin { gap: 0.6rem; }
  .timeline-legend { gap: 0.75rem; }
  .legend-item { font-size: 0.7rem; }

  /* Mobile nav drawer */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%; max-width: 280px;
    height: 100vh; height: 100dvh;
    background: rgba(17,17,17,0.98);
    flex-direction: column;
    padding: 4.5rem 1.5rem 2rem;
    gap: 1.25rem;
    transition: right 0.35s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
  }

  .nav-toggle { display: flex; z-index: 1001; }

  /* Sections */
  .section { padding: 3.5rem 0; }

  /* Hero */
  .hero-content { padding: 5rem 1rem 2rem; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hero-desc { font-size: 0.9rem; margin-bottom: 1.75rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }

  /* About */
  .about-image { max-width: 280px; }
  .about-image .img-slot { aspect-ratio: 4/3; }
  .about-stats { gap: 1rem; }
  .stat-number { font-size: 0.85rem; }
  .stat-label { font-size: 0.65rem; }

  /* Practices */
  .practices-grid { grid-template-columns: 1fr; }
  .practices-grid .practice-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }
  .practice-card .img-slot.short { aspect-ratio: 16/9; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr; gap: 1rem; }
  .benefit-card {
    display: flex;
    text-align: left;
    gap: 1rem;
    padding: 1.25rem;
    align-items: flex-start;
  }
  .benefit-icon { margin-bottom: 0; flex-shrink: 0; }
  .benefit-card h4 { margin-bottom: 0.2rem; }

  /* Escolas */
  .escolas-images { flex-direction: column; }
  .escolas-images .img-slot { max-height: 220px; }
  .escolas-impacto { padding: 1.25rem; }
  .escolas-impacto h4 { font-size: 0.95rem; }
  .impacto-item { gap: 0.75rem; }
  .escolas-locais.destaque { padding: 1.25rem; }
  .locais-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .local-card { padding: 0.85rem 1rem; }

  /* Particulares */
  .particulares-image { max-width: 100%; }
  .particulares-image .img-slot { aspect-ratio: 16/9; }
  .feature { gap: 0.75rem; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .img-slot.gallery { aspect-ratio: 3/2; }

  /* Contact */
  .contato-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-large {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 1rem; right: 1rem;
    width: 52px; height: 52px;
  }

  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* ========================================================
   RESPONSIVE — SMALL PHONES (max 380px)
   ======================================================== */
@media (max-width: 380px) {
  :root { --pad: 0.75rem; }

  .hero h1 { font-size: 1.65rem; }
  .hero-tag { font-size: 0.65rem; letter-spacing: 0.25em; }

  h2 { font-size: 1.4rem; }

  .about-stats { justify-content: center; }

  .gallery-grid { grid-template-columns: 1fr; }
  .img-slot.gallery { aspect-ratio: 16/9; }

  .practice-card .img-slot.short { aspect-ratio: 16/10; }

  .nav-links { width: 85%; }
}

/* ===== SAFE AREA (NOTCH PHONES) ===== */
@supports (padding: env(safe-area-inset-bottom)) {
  .whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom));
    right: calc(1rem + env(safe-area-inset-right));
  }

  .navbar {
    padding-left: calc(var(--pad) + env(safe-area-inset-left));
    padding-right: calc(var(--pad) + env(safe-area-inset-right));
  }

  .footer { padding-bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}
