:root {
  --bg: #111310;
  --panel: #1b1e18;
  --lime: #ff851b; /* MegaGym Orange */
  --muted: #a9ada2;
  --line: #32362d;
  --body: 'Montserrat', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: #f4f5ef;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  top: -100px;
}

/* Header */
header {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(17,19,16,0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand-image {
  height: 58px;
  width: 220px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 32px;
  font-weight: 600;
  font-size: 14px;
}

nav a:hover {
  color: var(--lime);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

.login-link {
  font-size: 14px;
  font-weight: 700;
}

.login-link:hover {
  color: var(--lime);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lime);
  color: #111;
  border: 2px solid var(--lime);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.button:hover {
  background: transparent;
  color: var(--lime);
}

.w-100 {
  width: 100%;
}

.menu {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2400&q=90') center/cover;
  filter: brightness(0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-map {
  flex-shrink: 0;
}

.hero-map iframe {
  width: 400px;
  height: 400px;
}

.hero h1 {
  font-size: clamp(50px, 8vw, 120px);
  font-weight: 900;
  line-height: 0.95;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--lime);
}

.hero-content p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 40px;
}

.hero-search {
  display: flex;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 40px;
  max-width: 450px;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-search input {
  background: transparent;
  border: none;
  color: #fff;
  flex: 1;
  padding: 12px;
  outline: none;
}

.hero-search input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-btn {
  background: var(--lime);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #111;
}

/* Sections */
.section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: auto;
}

.section-head {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.section-head h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  margin: 0 0 15px 0;
  letter-spacing: -1px;
}

/* Modalities */
.modality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.modality {
  position: relative;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
}

.modality img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.6);
}

.modality:hover img {
  transform: scale(1.05);
  filter: brightness(0.4);
}

.modality-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9), transparent);
}

.modality h3 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.modality p {
  font-size: 14px;
  color: #ccc;
  margin: 0;
}

.mod-link {
  position: absolute;
  right: 30px;
  bottom: 40px;
  background: #fff;
  color: #111;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: bold;
  transition: background 0.3s;
}

.mod-link:hover {
  background: var(--lime);
}

/* Plans */
.plans {
  background: #fff;
  color: #111;
  max-width: none;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.plan {
  background: #f4f5ef;
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.premium-plan {
  background: var(--lime);
}

.plan h3 {
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 15px 0;
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 30px;
  background: #111;
  color: var(--lime);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.premium-plan .plan-badge {
  background: #111;
  color: #fff;
}

.plan > p {
  font-size: 15px;
  color: #444;
  margin: 0 0 10px 0;
}

.premium-plan > p {
  color: #222;
}

.plan-fidelity {
  font-weight: 700;
  margin-bottom: 30px !important;
}

.price {
  margin: 20px 0 30px 0;
}

.price-from {
  font-size: 14px;
  font-weight: 600;
  color: #666;
  text-decoration: line-through;
}

.premium-plan .price-from {
  color: #444;
}

.price-main {
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 5px 0;
}

.price-main strong {
  font-size: 50px;
}

.tag {
  background: var(--lime);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 4px;
  color: #111;
}

.premium-plan .tag {
  background: #fff;
}

.price-note {
  font-size: 12px;
  color: #555;
}

.basic-plan .button {
  background: var(--lime);
  color: #111;
  border: 2px solid var(--lime);
}

.basic-plan .button:hover {
  background: transparent;
}

.premium-plan .button {
  background: #fff;
  color: #111;
  border: 2px solid #fff;
}

.premium-plan .button:hover {
  background: transparent;
  color: #111;
}

.plan-includes {
  margin-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 20px;
}

.plan-includes ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.plan-includes li {
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-includes li:before {
  content: '✓';
  font-weight: bold;
}

/* Reviews Section */
.reviews-section {
  background: #191c17;
}

.reviews-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 20px;
}

.reviews-list::-webkit-scrollbar {
  width: 8px;
}

.reviews-list::-webkit-scrollbar-track {
  background: var(--bg);
  border-radius: 4px;
}

.reviews-list::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}

.review-card {
  background: var(--panel);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stars {
  color: var(--lime);
  font-size: 18px;
}

.review-card p {
  margin: 0;
  font-size: 14px;
  color: #ddd;
}

.review-form-container {
  background: var(--panel);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.review-form-container h3 {
  margin: 0 0 20px 0;
  font-size: 24px;
}

.review-form-container label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 600;
}

.review-form-container input[type="text"],
.review-form-container textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  outline: none;
}

.review-form-container input:focus,
.review-form-container textarea:focus {
  border-color: var(--lime);
}

/* Star Rating Radio Buttons */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 20px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 30px;
  color: #555;
  cursor: pointer;
  margin: 0;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--lime);
}

