/* ═══════════════════════════════════════
   Formation Lissage Academy - CSS Global
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --c-rose:      #C6A75E;
  --c-rose-dark: #A88940;
  --c-gold:      #C6A75E;
  --c-gold-light:#DFC07E;
  --c-dark:      #0B0B0B;
  --c-cream:     #F5F5F5;
  --c-light:     #FAFAFA;
  --c-pink:      #F5EDD8;
  --c-border:    #E5DECE;
  --c-text:      #2A2A2A;
  --c-muted:     #7A7468;
  --c-title:     #0B0B0B;
  --c-green:     #22c55e;
  --radius:      14px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.13);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--c-cream);
  color: var(--c-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── Topbar ── */
.topbar {
  background: #0B0B0B;
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.topbar strong { color: var(--c-gold-light); }

/* ── Nav ── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--c-rose) 0%, var(--c-rose-dark) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.nav-logo-text { font-size: 1.1rem; font-weight: 800; color: var(--c-title); line-height: 1.1; }
.nav-logo-sub { font-size: 0.65rem; color: var(--c-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
}
.nav-links a {
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--c-pink); color: var(--c-rose); }
.nav-cta a {
  background: linear-gradient(135deg, var(--c-rose) 0%, var(--c-rose-dark) 100%);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(198,167,94,0.28);
  transition: all 0.2s;
}
.nav-cta a:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(198,167,94,0.35); }

/* ── Hamburger ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: all 0.3s; }

/* ── Mobile menu ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.2rem; font-weight: 700; color: var(--c-title); padding: 8px 20px; }
.mobile-menu .btn-primary { color: #fff !important; }
.mobile-close { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--c-text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-rose) 0%, var(--c-rose-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(198,167,94,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(198,167,94,0.4); }
.btn-gold {
  background: linear-gradient(135deg, var(--c-gold) 0%, #8A6E30 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-outline-rose {
  background: transparent;
  color: var(--c-rose);
  border: 2px solid var(--c-rose);
}
.btn-outline-rose:hover { background: var(--c-pink); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-white { background: #fff; color: var(--c-rose); font-weight: 800; }
.btn-white:hover { background: var(--c-pink); }
.btn-ghost-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.15); }

/* ── Labels & titles ── */
.label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-rose);
  margin-bottom: 10px;
}
.label-gold { color: var(--c-gold); }
.section-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: var(--c-title); line-height: 1.15; margin-bottom: 16px; }
.section-sub { font-size: 0.95rem; color: var(--c-muted); max-width: 580px; line-height: 1.7; }

/* ── Hero ── */
.hero-gradient { background: linear-gradient(135deg, #0B0B0B 0%, #1A1A1A 50%, #C6A75E 100%); }

/* ── Stats ── */
.stats-wrapper { display: flex; flex-wrap: wrap; gap: 0; }
.stat-item {
  flex: 1; min-width: 120px;
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--c-border);
}
.stat-item:last-child { border-right: none; }
.stat-num { display: block; font-size: 2.4rem; font-weight: 900; color: var(--c-rose); line-height: 1; margin-bottom: 6px; }
.stat-desc { font-size: 0.78rem; color: var(--c-muted); font-weight: 500; }

/* ── Cards ── */
.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: all 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ── FAQ ── */
.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; margin-bottom: 4px; }
.faq-question, .faq-q {
  width: 100%; text-align: left; padding: 18px 24px;
  font-size: 0.92rem; font-weight: 700; color: var(--c-title);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; font-family: inherit;
}
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--c-rose); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-question:hover, .faq-q:hover { color: var(--c-rose); }
.faq-arrow { font-size: 0.75rem; color: var(--c-rose); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer, .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; font-size: 0.87rem; color: var(--c-muted); line-height: 1.7; padding: 0 24px; }
.faq-item.open .faq-answer, .faq-item.open .faq-a { max-height: 600px; padding-bottom: 20px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.87rem; color: var(--c-muted); line-height: 1.7; }

