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

:root {
  --pink: #D81450;
  --pink-solid: #D81450;
  --pink-dark: #C4144E;
  --black: #111111;
  --white: #FFFFFF;
  --cream: #FDF8F5;
  --gray: #6B6B6B;
  --light-gray: #F2F2F2;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}


/* ─── SOCIAL ICONS IN NAV ─── */
.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem 0 0.5rem;
}
.nav-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a84c;
  opacity: 0.85;
  transition: opacity 0.2s;
  text-decoration: none;
}
.nav-socials a:hover { opacity: 1; }
.nav-socials svg { width: 18px; height: 18px; fill: #c9a84c; }

/* ─── NAVIGATION ─── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid rgba(232,24,90,0.3);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

#main-nav.scrolled {
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(232,24,90,0.15);
}

/* Mobile menu */
#mobile-menu {
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  overflow-y: auto;
  padding: 2rem;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-logo span { color: var(--pink); }
.nav-logo:hover { color: var(--pink); }

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

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.nav-link:hover, .nav-link.active { color: var(--pink); }

.nav-dropdown {
  position: absolute;
  top: 64px; left: 0;
  background: var(--black);
  border: 1px solid rgba(232,24,90,0.2);
  border-top: 2px solid var(--pink);
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: all 0.15s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-dropdown a:hover {
  color: var(--white);
  background: rgba(232,24,90,0.12);
  padding-left: 1.6rem;
}

.nav-cta {
  background: var(--pink-solid);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  height: auto !important;
  font-weight: 600 !important;
  border-radius: 2px;
  margin-left: 0.5rem;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--pink-dark) !important; color: var(--white) !important; }

.hamburger {
  background: none;
  border: none;
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

#mobile-menu:not([hidden]) { display: block; }

.mobile-menu a, .mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu button:hover { color: var(--pink); }

.mobile-menu .mobile-sub a {
  padding: 0.6rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
}

/* ─── PAGES ─── */
.page { display: none; padding-top: 64px; }
.page.active { display: block; }

/* ─── HERO ─── */
.hero {
  background: var(--black);
  min-height: 92vh;
  display: flex;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(232,24,90,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-deco {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
  order: 2;
  background: var(--black);
}

.hero-content {
  order: 1;
}

.hero-deco-circle {
  display: none;
}

.hero-initials {
  font-family: var(--font-serif);
  font-size: 14rem;
  font-weight: 300;
  color: rgba(232,24,90,0.06);
  position: absolute;
  letter-spacing: -0.05em;
  user-select: none;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 5rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 1;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--pink-solid);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--pink);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2.5rem;
  border-left: 2px solid var(--pink);
  padding-left: 1rem;
  list-style: none;
}

.hero-credential {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
}

.hero-credential strong {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--pink-solid);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
}

.btn-primary:hover { background: var(--pink-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(232,24,90,0.3); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
}

.btn-outline:hover { border-color: var(--pink); color: var(--pink); }

.btn-pink-outline {
  background: transparent;
  color: var(--pink);
  border: 1px solid var(--pink);
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
}

.btn-pink-outline:hover { background: var(--pink-solid); color: var(--white); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  border-radius: 2px;
}

.btn-dark:hover { background: rgba(232,24,90,0.1); border-color: var(--pink); color: var(--pink); }

/* ─── SECTIONS ─── */
.section { padding: 6rem 5rem; }
.section-sm { padding: 4rem 5rem; }
.section-dark { background: var(--black); }
.section-cream { background: var(--cream); }
.section-light { background: var(--light-gray); }

.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 800px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--pink-solid);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.section-title.white { color: var(--white); }

.section-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 680px;
}

.section-body.white { color: rgba(255,255,255,0.65); }

/* ─── URGENCY BANNER ─── */
.urgency-banner {
  background: var(--pink-solid);
  padding: 2rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.urgency-text {
  color: var(--white);
}

.urgency-text .label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.urgency-text .title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
}

