/* =========================================================
   pstennisteam | Folha de estilos
   Estrutura:
   1. Variáveis (cores, fontes, espaçamentos)
   2. Base
   3. Componentes reutilizáveis (botões, chips, títulos)
   4. Seções, na ordem da página
   5. Responsivo
   6. Movimento reduzido
   ========================================================= */

/* ---------- 1. Variáveis ---------- */
:root {
  /* Cor principal (saibro). Alternativas testadas no mockup:
     azul quadra dura #1F4E8C | verde #2F6B4F */
  --accent: #A8492A;

  --ink: #1C1A17;          /* texto e fundos escuros */
  --ink-2: #2A2723;        /* cartões sobre fundo escuro */
  --ink-line: #3A3631;     /* divisórias sobre fundo escuro */
  --cream: #F4EEE6;        /* fundo principal */
  --paper: #FBF8F3;        /* fundo de seções alternadas */
  --white: #FFFFFF;
  --sand: #E6DCCF;         /* placeholders e divisórias suaves */
  --line: #D9CFC2;         /* bordas */
  --text-2: #3F3A34;       /* texto secundário forte */
  --muted: #5E574E;        /* texto secundário */
  --on-dark: #CFC6BA;      /* texto secundário sobre escuro */
  --on-dark-2: #B8AFA3;
  --ball: #D4F24A;         /* amarelo da bola: só em ações */
  --pill-border: #7A7268;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 6vw, 120px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 88px;
  --radius-lg: 26px;
  --radius: 22px;
  --radius-sm: 14px;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img, video, iframe { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--ball);
  outline-offset: 3px;
  border-radius: 6px;
}
.section:not(.section--ink) :focus-visible,
.site-header :focus-visible {
  outline-color: var(--accent);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ball);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon { flex-shrink: 0; }

/* ---------- 3. Componentes ---------- */

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--xl { min-height: 64px; padding: 0 34px; font-size: 19px; }
.btn--ball { background: var(--ball); color: var(--ink); }
.btn--ink  { background: var(--ink);  color: var(--ball); }
.btn--block { display: flex; width: 100%; min-height: 60px; font-size: 18px; }

/* Links de texto */
.link-light,
.link-dark {
  font-weight: 700;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.link-light { color: var(--cream); font-size: 18px; }
.link-dark  { color: var(--ink); font-size: 17px; flex-shrink: 0; }

/* Etiquetas */
.chip {
  display: inline-block;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
}
.chip--accent { background: var(--accent); color: var(--cream); }
.chip--ball   { background: var(--ball);   color: var(--ink); }
.chip--ink    { background: var(--ink);    color: var(--cream); }
.program--accent .chip--ink { color: var(--ball); }

/* Títulos de seção */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--cream); }
.eyebrow--ball  { color: var(--ball); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 68px);
  line-height: .95;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-title--light { color: var(--cream); }

.body-lg {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
}

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--cream); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}
.section-head--split {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.section-head--split > div { display: flex; flex-direction: column; gap: 18px; }
.section-head--narrow { max-width: 900px; }

/* Selos de mídia (placeholders) */
.media-label {
  position: absolute;
  left: 24px; bottom: 24px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(28, 26, 23, .78);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}
.media-label--plain { background: none; padding: 0; left: 20px; bottom: 20px; color: var(--on-dark); }

.play-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--ball);
  color: var(--ink);
}
.play-badge--sm { width: 72px; height: 72px; }

