/* ===================================
   SANTO SPA - Design System
   Mobile-First, WCAG 2.1 AA Compliant
   =================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors - Novas cores fornecidas */
  --primary-gold: #ecffeb;
  --primary-gold-dark: #bc9861;
  --primary-green: #213538;
  --primary-green-light: #83978a;
  --primary-white: #f9fef8;

  /* Background Colors */
  --bg-mint: #F0F7F0;
  --bg-light: #f9fef8;
  --bg-white: #FFFFFF;
  
  /* Text Colors */
  --text-dark: #333333;
  --text-muted: #666666;
  --text-light: #FFFFFF;
  
  /* Accent Colors */
  --whatsapp-green: #25D366;
  --whatsapp-hover: #128C7E;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  /* Z-Index Scale */
  --z-header: 100;
  --z-modal-backdrop: 500;
  --z-modal: 600;
  --z-whatsapp: 9999;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: var(--text-dark); background-color: var(--bg-light); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-gold-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* --- Accessibility --- */
.sr-only { position: absolute; 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; top: -100%; left: 50%; transform: translateX(-50%); background: var(--primary-green); color: var(--text-light); padding: var(--spacing-sm) var(--spacing-md); border-radius: var(--radius-md); z-index: 10000; transition: top var(--transition-fast); }
.skip-link:focus { top: var(--spacing-sm); }
:focus { outline: 2px solid var(--primary-gold-dark); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--primary-gold-dark); outline-offset: 2px; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
.text-gold { color: var(--primary-gold-dark); }
.text-green { color: var(--primary-green); }