/* ── Gallery Grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 12px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(61,0,32,0.3));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item--wide { grid-column: span 1; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery-item--tall { grid-row: span 1; }
}

/* ── CTA Band ── */
.cta-band {
  background: url('images/lissage-ctaband.png') center center / cover no-repeat;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.5rem,4vw,2.2rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  background: var(--c-dark);
  color: rgba(255,255,255,0.55);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-desc { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 14px; }
.footer-certifs { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-heading { font-size: 0.72rem; font-weight: 800; color: rgba(255,255,255,0.4); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--c-gold-light); }
.footer-addr { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; margin-top: 10px; }
.footer-col h4 { font-size: 0.8rem; font-weight: 800; color: #fff; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--c-gold-light); }
.footer-contact-item { font-size: 0.82rem; margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 0.75rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--c-gold-light); }
.footer-bottom p { color: rgba(255,255,255,0.4); }

/* ── Back top ── */
.back-top {
  position: fixed; bottom: 28px; right: 24px; z-index: 995;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--c-rose) 0%, var(--c-rose-dark) 100%);
  border: none; border-radius: 50%;
  color: #fff; font-size: 1rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(198,167,94,0.35);
}
.back-top.visible { opacity: 1; pointer-events: auto; }

/* ── Lucide Icons ── */
.nav-logo-icon [data-lucide] { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.2; display: block; }
.feat-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(198,167,94,0.1), rgba(198,167,94,0.06));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feat-icon [data-lucide] { width: 26px !important; height: 26px !important; stroke: var(--c-rose); stroke-width: 1.75; display: block; }
.feat-icon--gold { background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.06)); }
.feat-icon--gold [data-lucide] { stroke: var(--c-gold); }
.feat-icon--xl { width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 16px; }
.feat-icon--xl [data-lucide] { width: 40px !important; height: 40px !important; }
.kit-icon [data-lucide] { width: 26px !important; height: 26px !important; stroke: var(--c-rose); stroke-width: 1.75; display: block; }
.icon-sm { width: 18px !important; height: 18px !important; display: block; stroke: currentColor; stroke-width: 2.2; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Badge CPF ── */
.cpf-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 2px solid var(--c-gold);
  border-radius: 50px; padding: 6px 14px;
  font-size: 0.75rem; font-weight: 800; color: var(--c-gold-light);
  letter-spacing: 0.5px;
}

/* ── Kit item ── */
.kit-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--c-border);
}
.kit-item:last-child { border-bottom: none; }
.kit-icon { font-size: 1.5rem; flex-shrink: 0; }

