/* ====== GLOBAL STYLES - FEMININE WELLNESS ====== */
/* Warm colors as default, generous spacing, serif elegance */

/* ====== BASE STYLES ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-dark);
  background-color: var(--color-primary-white);
  overflow-x: hidden;
}

/* ====== TYPOGRAPHIE FÉMININE ====== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-deep-brown);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.01em;
}

/* TT Ricordi Nobili - Titres principaux */
h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Open Sans - Titres secondaires (plus lisibles) */
h4 {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 600;
}

h5 {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
}

h6 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-light);
  line-height: 1.9;
  font-size: 1.1rem;
}

.accent-text {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-style: italic;
  color: var(--color-primary-gold);
  font-weight: 700;
}

a {
  color: var(--color-primary-gold);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

/* TYPEWRITER COLOR — handled in page-accueil.css */

/* Scroll progress bar adjustment (override any potential top positioning) */
#scroll-progress-bar {
  top: auto !important;
  bottom: 0 !important;
}

a:hover {
  color: var(--color-gold-dark);
  border-bottom: 2px solid var(--color-primary-gold);
}

figure {
  margin: 0;
}

/* ====== FIX: WordPress error-page wrapper ====== */
body#error-page,
#error-page {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ====== SHARED DA — Tous les pages ====== */

/* Section tags avec ornements dorés */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #C09144;
  margin-bottom: 1.5rem;
}

.section-tag::before,
.section-tag::after {
  content: '\2726';
  font-size: 0.55rem;
  opacity: 0.45;
}

.section-tag--light {
  color: rgba(255,255,255,0.7);
}

.section-tag--light::before,
.section-tag--light::after {
  color: rgba(255,255,255,0.35);
}

/* Section titles */
.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #924D40;
  line-height: 1.3;
  margin-bottom: 2rem;
}

/* Séparateur doré */
.gold-sep {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C09144, transparent);
  margin: 0 auto 2.5rem;
  border-radius: 1px;
}

/* Boutons DA */
.da-btn {
  display: inline-block;
  padding: 1.1rem 2.8rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.33, 1, 0.68, 1);
  background: #C09144;
  color: white;
  border: 2px solid #C09144;
  position: relative;
  overflow: hidden;
}

.da-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.da-btn:hover {
  background: #924D40;
  border-color: #924D40;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(146, 77, 64, 0.2);
}

.da-btn:hover::after {
  left: 150%;
}

.da-btn--outline {
  background: transparent;
  color: #924D40;
  border-color: #924D40;
}

.da-btn--outline:hover {
  background: #924D40;
  color: white;
}

.da-btn--white {
  background: white;
  color: #C09144;
  border-color: white;
}

.da-btn--white:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* Card style DA */
.da-card {
  background: white;
  border: 1px solid rgba(192, 145, 68, 0.08);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
}

.da-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(146, 77, 64, 0.08);
  border-color: rgba(192, 145, 68, 0.2);
}

/* Hero style DA (réutilisable sur toutes les pages) */
.da-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.da-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}

.da-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(146, 77, 64, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse at 70% 60%, rgba(192, 145, 68, 0.25) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.da-hero__content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 2rem;
}

.da-hero__content h1 {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(192, 145, 68, 0.35);
}

.da-hero__content p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0,0,0,0.15);
}