/* --- Layout --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }
.section { padding: var(--spacing-2xl) 0; }
.section-title { text-align: center; margin-bottom: var(--spacing-xl); position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--primary-gold-dark), var(--primary-green)); margin: var(--spacing-sm) auto 0; border-radius: var(--radius-full); }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--spacing-xs); padding: var(--spacing-sm) var(--spacing-lg); font-size: 1rem; font-weight: 500; border-radius: var(--radius-md); transition: all var(--transition-normal); text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark)); color: var(--text-light); box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--text-light); }
.btn-whatsapp { background: var(--whatsapp-green); color: var(--text-light); box-shadow: var(--shadow-md); }
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-2px); color: var(--text-light); }
.btn-outline { border: 2px solid transparent; color: #fff; background: var(--primary-gold-dark); }
.btn-outline:hover { background: #9b7d51; color: var(--text-light); }

/* === HEADER === */
.header { position: fixed; top: 0; left: 0; right: 0; background: var(--bg-white); box-shadow: var(--shadow-sm); z-index: var(--z-header); transition: box-shadow var(--transition-normal); }
.header.scrolled { box-shadow: var(--shadow-md); }
.header__inner { display: flex; align-items: center; justify-content: space-between; padding: var(--spacing-sm) var(--spacing-md); max-width: 1200px; margin: 0 auto; }
.header__logo img { height: 50px; width: auto; }
.nav { display: none; }
.nav__list { display: flex; gap: var(--spacing-lg); }
.nav__link { font-weight: 500; padding: var(--spacing-xs) 0; position: relative; }
.nav__link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-gold-dark); transition: width var(--transition-normal); }
.nav__link:hover::after, .nav__link:focus::after { width: 100%; }
.header__cta { display: none; }
.menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 30px; background: none; border: none; cursor: pointer; padding: 0; }
.menu-toggle__bar { width: 100%; height: 3px; background: var(--primary-green); border-radius: var(--radius-full); transition: all var(--transition-fast); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }
.mobile-nav { position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--bg-white); padding: var(--spacing-lg); transform: translateX(100%); transition: transform var(--transition-normal); overflow-y: auto; }
.mobile-nav.active { transform: translateX(0); }
.mobile-nav__list { display: flex; flex-direction: column; gap: var(--spacing-md); }
.mobile-nav__link { display: block; font-size: 1.25rem; font-weight: 500; padding: var(--spacing-sm); border-bottom: 1px solid var(--bg-light); }
.mobile-nav__cta { margin-top: var(--spacing-lg); }
@media (min-width: 768px) {
  .header__logo img { height: 60px; }
  .nav { display: block; }
  .header__cta { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* === REMOVER BOTÃO WHATSAPP DO HEADER APENAS NO MOBILE === */
@media (max-width: 767px) {
  .header__cta {
    display: none !important;
  }
}

/* === HERO === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl); background: linear-gradient(135deg, var(--bg-mint) 0%, var(--bg-light) 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('../images/hero-bg.jpg') center/cover no-repeat; opacity: 0.1; }
.hero__content { position: relative; z-index: 1; max-width: 800px; }
.hero__badge { display: inline-block; background: var(--primary-green); color: var(--text-light); padding: var(--spacing-xs) var(--spacing-md); border-radius: var(--radius-full); font-size: 0.875rem; font-weight: 500; margin-bottom: var(--spacing-md); }
.hero__title { margin-bottom: var(--spacing-md); color: var(--text-dark); }
.hero__title span { color: var(--primary-gold-dark); }
.hero__subtitle { font-size: 1.125rem; color: var(--text-muted); margin-bottom: var(--spacing-lg); }
.hero__cta { display: flex; flex-direction: column; gap: var(--spacing-sm); align-items: center; }
@media (min-width: 768px) {
  .hero { padding-top: calc(80px + var(--spacing-2xl)); }
  .hero__cta { flex-direction: row; justify-content: center; }
}
.hero__decoration { position: absolute; width: 200px; height: 200px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--primary-gold-dark), transparent); opacity: 0.1; }
.hero__decoration--1 { top: 10%; right: -50px; }
.hero__decoration--2 { bottom: 20%; left: -100px; width: 300px; height: 300px; background: linear-gradient(135deg, var(--primary-green), transparent); }

/* === SERVICES === */
.services { background: var(--bg-white); }
.services__grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }
@media (min-width: 576px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }
.service-card { background: var(--bg-light); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition-normal); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card__image { width: 100%; height: 180px; overflow: hidden; position: relative; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-card__image img { transform: scale(1.1); }
.service-card__content { padding: var(--spacing-md); flex: 1; display: flex; flex-direction: column; }
.service-card__title { font-size: 1.125rem; margin-bottom: var(--spacing-xs); color: var(--primary-green); }
.service-card__excerpt { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--spacing-md); flex: 1; }
.service-card__btn { align-self: flex-start; }

/* === ABOUT === */
.about { background: var(--bg-mint); }
.about__grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-xl); align-items: center; }
@media (min-width: 768px) { .about__grid { grid-template-columns: 1fr 1fr; } }
.about__content h2 { margin-bottom: var(--spacing-md); }
.about__content p { margin-bottom: var(--spacing-md); color: var(--text-muted); }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.about__feature { display: flex; align-items: center; gap: var(--spacing-sm); }
.about__feature-icon { width: 50px; height: 50px; border-radius: var(--radius-full); background: var(--bg-white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.about__feature-icon svg { width: 24px; height: 24px; fill: var(--primary-gold-dark); }
.about__feature-text { font-weight: 500; font-size: 0.9rem; }
.about__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__image img { width: 100%; height: 400px; object-fit: cover; }

/* === TESTIMONIALS === */
.testimonials { background: var(--bg-white); }
.testimonials__grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-lg); }
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }
.review-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: var(--spacing-lg); transition: all var(--transition-normal); }
.review-card:hover { box-shadow: var(--shadow-md); }
.review-card__header { display: flex; align-items: center; gap: var(--spacing-sm); margin-bottom: var(--spacing-md); }
.review-card__avatar { width: 50px; height: 50px; border-radius: var(--radius-full); background: linear-gradient(135deg, var(--primary-gold-dark), var(--primary-green)); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-weight: 600; font-size: 1.25rem; }
.review-card__info h4 { font-family: var(--font-body); font-size: 1rem; margin-bottom: 2px; }
.review-card__stars { color: var(--primary-gold-dark); font-size: 0.9rem; }
.review-card__text { color: var(--text-muted); font-style: italic; line-height: 1.7; }
.review-card__text::before { content: '"'; font-size: 2rem; color: var(--primary-gold-dark); line-height: 0; vertical-align: -0.5rem; margin-right: 4px; }