/* Footer */
footer {
  background: #000;
  padding: 50px 5%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

/* Google Review Banner */
.google-review-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 28px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.google-review-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.google-review-left div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-review-left strong {
  font-size: 16px;
  font-weight: 700;
}

.google-review-left span {
  font-size: 13px;
  color: var(--muted);
}

.google-review-btn {
  background: #fff;
  color: #222;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.google-review-btn:hover {
  opacity: 0.9;
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .google-review-banner { flex-direction: column; align-items: flex-start; }
  .google-review-btn { width: 100%; text-align: center; }
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPop 0.5s ease 1s both;
}

@keyframes waPop {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.whatsapp-float:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 32px rgba(37,211,102,0.55);
}

@media (max-width: 600px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 16px; border-radius: 50%; }
}

/* Responsive */
@media (max-width: 900px) {
  nav { display: none; }
  .header-right .login-link { display: none; }
  .menu { display: block; }
  
  .hero-content {
    flex-direction: column;
    text-align: left;
    margin-top: 40px;
  }
  
  .hero-map {
    width: 100%;
  }

  .hero-map iframe {
    width: 100%;
    max-width: 400px;
    height: 300px;
  }
  
  .reviews-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 40px; }
  .header-right .cta-button { display: none; }
  .hero-search { width: 100%; }
}

/* Banner de musculação */
.muscle-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.muscle-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.muscle-banner-info {
  position: relative;
  max-width: 560px;
  padding: 50px;
}

.muscle-banner-info h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  margin: 10px 0 15px;
  letter-spacing: -1px;
}

.muscle-banner-info p {
  color: #ddd;
  margin: 0 0 28px;
}

.eyebrow {
  color: var(--lime);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Planos em escada */
.plans .section-head p {
  color: #444;
  margin: 0;
}

.plan-steps {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1300px;
  align-items: end;
  padding-top: 20px;
}

.plan-steps .plan {
  padding: 44px 26px 30px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-steps .plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.plan-steps .step-1 { min-height: 500px; }
.plan-steps .step-2 { min-height: 540px; border-color: rgba(255,133,27,0.35); }
.plan-steps .step-3 { min-height: 580px; border-color: rgba(255,133,27,0.7); }
.plan-steps .step-4 { min-height: 620px; }

.plan-steps .plan-badge {
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.plan-steps .plan h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  margin: 0 0 6px;
}

.plan-steps .plan-desc {
  font-size: 15px;
  color: #444;
  margin: 0;
}

.plan-steps .premium-plan .plan-desc {
  color: #222;
}

.plan-steps .price {
  margin: 28px 0 16px;
}

.plan-steps .price-main {
  font-size: 20px;
  gap: 8px;
  flex-wrap: wrap;
}

.plan-steps .price-main strong {
  font-size: clamp(32px, 3.3vw, 48px);
}

.plan-steps .price-note {
  font-size: 14px;
  font-weight: 600;
}

.premium-plan .price-note {
  color: #222;
}

.saving {
  align-self: flex-start;
  background: #111;
  color: var(--lime);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
}

.premium-plan .saving {
  color: #fff;
}

.plan-steps .button {
  margin-top: auto;
  padding: 15px 20px;
  font-size: 15px;
}

.plan-footnote {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin: 36px auto 0;
  max-width: 700px;
}

.plan-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 18px 0 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.plan-list li {
  font-size: 14px;
  padding: 5px 0;
  display: flex;
  gap: 10px;
}

.plan-list li::before {
  content: '✓';
  font-weight: 800;
  color: var(--lime);
}

.premium-plan .plan-list li::before {
  color: #111;
}

/* Informações */
.info-section {
  max-width: none;
  background: var(--bg);
}

.info-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 4px solid var(--lime);
  border-radius: 20px;
  padding: 30px;
}

.info-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.hours-list strong {
  text-align: right;
  font-size: 15px;
}

.hours-list a:hover {
  color: var(--lime);
}

.hours-list .closed strong {
  color: var(--muted);
}

@media (max-width: 1000px) {
  .plan-steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .plan-steps .plan { min-height: 0 !important; }
  .info-grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 600px) {
  .plan-steps { grid-template-columns: 1fr; }
  .muscle-banner-info { padding: 32px 24px; }
}