/* Section backgrounds DA */
.da-bg-cream { background: #FFFDF4; }
.da-bg-peach { background: linear-gradient(180deg, #FFFDF4 0%, #F6E3D6 100%); }
.da-bg-warm { background: linear-gradient(135deg, #F6E3D6 0%, #E6D7B2 100%); }
.da-bg-gold { background: linear-gradient(160deg, #D5A58E 0%, #C09144 100%); }

/* ====== LAYOUT ====== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ====== SECTIONS - COLORED BY DEFAULT ====== */
section {
  padding: var(--spacing-xxxl) 0;
  position: relative;
}

/* Alternating backgrounds — white / peach (not on homepage) */
.site-main:not(.homepage) section:nth-child(odd) {
  background: var(--color-bg-main);
}

.site-main:not(.homepage) section:nth-child(even) {
  background: var(--color-primary-3);
}

/* Override alternating bg for reusable homepage components */
.site-main:not(.homepage) section.hp-newsletter {
  background: linear-gradient(160deg, #8B6B55 0%, #A67C52 100%) !important;
}

/* Override classes */
section.light-bg {
  background: var(--color-bg-main) !important;
}

section.peach-bg {
  background: var(--color-primary-3) !important;
}

section.white-bg {
  background: var(--color-bg-white) !important;
}

section.gold-accent {
  background: linear-gradient(135deg, var(--color-primary-5) 0%, #E6B860 50%, var(--color-primary-3) 100%);
  color: white;
}

/* ====== HEADER & NAVIGATION ====== */
.site-header {
  background-color: var(--color-primary-white);
  padding: var(--spacing-lg) 0;
  border-bottom: 2px solid var(--color-primary-gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-light);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-logo);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-gold);
  letter-spacing: -0.02em;
  margin-left: -1rem;
}

.site-logo:hover {
  color: var(--color-gold-dark);
}

.main-menu {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
}

.main-menu a {
  font-size: 1rem;
  color: var(--color-text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding-bottom: 0.5rem;
  border: none;
}

.main-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-primary-gold);
  transition: var(--transition);
}

.main-menu a:hover::after,
.main-menu a.current::after {
  width: 100%;
}

.main-menu a:hover {
  border: none;
  color: var(--color-primary-gold);
}

/* Nav icon links (home, contact, user) */
.menu-icon-item .nav-icon-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem;
  border: none;
}

.menu-icon-item .nav-icon-link:hover {
  border: none;
}

.menu-icon-item .nav-icon-link svg {
  transition: var(--transition);
}

.menu-icon-item .nav-icon-link:hover svg,
.menu-icon-item .nav-icon-link.current svg {
  stroke: var(--color-primary-gold);
}

/* Push right group to the end of the nav */
.menu-right-group {
  margin-left: auto;
}

/* Testimonial carousel scrollbar hide */
.testimonial-carousel::-webkit-scrollbar {
  display: none;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  border: 2px solid transparent;
  border-radius: var(--border-radius-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary-gold), var(--color-gold-light));
  color: var(--color-primary-white);
  border-color: var(--color-primary-gold);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary-gold);
  border: 2px solid var(--color-primary-gold);
}

.btn-secondary:hover {
  background-color: var(--color-primary-gold);
  color: var(--color-primary-white);
  transform: translateY(-4px);
}

.btn-light {
  background-color: var(--color-primary-cream);
  color: var(--color-text-dark);
  border-color: var(--color-primary-gold);
}

.btn-light:hover {
  background-color: var(--color-primary-peach);
  border-color: var(--color-primary-gold);
  color: var(--color-primary-gold);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 2px solid var(--color-primary-gold);
}

.btn-ghost:hover {
  border-color: var(--color-primary-gold);
  color: var(--color-primary-gold);
  background: var(--color-primary-peach);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-xxl);
  font-size: 1.3rem;
}

/* ====== HERO SECTION ====== */
.hero {
  background: linear-gradient(135deg, var(--color-primary-gold) 0%, var(--color-gold-light) 50%, var(--color-primary-peach) 100%);
  padding: var(--spacing-xxxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--color-primary-white);
  margin-bottom: var(--spacing-xl);
  line-height: 1.1;
}

.hero-tagline {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-xxl);
  font-family: var(--font-accent);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== HERO WITH BACKGROUND IMAGE ====== */
.hero-with-image {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-with-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(208, 154, 64, 0.6) 0%, rgba(230, 184, 96, 0.5) 100%);
  z-index: 1;
}

.hero-with-image .hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-with-image h1 {
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-with-image .hero-tagline {
  color: rgba(255, 255, 255, 0.98);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* ====== CARD SYSTEM ====== */
.card {
  background-color: var(--color-primary-white);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xxl);
  transition: var(--transition);
  text-align: left;
  box-shadow: var(--shadow-light);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.card.light-bg {
  background-color: var(--color-primary-cream);
}

.card.peach-bg {
  background-color: var(--color-primary-peach);
}

.card h3 {
  color: var(--color-primary-gold);
}

/* ====== FEATURE CARDS ====== */
.feature-card {
  background: var(--color-primary-white);
  border: none;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xxl);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
}

.feature-card .feature-icon {
  font-size: 4.5rem;
  margin-bottom: var(--spacing-lg);
  display: block;
}

.feature-card h3 {
  color: var(--color-primary-gold);
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
}

.feature-card p {
  font-size: 1.1rem;
  line-height: 1.9;
}

/* ====== GRID SYSTEM ====== */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ====== IMAGE SECTION ====== */
.image-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxxl);
  align-items: center;
  margin-bottom: var(--spacing-xxxl);
}