/* === LOCATION === */
.location { background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light)); color: var(--text-light); }
.location h2, .location h3 { color: var(--text-light); }
.location__grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-xl); }
@media (min-width: 768px) { .location__grid { grid-template-columns: 1fr 1fr; } }
.location__info h2 { margin-bottom: var(--spacing-md); }
.location__info p { opacity: 0.9; margin-bottom: var(--spacing-md); }
.location__address { display: flex; align-items: flex-start; gap: var(--spacing-sm); margin-bottom: var(--spacing-lg); }
.location__address svg { flex-shrink: 0; fill: var(--primary-gold-dark); }
.location__regions { display: flex; flex-wrap: wrap; gap: var(--spacing-xs); margin-top: var(--spacing-md); }
.location__region-tag { background: rgba(255,255,255,0.15); padding: var(--spacing-xs) var(--spacing-sm); border-radius: var(--radius-full); font-size: 0.875rem; }
.location__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 300px; background: var(--bg-light); }
.location__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }

/* === FOOTER === */
.footer { background: var(--text-dark); color: var(--text-light); padding: var(--spacing-2xl) 0 var(--spacing-lg); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-xl); margin-bottom: var(--spacing-xl); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand img { height: 60px; margin-bottom: var(--spacing-md); filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,0.7); max-width: 300px; }
.footer__title { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: var(--spacing-md); color: var(--primary-gold-dark); }
.footer__links li { margin-bottom: var(--spacing-xs); }
.footer__links a { color: rgba(255,255,255,0.7); transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--primary-gold-dark); }
.footer__contact p { display: flex; align-items: center; gap: var(--spacing-xs); color: rgba(255,255,255,0.7); margin-bottom: var(--spacing-sm); }
.footer__contact svg { flex-shrink: 0; fill: var(--primary-gold-dark); }
.footer__bottom { padding-top: var(--spacing-lg); border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.footer__copyright { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer__seo { color: rgba(255,255,255,0.3); font-size: 0.75rem; margin-top: var(--spacing-xs); }

/* === MODALS === */
.modal { position: fixed; inset: 0; z-index: var(--z-modal); display: flex; align-items: center; justify-content: center; padding: var(--spacing-md); opacity: 0; visibility: hidden; transition: all var(--transition-normal); }
.modal.active { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); z-index: var(--z-modal-backdrop); }
.modal__content { position: relative; z-index: var(--z-modal); background: var(--bg-white); border-radius: var(--radius-lg); max-width: 600px; width: 100%; max-height: 90vh; overflow-y: auto; transform: translateY(20px); transition: transform var(--transition-normal); }
.modal.active .modal__content { transform: translateY(0); }
.modal__header { padding: var(--spacing-lg); border-bottom: 1px solid var(--bg-light); display: flex; align-items: center; justify-content: space-between; }
.modal__title { font-size: 1.5rem; color: var(--primary-green); }
.modal__close { width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--bg-light); display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.modal__close:hover { background: var(--primary-gold-dark); color: var(--text-light); }
.modal__body { padding: var(--spacing-lg); }
.modal__body p { color: var(--text-muted); margin-bottom: var(--spacing-md); line-height: 1.8; }
.modal__footer { padding: var(--spacing-lg); border-top: 1px solid var(--bg-light); display: flex; gap: var(--spacing-sm); justify-content: flex-end; }

/* === WHATSAPP FLOAT === */
.whatsapp-float { position: fixed; bottom: var(--spacing-lg); right: var(--spacing-lg); z-index: var(--z-whatsapp); width: 60px; height: 60px; background: var(--whatsapp-green); border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: all var(--transition-normal); animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); background: var(--whatsapp-hover); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--text-light); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } }

/* === UTILITIES === */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
body.modal-open { overflow: hidden; }

