/* =========
   Polished light theme + autism details
========= */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5000;

  /* ✅ centraliza o painel na tela */
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal.is-open{
  display: flex; /* ✅ em vez de block */
}


.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.modal-panel{
  position: relative;
  width: min(1100px, 100%);
  max-height: calc(100dvh - 28px);
  border-radius: 18px;
  overflow: hidden;
  background: #000; /* fundo para “letterbox” */
  box-shadow: 0 30px 90px rgba(0,0,0,.35);

  display: flex;          /* ✅ */
  align-items: center;    /* ✅ centraliza vertical */
  justify-content: center;/* ✅ centraliza horizontal */
}

.modal-img{
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 28px);
  object-fit: contain;
  display: block;
}


.modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.modal-close:hover{
  background: rgba(0,0,0,.6);
}

:root{
  --bg:#ffffff;
  --bg2:#f6f7fb;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#465268;
  --line: rgba(11,18,32,.10);
  --shadow: 0 18px 55px rgba(2, 6, 23, .10);
  --shadow-soft: 0 12px 30px rgba(2, 6, 23, .06);
  --radius: 18px;
  --container: 1120px;
  --header-h: 110px;

  /* autism palette */
  --blue:#2563eb;
  --red:#ef4444;
  --yellow:#f59e0b;
  --green:#22c55e;

  --accent: var(--blue);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 15% 0%, rgba(37,99,235,.08), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(34,197,94,.07), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.65;
}

@media (max-width: 768px){
  .hero-bg-video{
    object-position: 41% 41%;; /* puxa o enquadramento para a direita */
  }
}

/* Prevent horizontal scroll on mobile caused by long strings / media */
html, body{
  overflow-x: hidden;
}

img, video{
  max-width: 100%;
}
a{ color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(37,99,235,.35);
  outline-offset: 3px;
  border-radius: 14px;
}

p{ margin: 0 0 14px; color: var(--muted); }
h1,h2,h3{ margin: 0 0 10px; color: var(--text); letter-spacing: -0.03em; }
h2{ font-size: clamp(22px, 2.2vw, 34px); }
h3{ font-size: 18px; }