/* ── Programme step ── */
.prog-step { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 28px; position: relative; }
.prog-step::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: 0; width: 2px; background: var(--c-border); }
.prog-step:last-child::before { display: none; }
.prog-dot {
  min-width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--c-rose) 0%, var(--c-rose-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.8rem; font-weight: 800;
  z-index: 1;
}
.prog-marker {
  min-width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--c-rose), var(--c-rose-dark));
  border-radius: 50%; flex-shrink: 0; z-index: 1;
  box-shadow: 0 4px 12px rgba(198,167,94,0.3);
}
.prog-marker--gold { background: linear-gradient(135deg, var(--c-gold), #8A6E30); box-shadow: 0 4px 12px rgba(201,168,76,0.35); }
.prog-content { flex: 1; background: #fff; border: 1px solid var(--c-border); border-radius: 14px; padding: 20px 24px; }
.prog-time { font-size: 0.7rem; font-weight: 800; color: var(--c-rose); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.prog-title { font-size: 1rem; font-weight: 800; color: var(--c-title); margin-bottom: 6px; }
.prog-desc { font-size: 0.84rem; color: var(--c-muted); line-height: 1.7; margin: 0; }

/* ── Accordion ── */
.accord-item {
  border: 1.5px solid var(--c-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: #fff;
  transition: box-shadow 0.2s;
}
.accord-item[open] { box-shadow: 0 4px 20px rgba(198,167,94,0.1); border-color: rgba(198,167,94,0.28); }
.accord-item summary {
  list-style: none;
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-title);
  user-select: none;
  gap: 12px;
}
.accord-item summary::-webkit-details-marker { display: none; }
.accord-sum-left { display: flex; align-items: center; gap: 12px; }
.accord-icon {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(198,167,94,0.1), rgba(198,167,94,0.06));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.accord-icon [data-lucide] { width: 17px !important; height: 17px !important; stroke: var(--c-rose); stroke-width: 1.75; display: block; }
.accord-chevron { flex-shrink: 0; transition: transform 0.25s; stroke: var(--c-rose) !important; width: 18px !important; height: 18px !important; stroke-width: 2.5 !important; display: block; }
.accord-item[open] .accord-chevron { transform: rotate(180deg); }
.accord-body { padding: 4px 20px 20px 20px; }
.accord-body ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.accord-body ul li {
  font-size: 0.86rem; color: var(--c-muted); line-height: 1.6;
  display: flex; gap: 10px; align-items: flex-start;
}
.accord-body ul li::before { content: '-'; color: var(--c-rose); font-weight: 700; flex-shrink: 0; }
.accord-body p { font-size: 0.88rem; color: var(--c-muted); line-height: 1.7; }

/* ── Date card ── */
.date-card {
  background: #fff; border: 2px solid var(--c-border);
  border-radius: 20px; padding: 28px; text-align: center;
  transition: all 0.25s;
  box-shadow: var(--shadow);
}
.date-card:hover {
  border-color: var(--c-rose);
  box-shadow: 0 8px 32px rgba(198,167,94,0.18);
  transform: translateY(-3px);
}
.date-card .date-day { font-size: 2.5rem; font-weight: 900; color: var(--c-rose); line-height: 1; }
.date-card .date-month { font-size: 0.85rem; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: 1px; }
.date-card .date-city { font-size: 0.78rem; color: var(--c-muted); margin-top: 8px; }
.date-badge { font-size: 1rem; font-weight: 900; color: var(--c-rose); margin-bottom: 8px; }
.date-location { font-size: 0.88rem; font-weight: 700; color: var(--c-title); margin-bottom: 4px; }
.date-address { font-size: 0.78rem; color: var(--c-muted); margin-bottom: 10px; }
.date-spots { display: inline-flex; align-items: center; gap: 6px; background: #fef9c3; color: #92400e; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.spots-dot { width: 8px; height: 8px; border-radius: 50%; background: #f59e0b; display: inline-block; flex-shrink: 0; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

/* ── Earnings calc ── */
.calc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--c-border);
  font-size: 0.88rem; color: var(--c-text);
}
.calc-row:last-child { border-bottom: none; }
.calc-row .amount { font-weight: 800; color: var(--c-rose); font-size: 1rem; }
.calc-total {
  background: linear-gradient(135deg, var(--c-rose) 0%, var(--c-rose-dark) 100%);
  color: #fff; padding: 18px 20px; border-radius: 14px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; font-size: 1rem; margin-top: 12px;
}
.calc-total-amount { font-size: 1.6rem; font-weight: 900; color: var(--c-gold-light); }

/* ── Portfolio grid ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.portfolio-item { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow); transition: all 0.25s; }
.portfolio-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.portfolio-placeholder {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-info { padding: 16px; }
.portfolio-tag { display: inline-block; background: var(--c-pink); color: var(--c-rose); font-size: 0.7rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; margin-bottom: 8px; }
.portfolio-desc { font-size: 0.8rem; color: var(--c-muted); line-height: 1.6; margin: 0; }
.portfolio-filter {
  padding: 8px 20px; border-radius: 50px; font-size: 0.82rem; font-weight: 700;
  border: 2px solid var(--c-border); background: #fff; cursor: pointer;
  color: var(--c-text); transition: all 0.2s;
}
.portfolio-filter:hover { border-color: var(--c-rose); color: var(--c-rose); }
.portfolio-filter.active { background: var(--c-rose); border-color: var(--c-rose); color: #fff; }

/* ── Hero trust ── */
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.trust-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px; padding: 6px 14px;
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.9);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Grids hero (1fr + colonne fixe) */
  [style*="grid-template-columns:1fr 420px"],
  [style*="grid-template-columns:1fr 400px"] {
    grid-template-columns: 1fr !important;
  }
  /* Grands grids 2 colonnes (gap 60px) */
  [style*="grid-template-columns:1fr 1fr;gap:60px"] {
    grid-template-columns: 1fr !important;
  }
  /* Centrage du héro texte quand empilé (uniquement grids 420px, pas les sections centre) */
  [style*="grid-template-columns:1fr 420px"] > div:first-child {
    text-align: center;
  }
  [style*="grid-template-columns:1fr 420px"] .hero-trust,
  [style*="grid-template-columns:1fr 420px"] > div:first-child > div[style*="display:flex"] {
    justify-content: center;
  }

  /* Marseille : remettre le texte avant la carte sur mobile */
  [style*="grid-template-columns:1fr 1fr;gap:60px"] > [style*="order:2"] { order: 1 !important; }
  [style*="grid-template-columns:1fr 1fr;gap:60px"] > [style*="order:1"] { order: 2 !important; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-wrapper { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--c-border); }
  .stat-item:last-child { border-bottom: none; }

  /* Grids 2 colonnes restants → 1 colonne */
  [style*="grid-template-columns:1fr 1fr;gap:30px"],
  [style*="grid-template-columns:1fr 1fr;gap:16px"],
  [style*="grid-template-columns:1fr 1fr;gap:10px"],
  [style*="grid-template-columns:1fr 1fr;gap:24px"] {
    grid-template-columns: 1fr !important;
  }

  /* Contact : formulaire pleine largeur */
  [style*="grid-template-columns:1fr 400px"] > div:last-child {
    order: -1;
  }

  /* Buttons hero côte à côte → empilés */
  .btn-lg { width: 100%; justify-content: center; }
  .cta-band-btns .btn-lg { width: auto; }
}

/* ════════════════════════════════════════
   MARQUEE AVIS
════════════════════════════════════════ */
.reviews-marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
  mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
}
.reviews-marquee {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.reviews-marquee:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px;
  width: 300px;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
}
.review-stars { font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 1px; }
.review-text {
  font-size: 0.85rem;
  color: var(--c-text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 18px;
}
.review-author { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.9rem;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.84rem; color: var(--c-title); }
.review-loc  { font-size: 0.73rem; color: var(--c-muted); margin-top: 2px; }

/* ════════════════════════════════════════
   SECTION ÉQUIPE — pleine largeur
════════════════════════════════════════ */
.team-fullwidth {
  width: 100%;
  line-height: 0;
}
.team-fullwidth-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ════════════════════════════════════════
   BOUTON FLOTTANT — Appel téléphonique
════════════════════════════════════════ */
.float-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-rose);
  color: #fff;
  text-decoration: none;
  padding: 13px 20px 13px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 24px rgba(198,167,94,0.35);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.float-call:hover {
  background: var(--c-rose-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(198,167,94,0.4);
  color: #fff;
  text-decoration: none;
}
.float-call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  flex-shrink: 0;
  animation: ring-phone 3s ease-in-out infinite;
}
.float-call-icon svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}
@keyframes ring-phone {
  0%,100% { transform: rotate(0deg); }
  8%       { transform: rotate(-18deg); }
  16%      { transform: rotate(18deg); }
  24%      { transform: rotate(-12deg); }
  32%      { transform: rotate(12deg); }
  40%      { transform: rotate(0deg); }
}
@media (max-width: 480px) {
  .float-call span.float-call-label { display: none; }
  .float-call { padding: 13px; border-radius: 50%; }
}