/* ---------- 4. Seções ---------- */

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.brand { align-items: center; }
.brand__logo { display: block; height: 48px; width: auto; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand__name--light { color: var(--cream); }
.brand__tag {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav__list a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
/* Sublinhado da seção visível no momento (controlado pelo JS) */
.main-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav__list a:hover::after,
.main-nav__list a.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle line { transition: transform .25s ease, opacity .2s ease; transform-origin: 12px 12px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__l1 { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__l2 { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__l3 { transform: translate(-1px, -5px) rotate(-45deg) scaleX(1.6); }

/* Itens de grade podem encolher (evita que tabelas e mapas alarguem a página) */
.hero__inner > *, .about > *, .quiz > *, .where > *, .faq > *, .programs > *, .plans > *, .tips > * { min-width: 0; }

/* Hero */
.hero {
  background: var(--accent);
  padding-block: 80px 112px;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  align-items: center;
  gap: 80px;
}
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(60px, 8.4vw, 112px);
  line-height: .9;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
}
.hero__lead {
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--cream);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 8px;
}

.hero__media { position: relative; }
.hero__court,
.hero__placeholder,
.hero__video {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 28px;
  overflow: hidden;
  object-fit: cover;
}
.hero__court,
.hero__placeholder {
  background: rgba(0, 0, 0, .22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__placeholder .play-badge {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}

.court { stroke: var(--cream); stroke-opacity: .55; stroke-width: 3; }
.court__net { stroke-width: 5; stroke-opacity: .85; }
.court__ball { fill: var(--ball); stroke: none; }
.court__dot { fill: var(--cream); stroke: none; }
.court__shadow { fill: var(--ink); stroke: none; }
.court__bounce { fill: none; stroke: var(--ball); stroke-width: 2.5; stroke-opacity: 1; }
.court--vertical { height: 612px; width: auto; }
.court--horizontal { display: none; width: 90%; height: auto; stroke-width: 4; }

/* Credenciais */
.credentials { background: var(--ink); padding-block: 40px; }
.credentials__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.credential { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.credential__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--ball);
}
.credential__label { font-size: 15px; color: var(--on-dark); }

/* Sobre */
.about {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  align-items: center;
  gap: 96px;
}
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  border-radius: 28px;
  background: var(--sand);
  color: var(--muted);
  font-weight: 600;
}
.about__photo {
  height: 600px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--sand);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  transition: transform 1.6s cubic-bezier(.25, .1, .25, 1);
}
/* Ao passar o mouse, só a foto se aproxima; a moldura fica parada */
.about__photo:hover img { transform: scale(1.04); }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__text strong { color: var(--ink); }

.method { margin-top: 12px; border-bottom: 1px solid var(--line); }
.method__item {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.method__num {
  width: 40px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  color: var(--accent);
}
.method__title { font-size: 19px; font-weight: 700; }
.method__text { font-size: 16px; color: var(--muted); }

/* Aulas regulares: cards que viram */
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.plan {
  position: relative;
  display: block;
  width: 100%;
  height: 440px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  text-align: left;
  cursor: pointer;
  perspective: 1400px;
}
.plan__inner {
  position: absolute;
  inset: 0;
  display: block;
  transform-style: preserve-3d;
  transition: transform .6s ease;
}
.plan.is-flipped .plan__inner { transform: rotateY(180deg); }

.plan__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  border-radius: var(--radius);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.plan__face--front {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.plan__face--back {
  background: var(--ink);
  color: var(--cream);
  transform: rotateY(180deg);
}
.plan:hover .plan__face--front { border-color: var(--accent); }

.plan__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan__where { font-size: 13px; font-weight: 600; color: var(--muted); text-align: right; }
.plan__face--back .plan__where { color: var(--on-dark); }
.plan__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}
.plan__desc { font-size: 16px; line-height: 1.55; color: var(--muted); }
.plan__face--back .plan__desc { color: var(--on-dark); }
.plan__spacer { flex-grow: 1; }
.plan__meta { font-size: 14px; font-weight: 600; color: var(--text-2); }
.plan__face--back .plan__meta { color: var(--sand); }
.plan__pricing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding-top: 14px;
  border-top: 1px solid var(--sand);
}
.plan__face--back .plan__pricing { border-top-color: var(--ink-line); }
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
}
.plan__face--back .plan__price { color: var(--ball); }
.plan__price--consult { font-size: 28px; }
.plan__unit { font-size: 14px; color: var(--muted); }
.plan__face--back .plan__unit { color: var(--on-dark); }
.plan__flip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

/* Avisos abaixo dos cards */
.plan-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.plan-note { display: flex; align-items: flex-start; gap: 12px; }
.plan-note .icon { margin-top: 2px; color: var(--accent); }
.plan-note__title { font-size: 16px; font-weight: 700; }
.plan-note__text { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Programas adicionais */
.programs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.program {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 44px;
  border-radius: var(--radius-lg);
  color: var(--cream);
}
.program--ink { background: var(--ink); }
.program--accent { background: var(--accent); }
.program__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 4.4vw, 52px);
  line-height: .95;
  text-transform: uppercase;
}
.program__text { font-size: 17px; line-height: 1.6; }
.program--ink .program__text { color: var(--on-dark); }
.program__list { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.program__list li { display: flex; gap: 12px; }
.program__list li::before { content: "·"; font-weight: 800; }
.program--ink .program__list li::before { color: var(--ball); }
.program__foot {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(244, 238, 230, .35);
}
.program--ink .program__foot { border-top-color: var(--ink-line); }
.program__price { display: flex; flex-direction: column; gap: 2px; }
.program__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
}
.program--ink .program__value { color: var(--ball); }
.program__unit { font-size: 14px; }
.program--ink .program__unit { color: var(--on-dark); }

