/* =============================================
   ESCOLA PARVUS MAGNUS — Stylesheet
   Paleta: Navy #1a2744 | Ouro #c8a55a | Creme #f8f5f0
   Tipografia: Cinzel (títulos) + EB Garamond (corpo)
   ============================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:   #1a2744;
  --navy-dark: #111b33;
  --navy-mid: #243460;
  --gold:   #c8a55a;
  --gold-light: #dfc07a;
  --gold-dark: #a07c35;
  --cream:  #f8f5f0;
  --cream-dark: #ede8e0;
  --white:  #ffffff;
  --text:   #2a2a2a;
  --text-light: #555555;

  --font-title: 'Cinzel', 'Palatino Linotype', serif;
  --font-body:  'EB Garamond', 'Palatino Linotype', Georgia, serif;

  --radius: 2px;
  --shadow: 0 4px 24px rgba(26,39,68,0.12);
  --shadow-lg: 0 8px 48px rgba(26,39,68,0.20);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
}

/* ==================== TIPOGRAFIA ==================== */

h1, h2, h3, h4 {
  font-family: var(--font-title);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 500; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

em { font-style: italic; color: var(--gold-dark); }

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

strong { font-weight: 600; }

blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: rgba(200,165,90,0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
}

blockquote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

blockquote cite {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: normal;
}

/* ==================== LAYOUT ==================== */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section-cream  { background: var(--cream); }
.section-navy   { background: var(--navy); color: var(--cream); }
.section-gold-accent { background: var(--cream-dark); }

/* ==================== CABEÇALHO DE SEÇÃO ==================== */

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 { color: var(--navy); }
.section-header.light h2 { color: var(--cream); }

.section-label {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.ornament {
  font-size: 1rem;
  color: var(--gold);
  margin: 1rem 0 1.25rem;
  letter-spacing: 0.4em;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section-header.light .section-intro { color: rgba(248,245,240,0.75); }

/* ==================== NAVBAR ==================== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 72px;
  border-bottom: 1px solid rgba(200,165,90,0.18);
  transition: all var(--transition);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 27, 51, 0.95);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.navbar.scrolled {
  height: 60px;
  background: var(--navy-dark);
  box-shadow: var(--shadow);
}

.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  flex-shrink: 0;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-latin {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.6);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.85);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold); }

.btn-benfeitor-nav {
  color: var(--gold) !important;
  font-style: italic;
}

.btn-benfeitor-nav:hover { color: var(--gold-light) !important; }

.btn-nav {
  border: 1px solid var(--gold) !important;
  padding: 0.45rem 1.2rem !important;
  color: var(--gold) !important;
  border-radius: var(--radius);
  transition: all var(--transition) !important;
}

.btn-nav:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ==================== HERO ==================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,165,90,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(200,165,90,0.04) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      rgba(200,165,90,0.035) 79px,
      rgba(200,165,90,0.035) 80px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      rgba(200,165,90,0.035) 79px,
      rgba(200,165,90,0.035) 80px
    );
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,27,51,0.78) 0%,
    rgba(17,27,51,0.65) 50%,
    rgba(17,27,51,0.82) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  padding: 100px 2rem 2rem;
  max-width: 760px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
}

.hero-label {
  font-family: var(--font-title);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-title {
  color: var(--cream);
  margin-bottom: 0.5rem;
  font-weight: 400;
  line-height: 1.15;
}

.hero-title em {
  color: var(--gold-light);
  font-style: italic;
  display: block;
  font-size: 1.2em;
}

.hero-tagline {
  font-family: var(--font-title);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 0.08em;
  color: rgba(248,245,240,0.8);
  margin-bottom: 1.5rem;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 1rem auto;
}

.hero-sub {
  color: rgba(248,245,240,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.btn-hero {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1rem 2.6rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(200,165,90,0.4);
  border: 1px solid var(--gold-light);
}

.btn-hero:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(200,165,90,0.45);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(200,165,90,0.5);
  font-size: 1.4rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ==================== SOBRE ==================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

.col-text p { color: var(--text-light); }
.col-text .lead { color: var(--navy); }

.info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(200,165,90,0.15);
}

.info-item:last-child { border-bottom: none; }

.info-icon {
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.info-item span {
  font-size: 0.95rem;
  color: rgba(248,245,240,0.85);
}

/* ==================== FILOSOFIA ==================== */

.four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dimension-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,165,90,0.2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.dimension-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,165,90,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.dim-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.7;
}

.dimension-card h3 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.dimension-card p {
  font-size: 0.92rem;
  color: rgba(248,245,240,0.65);
  line-height: 1.7;
}

/* ==================== MÉTODO ==================== */

.method-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.method-text p { color: var(--text-light); }
.method-text .lead { color: var(--navy); }

.method-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: flex-start;
}

.pillar:last-child { border-bottom: none; }

.pillar-num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.1rem;
}

