/* =========================================================
   CTR FITNESS — STYLE.CSS
   Tokens: Preto #0A0A0A · Laranja #FF6B00 · Branco #FFFFFF · Cinza #F5F5F5
   ========================================================= */

:root{
  --black:        #0A0A0A;
  --black-soft:   #151515;
  --black-card:   #1B1B1B;
  --orange:       #c20000;
  --orange-dim:   #cc0000;
  --white:        #FFFFFF;
  --gray:         #F5F5F5;
  --gray-line:    #E6E6E6;
  --text-muted:   #8A8A8A;

  --font-display: 'Anton', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 14px rgba(0,0,0,.10);
  --shadow-md: 0 12px 32px rgba(0,0,0,.18);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.30);
  --shadow-orange: 0 10px 30px rgba(255,107,0,.35);

  --header-h: 76px;
  --container-w: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== RESET ===== */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body,h1,h2,h3,p,ul,figure{ margin:0; }
ul{ padding:0; list-style:none; }
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
button{ font-family:inherit; border:none; background:none; cursor:pointer; }

body{
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.container{
  width:100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display:inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.section{ padding: 96px 0; }
.section__title{
  font-family: var(--font-display);
  font-weight:400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--black);
  margin-bottom: 18px;
}
.section__title--light{ color: var(--white); }
.section__sub{
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 48px;
}
.text-accent{ color: var(--orange); }

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary{
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn--primary:hover{ transform: translateY(-3px); box-shadow: 0 16px 38px rgba(255,107,0,.45); }

.btn--ghost{
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover{ background: rgba(255,255,255,.18); transform: translateY(-3px); }

.btn--outline{
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn--outline:hover{ background: var(--black); color: var(--white); transform: translateY(-3px); }

.btn--whats{
  background: var(--black);
  color: var(--white);
  padding: 11px 22px;
  font-size: .85rem;
}
.btn--whats:hover{ background: var(--orange); }

.btn--lg{ padding: 19px 44px; font-size: 1.05rem; }

/* ===== HEADER ===== */
.header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  height: var(--header-h);
  display:flex;
  align-items:center;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .3s var(--ease);
}
.header.is-scrolled{
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  height: 68px;
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
}
.header__brand{ display:flex; align-items:center; }
.header__logo{ height: 42px; width:auto; }

.nav__list{
  display:flex;
  align-items:center;
  gap: 32px;
}
.nav__link{
  color: var(--white);
  font-weight: 600;
  font-size: .92rem;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav__link::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background: var(--orange);
  transition: width .25s var(--ease);
}
.nav__link:hover::after{ width:100%; }

.header__cta{ flex-shrink:0; }

.nav__toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 34px;
  height: 34px;
}
.nav__toggle span{
  display:block;
  width:100%;
  height:2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2){ opacity:0; }
.nav__toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background: var(--black);
}
.hero__bg{
  position:absolute;
  inset: -8% -8% -8% -8%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.92) 100%),
    linear-gradient(90deg, rgba(10,10,10,.65) 0%, rgba(10,10,10,.25) 60%);
}
.hero__content{
  position:relative;
  z-index: 2;
  padding-top: var(--header-h);
}
.hero__eyebrow{ color: var(--white); opacity:.85; }
.hero__title{
  font-family: var(--font-display);
  font-weight:400;
  text-transform:uppercase;
  color: var(--white);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 1.04;
  letter-spacing: .01em;
  margin-bottom: 22px;
}
.hero__subtitle{
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  max-width: 480px;
  margin-bottom: 40px;
}
.hero__actions{ display:flex; gap:16px; flex-wrap:wrap; }

