/* Fanpulse — site estático */
:root {
  --roxo: #73398d;
  --roxo-claro: #9b5fc0;
  --roxo-medio: #5d2c86;
  --roxo-escuro: #391457;
  --roxo-profundo: #23003f;
  --card: #3a1560;
  --lavanda: #f5f0fb;
  --texto: #2f2e2e;
  --texto-suave: #605e5e;
  --navy: #1e1a4d;
  --branco: #fff;
  --raio: 10px;
  --max: 1120px;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 700; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--roxo); padding: 8px 12px; border-radius: 6px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: linear-gradient(90deg, var(--roxo-medio), var(--roxo));
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.header .container { max-width: 1300px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 34px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 36px; }
.nav a { color: #fff; font-weight: 700; font-size: 15px; transition: opacity .2s; }
.nav a:hover, .nav a[aria-current="page"] { opacity: .75; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- Botões ---------- */
.stores { display: flex; gap: 20px; flex-wrap: wrap; }
.stores img { height: 49px; width: auto; transition: transform .2s; }
.stores a:hover img { transform: translateY(-2px); }
.btn-light {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--roxo);
  font-weight: 600; font-size: 14px; padding: 7px 18px; border-radius: 4px; transition: background .2s;
}
.btn-light:hover { background: #efe6f7; }
.btn-light svg { width: 12px; height: 12px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 700px; padding-top: var(--header-h);
  display: flex; align-items: center; overflow: hidden; color: #fff;
  background: linear-gradient(var(--roxo-medio), var(--roxo-escuro));
}
.hero video, .hero .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(93,44,134,.72), rgba(57,20,87,.82)); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; max-width: 1240px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.1; font-weight: 700; }
.hero h1 span { display: block; font-weight: 400; font-size: .62em; margin-top: 6px; }
.hero p { font-size: 18px; margin-top: 18px; max-width: 470px; }
.hero .destaque { font-weight: 700; }
.hero .cta-label { margin: 34px 0 14px; }
.hero-phones { justify-self: end; width: 100%; max-width: 500px; }

/* ---------- Seções escuras ---------- */
.dark { background: var(--roxo-profundo); color: #fff; }
.section { padding: 90px 0; }
.title { font-size: clamp(34px, 5vw, 64px); font-weight: 700; line-height: 1.1; text-align: center; }
.subtitle { font-size: clamp(19px, 2.2vw, 26px); text-align: center; max-width: 640px; margin: 14px auto 0; }

/* A Fanpulse */
.mission { max-width: 820px; margin: 48px auto 0; font-size: 19px; line-height: 1.8; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 410px)); justify-content: center; gap: 76px; margin-top: 60px; }
.duo-card {
  background: var(--card); border-radius: var(--raio); padding: 32px 34px 36px; text-align: center;
  display: flex; flex-direction: column; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.duo-card img { height: 90px; width: auto; }
.duo-card h3 { font-size: 19px; margin: 18px 0 22px; }
.duo-card p { font-size: 15px; line-height: 1.6; margin-bottom: 16px; color: #ece4f3; }
.duo-card .btn-light { margin-top: auto; }

/* Roxos por Futebol */
.community { background: #fff; text-align: center; }
.community .title { color: var(--roxo); font-size: clamp(32px, 4vw, 46px); }
.community .lead { color: var(--roxo); margin-top: 18px; }
.community .lead strong { display: block; margin-top: 4px; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; max-width: 880px; margin: 56px auto 0; }
.carousel { position: relative; width: 100%; max-width: 330px; margin: 0 auto; }
.carousel-track { position: relative; aspect-ratio: 331 / 511; }
.carousel-track img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s; }
.carousel-track img.active { opacity: 1; }
.carousel button {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); border: 0;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--roxo); box-shadow: 0 2px 8px rgba(0,0,0,.2);
  display: grid; place-items: center;
}
.carousel .prev { left: -44px; } .carousel .next { right: -44px; }
.carousel button svg { width: 14px; height: 14px; }
.carousel-count { margin-top: 10px; font-size: 13px; color: var(--texto-suave); }
.socials { display: flex; justify-content: center; gap: 8px; }
.socials img { width: clamp(48px, 6vw, 75px); height: auto; aspect-ratio: 1; transition: transform .2s; }
.socials a:hover img { transform: translateY(-3px); }
.community-text .big-number { color: var(--roxo); font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; line-height: 1.2; margin: 28px 0 22px; }
.community-text p { color: var(--texto-suave); font-size: 16px; margin-bottom: 16px; }

