/* ================================================
   MAISON DU BARBIER — Dark Luxe Template
   Paleta: #0D0D0D, #1A1A1A, #C9A84C, #FFFFFF
   Fonts: Playfair Display + Inter
   ================================================ */

/* === DESIGN TOKENS === */
:root {
  --color-bg: #0D0D0D;
  --color-bg-alt: #1A1A1A;
  --color-bg-card: #141414;
  --color-gold: #C9A84C;
  --color-gold-light: #E0C068;
  --color-gold-dark: #A88B3D;
  --color-white: #FFFFFF;
  --color-gray-100: #F5F5F5;
  --color-gray-200: #E0E0E0;
  --color-gray-300: #BDBDBD;
  --color-gray-400: #9E9E9E;
  --color-gray-500: #757575;
  --color-gray-600: #616161;
  --color-gray-700: #424242;
  --color-gray-800: #2A2A2A;
  --color-gray-900: #1A1A1A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;

  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slower: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.15);

  --container-max: 1200px;
  --section-padding: clamp(4rem, 8vw, 8rem);
  --header-height: 80px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-gray-200);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-white);
  line-height: 1.2;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--color-gray-400);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

.gold {
  color: var(--color-gold);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-gray-600);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--color-gold);
}

.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  color: var(--color-white);
}

.logo-text em {
  font-style: italic;
  color: var(--color-gold);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-300);
  position: relative;
  padding: 0.25rem 0;
  letter-spacing: 0.5px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-gold);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.btn-header:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 10s ease;
}

.hero:hover .hero-bg {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.4) 0%,
    rgba(13, 13, 13, 0.6) 40%,
    rgba(13, 13, 13, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-gray-300);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-scroll span {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-gray-600);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 2px;
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 20px; }
}

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  z-index: -1;
}

.about-content .section-title {
  text-align: left;
}

.about-text {
  color: var(--color-gray-400);
  margin-bottom: 1.25rem;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-gray-800);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  line-height: 1.4;
}

/* === SERVICES === */
.services {
  background: var(--color-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-gray-800);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all var(--transition-base);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-dark));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  border-color: var(--color-gold);
  background: linear-gradient(180deg, rgba(201,168,76,0.08) 0%, var(--color-bg-card) 100%);
}

.service-card.featured::before {
  transform: scaleX(1);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-bg);
  background: var(--color-gold);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon i {
  font-size: 1.25rem;
  color: var(--color-gold);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.service-time {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.service-time i {
  margin-right: 0.25rem;
}

/* === GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1rem;
}

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

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,13,13,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--color-white);
}

.gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* === TESTIMONIALS === */
.testimonials {
  background: var(--color-bg-alt);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--transition-slower);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 2rem;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: 50%;
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    min-width: 33.333%;
  }
}

.testimonial-card > div,
.testimonial-card > p {
  background: var(--color-bg-card);
  border: 1px solid var(--color-gray-800);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
}

.testimonial-card > .testimonial-stars,
.testimonial-card > .testimonial-text,
.testimonial-card > .testimonial-author {
  background: none;
  border: none;
  padding: 0;
}

/* Wrap content in visual card */
.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-gray-800);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 0 0.75rem;
  min-width: calc(33.333% - 1.5rem);
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--color-gray-300);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.author-info strong {
  display: block;
  color: var(--color-white);
  font-size: 0.9375rem;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gray-700);
  background: var(--color-bg-card);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-gray-700);
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dot.active {
  background: var(--color-gold);
  width: 28px;
  border-radius: 5px;
}

/* === LOCATION === */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.location-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location-item i {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 76, 0.1);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.location-item strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.location-item p {
  font-size: 0.875rem;
  color: var(--color-gray-400);
  line-height: 1.6;
}

.location-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-gray-800);
}

.location-map iframe {
  display: block;
}

