/* =========================================================
   Creche Escola Marques Lima — Landing Page Matrículas 2027
   Estilos da página /matriculas
   ========================================================= */

/* ---------- Fontes (hospedadas no próprio site) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Cores e medidas (troque aqui para mudar no site todo) ---------- */
:root {
  --azul-escuro: #0e1249;
  --azul-claro: #28abe2;
  --azul-texto: #1a6f99;   /* azul claro escurecido, para textos pequenos legíveis */
  --amarelo: #fbed20;
  --fundo-claro: #eef8fd;
  --texto: #3b3f68;
  --texto-claro: #d6dcf5;
  --branco: #ffffff;
  --whatsapp: #25d366;
  --largura: 1200px;
  --lateral: 40px;
  --secao: 104px;
  --raio: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--azul-escuro);
  background: var(--branco);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul-escuro); }
a:hover { color: var(--azul-claro); }
:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Estrutura ---------- */
.wrap { max-width: var(--largura); margin: 0 auto; padding: 0 var(--lateral); position: relative; z-index: 1; }
.sec { padding: var(--secao) 0; position: relative; overflow: hidden; }
.sec--claro { background: var(--fundo-claro); }
.sec--azul { background: var(--azul-claro); }
.sec--escuro { background: var(--azul-escuro); color: var(--branco); }
.sec--amarelo { background: var(--amarelo); }
.stack { display: flex; flex-direction: column; }
.centro { text-align: center; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Elementos gráficos de fundo (lápis, globo, estrelas...) */
.deco { position: absolute; pointer-events: none; z-index: 0; height: auto; }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--azul-texto); margin: 0; }
.h1 { margin: 0; font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.02em; }
.h2 { margin: 0; font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.015em; }
.h2--menor { font-size: clamp(28px, 3vw, 40px); }
.h3 { margin: 0; font-weight: 700; font-size: 22px; line-height: 1.2; }
.lead { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--texto); }
.destaque { background: var(--amarelo); padding: 0 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 16px 30px; border-radius: 999px;
  background: var(--amarelo); color: var(--azul-escuro);
  font-weight: 800; font-size: 17px; text-decoration: none; text-align: center;
  border: 2px solid var(--azul-escuro); box-shadow: 0 5px 0 var(--azul-escuro);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { color: var(--azul-escuro); transform: translateY(2px); box-shadow: 0 3px 0 var(--azul-escuro); }
.btn--navy { background: var(--azul-escuro); color: var(--branco); box-shadow: 0 5px 0 var(--azul-claro); }
.btn--navy:hover { color: var(--branco); box-shadow: 0 3px 0 var(--azul-claro); }
button.btn { font-family: inherit; line-height: 1.2; cursor: pointer; }
.btn svg { flex: 0 0 auto; }
.btn-area { text-align: center; }
.micro { font-size: 14px; margin: 14px 0 0; }

/* ---------- Cards ---------- */
.card { background: var(--branco); border: 2px solid var(--azul-escuro); border-radius: var(--raio); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card--foto { padding: 0; overflow: hidden; position: relative; gap: 0; }
.card--foto > img { width: 100%; height: 300px; object-fit: cover; border-bottom: 2px solid var(--azul-escuro); }
.card__corpo { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.ico { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; width: 64px; height: 64px; }
.ico--amarelo { background: var(--amarelo); }
.ico--azul { background: var(--azul-claro); }
.selo { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--amarelo); border: 2px solid var(--azul-escuro); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; }
.foto { width: 100%; object-fit: cover; border: 2px solid var(--azul-escuro); border-radius: var(--raio); }

/* =========================================================
   1. HERO
   ========================================================= */
.hero { background: var(--azul-escuro); color: var(--branco); position: relative; overflow: hidden; }
.hero__topo { display: flex; align-items: center; padding-top: 24px; padding-bottom: 24px; }
.hero__topo img { height: 48px; width: auto; }
.hero__conteudo { padding-top: 40px; padding-bottom: 120px; }
.hero__texto { display: flex; flex-direction: column; gap: 24px; }
.hero__selo { align-self: flex-start; background: var(--amarelo); color: var(--azul-escuro); padding: 8px 16px; border-radius: 999px; }
.hero .h1 { color: var(--branco); }
.hero .h1 span { color: var(--amarelo); }
.hero .lead { color: var(--texto-claro); }
.hero .micro { color: #b9c1e8; }
.hero__arte { position: relative; width: 100%; max-width: 540px; margin: -60px auto 0; }
.hero__foto { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--azul-claro); box-shadow: 0 0 0 8px var(--amarelo); }
.hero__coracao { position: absolute; left: -4%; bottom: 6%; width: 70px; }

/* Desktop (a partir de 1200px): círculo grande preso à direita,
   saindo pela borda de cima e da direita, como no layout V3.
   Abaixo disso, a foto fica ao lado do texto (ou embaixo, no celular). */
@media (min-width: 1200px) {
  .hero__conteudo { display: block; position: static; }
  .hero__texto { position: relative; z-index: 2; max-width: 580px; }
  .hero__arte {
    position: absolute; z-index: 1;
    left: calc(50% + 70px); top: -52px;
    width: min(950px, 66vw); max-width: none; margin: 0;
  }
  .hero__coracao { left: -2%; top: 66%; bottom: auto; width: 70px; }
}

/* ---------- Barra de confiança ---------- */
.confianca { margin-top: -56px; position: relative; z-index: 2; }
.confianca__barra { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; background: var(--branco); border: 2px solid var(--azul-escuro); border-radius: var(--raio); padding: 12px; box-shadow: 0 8px 0 var(--amarelo); margin: 0; }
.confianca__item { padding: 16px; text-align: center; }
.confianca__num { font-weight: 800; font-size: 26px; color: var(--azul-escuro); }
.confianca__txt { font-size: 14px; color: var(--texto); }

/* =========================================================
   2. IDENTIFICAÇÃO
   ========================================================= */
.polaroid { position: relative; max-width: 440px; margin: 0 auto; }
.polaroid img.polaroid__foto { width: 100%; height: 420px; object-fit: cover; transform: rotate(-3deg); border: 14px solid var(--branco); border-bottom-width: 48px; box-shadow: 0 10px 30px rgba(14, 18, 73, .18); }
.polaroid__coracao { position: absolute; right: -6%; bottom: 6%; width: 22%; }
.perguntas { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.perguntas li { background: var(--fundo-claro); border-radius: 16px; padding: 16px 20px; font-weight: 700; font-size: 18px; }

/* =========================================================
   3. 5 MOTIVOS (linha no desktop, carrossel no tablet/celular)
   ========================================================= */
.motivos .card { padding: 24px 20px; gap: 12px; }
.motivos .h3 { font-size: 19px; }
.motivos .p { font-size: 15px; }
.motivos .ico img { width: 36px; }
.dots { display: none; justify-content: center; gap: 8px; margin-top: -28px; }
.dots span { display: block; width: 8px; height: 8px; border-radius: 99px; background: #8ccbe9; transition: width .2s, background .2s; }
.dots span.ativo { width: 24px; background: var(--azul-escuro); }

/* =========================================================
   5. TURNOS E ALIMENTAÇÃO
   ========================================================= */
.plano h3 { font-size: 28px; }
.plano--sem-selo h3 { margin-top: 38px; }
.plano__hora { font-weight: 700; font-size: 20px; color: var(--azul-texto); }
.plano--destaque { background: var(--azul-escuro); color: var(--branco); }
.plano--destaque .plano__hora { color: var(--amarelo); }
.plano--destaque p { margin: 0; color: var(--texto-claro); font-size: 16px; }
.plano__selo { align-self: flex-start; background: var(--amarelo); color: var(--azul-escuro); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 13px; }
.bloco { border-radius: 32px; padding: 48px; position: relative; overflow: hidden; }
.bloco--amarelo { background: var(--amarelo); border: 2px solid var(--azul-escuro); }
.bloco--escuro { background: var(--azul-escuro); color: var(--branco); }
.bloco--amarelo .eyebrow { color: var(--azul-escuro); }
.bloco__texto { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.bloco__img { width: 100%; max-width: 380px; margin: 0 auto; border-radius: 20px; border: 2px solid var(--azul-escuro); position: relative; z-index: 1; }

/* =========================================================
   6. PROPOSTA PEDAGÓGICA
   ========================================================= 
.fotos-3 img { height: 280px; }*/

.fotos-3 { max-width: 900px; margin: 0 auto; gap: 150px; } /* espaço entre as fotos no desktop */
.fotos-3 img { height: 160px; }
.fotos-3 img:nth-child(1) { transform: rotate(-1.5deg); }
.fotos-3 img:nth-child(2) { transform: rotate(1deg); }
.fotos-3 img:nth-child(3) { transform: rotate(-1deg); }
.pilar { padding-top: 20px; display: flex; flex-direction: column; gap: 38px; border-top: 4px solid var(--azul-claro); }
.pilar:nth-child(even) { border-top-color: var(--amarelo); }
.bloco--escuro .eyebrow { color: var(--amarelo); }
.bloco--escuro p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--texto-claro); }
.psico__foto { width: 100%; max-width: 440px; height: 340px; object-fit: cover; margin: 0 auto; border-radius: 20px; border: 2px solid var(--amarelo); position: relative; z-index: 1; }

/* =========================================================
   7. ATIVIDADES EXTRAS
   ========================================================= */
.extras__foto { height: 320px; transform: rotate(1.5deg); }
.extras-lista { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.extra { text-align: center; align-items: center; gap: 8px; }
.extra img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--azul-escuro); }
.extra .p { font-size: 15px; }

/* =========================================================
   8. PROJETO ELO
   ========================================================= */
.elo__foto-area { position: relative; }
.elo__foto { height: 400px; transform: rotate(2deg); box-shadow: 10px 10px 0 var(--azul-escuro); }
.elo__estrela { position: absolute; left: -30px; bottom: -40px; width: 90px; }
.sec--azul .eyebrow { color: var(--azul-escuro); }
.elo__nota { margin: 0; font-size: 15px; font-weight: 600; }

/* =========================================================
   9. AVALIAÇÕES
   ========================================================= */
.nota { display: inline-flex; align-items: center; gap: 12px; background: var(--branco); border: 2px solid var(--azul-escuro); border-radius: 999px; padding: 10px 20px; }
.estrelas { color: #c99700; letter-spacing: 2px; }
.depoimento { margin: 0; gap: 16px; }
.depoimento blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.depoimento figcaption { font-weight: 700; }
.depoimento figcaption span { font-weight: 500; color: var(--texto); }

/* =========================================================
   10. O QUE ESTÁ INCLUSO
   ========================================================= */
.inclusos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; max-width: 900px; margin: 0; padding: 0; list-style: none; }
.inclusos li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.inclusos .ico { width: 24px; height: 24px; background: var(--amarelo); }
.oferta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--amarelo); color: var(--azul-escuro); border-radius: var(--raio); padding: 28px 32px; }
.oferta p { margin: 0; font-size: 18px; font-weight: 600; flex: 1 1 360px; }

