/*
Theme Name: Impullse Assessoria Esportiva
Theme URI: https://impullse.com.br
Author: Impullse / Evolve
Author URI: https://impullse.com.br
Description: Landing page da Impullse Assessoria Esportiva — desenvolvimento de crianças através do esporte. Tema one-page com hero, modalidades, depoimentos, galeria do espaço com lightbox, FAQ e CTA de WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: impullse
Tags: one-column, custom-colors, landing-page
*/

/* ============ IMPULLSE LP ============ */
:root {
  --purple-950: #150829;
  --purple-900: #1e0b3e;
  --purple-800: #2a1258;
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;
  --purple-400: #a78bfa;
  --teal-600: #009c82;
  --teal-500: #00bfa0;
  --teal-400: #17d3b4;
  --pink-500: #ff2d87;
  --ink: #1c1230;
  --muted: #5b5470;
  --gray-bg: #f3f2f7;
  --white: #ffffff;
  --radius: 18px;
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; }

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 2.4rem;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-teal {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 191, 160, .35);
}
.btn-teal:hover { background: var(--teal-400); }

.btn-sm { padding: .65rem 1.3rem; font-size: .92rem; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }

/* ---------- Seções base ---------- */
.section-light { background: var(--white); padding: 4.5rem 0; }
.section-gray  { background: var(--gray-bg); padding: 4.5rem 0; }
.section-dark  {
  background: var(--purple-950);
  color: #fff;
  padding: 4.5rem 0;
}

/* ============ HERO ============ */
.hero {
  background:
    linear-gradient(90deg, rgba(21, 8, 41, .92) 0%, rgba(21, 8, 41, .62) 34%, rgba(21, 8, 41, .1) 58%, rgba(21, 8, 41, .3) 100%),
    linear-gradient(to top, rgba(21, 8, 41, .55), transparent 30%),
    url("assets/hero-bg.jpg") center / cover no-repeat,
    var(--purple-950);
  color: #fff;
  padding: 1.6rem 0 4rem;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.8rem;
}

.logo {
  text-decoration: none;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo img {
  height: 74px;
  width: auto;
  display: block;
}
.logo span {
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-top: .45rem;
}
.logo-sm img { height: 56px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 460px;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 1.8rem;
}
.hero-copy h1 em {
  display: block;
  font-style: normal;
  color: var(--teal-400);
  margin-top: .35rem;
}

.hero-modalidades {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-modalidades li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
}
.mod-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}
.mod-icon svg { width: 100%; height: 100%; }
.mod-icon.pink { color: var(--pink-500); filter: drop-shadow(0 0 10px rgba(255,45,135,.5)); }
.mod-icon.teal { color: var(--teal-400); filter: drop-shadow(0 0 10px rgba(23,211,180,.5)); }

/* ============ POR QUE ESCOLHER ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why-item { text-align: center; }
.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto .9rem;
  display: grid;
  place-items: center;
}
.why-icon svg { width: 100%; height: 100%; }
.why-icon.purple { color: var(--purple-500); }
.why-icon.teal { color: var(--teal-500); }
.why-item h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: .5rem; }
.why-item p { font-size: .92rem; color: var(--muted); }

/* ============ MODALIDADES ============ */
.mods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.mod-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.mod-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }

.mod-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4.1;
  object-fit: cover;
  transition: transform .3s ease;
}
.mod-card:hover .mod-img { transform: scale(1.05); }

.mod-card-footer {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .6rem;
  background: linear-gradient(to top, rgba(10, 4, 24, .92), rgba(10, 4, 24, 0));
}
.mod-card-footer h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.15; }

.arrow-btn {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-500);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.arrow-btn svg { width: 20px; height: 20px; }
.mod-card:hover .arrow-btn { background: var(--teal-400); transform: translateX(3px); }

/* ============ COMO FUNCIONA ============ */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.step {
  flex: 1 1 180px;
  max-width: 220px;
  text-align: center;
  position: relative;
  padding-top: .4rem;
}
.step-num {
  position: absolute;
  top: 0;
  left: calc(50% - 52px);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  display: grid;
  place-items: center;
}
.purple-bg { background: var(--purple-600); }
.teal-bg { background: var(--teal-500); }

.step-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto .8rem;
  display: grid;
  place-items: center;
}
.step-icon svg { width: 100%; height: 100%; }
.step-icon.purple { color: var(--purple-500); }
.step-icon.teal { color: var(--teal-500); }