/* Teste */
.quiz {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}
.quiz__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.quiz__lead { font-size: 18px; line-height: 1.6; color: var(--on-dark); }
.quiz__progress { font-size: 15px; font-weight: 700; color: var(--ball); }
.quiz__body { display: flex; flex-direction: column; gap: 34px; }
.quiz__questions { display: flex; flex-direction: column; gap: 34px; }

.question { border: 0; margin: 0; padding: 0; min-width: 0; }
.question legend {
  padding: 0;
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 700;
  color: var(--cream);
}
.question__hint { font-weight: 500; color: var(--on-dark-2); }
.question__options { display: flex; flex-wrap: wrap; gap: 12px; }
.question--new { animation: question-in .35s ease both; }
@keyframes question-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.pill {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--pill-border);
  background: transparent;
  color: var(--cream);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.pill:hover { border-color: var(--cream); }
.pill[aria-pressed="true"] {
  background: var(--ball);
  border-color: var(--ball);
  color: var(--ink);
}

.quiz__empty { font-size: 16px; color: var(--on-dark-2); }

.result {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 36px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1.5px solid var(--ball);
}
.result[hidden] { display: none; }
.result__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.result__head .btn { flex-shrink: 0; }
.result__text { display: flex; flex-direction: column; gap: 8px; }
.result__kicker {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ball);
}
.result__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  text-transform: uppercase;
}
.result__for { font-size: 17px; font-weight: 700; }
.result__desc { font-size: 17px; color: var(--on-dark); }
.result__extra {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--pill-border);
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.result__extra[hidden] { display: none; }
.result__extra:hover { border-color: var(--ball); }
.result__extra > span:first-child { color: var(--ball); font-weight: 800; }
.result__message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--ink);
}
.result__message-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.result__message-text { font-size: 16px; line-height: 1.55; }
.result__reset {
  align-self: flex-start;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--on-dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
.result__reset:hover { color: var(--cream); }

/* Onde e quando */
.where {
  display: grid;
  grid-template-columns: 580px minmax(0, 1fr);
  gap: 56px;
}
.where__map {
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--sand);
}
.where__map iframe { width: 100%; height: 100%; border: 0; }
.where__info { display: flex; flex-direction: column; gap: 28px; }