/* ── Hero inner layout ── */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 8vw;
  max-width: 860px;
}
@media (max-width: 768px) {
  .hero-section {
    height: auto !important;
    min-height: 100vh;
  }
  .hero-section img {
    height: 100% !important;
    min-height: 100vh;
    position: absolute !important;
  }
  .hero-inner {
    justify-content: flex-start;
    padding: 110px 6vw 60px;
    max-width: 100%;
    height: auto;
  }
}

/* ════════════════════════════════════════
   ANTI OVERFLOW-X MOBILE — correctifs globaux
════════════════════════════════════════ */
html, body { overflow-x: hidden; }
img { max-width: 100%; }

@media (max-width: 900px) {
  /* Grilles 1fr 1fr gap:48px */
  [style*="grid-template-columns:1fr 1fr;gap:48px"] {
    grid-template-columns: 1fr !important;
  }
  /* Paris / Marseille SEO pages */
  [style*="grid-template-columns:1fr 1fr;gap:48px;align-items:start"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  /* Galerie salon 3 colonnes → 2 colonnes */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Galerie salon : grande image ne prend plus 2x2 */
  [style*="grid-template-columns:repeat(3,1fr)"] > div[style*="grid-column:span 2"] {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  /* Contact : colonne fixe 400px → pleine largeur */
  [style*="1fr 400px"] {
    grid-template-columns: 1fr !important;
  }
  /* Grilles 2 colonnes gap:32px et gap:40px */
  [style*="grid-template-columns:1fr 1fr;gap:32px"],
  [style*="grid-template-columns:1fr 1fr;gap:40px"],
  [style*="grid-template-columns:1fr 1fr;gap:20px"] {
    grid-template-columns: 1fr !important;
  }
  /* Sections dates/grids auto-fit minmax(200px) trop large */
  [style*="minmax(200px"] {
    grid-template-columns: 1fr 1fr !important;
  }
  /* Bouton flottant : cacher le texte, garder icône */
  .float-call-text { display: none; }
  .float-call { padding: 13px; }
}