.step h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .35rem; color: var(--purple-600); }
.step:nth-of-type(2) h3 { color: var(--teal-600); }
.step p { font-size: .9rem; color: var(--muted); }

.step-sep {
  align-self: center;
  width: 56px;
  height: 2px;
  flex: none;
  background-image: linear-gradient(to right, var(--purple-400) 55%, transparent 45%);
  background-size: 10px 2px;
  position: relative;
}
.step-sep::after {
  content: "›";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-58%);
  color: var(--purple-400);
  font-weight: 800;
  font-size: 1.2rem;
}

.step-cta {
  flex: 0 1 230px;
  align-self: center;
  border: 2px dashed var(--teal-500);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: var(--teal-600);
  display: flex;
  flex-direction: column;
  gap: .8rem;
  transition: background .15s ease, transform .15s ease;
}
.step-cta:hover { background: rgba(0, 191, 160, .07); transform: translateY(-3px); }
.step-cta-line {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
  text-align: left;
}
.step-cta-line.small { font-family: var(--font-body); font-weight: 700; font-size: .85rem; }

/* ============ DEPOIMENTOS ============ */
.depo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.depo-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: 0 10px 30px rgba(28, 18, 48, .08);
  display: flex;
  flex-direction: column;
}
.stars { color: #f6a723; letter-spacing: .15em; font-size: 1rem; margin-bottom: .8rem; }
.depo-card > p { font-size: .95rem; color: var(--ink); flex: 1; }
.depo-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: .8rem;
  margin-top: 1.2rem;
}
.depo-footer strong { display: block; font-size: .92rem; }
.depo-footer span { font-size: .8rem; color: var(--muted); }
.depo-avatar {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(28, 18, 48, .18);
}
.av-1 { background: linear-gradient(140deg, var(--pink-500), var(--purple-500)); }
.av-2 { background: linear-gradient(140deg, var(--teal-500), var(--purple-600)); }
.av-3 { background: linear-gradient(140deg, var(--purple-500), var(--teal-500)); }

/* ============ NOSSO ESPAÇO ============ */
.espaco-grid {
  display: grid;
  grid-template-columns: .85fr 1.55fr;
  gap: 2.2rem;
  align-items: center;
}
.espaco-copy h2 { text-align: left; margin-bottom: .9rem; }
.espaco-copy p { color: rgba(255, 255, 255, .8); margin-bottom: 1.4rem; max-width: 26ch; }

.espaco-gallery button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

.g-featured {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.g-featured img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .25s ease;
}
.g-featured:hover img { transform: scale(1.03); }
.g-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 4, 24, .35), transparent 45%);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, .5);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform .15s ease, background .15s ease;
  pointer-events: none;
}
.play-btn svg { width: 32px; height: 32px; margin-left: 4px; }
.g-featured:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: rgba(255, 255, 255, .28); }

.g-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin-top: .9rem;
}
.g-thumbs button {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.g-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}
.g-thumbs button:hover img { transform: scale(1.06); }
.g-more span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 4, 24, .55);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Modal da galeria ---------- */
.gmodal { position: fixed; inset: 0; z-index: 500; }
.gmodal[hidden] { display: none; }
.gmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 4, 24, .92);
  backdrop-filter: blur(6px);
}
.gmodal-panel {
  position: relative;
  z-index: 1;
  height: 100%;
  width: min(1100px, 96vw);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  padding: 1rem 0 1.2rem;
}
.gmodal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 .2rem .6rem;
}
.gmodal-counter {
  color: rgba(255, 255, 255, .75);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
}
.gmodal-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease;
}
.gmodal-close:hover { background: rgba(255, 255, 255, .28); }
.gmodal-close svg { width: 20px; height: 20px; }

.gmodal-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gmodal-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gmodal-media img,
.gmodal-media video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  object-fit: contain;
  background: #000;
}
.gmodal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.gmodal-arrow:hover { background: var(--teal-500); }
.gmodal-arrow.prev { left: .4rem; }
.gmodal-arrow.next { right: .4rem; }
.gmodal-arrow svg { width: 22px; height: 22px; }