.pillar strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.pillar p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ==================== ABORDAGENS ==================== */

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

.approach-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  box-shadow: 0 2px 12px rgba(26,39,68,0.06);
}

.approach-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.approach-icon {
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.3em;
}

.approach-card h3 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.approach-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ==================== FAMÍLIA ==================== */

.family-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.family-text p { color: rgba(248,245,240,0.75); }

.family-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,165,90,0.15);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.value-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(200,165,90,0.3);
}

.value-bullet {
  color: var(--gold);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.value-item p {
  color: rgba(248,245,240,0.8);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* ==================== CONTATO ==================== */

.contact-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.contact-item p, .contact-item a {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-item a:hover { color: var(--gold-dark); }

/* ==================== FORMULÁRIO ==================== */

.contact-form {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.6);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,165,90,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(248,245,240,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
}

.form-group textarea { resize: vertical; }

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius);
  padding: 0.9rem;
  font-family: var(--font-title);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,165,90,0.35);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(248,245,240,0.35);
  margin-top: 0.75rem;
}

/* ==================== RODAPÉ ==================== */

.footer {
  background: var(--navy-dark);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(200,165,90,0.15);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(200,165,90,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.footer-brand-text { display: flex; flex-direction: column; }

.footer-brand .brand-latin { color: var(--gold); }
.footer-brand .brand-sub { color: rgba(248,245,240,0.4); }
.footer-brand p {
  font-size: 0.85rem;
  color: rgba(248,245,240,0.45);
  margin-top: 0.5rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,245,240,0.5);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(248,245,240,0.35);
  margin: 0;
}

.footer-bottom a { color: rgba(248,245,240,0.45); }
.footer-bottom a:hover { color: var(--gold); }

/* ==================== IMAGENS DE SEÇÃO ==================== */

.section-img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.approach-img {
  width: 100%;
  aspect-ratio: 7 / 4;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  display: block;
  margin-bottom: 1.25rem;
}

.family-img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
}

/* ==================== PLACEHOLDERS ==================== */

.ph {
  position: relative;
  background: repeating-linear-gradient(
    -45deg,
    #e8e2d8,
    #e8e2d8 8px,
    #f0ece4 8px,
    #f0ece4 16px
  );
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ph::after {
  content: attr(data-label);
  white-space: pre;
  text-align: center;
  font-family: var(--font-title);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  background: rgba(248,245,240,0.85);
  padding: 0.6rem 1.2rem;
  border-radius: 2px;
  border: 1px solid var(--gold);
  line-height: 1.6;
}

/* Tamanhos por contexto */
.ph-hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  border-radius: 0;
  background: repeating-linear-gradient(
    -45deg,
    #0d1829,
    #0d1829 10px,
    #111b33 10px,
    #111b33 20px
  );
}
.ph-hero::after { font-size: 0.85rem; }

.ph-sobre {
  width: 100%;
  aspect-ratio: 10 / 7;
  margin-bottom: 1.5rem;
}

.ph-gallery {
  flex: 1;
  aspect-ratio: 3 / 2;
  min-height: 220px;
  border-radius: 0;
  border: none;
  border-right: 2px dashed var(--gold);
}
.ph-gallery:last-child { border-right: none; }