.places { border-bottom: 1px solid var(--line); }
.place {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.place__mark {
  width: 28px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--accent);
}
.place__name { font-size: 18px; font-weight: 700; }
.place__detail { font-size: 15px; color: var(--muted); }
.place__link {
  display: inline-block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.schedule { display: flex; flex-direction: column; gap: 14px; }
.schedule__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.schedule__title { font-size: 18px; font-weight: 700; }
.schedule__legend { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.schedule__legend > span { display: flex; align-items: center; gap: 8px; }
.schedule__scroll {
  position: relative;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.schedule__table { width: 100%; min-width: 340px; border-collapse: collapse; }
.schedule__table th,
.schedule__table td { position: relative; padding: 14px 6px; text-align: center; font-size: 14px; }
.schedule__table thead th { font-weight: 700; color: var(--text-2); }
.schedule__table tbody th {
  padding-left: 18px;
  text-align: left;
  font-weight: 600;
  color: var(--text-2);
}
.schedule__table tbody tr { border-top: 1px solid var(--sand); }
.dot {
  display: inline-block;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #A69B8D;
  vertical-align: middle;
}
.schedule__legend .dot { width: 14px; height: 14px; }
.dot--free { background: var(--accent); border-color: var(--accent); }

/* Depoimentos */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.testimonial { display: flex; flex-direction: column; gap: 18px; }
.video-placeholder,
.testimonial video {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--ink-2);
  object-fit: cover;
}
.video-placeholder { display: flex; align-items: center; justify-content: center; }
.testimonial__quote { font-size: 19px; line-height: 1.5; font-weight: 500; }
.testimonial__who { font-size: 15px; font-weight: 600; color: var(--muted); }

/* Dicas */
.tips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.tip {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.tip__thumb {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 1;
  padding: 18px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.tip__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tip__thumb .chip { position: relative; }
.tip__thumb--accent { background: var(--accent); }
.tip__thumb--ink { background: var(--ink-2); }
.tip__thumb--sand { background: var(--sand); }
.tip__title { font-size: 17px; font-weight: 700; line-height: 1.35; }
.tip:hover .tip__title { text-decoration: underline; text-underline-offset: 4px; }

/* Perguntas frequentes */
.faq {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}
.faq__intro { display: flex; flex-direction: column; gap: 18px; }
.faq__list { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 20px 0;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--accent);
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  max-width: 700px;
  padding-bottom: 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

/* Chamada final */
.cta { background: var(--accent); padding-block: var(--section-y); }
.cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}
.cta__text { display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 6.4vw, 84px);
  line-height: .92;
  text-transform: uppercase;
  color: var(--cream);
  text-wrap: balance;
}
.cta__lead { font-size: 20px; line-height: 1.55; color: var(--cream); }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; flex-shrink: 0; }
.cta__phone { font-size: 16px; font-weight: 600; color: var(--cream); }
.cta__phone a { color: var(--cream); text-underline-offset: 4px; }

/* Rodapé */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: 72px 32px;
  font-size: 15px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px;
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__logo { display: block; height: 44px; width: auto; align-self: flex-start; }
.site-footer__title { margin-bottom: 10px; font-weight: 700; color: var(--cream); }
.site-footer__list { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 14px;
}

/* Botão com aparência de link (rodapé e aviso) */
.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.site-footer .link-button { color: var(--on-dark); }
.site-footer .link-button:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.link-button--dark {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Aviso de privacidade: faixa */
.privacy-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(420px, calc(100% - 48px));
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(28, 26, 23, .18);
}
.privacy-banner[hidden] { display: none; }
.privacy-banner__text { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.privacy-banner__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* Enquanto a faixa aparece, o botão flutuante do WhatsApp espera */
body.privacy-pending .wa-float { opacity: 0; pointer-events: none; }

/* Aviso de privacidade: janela */
.privacy-dialog {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(28, 26, 23, .35);
}
.privacy-dialog::backdrop { background: rgba(28, 26, 23, .6); }
.privacy-dialog__inner { display: flex; flex-direction: column; gap: 20px; padding: 36px 40px; }
.privacy-dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.privacy-dialog__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: .95;
  text-transform: uppercase;
}
.privacy-dialog__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.privacy-dialog__body h3 { margin: 18px 0 4px; font-size: 17px; font-weight: 700; }
.privacy-dialog__body h3:first-child { margin-top: 0; }
.privacy-dialog__body p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.privacy-dialog__ok { align-self: flex-start; }

/* Botão flutuante do WhatsApp */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ball);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- 5. Responsivo ---------- */