.image-section.reverse {
  direction: rtl;
}

.image-section.reverse>* {
  direction: ltr;
}

.image-section-text h2 {
  margin-bottom: var(--spacing-lg);
  color: var(--color-primary-gold);
}

.image-section-text h3 {
  color: var(--color-primary-gold);
}

.image-section-text p {
  margin-bottom: var(--spacing-lg);
  font-size: 1.2rem;
  line-height: 2;
}

.image-section-visual {
  position: relative;
}

.image-section-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.image-section-visual .image-placeholder {
  width: 100%;
}

/* ====== IMAGE PLACEHOLDER ====== */
.image-placeholder {
  background: linear-gradient(135deg, var(--color-primary-peach) 0%, var(--color-primary-beige) 100%);
  border: 4px solid var(--color-primary-gold);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xxl);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  box-shadow: var(--shadow-md);
}

.placeholder-icon {
  font-size: 6rem;
  display: block;
  margin-bottom: var(--spacing-lg);
}

.placeholder-text {
  display: block;
  color: var(--color-deep-brown);
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-body);
}

.image-placeholder::after {
  content: 'Image à ajouter ici';
  display: block;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-top: var(--spacing-xs);
}

/* ====== FOOTER ====== */
.site-footer {
  background: linear-gradient(180deg, #5C4A3D 0%, #8B7B6E 100%);
  color: #FFFDF4;
  padding: 3rem 0 1.5rem;
  margin-top: 0;
  border-top: 3px solid var(--color-primary-gold);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1.5fr 1.3fr 1.2fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.footer-content>.footer-section {
  min-width: 0;
}

.footer-section h4 {
  margin-bottom: 0.8rem;
  color: #FFFFFF;
  font-family: var(--font-logo);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  border: none;
}

.footer-section a:hover {
  color: #FFFFFF;
  border: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #8a7d73;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* ====== PAGE HEADER ====== */
.page-header {
  text-align: center;
  padding: var(--spacing-xxxl) 0;
  margin-bottom: var(--spacing-xxxl);
}

.page-header h1 {
  font-size: 4.5rem;
  margin-bottom: var(--spacing-lg);
}

.page-header p {
  font-size: 1.4rem;
  color: var(--color-text-light);
}

/* ====== TESTIMONIALS ====== */
.testimonials-section {
  margin: var(--spacing-xxxl) 0;
}

.testimonial-card {
  background: var(--color-primary-white);
  border-left: 6px solid var(--color-primary-gold);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xxl);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-light);
  position: relative;
}


.testimonial-card p {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-light);
  font-size: 1.2rem;
  line-height: 2;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text-dark);
  font-size: 1.1rem;
}

