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

:root {
  --red: #8b0f17;
  --red-dark: #5f080f;
  --black: #101010;
  --gray: #5f5f63;
  --light: #f7f2ee;
  --white: #ffffff;
  --line: rgba(16, 16, 16, 0.12);
  --shadow: 0 24px 80px rgba(16, 16, 16, 0.15);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  background:
    radial-gradient(circle at top right, rgba(139, 15, 23, 0.18), transparent 35%),
    linear-gradient(135deg, #fff 0%, #f7f2ee 55%, #f0e4dc 100%);
  min-height: auto;
}

.navbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(139, 15, 23, 0.24);
}

.brand-text {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--gray);
  font-weight: 600;
}

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

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 38px;
  align-items: center;
  padding: 18px 0 42px;
}

.eyebrow {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  margin-bottom: 14px;
}

.eyebrow-light {
  color: #ffd9d9;
}

h1,
h2,
h3 {
  line-height: 1.06;
  letter-spacing: -0.055em;
}

h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.35rem, 4.8vw, 4.65rem);
  max-width: 850px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  color: var(--gray);
  max-width: 620px;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(139, 15, 23, 0.24);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-secondary {
  background: var(--white);
  border: 1px solid var(--line);
}

.btn-full {
  width: 100%;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-points span {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--gray);
  font-weight: 700;
  font-size: 0.86rem;
}

.hero-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

.hero-media {
  height: 205px;
  border-radius: 22px;
  background: var(--black);
  overflow: hidden;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-media-placeholder {
  height: 100%;
  color: white;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(139,15,23,0.9), transparent 45%),
    linear-gradient(135deg, #111, #5f080f);
}

.hero-media-placeholder span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.hero-media-placeholder small {
  font-weight: 700;
  color: rgba(255,255,255,0.72);
}

.hero-card-content {
  padding: 14px 8px 4px;
}

.small-label {
  color: var(--red);
  font-weight: 800;
  margin-bottom: 8px;
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.hero-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.hero-card li {
  padding-left: 24px;
  position: relative;
  color: var(--gray);
  font-weight: 700;
}

.hero-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.two-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.section h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

.section-text {
  color: var(--gray);
  font-size: 1.08rem;
  display: grid;
  gap: 18px;
}

.section-dark .section-text {
  color: rgba(255,255,255,0.72);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-top: 14px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--white);
  min-height: 260px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(16,16,16,0.10);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--light);
  color: var(--red);
  font-weight: 900;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--gray);
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.audience-list div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  font-weight: 800;
}

.video-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.video-card {
  border-radius: 24px;
  background: var(--light);
  border: 1px solid var(--line);
  overflow: hidden;
}

.video-card h3 {
  font-size: 1.25rem;
  padding: 22px 22px 8px;
}

.video-card p {
  color: var(--gray);
  padding: 0 22px 24px;
}

.video-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--black);
  overflow: hidden;
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.video-placeholder {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at top, rgba(139, 15, 23, 0.85), transparent 40%),
    linear-gradient(135deg, #111, #5f080f);
}

.video-placeholder span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.video-placeholder small {
  color: rgba(255,255,255,0.72);
  font-weight: 700;
}

.testimonial-note {
  margin-top: 22px;
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(139, 15, 23, 0.08);
  color: var(--gray);
  font-weight: 600;
}

.final-cta {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
}

.cta-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
}

.cta-box p {
  color: rgba(255,255,255,0.78);
  margin-top: 16px;
  font-size: 1.08rem;
}

.contact-card {
  background: var(--white);
  color: var(--black);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-card p {
  color: var(--gray);
  margin-top: 14px;
}

.contact-card a:not(.btn) {
  color: var(--red);
  font-weight: 800;
}

.footer {
  padding: 28px 0;
  background: var(--black);
  color: rgba(255,255,255,0.7);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    background: var(--white);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.open a {
    padding: 12px;
  }

  .hero,
  .two-columns,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .cards-grid,
  .audience-list,
  .video-testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .navbar {
    min-height: 76px;
  }

  .hero {
    gap: 32px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .teacher-photo-placeholder {
    height: 260px;
    font-size: 2.4rem;
  }

  .section {
    padding: 68px 0;
  }

  .cards-grid,
  .audience-list,
  .video-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer-content {
    flex-direction: column;
  }
}


.mini-chat-link {
  margin-top: 18px;
  display: inline-flex;
  font-weight: 900;
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

.lead-chat-section {
  background: var(--white);
}

.lead-chat-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  align-items: center;
}

.lead-chat-copy p:not(.eyebrow) {
  color: var(--gray);
  margin-top: 18px;
  font-size: 1.08rem;
}

.lead-chat {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 20px 60px rgba(16, 16, 16, 0.08);
  display: grid;
  gap: 16px;
}

.chat-bubble {
  width: fit-content;
  max-width: 92%;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 700;
}

.chat-bubble.bot {
  background: var(--black);
  color: var(--white);
  border-bottom-left-radius: 6px;
}

.lead-chat label {
  display: grid;
  gap: 8px;
  color: var(--black);
  font-weight: 800;
}

.lead-chat input,
.lead-chat select,
.lead-chat textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  font: inherit;
  background: var(--white);
  color: var(--black);
  outline: none;
}

.lead-chat input:focus,
.lead-chat select:focus,
.lead-chat textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(139, 15, 23, 0.10);
}