.container{
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top:10px;
  padding:10px 12px;
  background:#fff;
  color:#111;
  border-radius: 999px;
  z-index: 9999;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.skip-link:focus{ left: 12px; }

/* =========
   Header / Nav
========= */
.site-header {
        position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 110px;
    z-index: 1000;
    backdrop-filter: blur(12px);

    
  background: linear-gradient(to bottom, rgb(255 255 255 / 16%), rgb(246 247 249 / 18%));
border-bottom: 2px solid rgb(228 236 251 / 47%);
}
.video-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.section-video {
  width: 100%;
  max-width: 320px;        /* desktop */
  aspect-ratio: 9 / 16;
  object-fit: contain;    /* MOSTRA O VÍDEO INTEIRO */
  border-radius: 14px;
  background: #000;
}

@media (max-width: 768px) {

  .video-card {
    padding: 0;
  }

  .section-video {
    max-width: 100%;
    width: 100%;
    height: auto;

    /* força altura boa no mobile */
    aspect-ratio: 9 / 16;
    min-height: 70vh;      /* ocupa bem a tela */
    border-radius: 0;     /* opcional: mais imersivo */
  }
}
@media (max-width: 768px) {
  .section-video {
    border-radius: 18px;
    min-height: 65vh;
  }
}

  .btn-signup{
      padding: 12px 16px;
    border-radius: 999px;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: #fff;
    width: 253px;
    background: #6c102d;
    box-shadow: 0 16px 40px rgba(219, 39, 119, .20);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-signup:hover{
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-signup:active{
  transform: translateY(0);
}
.wa-icon{
  width: 27px;
  height: 27px;
  fill: currentColor; /* fica branco junto do texto */
  flex: 0 0 auto;
}

.gradient-title {
    font-weight: 500;
    font-family: initial;
    font-size: 37px;
    color: #d39840;
    line-height: 49px;
    text-align: center;
}
.gradient-title2 {
    font-weight: 500;
    font-family: initial;
    font-size: 40px;
    color: #dca553;
    line-height: 49px;
    text-align: center;
}
.header-inner{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark{
  width: 28px; height: 28px;
  border-radius: 12px;
  background: conic-gradient(from 180deg, var(--blue), var(--red), var(--yellow), var(--green), var(--blue));
  box-shadow: 0 10px 30px rgba(37,99,235,.16);
}
.brand-text{ opacity: .98; }

.nav{
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgb(255 255 255 / 32%);
    background: #6c102d;
    box-shadow: var(--shadow-soft);
    flex-wrap: wrap;
}

.nav-link{
      padding: 10px 21px;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 300;
    font-size: 15px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.nav-link:hover{
   background: #7f2340;
    border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}
.nav-link.active{
  color: var(--text);
      background: #7f2340;
    border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(11,18,32,.04);
  cursor:pointer;
}
.nav-toggle-bars{
  display:block;
  width: 18px; height: 2px;
  background: #ffffff;
  margin-inline:auto;
  position: relative;
  border-radius: 2px;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px; height: 2px;
  background: #ffffff;
  border-radius: 2px;
}
.nav-toggle-bars::before{ top: -6px; }
.nav-toggle-bars::after{ top: 6px; }

.hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  max-width: 750px;     /* ajuste fino aqui */
  width: 100%;
  height: auto;
  margin: 20px 0 16px;
}

.hero-center .hero-subtitle {
      max-width: 455px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 17px;
    font-family: 'cursive', 'Plus Jakarta Sans';
}

.hero-center .hero-badges {
  justify-content: center;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 300px;
  }
}

/* =========
   Hero (video)
========= */
.hero{
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;

  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

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

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 650px at 30% 30%, rgb(27 3 29 / 89%), transparent 60%), radial-gradient(900px 650px at 70% 40%, rgb(222 255 234 / 58%), transparent 60%), linear-gradient(180deg, rgb(2 6 23 / 0%), rgb(40 2 19 / 90%));
}

.hero-content{
  position:relative;
  padding: 0px 0 34px;
  text-align: center;
  color: #fff;
}

.hero-kicker{
  display:inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.hero-title{
  font-size: clamp(44px, 6.5vw, 72px);
  line-height: 1.02;
  max-width: 18ch;
}

.hero-subtitle{
  max-width: 70ch;
  font-size: 16px;
  margin-top: 12px;
  color: rgba(255,255,255,.90);
}

.hero-actions{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 15px 16px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 32%);
  font-weight: 800;
  font-size: 15px;
  user-select: none;
}
.btn:hover{ 

 }

.btn-primary{
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(37,99,235,.25);
}

.hero-badges{
  margin-top: 16px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.badge{
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
}
.badge-blue{ border-color: rgba(37,99,235,.55); }
.badge-red{ border-color: rgba(239,68,68,.55); }
.badge-yellow{ border-color: rgba(245,158,11,.60); }
.badge-green{ border-color: rgba(34,197,94,.55); }

.hero-scroll-hint{
  position:absolute;
  bottom: 18px;
  display:flex;
  gap: 6px;
  opacity: .75;
}
.hero-scroll-hint .dot{
  width: 6px; height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.85);
  animation: bounce 1.4s infinite ease-in-out;
}
.hero-scroll-hint .dot:nth-child(2){ animation-delay: .15s; }
.hero-scroll-hint .dot:nth-child(3){ animation-delay: .3s; }

@keyframes bounce{
  0%, 80%, 100% { transform: translateY(0); opacity:.60; }
  40% { transform: translateY(-6px); opacity: 1; }
}

/* =========
   Sections
========= */
.section3{
  padding: 26px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.section{
  padding: 88px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(246,247,251,1));
}
.section-alt2{
  background:
    linear-gradient(rgb(108 16 45 / 85%), rgb(108 16 45 / 58%)), url(images/fundo.jpg);
  background-size: cover;

  background-repeat: no-repeat;
}

.section-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items:center;
}

.section-inner.reverse .section-text{ order: 2; }
.section-inner.reverse .media-card{ order: 1; }

.lead{
  font-size: 18px;
    color: rgba(11, 18, 32, .85);
    text-align: justify;
    line-height: 30px;
    padding-top: 16px;
    text-indent: 40px;
}
.lead2{
  font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
    line-height: 30px;
    padding-top: 16px;
    text-indent: 40px;
}
.card{
  border-radius: var(--radius);
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.media-card-2::after {
  background-image: url("images/img1.png");
}

.section-split{
  padding: 0;              /* remove padding da section pra virar “bloco” */
}

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.split-left{
  background: #fff;
  align-items: center;
  padding: 80px 35px;
}

.split-inner{
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding-left: 0; /* padrão: sem padding */
}

@media (min-width: 1024px){
  .split-inner{
    padding-left: 38px; /* só no PC */
  }
}

p, li, .lead, .info-value, .muted, .cta-note{
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
}


.split-right{
  /* fundo colorido (pode trocar) */
  background: #f5edd8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.split-photo{
  width: min(520px, 100%);
  border-radius: 22px;
  overflow: hidden;
}

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

/* RESPONSIVO */
@media (max-width: 900px){
  .split{
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .split-left, .split-right{
            padding: 50px 8px;
  }
  .split-right{
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Quando for vídeo, não deixe o ::after da media-card cobrir */
.video-card::after {
  content: none !important;
}

/* Garantir que o vídeo fique clicável e acima */
.video-card .section-video {
  position: relative;
  z-index: 2;
}

.media-card{
  position: relative;
  overflow:hidden;
  background:
    radial-gradient(280px 200px at 30% 30%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(300px 240px at 70% 50%, rgba(34,197,94,.10), transparent 60%),
    linear-gradient(135deg, rgba(11,18,32,.04), rgba(11,18,32,0));
}
.media-card::after{
  pointer-events: none;
  content:"";
  position:absolute;
  inset:-2px;
  background-size: cover;
  background-position: center;
  opacity:.22;
  transform: scale(1.03);
  filter: saturate(1.03) contrast(1.02);
}

.media-card-project::after{
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1400&q=70");
}

.media-card-3::after{
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1400&q=70");
}
.media-card-4::after{
  background-image: url("https://images.unsplash.com/photo-1558021212-51b6ecfa0db9?auto=format&fit=crop&w=1400&q=70");
}

/* Lists / pills */
.bullets{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(11,18,32,.80);
}
.bullets li{ margin: 10px 0; }

.pill-row{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11,18,32,.10);
}
.pill-blue{ border-color: rgba(37,99,235,.25); }
.pill-red{ border-color: rgba(239,68,68,.25); }
.pill-yellow{ border-color: rgba(245,158,11,.30); }
.pill-green{ border-color: rgba(34,197,94,.25); }

/* Mini cards */
.mini-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mini-card{
  display:flex;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.mini-card p{ margin: 4px 0 0; font-size: 13px; color: rgba(11,18,32,.70); }
.mini-dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  margin-top: 7px;
  flex: 0 0 auto;
}
.dot-blue{ background: var(--blue); }
.dot-green{ background: var(--green); }

/* Feature grid */
.feature-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.feature{
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgb(228 207 175);
  box-shadow: var(--shadow-soft);
}
.feature h3{ margin-bottom: 6px;color: #9f6b26; }
.feature p{ margin: 0; font-size: 14px; }

/* CTA */
.cta{
  margin-top: 18px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(11,18,32,.10);
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(34,197,94,.08));
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
}
.cta-text{
  display:flex;
  flex-direction:column;
  gap: 2px;
}
.cta-text strong{ color: var(--text); }
.cta-text span{ color: rgba(11,18,32,.70); font-size: 14px; }

.muted-small{
  font-size: 13px;
  color: rgba(11,18,32,.62);
}

/* Contact info */
.info-grid{
  margin-top: 14px;
  display:grid;
  gap: 10px;
}
.info{
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}
.info-label{
  display:block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(11,18,32,.55);
  margin-bottom: 4px;
}
.info-value{ color: rgba(11,18,32,.82); }

.link{
  color:  #6c102d;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,.25);
  padding-bottom: 1px;
}
.link:hover{
  border-bottom-color: rgba(37,99,235,.55);
}

/* Ensure cards never exceed container width */
.card, .media-card, .video-card{
  max-width: 100%;
}

/* Footer */
.footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: rgba(255,255,255,.92);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color: rgba(11,18,32,.68);
  font-size: 14px;
}
.footer-link{
  color: rgba(11,18,32,.76);
  border-bottom: 1px solid rgba(11,18,32,.25);
  padding-bottom: 1px;
}
.footer-link:hover{ border-bottom-color: rgba(11,18,32,.55); }
.footer-sep{ opacity:.5; }

/* Allow long text (e.g., emails/PIX) to wrap instead of creating sideways scroll */
.section-text, .cta, .cta-text, .cta-pix, .pix-key, .info-value, .bullets li, .feature p{
  overflow-wrap: anywhere;
  word-break: break-word;    text-align: center;
}

/* Responsive */
@media (max-width: 860px){
  .section-inner{ grid-template-columns: 1fr; }
  .section-inner.reverse .section-text{ order: 1; }
  .section-inner.reverse .media-card{ order: 2; }
  .media-card{ height: 100%; }
  .feature-grid{ grid-template-columns: 1fr; }
  .mini-grid{ grid-template-columns: 1fr; }
  .cta{ flex-direction: column; align-items:flex-start; }
}

@media (max-width: 760px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; border: 1px solid #fff;}
  .nav{
    position: absolute;
    top: calc(var(--header-h) + 10px);
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(11,18,32,.10);
    background: rgb(94 17 68 / 72%);
    box-shadow: 0 20px 70px rgba(2,6,23,.12);
  }
  .nav.open{ display:flex; }
  .nav-link{ width:100%; border-radius: 14px; }
}

/* FORÇAR animação mesmo se o sistema pedir reduzir movimento */
.local-track{
  animation: localScroll 30s linear infinite !important;
}


/* Floating Instagram button */
.floating-ig{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 999px;

  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;

  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.28);

  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

.floating-ig:hover{
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 22px 55px rgba(0,0,0,.22);
}

.floating-ig svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@media (max-width: 520px){
  .floating-ig{
    right: 12px;
    bottom: 12px;
    padding: 12px;
  }
  .floating-ig span{
    display: none;
  }
}

/* Image inside media card (preferred over ::after background when using <img>) */
.section-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