/* =========================================================
   11. UNIDADES
   ========================================================= */
.unidade { gap: 16px; }
.unidade img { height: 260px; }
.unidades__cta { position: relative; }

/* =========================================================
   12. FAQ
   ========================================================= */
.faq { max-width: 920px; }
.faq .h2 { text-align: center; margin-bottom: 32px; }
.faq details { border-bottom: 2px solid #d9eef8; padding: 22px 0; background: var(--branco); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; line-height: 1; color: var(--azul-claro); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--texto); font-size: 16px; line-height: 1.6; max-width: 760px; }

/* =========================================================
   13. CTA FINAL E RODAPÉ
   ========================================================= */
.cta__h2 { font-size: clamp(32px, 4vw, 56px); }
.cta__foto-area { position: relative; max-width: 440px; margin: 0 auto; width: 100%; }
.cta__foto { height: 520px; transform: rotate(2deg); box-shadow: 12px 12px 0 var(--azul-escuro); }
.cta__estrela { position: absolute; right: -40px; top: -50px; width: 100px; }
.cta__coracao { position: absolute; left: -30px; bottom: 40px; width: 64px; transform: rotate(-14deg); }
.rodape { background: var(--azul-escuro); color: var(--texto-claro); padding: 48px 0; }
.rodape .wrap { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; }
.rodape img { height: 44px; width: auto; }
.rodape p { margin: 0; font-size: 14px; line-height: 1.7; flex: 1 1 320px; max-width: 560px; }
.rodape a { color: var(--branco); }

/* ---------- WhatsApp: botão flutuante (desktop) e barra fixa (celular) ---------- */
.wa-flutuante { position: fixed; right: 24px; bottom: 24px; z-index: 50; width: 64px; height: 64px; border-radius: 50%; background: var(--whatsapp); color: var(--branco); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(14, 18, 73, .3); }
.wa-flutuante:hover { color: var(--branco); transform: scale(1.05); }
.wa-barra { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--branco); border-top: 2px solid var(--azul-escuro); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.wa-barra a, .wa-barra button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px; background: var(--whatsapp); color: var(--branco); font-weight: 800; font-size: 17px; text-decoration: none; }
.wa-barra button { width: 100%; border: 0; font-family: inherit; cursor: pointer; }