.urgency-text .sub {
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.urgency-btn {
  background: var(--white);
  color: var(--pink);
  border: none;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  border-radius: 2px;
}

.urgency-btn:hover { background: var(--black); color: var(--white); }

/* ─── GRID ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 2.5rem;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--pink-solid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.card:hover::before { transform: scaleX(1); }

.card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.card-dark:hover { background: rgba(255,255,255,0.07); box-shadow: 0 16px 48px rgba(232,24,90,0.15); }

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,24,90,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.card-title.white { color: var(--white); }

.card-body {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.card-body.white { color: rgba(255,255,255,0.6); }

.card-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.85rem; }

/* ─── ABOUT SPLIT ─── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  min-height: 560px;
}

.about-visual {
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.about-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 300;
  color: rgba(232,24,90,0.15);
  position: relative;
}

.about-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(232,24,90,0.12);
}

.about-text {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─── COURSE PAGE ─── */
.course-hero {
  background: var(--black);
  padding: 5rem;
  position: relative;
  overflow: hidden;
}

.course-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

.course-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
}

.course-price {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.course-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
}

.course-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.course-feature::before {
  content: '✦';
  color: var(--pink);
  flex-shrink: 0;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.modules-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.module-item {
  border: 1px solid rgba(0,0,0,0.08);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.2s;
}

.module-item:hover { border-color: var(--pink); background: rgba(232,24,90,0.02); }

.module-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--pink);
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}

.module-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.module-desc {
  font-size: 0.84rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ─── EVENTS ─── */
.event-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  transition: all 0.25s;
  cursor: pointer;
}

.event-card:hover { border-color: var(--pink); transform: translateX(4px); }

.event-date-block {
  text-align: center;
}

.event-day {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--pink);
  line-height: 1;
}

.event-month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
}

.event-info-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.event-info-sub {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ─── CONGRESS PAGE ─── */
.congress-hero {
  background: var(--black);
  padding: 5rem;
  position: relative;
  overflow: hidden;
}

.congress-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,24,90,0.1) 0%, transparent 70%);
}

.congress-date-display {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 300;
  color: rgba(232,24,90,0.12);
  line-height: 1;
  position: absolute;
  right: 2rem;
  bottom: 1rem;
  user-select: none;
}

/* ─── COMUNIDADE ─── */
.benefit-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.benefit-row:last-child { border-bottom: none; }

.benefit-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(232,24,90,0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
}

.benefit-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ─── SOBRE ─── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--pink), rgba(232,24,90,0.1));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.3rem;
  width: 8px;
  height: 8px;
  background: var(--pink-solid);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--pink);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.book-item {
  border: 1px solid rgba(0,0,0,0.08);
  padding: 1.75rem;
  transition: all 0.2s;
}

.book-item:hover { border-color: var(--pink); }

.book-year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.book-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.book-info {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ─── CONTATO ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(0,0,0,0.08);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--black);
}

.contact-channel:hover { border-color: var(--pink); color: var(--pink); }

.contact-channel-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-channel-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.2rem;
}

.contact-channel-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
}

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

.form-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
}

.form-input:focus { border-color: var(--pink); }

textarea.form-input { resize: vertical; min-height: 120px; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(232,24,90,0.2);
  padding: 4rem 5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand span { color: var(--pink); }

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.footer-social:hover { border-color: var(--pink); color: var(--pink); }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.25rem;
}

.footer-link {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  margin-bottom: 0.6rem;
  transition: color 0.2s;
  text-decoration: none;
}

.footer-link:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
}

.footer-other-brands {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.62);
  display: flex;
  gap: 1.25rem;
}

.footer-other-brands a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-other-brands a:hover { color: var(--pink); }

/* ─── DIVIDER ─── */
.divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin: 2rem 0;
}

.divider-pink {
  border: none;
  border-top: 1px solid rgba(232,24,90,0.2);
  margin: 2rem 0;
}

/* ─── HUB PAGE HEADER ─── */
.page-header {
  background: var(--black);
  padding: 4rem 5rem;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
}

.page-header-bg-text {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  user-select: none;
}