/* Telas médias */
@media (max-width: 1200px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; }
  .hero__court, .hero__placeholder, .hero__video { height: 520px; }
  .court--vertical { height: 520px; }
  .about { grid-template-columns: 420px minmax(0, 1fr); gap: 64px; }
  .about__photo { height: 520px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan { height: 400px; }
  .quiz { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; }
  .where { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq { grid-template-columns: 340px minmax(0, 1fr); gap: 64px; }
}

/* Menu vira gaveta */
@media (max-width: 1080px) {
  :root { --header-h: 72px; }

  .brand__logo { height: 36px; }

  .menu-toggle { display: inline-flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 24px var(--gutter) 40px;
    background: var(--cream);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list li { border-bottom: 1px solid var(--line); }
  .main-nav__list a {
    display: block;
    padding: 18px 0;
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .main-nav__list a::after { display: none; }
  .main-nav__list a.is-active { color: var(--accent); }
  .main-nav .btn { min-height: 56px; font-size: 17px; }
}

/* Tablet */
@media (max-width: 900px) {
  .hero { padding-block: 48px 56px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__court, .hero__placeholder, .hero__video { height: 260px; border-radius: 22px; }
  .court--vertical { display: none; }
  .court--horizontal { display: block; }
  .hero__placeholder .play-badge { width: 64px; height: 64px; }
  .media-label { left: 14px; bottom: 14px; font-size: 12px; padding: 7px 12px; }

  .credential__value { font-size: 32px; }
  .plan-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { height: 420px; }

  .section-head { margin-bottom: 40px; }
  .section-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }

  .programs { grid-template-columns: 1fr; }
  .program { padding: 32px 28px; }

  .quiz { grid-template-columns: 1fr; gap: 40px; }
  .quiz__intro { position: static; }

  .where { grid-template-columns: 1fr; gap: 40px; }
  .where__map { height: 320px; }

  .testimonials { grid-template-columns: 1fr; max-width: 460px; }

  .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  .faq { grid-template-columns: 1fr; gap: 32px; }

  .cta__inner { flex-direction: column; align-items: flex-start; gap: 36px; }
  .cta__actions { align-items: flex-start; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}

/* Celular */
@media (max-width: 600px) {
  body { font-size: 16px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-light { align-self: center; font-size: 16px; }

  .credentials__inner { grid-template-columns: 1fr; gap: 24px; }
  .plan-notes { grid-template-columns: 1fr; gap: 20px; }

  .plans { grid-template-columns: 1fr; gap: 16px; }
  .plan { height: 360px; }
  .plan__face { padding: 24px; }
  .plan__title { font-size: 30px; }

  .pill { min-height: 48px; padding: 0 18px; font-size: 16px; }
  .result { padding: 26px 22px; }
  .result__head { flex-direction: column; gap: 20px; }
  .result__head .btn { width: 100%; }
  .result__title { font-size: 36px; }

  .faq__item summary { font-size: 18px; min-height: 64px; }

  .cta__actions, .cta__actions .btn { width: 100%; }
  .cta__phone { align-self: center; }

  .site-footer__grid { grid-template-columns: 1fr; }

  .wa-float { right: 16px; bottom: 16px; width: 60px; height: 60px; }

  .privacy-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px 20px; }
  .privacy-dialog__inner { padding: 28px 24px; }
  .privacy-dialog__title { font-size: 36px; }
}

/* ---------- 6. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