/* ---------- Botão "voltar ao topo" ---------- */
.topo {
  position: fixed; right: 32px; bottom: 104px; z-index: 49;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--azul-escuro); color: var(--amarelo);
  border: 2px solid var(--amarelo);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(14, 18, 73, .3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.topo.visivel { opacity: 1; visibility: visible; transform: translateY(0); }
.topo:hover { color: var(--amarelo); background: #1c2270; }

/* ---------- Aviso de cookies (LGPD) ---------- */
.cookies { position: fixed; left: 24px; bottom: 24px; z-index: 60; max-width: 420px; background: var(--branco); color: var(--azul-escuro); border: 2px solid var(--azul-escuro); border-radius: 20px; padding: 20px; box-shadow: 0 10px 30px rgba(14, 18, 73, .25); display: none; }
.cookies.visivel { display: block; }
.cookies p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; color: var(--texto); }
.cookies__botoes { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies button { font: inherit; font-weight: 700; font-size: 14px; min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer; border: 2px solid var(--azul-escuro); }
.cookies__aceitar { background: var(--azul-escuro); color: var(--branco); }
.cookies__recusar { background: var(--branco); color: var(--azul-escuro); }

/* =========================================================
   RESPONSIVO
   ========================================================= */

/* Tablet (até 1024px): 5 motivos viram carrossel */
@media (max-width: 1024px) {
  .fotos-3 { gap: 40px; } /* espaço entre as fotos no tablet */
  .grid--5 {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(var(--lateral) * -1); padding: 4px var(--lateral) 10px; scroll-padding: 0 var(--lateral);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .grid--5::-webkit-scrollbar { display: none; }
  .grid--5 > .card { flex: 0 0 300px; scroll-snap-align: start; }
  .dots { display: flex; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Celular (até 767px) */
@media (max-width: 767px) {
  :root { --lateral: 20px; --secao: 64px; }
  .esconder-celular { display: none !important; }
  /* No celular, os elementos gráficos de fundo ficam escondidos para não cobrir os títulos.
     Só o brilho amarelo (fundo suave) continua. */
  .deco { display: none; }
  .deco[src*="brilho"] { display: block; }
  .split { gap: 32px; }
  .btn { width: 100%; }
  .card { padding: 22px; }
  .card.card--foto { padding: 0; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--5 > .card { flex: 0 0 80%; }
  .extras-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__conteudo { padding-bottom: 96px; }
  .hero__arte { max-width: 340px; margin-top: 0; }
  .confianca__barra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .confianca__item:last-child { grid-column: 1 / -1; }
  .inclusos { grid-template-columns: minmax(0, 1fr); }
  .bloco { padding: 28px 22px; }
  .polaroid img.polaroid__foto { height: 340px; }
  .fotos-3 img, .unidade img { height: 220px; }
  .fotos-3 { gap: 24px; } /* espaço entre as fotos no celular */
  .extras__foto, .elo__foto { height: 280px; }
  .cta__foto { height: 400px; }
  .elo__estrela, .cta__estrela { width: 70px; right: -10px; left: auto; }
  .cta__coracao { left: -10px; }
  .wa-flutuante { display: none; }
  .wa-barra { display: block; }
  .h-widget-float { display: none !important; }
  .topo { right: 16px; bottom: 96px; width: 44px; height: 44px; }
  body { padding-bottom: 80px; }
  .cookies { left: 12px; right: 12px; bottom: 92px; max-width: none; }
}

/* Quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .dots span, .topo { transition: none; }
}