.testimonial-author::before {
  content: '— ';
  color: var(--color-primary-gold);
  margin-right: 0.5rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 2rem;
  }

  section {
    padding: var(--spacing-xxl) 0;
  }

  .image-section {
    gap: var(--spacing-xl);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 1.6rem;
  }

  .main-menu {
    gap: var(--spacing-lg);
    font-size: 1rem;
  }

  section {
    padding: var(--spacing-xl) 0;
  }

  .hero {
    min-height: 60vh;
    padding: var(--spacing-xl) 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.3rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header p {
    font-size: 1.2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .image-section {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .image-section.reverse {
    direction: ltr;
  }

  .image-placeholder {
    min-height: 250px;
    padding: var(--spacing-lg);
  }

  .placeholder-icon {
    font-size: 4rem;
  }

  .placeholder-text {
    font-size: 1.2rem;
  }

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


  .card,
  .feature-card {
    padding: var(--spacing-lg);
  }

  .feature-card .feature-icon {
    font-size: 3.5rem;
  }

  .btn {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1rem;
  }

  .main-menu {
    gap: var(--spacing-md);
    font-size: 0.95rem;
  }

  section {
    padding: var(--spacing-lg) 0;
  }
}

/* ====== SECTION SPACING UTILITIES ====== */
.section-padded {
  padding: 4rem 2rem;
}

.section-padded-lg {
  padding: 5rem 2rem;
}

.section-padded-sm {
  padding: 2.5rem 1.5rem;
}

@media (max-width: 768px) {
  .section-padded {
    padding: 3rem 1.5rem;
  }

  .section-padded-lg {
    padding: 3.5rem 1.5rem;
  }

  .section-padded-sm {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .section-padded {
    padding: 2rem 1rem;
  }

  .section-padded-lg {
    padding: 2.5rem 1rem;
  }

  .section-padded-sm {
    padding: 1.5rem 0.75rem;
  }
}

/* ====== IMAGE UTILITIES ====== */
.img-responsive {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(146, 77, 64, 0.1);
}

.img-gallery {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.img-gallery-16-9 {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.img-gallery-4-3 {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .img-gallery {
    aspect-ratio: 1 / 1;
  }

  .img-gallery-16-9 {
    aspect-ratio: auto;
    max-height: 300px;
  }
}

/* ====== DATA-ANIMATE SCROLL ANIMATIONS ====== */
/* Ces styles sont globaux pour toutes les pages */

[data-animate="fade"] {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

[data-animate="fade"].visible {
  opacity: 1;
}

[data-animate="slide-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-in-out;
}

[data-animate="slide-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="slide-left"] {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease-in-out;
}

[data-animate="slide-left"].visible {
  opacity: 1;
  transform: translateX(0);
}

[data-animate="slide-right"] {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease-in-out;
}

[data-animate="slide-right"].visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animation scale-up */
[data-animate="scale-up"] {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease-in-out;
}

[data-animate="scale-up"].visible {
  opacity: 1;
  transform: scale(1);
}

/* Animation rotate-in */
[data-animate="rotate-in"] {
  opacity: 0;
  transform: rotate(-10deg) translateY(20px);
  transition: all 0.7s ease-out;
}

[data-animate="rotate-in"].visible {
  opacity: 1;
  transform: rotate(0) translateY(0);
}

/* Délai d'animation pour effet cascade */
[data-animate].delay-1 {
  transition-delay: 0.1s;
}

[data-animate].delay-2 {
  transition-delay: 0.2s;
}

[data-animate].delay-3 {
  transition-delay: 0.3s;
}

[data-animate].delay-4 {
  transition-delay: 0.4s;
}

[data-animate].delay-5 {
  transition-delay: 0.5s;
}

/* ====== LOGO WATERMARK - BEHIND TITLES ====== */

/* === HEADER - Logo derrière le titre === */
.logo-with-watermark {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.logo-with-watermark::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background-image: url('../assets/images/logo-watermark.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.logo-with-watermark a {
  position: relative;
  z-index: 1;
}

.logo-with-watermark .logo-text {
  position: relative;
  z-index: 1;
}

/* === FOOTER - Logo derrière le titre VIP Academy === */
.footer-title-with-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-title-with-logo::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background-image: url('../assets/images/logo-watermark.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.footer-title-with-logo h4 {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.footer-brand-section {
  position: relative;
}

.footer-brand-section p {
  color: #9e9189;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .logo-with-watermark::before {
    width: 80px;
    height: 80px;
  }

  .footer-title-with-logo::before {
    width: 100px;
    height: 100px;
  }
}

/* UTILITAIRE MASK JPG */
.blend-multiply {
  mix-blend-mode: multiply;
  filter: contrast(1.1);
  /* Renforce légèrement le noir/or */
}

/* ====== HERO GEOMETRIC DECORATION ====== */
.hero-geometric-left {
  position: absolute;
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: auto;
  opacity: 0.8;
  pointer-events: none;
  z-index: 5;
}

/* Responsive hero geometric */
@media (max-width: 1024px) {
  .hero-geometric-left {
    width: 120px;
    left: 2%;
    opacity: 0.4;
  }
}

@media (max-width: 768px) {
  .hero-geometric-left {
    display: none;
    /* Masquer sur mobile pour ne pas surcharger */
  }
}

/* ====== PARALLAX ELEMENTS ====== */
[data-parallax] {
  will-change: transform;
}

/* ====== SCROLL INDICATOR STYLES ====== */
.scroll-indicator {
  animation: fadeIn 1s ease-out 0.5s both;
}

.scroll-indicator-arrow {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0.9;
}

.scroll-indicator-arrow svg {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.scroll-indicator-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
  opacity: 0.8;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.scroll-indicator:hover {
  transform: translateX(-50%) scale(1.1);
  transition: transform 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ====== BREATHING BUTTON EFFECTS ====== */
.btn-primary,
.cta-btn,
[data-breathing] {
  transition: all 0.3s ease;
}

/* ====== FLOATING IMAGES BASE ====== */
section img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

/* ====== SOFT GLOW TITLES ====== */
h1,
h2 {
  transition: text-shadow 0.5s ease;
  cursor: default;
}

/* ====== STAGGER ANIMATION READY ====== */
.grid>*,
.grid-2>*,
.grid-3>*,
.grid-4>* {
  will-change: transform, opacity;
}

/* ====== CARDS SMOOTH TRANSITIONS ====== */
.card,
.feature-card,
.pilier-card,
.pillar-card,
.testimonial-card,
.pricing-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

/* ====== PROGRESS BAR ENHANCEMENTS ====== */
#scroll-progress-bar {
  pointer-events: none;
}

/* ====== PARALLAX READY ====== */
section[style*="background-image"],
.hero-section,
.hero {
  background-attachment: fixed;
}

@media (max-width: 768px) {

  /* Désactiver parallax sur mobile pour performances */
  section[style*="background-image"],
  .hero-section,
  .hero {
    background-attachment: scroll;
  }

  .scroll-indicator {
    bottom: 20px;
  }

  .scroll-indicator-arrow {
    width: 40px;
    height: 40px;
  }

  .scroll-indicator-text {
    font-size: 0.75rem;
  }
}

/* ====== SMOOTH SCROLL BEHAVIOR ====== */
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

/* ====== GEOMETRIC SHAPES WELLNESS - SYSTÈME MAGISTRAL ====== */

/* === BASE STYLES UNIVERSELS === */
.geometric-shape {
  pointer-events: none;
  will-change: transform, opacity;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.geometric-shape-hero {
  position: absolute;
  z-index: 5;
}

.geometric-shape-section {
  position: absolute;
  z-index: 3;
}

.geometric-shape-backdrop {
  position: absolute;
  z-index: 1;
  opacity: 0.12;
}

.geometric-shape-fixed {
  position: fixed;
  z-index: 100;
}

/* === POSITIONS PRÉDÉFINIES === */
.geometric-top-left {
  top: -80px;
  left: 5%;
}

.geometric-top-right {
  top: -80px;
  right: 5%;
}

.geometric-top-center {
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.geometric-bottom-left {
  bottom: -80px;
  left: 5%;
}

.geometric-bottom-right {
  bottom: -80px;
  right: 5%;
}

.geometric-bottom-center {
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.geometric-center-left {
  top: 50%;
  left: 2%;
  transform: translateY(-50%);
}

.geometric-center-right {
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
}

.geometric-center-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* === TAILLES PRÉDÉFINIES === */
.geometric-size-small {
  width: 140px;
  height: auto;
}

.geometric-size-medium {
  width: 220px;
  height: auto;
}

.geometric-size-large {
  width: 320px;
  height: auto;
}

.geometric-size-xlarge {
  width: 420px;
  height: auto;
}

.geometric-size-backdrop {
  width: 500px;
  height: auto;
}

/* === EFFETS VISUELS === */
.geometric-glow-soft {
  filter: drop-shadow(0 4px 16px rgba(192, 145, 68, 0.3));
}

.geometric-glow-medium {
  filter: drop-shadow(0 6px 22px rgba(192, 145, 68, 0.45)) drop-shadow(0 0 35px rgba(192, 145, 68, 0.25));
}

.geometric-glow-intense {
  filter: drop-shadow(0 8px 28px rgba(192, 145, 68, 0.6)) drop-shadow(0 0 50px rgba(230, 184, 96, 0.4));
}

.geometric-glow-epic {
  filter: drop-shadow(0 12px 36px rgba(192, 145, 68, 0.8)) drop-shadow(0 0 70px rgba(230, 184, 96, 0.6));
}

/* === OPACITÉS === */
.geometric-opacity-subtle {
  opacity: 0.5;
}

.geometric-opacity-medium {
  opacity: 0.7;
}

.geometric-opacity-visible {
  opacity: 0.85;
}

.geometric-opacity-full {
  opacity: 1;
}

/* === HOVER EFFECTS === */
.geometric-hover-scale:hover {
  transform: scale(1.1);
  opacity: 1;
}

.geometric-hover-glow:hover {
  filter: drop-shadow(0 12px 40px rgba(192, 145, 68, 0.9)) drop-shadow(0 0 80px rgba(230, 184, 96, 0.7));
}

/* ====== FORMES SPÉCIFIQUES FRONT-PAGE ====== */

/* Forme 1 : Triangle Mystique - Hero Right (MAGISTRAL) */
.geometric-triangle-right {
  position: absolute;
  right: 2%;
  top: 45%;
  transform: translateY(-50%);
  width: 380px;
  /* Plus grand */
  height: auto;
  opacity: 0.95;
  /* Très visible */
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 10px 30px rgba(192, 145, 68, 0.6)) drop-shadow(0 0 50px rgba(192, 145, 68, 0.4));
  will-change: transform, opacity;
  transition: all 0.6s ease;
}

.geometric-triangle-right:hover {
  opacity: 1;
  filter: drop-shadow(0 12px 32px rgba(192, 145, 68, 0.7)) drop-shadow(0 0 60px rgba(192, 145, 68, 0.5));
  transform: translateY(-50%) scale(1.05);
}

/* Forme 2 : Soleil - Top Right (IMPRESSIONNANT) */
.geometric-sun-decoration {
  position: absolute;
  top: -80px;
  /* Plus émergent */
  right: 3%;
  width: 240px;
  /* x1.7 plus grand */
  height: auto;
  opacity: 0.8;
  /* Plus visible */
  pointer-events: none;
  z-index: 3;
  will-change: transform;
  filter: drop-shadow(0 6px 20px rgba(192, 145, 68, 0.4));
}

/* Forme 3 : Spirale Dorée - Transition (MAJESTUEUX) */
.geometric-spiral-gold {
  width: 200px;
  /* x1.7 plus grand */
  height: auto;
  opacity: 0.9;
  /* Très visible */
  pointer-events: none;
  filter: drop-shadow(0 8px 28px rgba(192, 145, 68, 0.6)) drop-shadow(0 0 50px rgba(230, 184, 96, 0.4));
  will-change: transform, opacity;
  transition: all 0.5s ease;
}

.geometric-spiral-gold:hover {
  opacity: 1;
  filter: drop-shadow(0 12px 36px rgba(192, 145, 68, 0.8)) drop-shadow(0 0 70px rgba(230, 184, 96, 0.6));
  transform: scale(1.1);
}

/* Forme 4 : Mandala - Bottom Section (GRANDIOSE) */
.geometric-mandala {
  position: absolute;
  bottom: -50px;
  /* Plus visible */
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  /* Plus grand */
  height: auto;
  opacity: 0.9;
  /* Bien visible */
  pointer-events: none;
  z-index: 5;
  will-change: transform, opacity;
  filter: drop-shadow(0 8px 30px rgba(192, 145, 68, 0.55));
}

/* Forme 5 : Triangles Superposés - Backdrop (MONUMENTAL) */
.geometric-triangles-backdrop {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  /* x1.7 plus grand */
  height: auto;
  opacity: 0.12;
  /* Un peu plus visible */
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* Forme 6 : Spirale Verticale - Fixed Right (SPECTACULAIRE) */
.geometric-spiral-vertical-fixed {
  position: fixed;
  right: 1%;
  bottom: 15vh;
  width: 170px;
  /* x1.7 plus grand */
  height: auto;
  opacity: 0.75;
  /* Plus visible */
  pointer-events: none;
  z-index: 100;
  will-change: transform, opacity;
  filter: drop-shadow(0 6px 20px rgba(192, 145, 68, 0.4));
}

/* Responsive - Formes Géométriques (MAGISTRAL sur toutes tailles) */
@media (max-width: 1440px) {
  .geometric-triangle-right {
    width: 280px;
    right: 1.5%;
  }

  .geometric-sun-decoration {
    width: 200px;
    top: -60px;
  }

  .geometric-spiral-gold {
    width: 170px;
  }

  .geometric-mandala {
    width: 220px;
    bottom: -60px;
  }

  .geometric-triangles-backdrop {
    width: 420px;
  }

  .geometric-spiral-vertical-fixed {
    width: 150px;
  }
}

@media (max-width: 1024px) {
  .geometric-triangle-right {
    width: 220px;
    /* Encore visible sur tablette */
    right: 1%;
  }

  .geometric-sun-decoration {
    width: 160px;
    top: -50px;
  }

  .geometric-spiral-gold {
    width: 140px;
  }

  .geometric-mandala {
    width: 180px;
    bottom: -50px;
  }

  .geometric-triangles-backdrop {
    width: 340px;
  }

  .geometric-spiral-vertical-fixed {
    width: 120px;
  }
}

@media (max-width: 768px) {
  .geometric-triangle-right {
    width: 160px;
    /* Visible mais réduit sur mobile */
    right: -20px;
    /* Partiellement visible */
    opacity: 0.6;
  }

  .geometric-sun-decoration {
    width: 100px;
    top: -30px;
    opacity: 0.6;
  }

  .geometric-spiral-vertical-fixed {
    width: 80px;
    opacity: 0.5;
  }

  .geometric-spiral-gold {
    width: 100px;
  }

  .geometric-mandala {
    width: 120px;
    bottom: -30px;
  }

  .geometric-triangles-backdrop {
    width: 250px;
    opacity: 0.08;
  }
}

/* ====== GRAIN TEXTURE OVERLAY ====== */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ====== PAGE FADE-IN ====== */
body {
  animation: pageFadeIn 0.35s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====== REDUCED MOTION ACCESSIBILITY ====== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-indicator,
  #scroll-progress-bar {
    display: none;
  }

  body::after {
    display: none;
  }


  /* Désactiver animations des formes géométriques */
  [class*="geometric-"] {
    animation: none !important;
  }
}

/* ====== RESPONSIVE — ALL PAGES INLINE GRIDS ====== */
/* Override inline grid-template-columns on tablet/mobile */

@media (max-width: 900px) {
  /* 2-column grids in main content → single column */
  .site-main section > div > div[style*="grid-template-columns: 1fr 1fr"],
  .site-main section > div > div[style*="grid-template-columns:1fr 1fr"],
  .site-main section > div > div[style*="grid-template-columns: 2fr 1fr"],
  .site-main section > div > div[style*="grid-template-columns:2fr 1fr"],
  .site-main section > div > div[style*="grid-template-columns: 1fr 1.2fr"],
  .site-main section > div > div[style*="grid-template-columns:1fr 1.2fr"],
  .site-main section > div > div[style*="grid-template-columns: 1fr 1.3fr"],
  .site-main section > div > div[style*="grid-template-columns:1fr 1.3fr"],
  .site-main section > div > div[style*="grid-template-columns: 1.2fr 1fr"],
  .site-main section > div > div[style*="grid-template-columns:1.2fr 1fr"],
  .site-main section > div div[style*="grid-template-columns: 2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* 2-column repeat grids → single column */
  .site-main section > div > div[style*="grid-template-columns: repeat(2"],
  .site-main section > div > div[style*="grid-template-columns:repeat(2"],
  .site-main section > div div[style*="grid-template-columns: repeat(2"],
  .site-main section > div div[style*="grid-template-columns:repeat(2"] {
    grid-template-columns: 1fr !important;
  }

  /* 3-column grids → single column */
  .site-main section > div > div[style*="grid-template-columns: repeat(3"],
  .site-main section > div > div[style*="grid-template-columns:repeat(3"],
  .site-main section > div div[style*="grid-template-columns: repeat(3"],
  .site-main section > div div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  /* À propos page — founder sections */
  .site-main section > div > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Méthode Unité — mosaic stays 3-col on tablet but shorter */
  .methode-mosaic {
    height: 25vh !important;
  }

  /* Hero adjustments */
  .da-hero {
    min-height: 70vh;
  }

  .da-hero__content h1 {
    font-size: 2.8rem;
  }

  .da-hero__content p {
    font-size: 1.2rem;
  }

  /* Sticky images should not be sticky on mobile */
  .site-main [style*="position:sticky"],
  .site-main [style*="position: sticky"] {
    position: relative !important;
  }

  /* Background attachment fixed → scroll on mobile */
  .site-main section[style*="background-attachment: fixed"],
  .site-main section[style*="background-attachment:fixed"] {
    background-attachment: scroll !important;
  }

  /* Reduce section padding for inline styled sections */
  .site-main section[style*="padding:3.5rem 2rem"],
  .site-main section[style*="padding: 3.5rem 2rem"] {
    padding: 2.5rem 1.5rem !important;
  }

  /* Reduce large font sizes in inline styles */
  .site-main [style*="font-size:2.8rem"],
  .site-main [style*="font-size: 2.8rem"] {
    font-size: 2rem !important;
  }

  .site-main [style*="font-size:2.5rem"],
  .site-main [style*="font-size: 2.5rem"] {
    font-size: 1.8rem !important;
  }

  .site-main [style*="font-size:4.5rem"],
  .site-main [style*="font-size: 4.5rem"] {
    font-size: 2.5rem !important;
  }

  .site-main [style*="font-size:3.5rem"],
  .site-main [style*="font-size: 3.5rem"] {
    font-size: 2.2rem !important;
  }

  .site-main [style*="font-size: 3rem"],
  .site-main [style*="font-size:3rem"] {
    font-size: 2rem !important;
  }

  /* Fixed height images → auto height on mobile */
  .site-main img[style*="height: 550px"],
  .site-main img[style*="height:550px"] {
    height: 350px !important;
  }

  .site-main img[style*="height: 500px"],
  .site-main img[style*="height:500px"] {
    height: 300px !important;
  }

  /* Atmosphere/immersive sections */
  .site-main section[style*="height:45vh"],
  .site-main section[style*="height: 45vh"] {
    height: 30vh !important;
  }

  .site-main section[style*="height:35vh"],
  .site-main section[style*="height: 35vh"] {
    height: 25vh !important;
  }

  /* Slider heights */
  .site-main [style*="height:350px"],
  .site-main [style*="height: 350px"] {
    height: 280px !important;
  }

  .site-main [style*="height:400px"],
  .site-main [style*="height: 400px"] {
    height: 300px !important;
  }

  .site-main [style*="height:450px"],
  .site-main [style*="height: 450px"] {
    height: 300px !important;
  }
}

@media (max-width: 600px) {
  /* Mosaic → single column on small screens */
  .methode-mosaic {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }

  .methode-mosaic > div {
    height: 200px;
  }

  /* Reduce card padding on mobile */
  .da-card {
    padding: 2rem 1.5rem;
  }

  .site-main .da-card[style*="padding:3rem"],
  .site-main .da-card[style*="padding: 3rem"],
  .site-main .da-card[style*="padding:4rem"],
  .site-main .da-card[style*="padding: 4rem"] {
    padding: 2rem 1.5rem !important;
  }

  /* Section padding on small screens */
  .site-main section[style*="padding:3.5rem 2rem"],
  .site-main section[style*="padding: 3.5rem 2rem"] {
    padding: 2rem 1rem !important;
  }

  /* Hero adjustments for mobile */
  .da-hero {
    min-height: 55vh;
  }

  .da-hero__content h1 {
    font-size: 2rem;
  }

  .da-hero__content p {
    font-size: 1rem;
  }

  /* Font size reductions */
  .site-main [style*="font-size:2rem"],
  .site-main [style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }

  .site-main [style*="font-size:1.8rem"],
  .site-main [style*="font-size: 1.8rem"] {
    font-size: 1.4rem !important;
  }

  .site-main [style*="font-size:1.6rem"],
  .site-main [style*="font-size: 1.6rem"] {
    font-size: 1.3rem !important;
  }

  /* CTA buttons — full width */
  .da-btn {
    display: block;
    text-align: center;
  }

  /* Image heights on small mobile */
  .site-main img[style*="height: 550px"],
  .site-main img[style*="height:550px"] {
    height: 280px !important;
  }

  .site-main img[style*="height: 500px"],
  .site-main img[style*="height:500px"] {
    height: 250px !important;
  }

  /* Footer on mobile */
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* Fix form inputs with min-width on small screens */
  .site-main input[style*="min-width: 300px"],
  .site-main input[style*="min-width:300px"] {
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Fix flex forms on mobile */
  .site-main form[style*="display: flex"],
  .site-main form[style*="display:flex"] {
    flex-direction: column !important;
  }

  /* Formation pricing cards padding */
  .site-main div[style*="border-radius:24px; padding:3rem"] {
    padding: 2rem 1.2rem !important;
  }

  /* Pricing badge */
  .site-main div[style*="top:-14px"] {
    font-size: 0.65rem !important;
    padding: 0.4rem 1rem !important;
  }

  /* Price display */
  .site-main [style*="font-size:2.5rem"] {
    font-size: 1.8rem !important;
  }
}

/* ====== MOBILE NAV HAMBURGER ====== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom: 2px solid #C09144;
    z-index: 200;
  }

  .main-menu.menu-open {
    display: flex;
  }

  .main-menu a {
    padding: 0.6rem 0;
    font-size: 1.05rem;
  }

  /* Icon items in mobile menu — inline row */
  .main-menu .menu-icon-item {
    display: inline-flex;
  }

  .main-menu .menu-right-group {
    margin-left: 0;
    border-top: 1px solid rgba(192, 145, 68, 0.15);
    padding-top: 0.8rem;
    margin-top: 0.4rem;
  }

  .site-header .container {
    position: relative;
  }
}