.gmodal-strip {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  padding: .9rem .2rem .2rem;
  scrollbar-width: thin;
}
.gmodal-strip button {
  position: relative;
  flex: none;
  width: 96px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: .5;
  transition: opacity .15s ease, border-color .15s ease;
}
.gmodal-strip button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gmodal-strip button.active,
.gmodal-strip button:hover { opacity: 1; }
.gmodal-strip button.active { border-color: var(--teal-400); }
.gmodal-strip .strip-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 4, 24, .4);
  color: #fff;
}
.gmodal-strip .strip-play svg { width: 20px; height: 20px; }

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.6rem;
  align-items: start;
}
.faq-col { display: flex; flex-direction: column; gap: .9rem; }

.faq-item {
  border: 1.5px solid #e6e3ef;
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] { border-color: var(--purple-400); box-shadow: 0 8px 24px rgba(124, 58, 237, .1); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.1rem;
  font-weight: 800;
  font-size: .95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-emoji { font-size: 1rem; }
.chev {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq-item[open] .chev { transform: rotate(180deg); color: var(--purple-500); }
.faq-item > p {
  padding: 0 1.1rem 1rem 2.9rem;
  font-size: .92rem;
  color: var(--muted);
}

/* ============ CTA FINAL + FOOTER ============ */
.footer { padding: 4rem 0 2.2rem; }

.cta-final {
  background: linear-gradient(140deg, var(--purple-600), var(--purple-800) 80%);
  border-radius: 22px;
  padding: 2.2rem 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(109, 40, 217, .3);
}
.cta-final h2 { text-align: left; margin-bottom: .4rem; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.cta-final p { color: rgba(255, 255, 255, .85); font-size: .98rem; }

.footer-bar {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.stats {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
}
.stats li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .85);
}
.stats .icon { color: var(--teal-400); }
.stats strong { color: #fff; }

.footer-brand { display: flex; flex-direction: column; gap: .6rem; }
.footer-tagline {
  font-size: .88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .7);
}

.footer-contact {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-contact li,
.footer-contact a {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
}
.footer-contact a:hover { color: var(--teal-400); }
.footer-contact .icon { color: var(--teal-400); flex: none; }

.footer-copy {
  margin-top: 1.6rem;
  text-align: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}

/* ============ Botão flutuante WhatsApp ============ */
.whats-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 400;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
  transition: transform .15s ease, box-shadow .15s ease;
  animation: whats-pulse 2.4s ease-out infinite;
}
.whats-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 34px rgba(37, 211, 102, .6);
}
.whats-float svg { width: 32px; height: 32px; }

@keyframes whats-pulse {
  0% { outline: 0 solid rgba(37, 211, 102, .45); }
  70% { outline: 14px solid rgba(37, 211, 102, 0); }
  100% { outline: 14px solid rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .whats-float { animation: none; }
}

@media (max-width: 720px) {
  .whats-float { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
  .whats-float svg { width: 28px; height: 28px; }
}

/* ============ Animação de entrada ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Responsivo ============ */
@media (max-width: 980px) {
  .why-grid, .mods-grid { grid-template-columns: repeat(2, 1fr); }
  .espaco-grid { grid-template-columns: 1fr; }
  .espaco-copy { text-align: center; }
  .espaco-copy h2 { text-align: center; }
  .espaco-copy p { margin-inline: auto; }
  .step-sep { display: none; }
}

@media (max-width: 720px) {
  .hero { background:
    linear-gradient(rgba(21, 8, 41, .78), rgba(21, 8, 41, .78)),
    url("assets/hero-bg.jpg") center / cover no-repeat,
    var(--purple-950);
  }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .nav .btn { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: .9rem; }
  .depo-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 300px; }
  .step-cta { width: 100%; max-width: 300px; flex: none; }
  .cta-final { justify-content: center; text-align: center; }
  .cta-final h2 { text-align: center; }
  .footer-bar { justify-content: center; }
  .stats { justify-content: center; gap: 1.2rem; }
  .footer-brand { align-items: center; text-align: center; }
  .footer-brand .logo { align-items: center; }
  .footer-contact { justify-content: center; gap: .9rem 1.4rem; }
  .gmodal-strip button { width: 76px; height: 52px; }
  .gmodal-arrow { width: 40px; height: 40px; }
}

@media (max-width: 460px) {
  .why-grid, .mods-grid { grid-template-columns: 1fr; }
  .mod-img { aspect-ratio: 4 / 3; object-position: center 22%; }
  .btn-lg { width: 100%; justify-content: center; }
}