/* ===================================
   EXPERIENCE SLIDER SECTION
   =================================== */
.experience {
  position: relative;
  background: var(--text-dark);
  overflow: hidden;
}

.slider {
  position: relative;
  height: 80vh;
  min-height: 500px;
  max-height: 800px;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.slider__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  max-width: 800px;
  padding: var(--spacing-lg);
}

.slider__content h2 {
  color: var(--text-light);
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slider__content p {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
}

.slider__nav {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
}

.slider__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider__dot.active,
.slider__dot:hover {
  background: var(--primary-gold-dark);
  transform: scale(1.2);
}

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  backdrop-filter: blur(4px);
}

.slider__arrow:hover {
  background: var(--primary-gold-dark);
}

.slider__arrow--prev { left: var(--spacing-md); }
.slider__arrow--next { right: var(--spacing-md); }

@media (max-width: 768px) {
  .slider__arrow { display: none; }
}

/* ===================================
   TRANSFORMATION GRID
   =================================== */
.transformation {
  background: var(--bg-white);
}

.transformation__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 250px);
  gap: var(--spacing-sm);
}

@media (min-width: 768px) {
  .transformation__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
  }
}

.transformation__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

/* ===================================
   TRANSFORMATION GRID - CORRIGIDO
   =================================== */
.transformation {
  background: white !important; /* Força fundo branco */
  padding: 6rem 0;
}

.transformation__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .transformation__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
  }
}

.transformation__item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Remove TODAS as regras especiais para a primeira imagem */
.transformation__item:first-child {
  grid-column: unset !important;
  grid-row: unset !important;
}

.transformation__item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Imagens inteiras sem cortes */
  display: block;
  padding: 10px;
}

/* Responsive */
@media (max-width: 767px) {
  .transformation__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 250px);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===================================
   TRANSFORMATION GRID - IMAGENS MAIORES
   =================================== */
.transformation {
  background: white !important;
  padding: 6rem 0;
}

.transformation__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .transformation__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 350px); /* Aumentei a altura */
  }
}

.transformation__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* Mais padding para as imagens respirarem */
}

.transformation__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* Garante imagem inteira */
  display: block;
}

/* Remove hover para evitar cortes */
.transformation__item:hover img {
  transform: none; /* Remove qualquer transformação */
}

/* Responsive */
@media (max-width: 767px) {
  .transformation__grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 280px); /* Aumentei a altura mobile */
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
  }
  
  .transformation__item {
    padding: 15px;
  }
}

@media (min-width: 1200px) {
  .transformation__grid {
    grid-template-rows: repeat(2, 400px); /* Ainda maior em telas grandes */
  }
}

.transformation__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.transformation__item:hover img {
  transform: scale(1.05);
}

.transformation__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-md);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.transformation__item:hover .transformation__overlay {
  opacity: 1;
}

.transformation__overlay span {
  color: var(--text-light);
  font-weight: 500;
}

/* ===================================
   MODAL GALLERY
   =================================== */
.modal__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.modal__gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.modal__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.modal__gallery-item:hover img {
  transform: scale(1.1);
}

/* Gallery Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: var(--primary-gold-dark);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox__nav:hover {
  background: var(--primary-gold-dark);
}

.lightbox__nav--prev { left: var(--spacing-md); }
.lightbox__nav--next { right: var(--spacing-md); }

@media (max-width: 576px) {
  .modal__gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ===== CLUB MINIMAL SECTION ===== */
.club-minimal {
    background: linear-gradient(135deg, #213538 0%, #83978a 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.club-minimal__header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.club-minimal__badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #ecffeb, #bc9861);
    color: #213538;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.club-minimal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

/* Card */
.club-minimal__card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Imagem Container */
.club-minimal__image-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.club-minimal__image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.club-minimal__image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.05);
    display: block;
    transition: transform 0.3s ease;
}

.club-minimal__image-container:hover .club-minimal__image {
    transform: scale(1.02);
}

