/* =============================================
   Edu Tofanin — Landing Page (layout UX)
   Mobile-first · Cross-browser
   ============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a2e32;
  background-color: #f5f7f7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:root {
  --dark: #0b1a1a;
  --dark-mid: #122828;
  --dark-light: #1a3636;
  --teal: #3d6d75;
  --teal-light: #66c2b2;
  --teal-mint: #8ed4c8;
  --accent: #20c997;
  --accent-dark: #1aab7e;
  --whatsapp: #25d366;
  --whatsapp-dark: #1fb855;
  --white: #ffffff;
  --gray-50: #f5f7f7;
  --gray-100: #eef1f1;
  --gray-400: #8a9ea3;
  --gray-600: #4a6368;
  --text: #1a2e32;

  --shadow-sm: 0 2px 8px rgba(11, 26, 26, 0.08);
  --shadow-md: 0 4px 20px rgba(11, 26, 26, 0.12);
  --shadow-lg: 0 8px 40px rgba(11, 26, 26, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --header-h: 64px;
  --transition: 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-accent {
  color: var(--accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn--sm {
  padding: 0.625rem 1rem;
  font-size: 0.6875rem;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.btn--outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn__icon {
  flex-shrink: 0;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.header__logo img {
  height: 36px;
  width: auto;
}

.header__menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 1002;
}

.header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.header__menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}
.header__menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  height: 100dvh;
  background-color: var(--dark);
  box-shadow: var(--shadow-lg);
  padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 1001;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.header__nav.is-open {
  transform: translateX(0);
}

.header__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
  z-index: 999;
}

.header__overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.header__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header__link {
  display: block;
  padding: 0.875rem 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color var(--transition);
}

.header__link:hover {
  color: var(--accent);
}

.header__cta {
  align-self: stretch;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background-color: var(--dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(11, 26, 26, 0.95) 0%,
    rgba(11, 26, 26, 0.88) 45%,
    rgba(11, 26, 26, 0.55) 100%
  );
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-block: 2.5rem 3.5rem;
}

.hero__label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero__title {
  font-size: clamp(1.625rem, 5.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.hero__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hero__dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__kettlebell {
  width: 100px;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 16px rgba(102, 194, 178, 0.3));
}

.hero__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.hero__tagline {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-mint);
}

/* --- Credenciais --- */
.credenciais {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding-block: 1.25rem;
}

.credenciais__grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credencial {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
}

.credencial__icon {
  flex-shrink: 0;
  color: var(--teal-light);
}

/* --- Sections --- */
.section {
  padding-block: 3.5rem;
}

.section__title {
  font-size: clamp(1.125rem, 3.5vw, 1.625rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--dark);
  margin-bottom: 2rem;
}

/* --- Serviços / Para quem --- */
.servicos {
  background-color: var(--gray-50);
}

.cards-grid {
  display: grid;
  gap: 1rem;
}

.cards-grid--5 {
  grid-template-columns: 1fr;
}

.info-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.info-card__icon {
  color: var(--teal);
  margin-bottom: 0.875rem;
}

.info-card__title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.info-card__text {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* --- Sobre --- */
.sobre {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  color: var(--white);
}

.sobre__grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sobre__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sobre__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.sobre__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.sobre__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.sobre__stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sobre__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-mint);
}

.sobre__stat svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Passos --- */
.passos {
  background-color: var(--white);
}

.passos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

.passo {
  text-align: center;
  position: relative;
}

.passo__num {
  width: 36px;
  height: 36px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--teal);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 800;
  border-radius: 50%;
}

.passo__icon {
  color: var(--teal-light);
  margin-bottom: 0.75rem;
}

.passo__title {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.passo__text {
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.65;
  max-width: 240px;
  margin-inline: auto;
}

/* --- Stats --- */
.stats {
  background-color: var(--dark);
  padding-block: 2.5rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stats__item {
  text-align: center;
}

.stats__number {
  display: block;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stats__label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Planos --- */
.planos {
  background-color: var(--gray-50);
}

.planos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.plano-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.plano-card__img_online {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
}

.plano-card__img_online img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
}

.plano-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.plano-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plano-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.875rem;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.plano-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plano-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--dark);
  margin-bottom: 1rem;
}

.plano-card__list {
  flex: 1;
  margin-bottom: 1.5rem;
}

.plano-card__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.plano-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* --- FAQ --- */
.faq {
  background-color: var(--white);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.faq__item {
  background-color: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform var(--transition);
  margin-top: -4px;
}

.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq__answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* --- CTA Final --- */
.cta-final {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  padding-block: 4rem;
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.06;
  pointer-events: none;
}

.cta-final__bg img {
  width: 280px;
}

.cta-final__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final__title {
  font-size: clamp(1.375rem, 4.5vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 560px;
}

.cta-final__text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 2rem;
}

.cta-final__sub {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.cta-final__phone {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-mint);
  letter-spacing: 0.05em;
}

/* --- Footer --- */
.footer {
  background-color: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 2rem;
  text-align: center;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-inline: auto;
  margin-bottom: 0.875rem;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.25rem;
}

.footer__tagline {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--whatsapp);
  color: var(--white);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--whatsapp);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* --- Tablet ≥ 640px --- */
@media (min-width: 640px) {
  .hero__features {
    grid-template-columns: 1fr 1fr;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .credenciais__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.5rem;
  }

  .cards-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .passos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .faq__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
  }
}

/* --- Desktop ≥ 992px --- */
@media (min-width: 992px) {
  :root {
    --header-h: 72px;
  }

  .header__menu-btn {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    transform: none;
    overflow: visible;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .header__overlay {
    display: none;
  }

  .header__list {
    flex-direction: row;
    align-items: center;
    gap: 0;
  }

  .header__link {
    padding: 0.5rem 0.625rem;
    font-size: 0.625rem;
    border-bottom: none;
    white-space: nowrap;
  }

  .header__cta {
    margin-left: 0.5rem;
    align-self: auto;
    flex-shrink: 0;
  }

  .header__logo img {
    height: 40px;
  }

  .hero__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding-block: 3rem 4rem;
  }

  .hero__content {
    flex: 1;
    max-width: 580px;
  }

  .hero__brand {
    flex-shrink: 0;
    align-items: flex-end;
    text-align: right;
  }

  .hero__kettlebell {
    width: 140px;
  }

  .hero__bg img {
    object-position: center;
  }

  .credenciais__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .credencial {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
  }

  .cards-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .sobre__grid {
    flex-direction: row;
    align-items: center;
    gap: 3.5rem;
  }

  .sobre__photo {
    flex: 0 0 42%;
  }
  .sobre__content {
    flex: 1;
  }

  .sobre__stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .passos__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .passos__grid::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 12.5%;
    right: 12.5%;
    height: 0;
    border-top: 2px dotted var(--teal-light);
    z-index: 0;
  }

  .passo {
    z-index: 1;
  }

  .planos__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .section {
    padding-block: 5rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .header,
  .whatsapp-float {
    display: none;
  }
}