.ph-method {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-bottom: 1.5rem;
}

.ph-approach {
  width: 100%;
  aspect-ratio: 7 / 4;
  margin-bottom: 1.25rem;
}

.ph-family {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin-top: 1.5rem;
}

.ph-video {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 0;
}

/* ==================== GALERIA STRIP ==================== */

.gallery-strip {
  display: flex;
  width: 100%;
  overflow: hidden;
  max-height: 360px;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  position: relative;
}

.gallery-strip img {
  flex: 1;
  width: 33.33%;
  height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-strip img:hover { transform: scale(1.04); }

/* Carrossel mobile */
.gallery-dots {
  display: none;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 0;
  background: var(--navy);
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(200,165,90,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.gallery-dot.active { background: var(--gold); }

@media (max-width: 768px) {
  .gallery-strip {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-height: 260px;
  }
  .gallery-strip::-webkit-scrollbar { display: none; }
  .gallery-strip img {
    min-width: 100%;
    width: 100%;
    height: 260px;
    scroll-snap-align: start;
    flex: none;
  }
  .gallery-strip img:hover { transform: none; }
  .gallery-dots { display: flex; }
}

/* ==================== MÉTODO — coluna direita com foto ==================== */

.method-right {
  display: flex;
  flex-direction: column;
}

/* ==================== VÍDEO ==================== */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  margin-top: 4rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================== SINGLE SEX BAR ==================== */

.singlesex-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 3.5rem 0 0;
  padding: 1.25rem 2rem;
  background: linear-gradient(90deg, transparent, rgba(200,165,90,0.12), transparent);
  border-top: 1px solid rgba(200,165,90,0.3);
  border-bottom: 1px solid rgba(200,165,90,0.3);
}

.singlesex-bar p {
  font-family: var(--font-title);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin: 0;
  text-align: center;
}

.singlesex-bar p em {
  color: var(--gold-dark);
  font-style: italic;
}

.singlesex-ornament {
  color: var(--gold);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ==================== BENFEITORES ==================== */

.section-benfeitor {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.section-benfeitor::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(200,165,90,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 30%, rgba(200,165,90,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Vídeo grande — benfeitor */
.benfeitor-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 52%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,0.5);
  margin-bottom: 3rem;
  border: 1px solid rgba(200,165,90,0.2);
}

.benfeitor-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* CTA abaixo do vídeo */
.benfeitor-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding: 2.5rem 3rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,165,90,0.2);
  border-radius: var(--radius);
}

.benfeitor-cta-text .lead { margin-bottom: 0.75rem; }

.benfeitor-cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  min-width: 260px;
}

.benfeitor-cta-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.benfeitor-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(248,245,240,0.6);
  line-height: 1.6;
  margin: 0;
}

.btn-benfeitor {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  padding: 1.15rem 2.8rem;
  border-radius: var(--radius);
  border: 1px solid var(--gold-light);
  transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(200,165,90,0.4);
  white-space: nowrap;
}

.btn-benfeitor:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(200,165,90,0.55);
}

@media (max-width: 1024px) {
  .benfeitor-cta {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .benfeitor-cta-action { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

/* ==================== ANIMAÇÕES ==================== */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1024px) {
  .four-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col,
  .method-block,
  .family-block,
  .contact-block {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .gallery-strip { max-height: 200px; }
  .two-col .col-aside { max-width: 480px; }
}

@media (max-width: 768px) {
  html { font-size: 16px; }

  .section { padding: 72px 0; }

  .navbar { padding: 0 1.25rem; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(200,165,90,0.15);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 0.82rem;
  }
  .btn-nav { border: none !important; }

  .menu-toggle { display: block; }

  .approaches-grid { grid-template-columns: 1fr; }

  .four-grid { grid-template-columns: 1fr; }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-links {
    justify-content: flex-start;
    gap: 1rem;
  }
  .footer-bottom { flex-direction: column; gap: 0.25rem; }

  .contact-form { padding: 1.75rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero-content { padding: 1.25rem; }
  .info-card { padding: 1.5rem; }
}