.page-breadcrumb {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.page-breadcrumb span { color: var(--pink); }

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── TESTIMONIAL ─── */
.testimonial-strip {
  background: var(--cream);
  padding: 4rem 5rem;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--black);
  max-width: 700px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

.testimonial-author {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
}

/* Compensate for fixed nav (64px) */
.page { padding-top: 64px; }
.skip-link { top: -100px; }
.skip-link:focus { top: 0; }
:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 2px;
}

.mobile-socials {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0 0;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.mobile-socials a {
  color: #c9a84c;
  opacity: 0.9;
  display: flex;
  transition: opacity 0.2s;
}
.mobile-socials a:hover { opacity: 1; }
.mobile-menu .mobile-socials a { display: flex; width: auto; padding: 0; border: none; color: #c9a84c; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--pink-solid);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* Decorative elements hidden from AT */
[aria-hidden="true"] { pointer-events: none; }

/* ─── RESPONSIVE ─── */

/* Projeto items: override inline grid on smaller screens */
.projeto-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 900px) {
  .section, .section-sm { padding: 4rem 2rem; }
  .hero-content { padding: 4rem 2rem; }
  .hero { flex-direction: column; min-height: auto; }
  .hero-deco { display: block; flex: none; order: 0; width: 100%; height: 380px; }
  .hero-deco img { right: auto !important; left: 50% !important; transform: translateX(-50%); height: 100% !important; }
  .hero-content { order: 1; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .about-split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .course-hero { padding: 3rem 2rem; }
  .course-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .congress-hero { padding: 3rem 2rem; }
  .congress-date-display { font-size: 5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 80px 1fr; }
  .event-card .btn-primary { display: none; }
  .urgency-banner { padding: 2rem; flex-direction: column; align-items: flex-start; }
  .page-header { padding: 3rem 2rem; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 3rem 2rem 2rem; }
  .nav-links { display: none; }
  .nav-socials { display: none; }
  .hamburger { display: flex; }
  .testimonial-strip { padding: 3rem 2rem; }
  /* Projeto items stack on tablet */
  .projeto-item { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .section, .section-sm { padding: 3rem 1.25rem; }
  .hero-content { padding: 3rem 1.25rem; }
  .hero-title { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; text-align: center; }
  .urgency-text .title { font-size: 1.3rem; }
  .urgency-btn { width: 100%; text-align: center; }
  .event-card { grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.25rem; }
  .benefit-row { flex-direction: column; gap: 0.5rem; }
  .benefit-num { font-size: 2rem; width: auto; }
  footer { padding: 2.5rem 1.25rem 1.5rem; }
  .footer-other-brands { flex-direction: column; gap: 0.5rem; }
}

/* Menu completo só cabe a partir de 1200px; abaixo disso usa o menu recolhido */
.nav-logo { white-space: nowrap; flex-shrink: 0; }
/* Entre 1200 e 1365px os ícones das redes saem do topo (seguem no rodapé e no menu recolhido) */
@media (max-width: 1365px) {
  .nav-socials { display: none; }
}
@media (max-width: 1199px) {
  .nav-links { display: none; }
  .nav-socials { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 900px) {
  .about-text { padding: 4rem 2rem; }
  /* No empilhamento, o título do projeto vem antes da lista */
  .projeto-item > div:has(h3) { order: -1; }
}

@media (max-width: 600px) {
  .about-text { padding: 3rem 1.25rem; }
  .projeto-item > div { padding: 2rem 1.5rem !important; }
  .page-breadcrumb a { display: inline-block; padding: 0.5rem 0; }
  .footer-other-brands a { display: inline-block; padding: 0.35rem 0; }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeUp 0.6s ease forwards; }
.animate-in:nth-child(2) { animation-delay: 0.1s; }
.animate-in:nth-child(3) { animation-delay: 0.2s; }
.animate-in:nth-child(4) { animation-delay: 0.3s; }

.page.active > * { animation: fadeUp 0.5s ease forwards; }

/* ─── CONTRASTE (WCAG AA) ───
   Em fundo escuro o rosa do texto fica um tom mais claro para manter a leitura;
   fundos e botões usam --pink-solid, que não muda. */
#main-nav, #mobile-menu, .nav-dropdown, .hero, .section-dark, .about-visual,
.course-hero, .congress-hero, footer, .page-header,
[style*="background:var(--black)"], [style*="background: var(--black)"] {
  --pink: #F04A7D;
}
/* Cartões claros dentro de seções escuras voltam ao rosa padrão */
.event-card { --pink: #D81450; }

/* ─── AVISO DE COOKIES ─── */
.aviso-cookies {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  max-width: 760px;
  margin: 0 auto;
  background: var(--black);
  color: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.15);
  border-top: 2px solid var(--pink-solid);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  font-size: 0.88rem;
  line-height: 1.6;
  --pink: #F04A7D;
}
.aviso-cookies p { margin: 0; flex: 1; }
.aviso-cookies a { color: var(--pink); }
.aviso-cookies-botoes { display: flex; gap: 0.75rem; flex-shrink: 0; }
.aviso-cookies button {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.7rem 1.25rem;
  min-height: 44px;
  cursor: pointer;
  border-radius: 2px;
}
.aviso-cookies-aceitar { background: var(--pink-solid); color: var(--white); border: 1px solid var(--pink-solid); }
.aviso-cookies-aceitar:hover { background: var(--pink-dark); }
.aviso-cookies-recusar { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.aviso-cookies-recusar:hover { border-color: var(--white); }
@media (max-width: 600px) {
  .aviso-cookies { flex-direction: column; align-items: stretch; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; padding: 1rem 1.1rem; }
  .aviso-cookies-botoes button { flex: 1; }
}

/* ─── RODAPÉ: DADOS LEGAIS ─── */
.footer-legal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.76rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}
.footer-legal a, .footer-legal button {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  padding: 0.35rem 0;
  font: inherit;
  cursor: pointer;
}
.footer-legal a:hover, .footer-legal button:hover { color: var(--pink); }

/* Página corrente no menu */
.nav-link[aria-current="page"], .mobile-menu a[aria-current="page"] { color: var(--pink); }

/* ─── PÁGINAS DE TEXTO (privacidade, 404) ─── */
.texto-legal { max-width: 760px; margin: 0 auto; }
.texto-legal h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 2.5rem 0 1rem;
}
.texto-legal h3 { font-size: 1rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.texto-legal p, .texto-legal li { font-size: 1rem; line-height: 1.8; color: #3d3d3d; margin-bottom: 1rem; }
.texto-legal ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.texto-legal a:not([class]) { color: var(--pink); }
.texto-legal .atualizacao { font-size: 0.85rem; color: var(--gray); }

/* ─── PALESTRAS ─── */
.formatos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.formato {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 3px solid var(--pink-solid);
  padding: 1.75rem 2rem;
}
.formato-titulo { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 0.5rem; }
.formato p { color: #4a4a4a; line-height: 1.7; }
.duracao {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--black);
  max-width: 820px;
}
.card-palestra { cursor: default; display: flex; flex-direction: column; }
.card-palestra .card-title { margin-top: 0; }
.card-palestra .card-body { flex: 1; }
.datas { list-style: none; padding: 0; display: grid; gap: 0.75rem; max-width: 820px; }
.datas li {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 1rem 1.25rem;
  line-height: 1.6;
  color: #3d3d3d;
}
.datas strong { color: var(--black); }
@media (max-width: 600px) {
  .formatos { grid-template-columns: 1fr; }
  .formato { padding: 1.5rem 1.25rem; }
}

/* Chamada de palestras na página inicial */
.palestras-chamada { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.palestras-temas { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: 0.6rem; }
.palestras-temas li {
  background: var(--white);
  border-left: 3px solid var(--pink-solid);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #2b2b2b;
}
@media (max-width: 900px) {
  .palestras-chamada { grid-template-columns: 1fr; gap: 2rem; }
}