/* Actions */
.club-minimal__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.club-minimal__view-btn,
.club-minimal__action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.club-minimal__view-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.club-minimal__view-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.club-minimal__action-btn {
    background: linear-gradient(135deg, #ecffeb, #bc9861);
    color: #213538;
    border: 2px solid transparent;
}

.club-minimal__action-btn:hover {
    background: linear-gradient(135deg, #bc9861, #ecffeb);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(188, 152, 97, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #ecffeb, #bc9861);
    color: #213538;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #bc9861, #ecffeb);
    color: #213538;
}

/* Fullscreen Modal */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-modal.active {
    display: flex;
    opacity: 1;
}

.fullscreen-modal__close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
}

.fullscreen-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.fullscreen-modal__close svg {
    color: white;
    width: 24px;
    height: 24px;
}

.fullscreen-modal__content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-modal__image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

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

/* Responsive */
@media (min-width: 768px) {
    .club-minimal__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
    
    .club-minimal__image {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .club-minimal {
        padding: 3rem 0;
    }
    
    .club-minimal__actions {
        flex-direction: column;
    }
    
    .club-minimal__view-btn,
    .club-minimal__action-btn {
        width: 100%;
    }
    
    .club-minimal__image {
        height: 350px;
    }
    
    .fullscreen-modal__close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    .fullscreen-modal__close svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .club-minimal__image {
        height: 300px;
    }
}

/* ===================================
   MOBILE BUTTONS CENTRALIZATION
   =================================== */

/* Centraliza todos os botões na versão mobile, exceto o botão flutuante do WhatsApp */
@media (max-width: 767px) {
    /* Hero section buttons */
    .hero__cta {
        align-items: center;
        justify-content: center;
    }
    
    .hero__cta .btn {
        width: auto;
        min-width: 200px;
    }
    
    /* Service card buttons */
    .service-card__btn {
        align-self: center;
        width: auto;
        text-align: center;
    }
    
    /* About section buttons */
    .about__content .btn {
        display: flex;
        margin: 0 auto;
        width: auto;
        max-width: 250px;
    }
    
    /* Testimonials section */
    .review-card .btn {
        display: flex;
        margin: 1rem auto 0;
        width: auto;
        max-width: 200px;
    }
    
    /* Location section buttons */
    .location .btn {
        display: flex;
        margin: 1rem auto;
        width: auto;
        max-width: 250px;
    }
    
    /* Modal buttons */
    .modal__footer {
        justify-content: center;
    }
    
    .modal__footer .btn {
        flex: 0 1 auto;
        min-width: 120px;
    }
    
    /* Slider buttons */
    .slider__content .btn {
        display: inline-flex;
        margin: 0 auto;
    }
    
    /* Transformation section */
    .transformation .btn {
        display: flex;
        margin: 1rem auto;
        width: auto;
        max-width: 200px;
    }
    
    /* Club minimal buttons - já tem flex-direction column, garantindo centralização */
    .club-minimal__actions {
        align-items: center;
    }
    
    .club-minimal__view-btn,
    .club-minimal__action-btn {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Footer buttons */
    .footer .btn {
        display: inline-flex;
        margin: 0 auto;
    }
    
    /* Menu mobile CTA */
    .mobile-nav__cta .btn {
        display: flex;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* General button centering for any other buttons */
    .btn:not(.whatsapp-float) {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Ensure all button containers center their children, but NOT the whatsapp float */
    [class*="__cta"]:not(.whatsapp-float),
    [class*="__actions"]:not(.whatsapp-float),
    [class*="__footer"]:not(.whatsapp-float) {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    /* Keep specific containers that need row layout for desktop but column for mobile */
    .hero__cta,
    .modal__footer {
        flex-direction: column;
    }
    
    /* For elements that should maintain some spacing */
    .hero__cta .btn + .btn,
    .modal__footer .btn + .btn {
        margin-top: var(--spacing-sm);
    }
    
    /* Garantir que o botão do WhatsApp NÃO seja afetado por nenhuma regra de centralização */
    .whatsapp-float {
        position: fixed !important;
        bottom: var(--spacing-lg) !important;
        right: var(--spacing-lg) !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}