/* Funcionalidades do app */
.app { background: linear-gradient(180deg, var(--roxo-profundo), #2a0a48); }
.app .title { font-size: clamp(28px, 3.2vw, 36px); }
.app .intro { text-align: center; max-width: 780px; margin: 18px auto 0; font-size: 17px; }
.app .stores { justify-content: center; margin-top: 28px; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 14px; margin-top: 60px; align-items: start; }
.features { display: grid; gap: 14px; }
.features.offset { margin-top: 26px; }
.feature { background: var(--card); border-radius: var(--raio); padding: 22px 16px; text-align: center; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { font-size: 14px; color: #e6dcef; line-height: 1.5; }
.app-phone { align-self: center; justify-self: center; width: 100%; max-width: 430px; }

/* ---------- Contato ---------- */
.contact { position: relative; color: #fff; padding: 90px 0 70px; overflow: hidden; }
.contact .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact::after { content: ""; position: absolute; inset: 0; background: rgba(93,44,134,.86); }
.contact .container { position: relative; z-index: 1; max-width: 712px; text-align: center; }
.contact h2 { font-size: 38px; font-weight: 700; margin-bottom: 28px; }
.contact .contact-lead { font-size: 22px; font-weight: 700; margin: -8px 0 32px; }
.contact-cta {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--roxo); font-weight: 700; font-size: 17px;
  padding: 14px 40px; border-radius: 30px; box-shadow: 0 8px 24px rgba(0,0,0,.18); transition: background .2s, transform .2s;
}
.contact-cta:hover { background: #efe6f7; transform: translateY(-2px); }
.contact-cta:focus-visible { outline: 3px solid var(--roxo-claro); outline-offset: 3px; }
.contact-cta svg { width: 22px; height: 22px; }
.contact-info { display: flex; justify-content: center; align-items: center; gap: 0; margin-top: 50px; font-size: 15px; flex-wrap: wrap; }
.contact-info > * { padding: 6px 28px; }
.contact-info > * + * { border-left: 1px solid rgba(255,255,255,.7); }
.contact-info a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--roxo-escuro); color: #fff; text-align: center; padding: 28px 0; font-size: 13px; }
.footer .social-mini { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; }
.footer svg { width: 22px; height: 22px; fill: #fff; transition: opacity .2s; }
.footer a:hover svg { opacity: .7; }

/* Voltar ao topo */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  background: var(--roxo); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Página Empresas ---------- */
.b2b-hero { padding: calc(var(--header-h) + 90px) 0 90px; }
.b2b-hero .container { max-width: 1000px; }
.b2b-hero h1 { text-align: center; color: var(--navy); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.2; font-weight: 800; }
.b2b-hero h1 span { display: block; font-weight: 400; }
.b2b-hero .tagline { color: var(--roxo); font-size: clamp(20px, 2.2vw, 26px); margin: 42px 0 26px; }
.b2b-hero p { color: var(--texto-suave); font-size: 18px; line-height: 1.9; margin-bottom: 28px; }
.b2b-hero p strong { color: var(--texto); }

.value { background: linear-gradient(180deg, var(--roxo-profundo), #2c0c4a); color: #fff; padding: 90px 0 100px; }
.value .container { max-width: 1240px; display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; }
.value h2 { font-size: clamp(34px, 3.6vw, 46px); line-height: 1.15; }
.value .side p { margin-top: 22px; font-size: 18px; color: #e6dcef; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.value-col { display: grid; gap: 18px; }
.value-col:nth-child(1) { margin-top: 170px; }
.value-col:nth-child(3) { margin-top: 140px; }
.value-card { background: var(--card); border-radius: var(--raio); padding: 26px 28px 22px; }
.value-card img { width: 72px; height: 72px; object-fit: contain; }
.value-card h3 { font-size: 17px; margin: 16px 0 14px; line-height: 1.3; }
.value-card p { font-size: 14.5px; color: #e6dcef; line-height: 1.6; }
.value-card::after { content: ""; display: block; height: 3px; background: #fff; border-radius: 2px; margin-top: 22px; opacity: .85; }

.features-b2b { background: var(--lavanda); padding: 110px 0; }
.features-b2b .container { max-width: 1260px; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.feat-left { background: linear-gradient(180deg, var(--roxo-escuro), var(--roxo)); color: #fff; padding: 56px 48px 0; position: relative; min-height: 640px; }
.feat-left h2 { font-size: 40px; line-height: 1.15; }
.feat-left .sub { font-size: 21px; margin: 14px 0 26px; }
.feat-left p { font-size: 15px; color: #efe6f7; max-width: 440px; }
.feat-left img { width: 72%; max-width: 420px; margin: 34px auto -150px; }
.feat-right { background: #fff; margin-top: 220px; padding: 50px 48px; box-shadow: 0 10px 40px rgba(57,20,87,.08); }
.feat-right h2 { color: var(--roxo); font-size: 40px; }
.feat-right .sub { color: var(--roxo); font-size: 21px; margin: 10px 0 24px; }
.feat-right p { color: var(--texto-suave); font-size: 16px; margin-bottom: 18px; }
.feat-right img { margin: 30px auto 0; width: 100%; max-width: 560px; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--roxo-medio); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav.open { max-height: 400px; box-shadow: 0 10px 20px rgba(0,0,0,.25); }
  .nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .hero .container { grid-template-columns: 1fr; text-align: center; padding-top: 50px; padding-bottom: 50px; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero .stores { justify-content: center; }
  .hero-phones { justify-self: center; max-width: 420px; }
  .duo { grid-template-columns: 1fr; gap: 28px; max-width: 460px; margin-left: auto; margin-right: auto; }
  .community-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr 1fr; }
  .app-phone { grid-column: 1 / -1; margin-top: 30px; }
  .value .container { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .value-col { display: contents; }
  .features-b2b .container { grid-template-columns: 1fr; gap: 0; }
  .feat-left { min-height: 0; padding-bottom: 40px; }
  .feat-left img { margin-bottom: 0; }
  .feat-right { margin-top: 0; }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { min-height: 0; }
  .mission { font-size: 17px; }
  .app-grid, .value-grid { grid-template-columns: 1fr; }
  .features.offset { margin-top: 0; }
  .carousel { max-width: 250px; }
  .carousel .prev { left: -40px; } .carousel .next { right: -40px; }
  .contact-info { flex-direction: column; }
  .contact-info > * + * { border-left: 0; }
  .feat-left, .feat-right { padding: 36px 24px; }
  .feat-left h2, .feat-right h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