.form-note {
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 920px) {
  .lead-chat-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: auto;
  }

  .hero {
    padding-top: 20px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-media {
    height: 210px;
  }
}

.footer-cnpj {
  margin-left: 8px;
  opacity: 0.7;
}


.teacher-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: center;
}

.teacher-image-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 80px rgba(0,0,0,0.24);
}

.teacher-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 38% center;
  display: block;
}

.teacher-image-placeholder {
  height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.16), transparent 36%),
    linear-gradient(135deg, #1b1b1b, #5f080f);
}

.teacher-image-placeholder span {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
}

.teacher-copy h2 {
  margin-bottom: 24px;
}

.hero-media-placeholder.institutional {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.20), transparent 34%),
    radial-gradient(circle at bottom left, rgba(139,15,23,0.95), transparent 42%),
    linear-gradient(135deg, #0e0e0e, #2a0508 55%, #8b0f17);
}

@media (max-width: 920px) {
  .teacher-layout {
    grid-template-columns: 1fr;
  }

  .teacher-image-card img,
  .teacher-image-placeholder {
    height: 420px;
  }
}

@media (max-width: 640px) {
  .teacher-image-card img,
  .teacher-image-placeholder {
    height: 340px;
  }
}


.brand-symbol {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

.hero-brand-symbol {
  width: min(150px, 46%);
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.25));
}

.brand .brand-mark {
  display: none;
}

@media (max-width: 640px) {
  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .hero-brand-symbol {
    width: min(120px, 44%);
  }
}


.seo-header {
  min-height: auto;
}

.seo-hero {
  grid-template-columns: 1fr;
  padding: 44px 0 72px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: var(--light);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--black);
}

.faq-list p {
  color: var(--gray);
  margin-top: 10px;
}

.service-card a.mini-chat-link {
  margin-top: 18px;
}


.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.testimonials-page-grid {
  grid-template-columns: repeat(3, 1fr);
}

.image-frame {
  background: var(--light);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-testimonial-card .video-frame {
  aspect-ratio: 9 / 16;
}

@media (max-width: 920px) {
  .testimonials-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .testimonials-page-grid {
    grid-template-columns: 1fr;
  }
}


.instagram-cta {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--white);
  display: grid;
  gap: 12px;
  justify-items: start;
  box-shadow: 0 16px 45px rgba(16, 16, 16, 0.06);
}

.instagram-cta h3 {
  font-size: 1.45rem;
}

.instagram-cta p {
  color: var(--gray);
  max-width: 720px;
}

@media (max-width: 640px) {
  .instagram-cta {
    padding: 22px;
  }
}





/* Layout limpo dos depoimentos */
.video-testimonial-grid,
.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.video-card {
  width: 100%;
  border-radius: 24px;
  background: var(--light);
  border: 1px solid var(--line);
  overflow: hidden;
}

.video-frame {
  width: 100%;
  height: 260px;
  background: var(--black);
  overflow: hidden;
}

.video-frame video,
.video-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: var(--black);
}

.video-card h3 {
  font-size: 1.15rem;
  padding: 18px 18px 8px;
}

.video-card p {
  color: var(--gray);
  padding: 0 18px 22px;
  font-size: 0.96rem;
}

.center-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.instagram-cta {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--white);
  display: grid;
  gap: 12px;
  justify-items: start;
  box-shadow: 0 16px 45px rgba(16, 16, 16, 0.06);
}

.instagram-cta h3 {
  font-size: 1.45rem;
}

.instagram-cta p {
  color: var(--gray);
  max-width: 720px;
}

@media (max-width: 920px) {
  .video-testimonial-grid,
  .testimonials-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .video-testimonial-grid,
  .testimonials-page-grid {
    grid-template-columns: 1fr;
  }

  .video-frame {
    height: 240px;
  }
}


/* Correção final da página de depoimentos: apenas um grid, sem vídeos soltos */
.video-testimonial-grid,
.testimonials-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.video-card {
  border-radius: 24px;
  background: var(--light);
  border: 1px solid var(--line);
  overflow: hidden;
  width: 100%;
}

.video-card .video-frame {
  width: 100%;
  height: 260px;
  background: var(--black);
  overflow: hidden;
}

.video-card .video-frame video,
.video-card .video-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--black);
}

.video-card h3 {
  font-size: 1.15rem;
  padding: 18px 18px 8px;
}

.video-card p {
  color: var(--gray);
  padding: 0 18px 22px;
  font-size: 0.96rem;
}

.center-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.instagram-cta {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: var(--white);
  display: grid;
  gap: 12px;
  justify-items: start;
  box-shadow: 0 16px 45px rgba(16, 16, 16, 0.06);
}

.instagram-cta h3 {
  font-size: 1.45rem;
}

.instagram-cta p {
  color: var(--gray);
  max-width: 720px;
}

@media (max-width: 920px) {
  .video-testimonial-grid,
  .testimonials-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .video-testimonial-grid,
  .testimonials-page-grid {
    grid-template-columns: 1fr;
  }

  .video-card .video-frame {
    height: 240px;
  }
}


/* Refinamentos finais de UI */
.card-icon {
  letter-spacing: -0.02em;
}

.mini-chat-link {
  font-size: 0.95rem;
}

.hero-card-content li {
  line-height: 1.35;
}

.btn,
.nav-cta {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .btn,
  .nav-cta {
    white-space: normal;
    text-align: center;
  }

  .hero-card-content li {
    font-size: 0.95rem;
  }
}
