:root {
  --white: #ffffff;
  --rose: #f2dee7;
  --sage: #ebf5e7;
  --text: #2f2a2d;
  --muted: #66606a;
  --line: rgba(47, 42, 45, 0.10);
  --shadow: 0 18px 45px rgba(47, 42, 45, 0.08);
  --shadow-soft: 0 10px 28px rgba(47, 42, 45, 0.05);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(242, 222, 231, 0.75), transparent 28%),
    radial-gradient(circle at top right, rgba(235, 245, 231, 0.85), transparent 24%),
    var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(150%) blur(14px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.45);
}

.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, var(--rose), var(--sage));
  border: 1px solid rgba(47,42,45,0.08);
  flex: 0 0 auto;
}

.brand-text {
  min-width: 0;
}
.brand-text strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
}
.brand-text span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 10px;
  transition: transform .25s ease, opacity .25s ease;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(242, 222, 231, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, #e8cad8, #ebf5e7);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { box-shadow: var(--shadow); }
.btn-secondary {
  background: rgba(255,255,255,0.72);
  border-color: rgba(47,42,45,0.12);
}
.btn-whatsapp {
  background: #ffffff;
  border-color: rgba(47,42,45,0.12);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(47,42,45,0.12);
}

main { overflow: clip; }
section { padding: 84px 0; }
.hero { padding: 56px 0 84px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero-copy p,
.page-hero-copy p,
.section-intro {
  font-size: 1.08rem;
  color: var(--muted);
  margin: 0 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8a707d;
  font-weight: 700;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.button-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.benefit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.benefit-pills span {
  padding: 10px 14px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(47,42,45,0.08);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-slider,
.media-card,
.feature-card,
.form-card,
.quote-card,
.course-card,
.stat-card,
.cta-panel,
.category-card,
.video-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.82);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(47,42,45,0.06);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide-overlay {
  position: absolute;
  inset: auto 24px 24px 24px;
  background: rgba(255,255,255,0.88);
  padding: 22px;
  border-radius: 22px;
  backdrop-filter: blur(8px);
}
.slide-overlay h3 { margin: 0 0 8px; font-size: 1.25rem; }
.slide-overlay p { margin: 0; color: var(--muted); }
.slider-dots {
  position: absolute;
  left: 24px;
  top: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}
.slider-dots button.active { background: var(--white); }

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin: 0 0 12px;
  line-height: 1.1;
}
.section-heading p { margin: 0; color: var(--muted); max-width: 700px; }

.band-strip {
  background: linear-gradient(135deg, rgba(242,222,231,0.55), rgba(235,245,231,0.75));
}
.video-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 26px;
}
.video-embed {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 280px;
  background: #ddd;
}
.video-embed iframe,
.video-embed video {
  width: 100%;
  height: 100%;
  border: 0;
}

.cards-4,
.cards-3,
.cards-2,
.cards-auto {
  display: grid;
  gap: 20px;
}
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.feature-card,
.course-card,
.category-card,
.stat-card,
.quote-card {
  padding: 22px;
}
.feature-card img,
.course-card img,
.category-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
}
.feature-card h3,
.course-card h3,
.category-card h3,
.stat-card h3,
.quote-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}
.feature-card p,
.course-card p,
.category-card p,
.stat-card p,
.quote-card p,
.list-clean li {
  color: var(--muted);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.list-clean li {
  padding-left: 26px;
  position: relative;
}
.list-clean li::before {
  content: "•";
  position: absolute;
  left: 8px;
  top: 0;
  color: #bd95a7;
  font-size: 1.2rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.split-panel .media-card {
  overflow: hidden;
}
.split-panel .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}
.split-content {
  padding: 30px;
}

.cta-panel {
  background: linear-gradient(135deg, rgba(242,222,231,0.75), rgba(235,245,231,0.85));
  padding: 34px;
}
.cta-panel h2,
.cta-panel h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
}
.cta-panel p { margin: 0; color: var(--muted); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.form-card {
  padding: 28px;
}
.form-card h2,
.form-card h3 { margin: 0 0 10px; font-family: "Playfair Display", Georgia, serif; }
.form-card p { margin: 0 0 22px; color: var(--muted); }
label { display: block; font-size: 0.94rem; margin-bottom: 8px; color: var(--text); font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(47,42,45,0.12);
  background: rgba(255,255,255,0.82);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(138, 112, 125, 0.5);
}
textarea { min-height: 145px; resize: vertical; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }

.page-hero {
  padding: 52px 0 72px;
}
.page-hero-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}
.page-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  box-shadow: var(--shadow);
}
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.muted-section { background: linear-gradient(180deg, rgba(242,222,231,0.26), rgba(255,255,255,0)); }
.soft-section { background: linear-gradient(180deg, rgba(235,245,231,0.38), rgba(255,255,255,0)); }