.hero__scroll{
  position:absolute;
  bottom: 32px;
  left:50%;
  transform: translateX(-50%);
  z-index:2;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px;
}
.hero__scroll span{
  position:absolute;
  top:8px; left:50%;
  width:4px; height:8px;
  margin-left:-2px;
  background: var(--orange);
  border-radius: 4px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot{
  0%{ opacity:1; transform: translateY(0); }
  70%{ opacity:0; transform: translateY(14px); }
  100%{ opacity:0; transform: translateY(0); }
}

/* ===== REVEAL ON SCROLL ===== */
.reveal{
  opacity:0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* ===== SOBRE ===== */
.about__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items:center;
}
.about__lead{
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 40px;
}
.about__stats{ display:flex; gap: 40px; flex-wrap:wrap; }
.stat__num{
  display:block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--orange);
}
.stat__label{
  display:block;
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

.about__plate{
  position: relative;
  height: 320px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.plate-ring{
  position:absolute;
  border-radius:50%;
  border: 14px solid var(--black);
}
.plate-ring{ width: 220px; height: 220px; }
.plate-ring--2{ width: 280px; height: 280px; border-color: var(--orange); opacity:.9; }
.plate-ring--3{ width: 340px; height: 340px; border-color: var(--gray-line); }

/* ===== HORÁRIOS (dark) ===== */
.schedule{
  background: var(--black);
  position: relative;
}
.schedule__grid{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow:hidden;
  backdrop-filter: blur(10px);
}
.schedule__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  padding: 18px 28px;
  color: var(--white);
  font-weight:500;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.schedule__row:last-child{ border-bottom:none; }
.schedule__row--head{
  color: var(--orange);
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.1em;
  font-weight:700;
  background: rgba(255,107,0,.06);
}
.schedule__row--accent span:last-child{ color: var(--orange); font-weight:700; }

/* ===== PLANOS MUSCULAÇÃO ===== */
.plans__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.plan-card{
  position:relative;
  background: var(--gray);
  border-radius: var(--radius-lg);
  padding: 44px 32px 36px;
  text-align:center;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.plan-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); }
.plan-card__plate{
  position:absolute;
  top:-40px; right:-40px;
  width: 120px; height:120px;
  border-radius:50%;
  border: 16px solid var(--black);
  opacity:.06;
}
.plan-card--featured{
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.plan-card--featured .plan-card__plate{ border-color: var(--orange); opacity:.18; }
.plan-card--featured .plan-card__name,
.plan-card--featured .plan-card__price{ color: var(--white); }
.plan-card--featured:hover{ transform: scale(1.03) translateY(-8px); }

.plan-card__tag{
  position:absolute;
  top: 18px; left:50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: .7rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  padding: 5px 14px;
  border-radius: 999px;
}
.plan-card__name{
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.plan-card__price{
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}
.plan-card__price span{
  font-size: .9rem;
  font-weight:500;
  color: var(--text-muted);
}
.plan-card__note{
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.plan-card .btn{ margin-top: 18px; width:100%; }

/* ===== NATAÇÃO / HIDROGINÁSTICA ===== */
.swim{ background: var(--gray); }
.swim__table{
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
}
.swim__row{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-line);
  align-items:center;
}
.swim__row:last-child{ border-bottom:none; }
.swim__row span:first-child{ font-weight:700; }
.swim__row span:not(:first-child){ text-align:center; font-weight:600; }
.swim__row--head{
  background: var(--black);
  color: var(--white);
  text-transform:uppercase;
  font-size:.76rem;
  letter-spacing:.08em;
}
.swim__row--head span{ color: var(--white) !important; }
.swim__note{
  margin-top: 22px;
  color: var(--text-muted);
  font-size: .9rem;
}

/* ===== PERSONAL BABY ===== */
.baby{
  background: var(--black);
  position: relative;
}
.baby__grid{ display:flex; justify-content:center; }
.baby__card{
  max-width: 640px;
  text-align:center;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
}
.baby__card .section__title{ color: var(--white); }
.baby__desc{
  color: rgba(255,255,255,.75);
  margin-bottom: 28px;
}
.baby__facts{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-bottom: 32px;
  color: var(--white);
}
.baby__facts strong{ color: var(--orange); }

/* ===== COMODIDADES ===== */
.amenities__grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.amenity-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
  padding: 30px 16px;
  background: var(--gray);
  border-radius: var(--radius-md);
  font-weight:600;
  font-size: .92rem;
  text-align:center;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.amenity-card:hover{ transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow-sm); }
.amenity-card__icon{ font-size: 1.8rem; }

/* ===== ACESSIBILIDADE ===== */
.access{ background: var(--black); }
.access__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items:center;
}
.access__list{
  display:flex;
  flex-direction:column;
  gap: 18px;
}
.access__list li{
  display:flex;
  align-items:center;
  gap: 16px;
  color: var(--white);
  font-weight:600;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 18px 22px;
}
.access__icon{ font-size: 1.5rem; }

/* ===== CTA FINAL ===== */
.cta-final{
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dim) 100%);
  padding: 110px 0;
  text-align:center;
}
.cta-final__title{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  color: var(--white);
  text-transform:uppercase;
  margin-bottom: 14px;
}
.cta-final__sub{
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  margin-bottom: 34px;
}
.cta-final .btn--primary{
  background: var(--black);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.cta-final .btn--primary:hover{ background: var(--black-soft); }

/* ===== FOOTER ===== */
.footer{ background: var(--black); padding-top: 70px; }
.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo{ height: 38px; margin-bottom: 16px; }
.footer__brand p{ color: var(--text-muted); font-size: .9rem; max-width: 220px; }
.footer__col h3{
  color: var(--white);
  font-size: .85rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom: 16px;
}
.footer__col p{ color: var(--text-muted); font-size: .92rem; margin-bottom: 8px; }
.footer__col a:hover{ color: var(--orange); }
.footer__bottom{
  padding: 24px 0;
  text-align:center;
  color: var(--text-muted);
  font-size: .82rem;
}

/* ===== FLOATING WHATSAPP ===== */
.float-whats{
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 28px rgba(0,0,0,.3);
  z-index: 900;
  transition: transform .3s var(--ease);
  animation: floatPulse 2.6s infinite;
}
.float-whats:hover{ transform: scale(1.08); }
@keyframes floatPulse{
  0%,100%{ box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); }
  50%{ box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 0 10px rgba(37,211,102,0); }
}