/* === CTA SECTION === */
.cta-section {
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, var(--color-bg) 50%, rgba(201,168,76,0.05) 100%);
  text-align: center;
  border-top: 1px solid var(--color-gray-800);
  border-bottom: 1px solid var(--color-gray-800);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content .section-desc {
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FOOTER === */
.site-footer {
  background: var(--color-bg-alt);
  padding: 4rem 0 0;
  border-top: 1px solid var(--color-gray-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo .logo-icon {
  font-size: 1.25rem;
}

.footer-logo .logo-text {
  font-size: 1.125rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-400);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 168, 76, 0.1);
}

.footer-links-col h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  transition: color var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--color-gold);
}

.footer-contact p {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--color-gold);
  width: 16px;
  font-size: 0.8125rem;
}

.footer-hours {
  margin-top: 1.5rem;
}

.footer-hours h4 {
  margin-bottom: 0.75rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-gray-800);
  font-size: 0.8125rem;
  color: var(--color-gray-600);
}

.footer-credit strong {
  color: var(--color-gold);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: floatPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--color-bg-card);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  border: 1px solid var(--color-gray-800);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.6); }
}

/* === REVEAL ANIMATIONS === */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translate(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-accent {
    display: none;
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }

  .gallery-grid .gallery-item {
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: calc(var(--header-height) + 2rem) 2rem 2rem;
    transition: right var(--transition-base);
    border-left: 1px solid var(--color-gray-800);
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-link {
    font-size: 1.125rem;
  }

  .hamburger {
    display: flex;
  }

  .btn-header {
    display: none;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: span 1;
  }

  .gallery-grid .gallery-item {
    height: 200px;
  }

  .testimonial-card {
    min-width: 100%;
    margin: 0;
  }

  .location-map iframe {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

/* === PREFERS REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg {
    transform: none !important;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}



/* =====================================================
   AIOX MOBILE GLOBAL FIX — Prevent horizontal scroll
   ===================================================== */

/* 1. Força contenção total de largura */
html, body, #root {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  width: 100% !important;
}

/* 2. Qualquer imagem não pode sair do container */
img {
  max-width: 100% !important;
  height: auto;
}

@media (max-width: 768px) {

  /* 3. Reset de padding lateral para todas as sections e containers */
  section, header, footer, nav {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* 4. Qualquer div filho direto de section que tenha display:flex ou grid vira coluna */
  section > div,
  header > div,
  footer > div {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 5. Remove padding grande de sections inline-styled */
  section[style*="padding"],
  div[style*="padding: 6rem"],
  div[style*="padding: 8rem"],
  div[style*="padding: 10rem"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* 6. Flexbox nav wrapping */
  nav > div,
  nav[style] {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  /* 7. Grid — força 1 coluna */
  div[style*="grid-template-columns: repeat(4"],
  div[style*="grid-template-columns: repeat(3"],
  div[style*="grid-template-columns: repeat(2"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 8. Split sections flex -> coluna */
  section[style*="display: flex"] {
    flex-direction: column !important;
  }
  section[style*="display: flex"] > div {
    width: 100% !important;
    flex: unset !important;
    min-width: unset !important;
  }

  /* 9. Tipografia responsiva */
  h1, h2 { font-size: clamp(1.8rem, 7vw, 2.8rem) !important; line-height: 1.2 !important; }
  h3 { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; }

  /* 10. Botões full-width */
  a[class*="btn"], button[class*="btn"] {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    box-sizing: border-box !important;
  }

  /* 11. Altura hero mobile */
  section[style*="min-height: 100vh"],
  section[style*="min-height: 80vh"] {
    min-height: 70vh !important;
  }

  /* 12. Imagens em split sections */
  div[style*="flex: 1"] > img,
  div[style*="flex: 1"] {
    height: 300px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   AIOX MOBILE PROFESSIONAL FIX — Static v3.0
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; }

@media (max-width: 768px) {

  .container, .wrapper, .inner {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    max-width: 100% !important;
  }

  section, .section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    overflow: hidden !important;
  }

  .site-header, header {
    padding: 1rem 1.25rem !important;
  }

  .hero-section, .hero, [class*="hero"] {
    min-height: 65vh !important;
    height: auto !important;
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
  }

  .hero-title, h1 {
    font-size: clamp(1.8rem, 7vw, 2.8rem) !important;
    line-height: 1.15 !important;
  }

  h2, .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }

  h3 { font-size: 1.1rem !important; }
  p { font-size: 0.95rem !important; max-width: 100% !important; }

  .header-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
  }

  /* Ocultar nav links no mobile */
  .nav-links, .header-nav, nav ul { display: none !important; }

  /* Grids */
  .grid, .sec-grid, .fleet-grid, .about-grid, .testi-grid,
  [class*="grid-"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* Cards de 2 colunas para mobile */
  .cards-grid, .inventory-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid, .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Split sections */
  .split-section, [class*="split"],
  .about-section > .container,
  .experience-section > .container {
    flex-direction: column !important;
  }

  /* Imagens de seção */
  .card-img, .about-img, [class*="-img"] {
    height: 220px !important;
    width: 100% !important;
  }

  /* Botões */
  .btn, .btn-vip, .btn-full, .btn-primary, .btn-secondary,
  [class*="btn-"], button {
    width: 100% !important;
    text-align: center !important;
    display: block !important;
    max-width: 100% !important;
  }

  /* Flex groups de botões */
  .btn-group, .hero-btns, .cta-btns,
  div:has(> .btn) {
    flex-direction: column !important;
    gap: 1rem !important;
  }
}


/* ════════════════════════════════════════════════════════
   AIOX MOBILE FIX v4.0 — Templates Estáticos
   Regra: 20px lateral | 40-60px vertical | sem overflow
   ════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }

@media (max-width: 768px) {

  /* ── Container padrão ── */
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    max-width: 100% !important;
  }

  /* ── Seções: vertical generoso, lateral 20px ── */
  .section {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }

  /* ── Header: mantém flex-row com logo + hamburger ── */
  .site-header {
    padding: 0 20px !important;
  }
  /* NÃO mudar direction do header-inner — o hamburger já está implementado */
  .header-inner {
    padding: 0 !important;
  }

  /* ── Hero: altura adequada, mantém background ── */
  .hero {
    min-height: 70vh !important;
    height: auto !important;
  }
  .hero-content {
    padding: 0 20px !important;
  }
  /* Frame decorativo do vintage — reduz padding para não ficar enorme */
  .hero-frame {
    padding: 1.5rem !important;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem) !important;
    line-height: 1.1 !important;
  }
  .hero-subtitle {
    font-size: 1rem !important;
    max-width: 100% !important;
  }
  .hero-ctas, .cta-buttons {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  /* ── About / Split sections ── */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .about-image {
    width: 100% !important;
  }
  .about-image img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
  }
  /* Remove accent decorativo que sai da tela */
  .about-image-accent {
    display: none !important;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* ── Services grid ── */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .service-card {
    padding: 1.5rem !important;
  }

  /* ── Gallery ── */
  .gallery-grid, .gallery-mosaic {
    grid-template-columns: 1fr 1fr !important;
    grid-auto-rows: 160px !important;
    gap: 8px !important;
  }
  .gallery-item--large,
  .gallery-item--wide,
  .gallery-item--tall {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  /* ── Testimonials ── */
  .testimonial-card {
    min-width: 100% !important;
    margin: 0 !important;
  }

  /* ── Contact ── */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 0.5rem !important;
    text-align: center !important;
  }

  /* ── Botões ── */
  .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .hero-ctas .btn {
    min-width: 0 !important;
  }

  /* ── Tipografia ── */
  h2, .section-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }
  h3 {
    font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
  }
  p, .section-desc {
    font-size: 0.95rem !important;
    max-width: 100% !important;
  }

  /* ── Automóveis específico ── */
  .inventory-grid, .fleet-grid, .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .vip-contact, .contact-form {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ── Aviação específico ── */
  .fleet-card, .aircraft-card {
    width: 100% !important;
  }
  .stats-grid, .numbers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }

  /* ── Ornaments: manter mas não deixar criar overflow ── */
  .hero-ornament {
    overflow: hidden !important;
  }
}