.site-footer {
  padding: 26px 0 34px;
  border-top: 1px solid rgba(47,42,45,0.08);
  background: rgba(255,255,255,0.82);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}
.footer-grid h4 { margin: 0 0 12px; }
.footer-grid p,
.footer-grid a { color: var(--muted); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(47,42,45,0.08);
  margin-top: 22px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.thankyou-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
}
.thankyou-box h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 18px;
}
.thankyou-box p { color: var(--muted); margin: 0 auto 24px; max-width: 640px; }

@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2,
  .page-hero-wrap,
  .video-card,
  .split-panel {
    grid-template-columns: 1fr;
  }
  .hero-slider,
  .page-hero-media { min-height: 460px; }
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(47,42,45,0.08);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .nav-item { width: 100%; position: relative; }
  .site-nav > a, .nav-link { width: 100%; justify-content: space-between; padding: 14px 16px; background: rgba(255,255,255,0.7); border-radius: 14px; }
  .submenu-toggle { display: inline-flex; position: absolute; right: 10px; top: 8px; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(242, 222, 231, 0.35); align-items: center; justify-content: center; z-index: 5; cursor: pointer; }
  .submenu-toggle::before { content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); transition: transform .2s ease; }
  .nav-item.open .submenu-toggle::before { transform: rotate(-135deg); }
  
  .submenu { position: relative; top: 0; display: none; min-width: 100%; margin-top: 8px; opacity: 1; pointer-events: auto; transform: none; box-shadow: none; border-radius: 18px; background: rgba(242,222,231,0.18); border: none; transition: none; }
  .submenu::before { display: none; } /* Desativa a ponte no mobile */
  .submenu-wide { min-width: 100%; display: none; grid-template-columns: 1fr; gap: 4px; }
  .nav-item.open .submenu { display: block; }
  .nav-item.open .submenu-wide { display: grid; }
  .header-actions { display: none; }
}

@media (max-width: 860px) {
  .header-actions .btn-secondary { display: none; }
  .footer-grid,
  .cards-3,
  .cards-2,
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 68px 0; }
  .hero { padding-top: 34px; }
  .brand-text strong { font-size: 0.88rem; }
  .brand-text span { font-size: 0.76rem; }
  .hero-slider,
  .page-hero-media { min-height: 390px; }
  .slide-overlay { inset: auto 16px 16px 16px; padding: 18px; }
  .section-heading { align-items: start; flex-direction: column; }
  .cta-panel,
  .form-card,
  .split-content,
  .thankyou-box { padding: 24px; }
  .cards-4 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* Submenus premium Desktop */
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-link::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-1px); opacity: .75; }
.submenu-toggle { display: none; }

/* FIX DO SUBMENU SUMIR NO DESKTOP */
.submenu { 
  position: absolute; 
  top: calc(100% + 12px); 
  left: 0; 
  min-width: 270px; 
  padding: 12px; 
  border-radius: 20px; 
  background: rgba(255,255,255,0.96); 
  box-shadow: var(--shadow); 
  border: 1px solid rgba(47,42,45,0.08); 
  opacity: 0; 
  pointer-events: none; 
  transform: translateY(8px); 
  transition: opacity .25s ease, transform .25s ease;
  transition-delay: 0.05s; /* Pequena tolerância para o mouse se mover */
}

/* Elemento ponte invisível para preencher o vão de 12px acima do submenu */
.submenu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
  background: transparent;
}

@media (min-width: 981px) {
  .nav-item:hover .submenu, .nav-item:focus-within .submenu, .nav-item.open .submenu { 
    opacity: 1; 
    pointer-events: auto; 
    transform: translateY(0); 
    transition-delay: 0s;
  }
}

.submenu a { display: block; padding: 12px 14px; border-radius: 14px; color: var(--muted); font-size: 0.95rem; }
.submenu a:hover { background: rgba(242, 222, 231, 0.42); color: var(--text); }
.submenu-cta { background: linear-gradient(135deg, rgba(232,202,216,.55), rgba(235,245,231,.8)); color: var(--text) !important; font-weight: 600; }
.submenu-wide { min-width: 520px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; }
.submenu-wide .submenu-cta { grid-column: 1 / -1; }

.anchor-offset { position: relative; top: calc(var(--header) * -1 - 8px); display: block; visibility: hidden; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #1faa55);
  color: #fff;
  box-shadow: 0 18px 35px rgba(37, 211, 102, 0.28);
  border: 3px solid rgba(255,255,255,0.9);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(37, 211, 102, 0.35);
}
.floating-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.floating-whatsapp-label {
  position: absolute;
  right: 76px;
  white-space: nowrap;
  background: rgba(47,42,45,0.92);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.floating-whatsapp:hover .floating-whatsapp-label,
.floating-whatsapp:focus-visible .floating-whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .floating-whatsapp { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .floating-whatsapp-label { display: none; }
}