/* ===== BACK TO TOP ===== */
.back-top{
  position: fixed;
  bottom: 28px;
  right: 96px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 1.2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 900;
}
.back-top.is-visible{ opacity:1; visibility:visible; transform: translateY(0); }
.back-top:hover{ background: var(--orange); }

/* =========================================================
   RESPONSIVE — MOBILE FIRST OVERRIDES (large screens base
   styles above already work down to ~960px comfortably;
   below we tighten for tablet/mobile)
   ========================================================= */
@media (max-width: 960px){
  .nav{
    position: fixed;
    top: 0;
    right: -100%;
    width: min(78vw, 340px);
    height: 100vh;
    background: var(--black);
    padding: 110px 32px 40px;
    transition: right .4s var(--ease);
    z-index: 999;
  }
  .nav.is-open{ right: 0; box-shadow: -20px 0 50px rgba(0,0,0,.4); }
  .nav__list{
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }
  .nav__toggle{ display:flex; }
  .header__cta{ display:none; }

  .about__grid{ grid-template-columns: 1fr; gap: 48px; }
  .about__plate{ order:-1; height: 220px; }
  .plate-ring{ width:150px; height:150px; }
  .plate-ring--2{ width:190px; height:190px; }
  .plate-ring--3{ width:230px; height:230px; }

  .plans__grid{ grid-template-columns: 1fr; }
  .plan-card--featured{ transform:none; order:-1; }
  .plan-card--featured:hover{ transform: translateY(-8px); }

  .amenities__grid{ grid-template-columns: repeat(2, 1fr); }
  .access__grid{ grid-template-columns: 1fr; }

  .footer__grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px){
  .section{ padding: 70px 0; }
  .swim__row{ grid-template-columns: 1fr; gap: 6px; text-align:left; padding: 18px 22px; }
  .swim__row span:not(:first-child){ text-align:left; }
  .swim__row--head{ display:none; }
  .schedule__row{ padding: 14px 20px; }
  .amenities__grid{ grid-template-columns: 1fr 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .baby__card{ padding: 40px 26px; }
  .back-top{ right: 86px; width:42px; height:42px; bottom:26px; }
  .float-whats{ width: 52px; height:52px; bottom:26px; right:26px; }
  .hero__actions{ flex-direction:column; align-items:flex-start; }
}

.about__image{
    display:flex;
    justify-content:center;
    align-items:center;
}

.about__image img{
    width:100%;
    max-width:500px;
    height:auto;
    border-radius:20px;
    object-fit:cover;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
    transition:.4s;
}

.about__image img:hover{
    transform:scale(1.03);
}

/* CONTAINER */
.smoke-container{
    position: relative;
    overflow: hidden;
}

/* FUMAÇA */
.smoke{
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255,0,0,.6) 0%,
        rgba(255,0,0,.3) 30%,
        rgba(255,0,0,.1) 60%,
        transparent 100%
    );
    filter: blur(80px);
    border-radius: 50%;
    animation: smokeFloat 8s infinite ease-in-out;
    pointer-events: none;
}

/* POSIÇÕES */
.smoke-1{
    bottom: -100px;
    left: -100px;
}

.smoke-2{
    top: 20%;
    right: -100px;
    animation-delay: 2s;
}

.smoke-3{
    bottom: 10%;
    left: 40%;
    animation-delay: 4s;
}

/* ANIMAÇÃO */
@keyframes smokeFloat{

    0%{
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }

    25%{
        opacity: .8;
    }

    50%{
        transform: translateY(-50px) scale(1.2);
        opacity: .6;
    }

    75%{
        opacity: .3;
    }

    100%{
        transform: translateY(-200px) scale(1.8);
        opacity: 0;
    }
}

.smoke{
    mix-blend-mode: screen;
}

.smoke-container img{
    position: relative;
    z-index: 2;
}

.smoke{
    z-index: 1;
}

.about__image{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__image::before{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(255,0,0,.8) 0%,
        rgba(255,0,0,.3) 40%,
        transparent 70%
    );
    filter: blur(80px);
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 0;
}

.about__image img{
    position: relative;
    z-index: 2;
    border-radius: 25px;
}

@keyframes pulseGlow{
    0%,100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.15);
    }
}

.about__image::after{
    content:"";
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle,#ff0000 2px,transparent 3px);
    background-size:60px 60px;
    animation:particles 8s linear infinite;
    opacity:.4;
}

@keyframes particles{
    from{
        background-position:0 100%;
    }
    to{
        background-position:0 0;
    }
}

.about__image{
    position:relative;
}

.about__image::before{
    content:"";
    position:absolute;
    width:120%;
    height:120px;
    background:#ff0000;
    top:50%;
    left:-10%;
    transform:translateY(-50%) rotate(-8deg);
    z-index:0;
    opacity:.85;
}

.about__image img{
    position:relative;
    z-index:2;
}
