/* ========================================
   MPC CLINIQUE — Feuille de style principale
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ---- Variables ---- */
:root {
  --green-primary: #04371A;
  --green-accent:  #009A3A;
  --dark-bg:       #0C0404;
  --light-bg:      #FAFAFA;
  --cream:         #F2EFE7;
  --text-dark:     #1E1E1E;
  --text-mid:      #5A5A5A;
  --whatsapp:      #25D366;
  --stars:         #FFC107;
  --border:        #E5E8ED;

  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 120px;

  --size-xs:   11px; --size-sm: 13px; --size-base: 16px;
  --size-md:   18px; --size-lg: 22px; --size-xl:   28px;
  --size-2xl:  40px; --size-3xl: 52px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.07);
  --shadow-md: 0 8px 28px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 56px rgba(0,0,0,.18);

  --radius:      12px;
  --radius-pill: 100px;
  --max-w:       1300px;
  --font:        'Montserrat', sans-serif;
  --t:           0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: var(--size-base); font-weight: 400; line-height: 1.7; color: var(--text-dark); background: var(--light-bg); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-5); }
.section-pad { padding: var(--sp-8) 0; }

/* ---- Tags ---- */
.tag {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: var(--sp-2);
}
.tag--light { color: rgba(255,255,255,.5); }

/* ---- Section headers ---- */
.section-header { text-align: center; margin-bottom: var(--sp-6); }
.section-header h2 { margin-bottom: var(--sp-2); }
.section-header p  { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: var(--size-sm); font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  transition: var(--t); border: 2px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--green-accent); color: #fff; }
.btn-primary:hover { background: #007a2e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,154,58,.3); }
.btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover  { background: #fff; color: var(--green-primary); border-color: #fff; }
.btn-dark     { background: var(--green-primary); color: #fff; }
.btn-dark:hover     { background: #022d14; transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* ---- Fade-in ---- */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ============ HEADER ============ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
#header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.1); }
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-5);
  height: 76px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo img { height: 48px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: var(--size-sm); font-weight: 600; color: var(--text-dark);
  position: relative; transition: color var(--t);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 2px; background: var(--green-accent); transition: width .25s;
}
.nav-links a:hover { color: var(--green-accent); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--green-accent) !important; color: #fff !important;
  padding: 9px 22px; border-radius: var(--radius-pill);
  font-size: var(--size-sm); font-weight: 700;
  transition: background var(--t) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #007a2e !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; background: #fff;
  border-top: 1px solid var(--border); padding: 0 var(--sp-4);
}
.mobile-nav a {
  padding: 15px 0; font-size: var(--size-base); font-weight: 600;
  border-bottom: 1px solid var(--border); color: var(--text-dark);
  transition: color var(--t);
}
.mobile-nav a:hover { color: var(--green-accent); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav.open { display: flex; }

/* ============ HERO ============ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--dark-bg); position: relative;
  padding-top: 76px; overflow: hidden;
}
/* Desktop : wrap = invisible, video en fond absolu */
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-overlay { display: none; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
#hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(125deg, rgba(4,55,26,.18) 0%, rgba(4,55,26,.08) 45%, rgba(12,4,4,.04) 100%);
}
#hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 280px; z-index: 1;
  background: linear-gradient(to top, rgba(4,55,26,.75), transparent);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 740px; padding: var(--sp-7) 0;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,154,58,.2); border: 1px solid rgba(0,154,58,.35);
  border-radius: var(--radius-pill); padding: 6px 16px;
  font-size: var(--size-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #6DEFAA; margin-bottom: var(--sp-3);
}
.hero-inner h1 {
  font-size: var(--size-3xl); font-weight: 800; color: #fff;
  line-height: 1.1; margin-bottom: var(--sp-3); letter-spacing: -.02em;
}
.hero-inner h1 em { font-style: normal; color: #5DEBA5; }
.hero-inner > p {
  font-size: var(--size-md); color: rgba(255,255,255,.82);
  margin-bottom: var(--sp-5); max-width: 580px; line-height: 1.8;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px); border-radius: var(--radius-pill);
  padding: 7px 16px; font-size: var(--size-sm); font-weight: 500;
  color: rgba(255,255,255,.88);
}
.hero-chip svg { width: 14px; height: 14px; color: #5DEBA5; flex-shrink: 0; }

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.4); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  animation: bounce-scroll 2.5s ease infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }
@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .4; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: .8; }
}

/* ============ STATS ============ */
#stats { background: var(--green-primary); padding: var(--sp-3) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat-item {
  text-align: center; padding: var(--sp-3) var(--sp-4);
  border-right: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
}
.stat-item:last-child { border-right: none; }
.stat-divider { display: none; }
.stat-number {
  font-size: 38px; font-weight: 800; color: #fff;
  line-height: 1; letter-spacing: -.02em; flex-shrink: 0;
  transition: transform .3s ease;
}
.stat-item:hover .stat-number { transform: scale(1.08); }
.stat-label {
  font-size: var(--size-sm); font-weight: 500;
  color: rgba(255,255,255,.7); text-align: left;
  max-width: 160px; line-height: 1.4;
}

/* ============ CONFIANCE ============ */
#confiance { background: var(--light-bg); }
.confiance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.confiance-text h2 { font-size: var(--size-2xl); font-weight: 800; color: var(--dark-bg); line-height: 1.15; margin-bottom: var(--sp-3); }
.confiance-text p { color: var(--text-mid); margin-bottom: var(--sp-3); line-height: 1.8; }
.confiance-text p strong { color: var(--text-dark); }
.confiance-text .btn { margin-top: var(--sp-2); }
.confiance-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.confiance-img img { width: 100%; height: 520px; object-fit: cover; }

/* ============ BEFORE/AFTER SLIDER ============ */
.before-after-slider {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  box-shadow: var(--shadow-lg);
  height: 520px;
}
.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
}
.ba-after img,
.ba-before img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  draggable: false;
}
.ba-before {
  width: 50%;
  overflow: hidden;
}
.ba-before img {
  width: auto;
  min-width: 100%;
  max-width: none;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}
.ba-handle-line {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,.7);
}
.ba-handle-line:last-child { display: none; }
.ba-handle-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  flex-shrink: 0;
  margin-bottom: var(--sp-3);
}
.ba-handle-btn svg {
  width: 20px; height: 20px;
  color: var(--green-primary);
}
.ba-label {
  position: absolute;
  top: var(--sp-2);
  font-size: var(--size-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  background: rgba(0,0,0,.45);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.ba-label--left  { left: var(--sp-2); }
.ba-label--right { right: var(--sp-2); }

/* ============ AVANTAGES ============ */
#avantages { background: var(--dark-bg); }
.avantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.avantage-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: var(--sp-5) var(--sp-4);
  transition: background var(--t), transform var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.avantage-card::after {
  content: attr(data-num);
  position: absolute; top: -8px; right: 14px;
  font-size: 88px; font-weight: 800;
  color: rgba(255,255,255,.04); line-height: 1;
  pointer-events: none; font-family: var(--font);
}
.avantage-card:hover { background: rgba(0,154,58,.14); border-color: rgba(0,154,58,.3); transform: translateY(-5px); }
.avantage-icon {
  width: 52px; height: 52px; background: rgba(0,154,58,.18);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3); transition: background var(--t);
}
.avantage-card:hover .avantage-icon { background: rgba(0,154,58,.32); }
.avantage-icon svg { width: 26px; height: 26px; color: var(--green-accent); }
.avantage-card h3 { font-size: var(--size-base); font-weight: 700; color: #fff; margin-bottom: var(--sp-1); }
.avantage-card p { font-size: var(--size-sm); color: rgba(255,255,255,.58); line-height: 1.75; }

/* ============ DÉFINITION ============ */
#definition { background: var(--cream); }
.definition-inner { display: grid; grid-template-columns: 1.8fr 1fr; gap: var(--sp-6); align-items: start; }
.definition-text-block { margin-bottom: var(--sp-6); }
.definition-text-block h2 { font-size: var(--size-2xl); font-weight: 800; color: var(--dark-bg); margin-bottom: var(--sp-3); line-height: 1.15; }
.definition-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-bottom: var(--sp-2); }
.definition-cols p { color: var(--text-mid); line-height: 1.85; }
.definition-cols p strong { color: var(--text-dark); }
.definition-text h2 { font-size: var(--size-2xl); font-weight: 800; color: var(--dark-bg); margin-bottom: var(--sp-3); line-height: 1.15; }
.definition-text p { margin-bottom: var(--sp-2); color: var(--text-mid); line-height: 1.85; font-size: var(--size-md); }
.definition-text p strong { color: var(--text-dark); }
.definition-video { border-radius: 20px; overflow: hidden; background: var(--dark-bg); box-shadow: var(--shadow-lg); }
.definition-video--full { max-width: 100%; }
.definition-video-cta { padding: var(--sp-3) var(--sp-4); background: var(--dark-bg); display: flex; justify-content: center; }
.definition-video-label {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: var(--green-primary);
  color: #fff; font-size: var(--size-sm); font-weight: 700;
  letter-spacing: .02em;
}
.video-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.video-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ============ VISAGISME ============ */
#visagisme { background: var(--green-primary); }
.visagisme-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.visagisme-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.visagisme-img img { width: 100%; height: 480px; object-fit: cover; }
.visagisme-text h2 { font-size: var(--size-2xl); font-weight: 800; color: #fff; margin-bottom: var(--sp-3); line-height: 1.15; }
.visagisme-text p { color: rgba(255,255,255,.78); margin-bottom: var(--sp-3); line-height: 1.8; }

/* ============ PATCH TEST ============ */
#patch-test { background: var(--light-bg); }
.patch-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.patch-content { text-align: left; }
.patch-big { font-size: 96px; font-weight: 800; color: var(--green-primary); line-height: 1; letter-spacing: -.04em; margin-bottom: var(--sp-2); }
#patch-test h2 { font-size: var(--size-xl); font-weight: 700; color: var(--dark-bg); margin-bottom: var(--sp-3); line-height: 1.3; }
#patch-test p { color: var(--text-mid); margin-bottom: var(--sp-5); line-height: 1.85; }
.patch-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.patch-img img { width: 100%; height: 480px; object-fit: cover; display: block; }

/* ============ TRAITEMENTS ============ */
#traitements { background: var(--dark-bg); }
.traitements-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.traitement-card {
  border-radius: var(--radius); overflow: hidden;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.traitement-card:hover { transform: translateY(-7px); border-color: rgba(0,154,58,.4); box-shadow: 0 24px 56px rgba(0,0,0,.45); }
.traitement-card-img { position: relative; overflow: hidden; }
.traitement-card img { width: 100%; height: 240px; object-fit: cover; transition: transform .5s ease; }
.traitement-card:hover img { transform: scale(1.07); }
.traitement-card-body { padding: var(--sp-3) var(--sp-4); flex: 1; display: flex; flex-direction: column; }
.traitement-card h3 { font-size: var(--size-base); font-weight: 700; color: #fff; margin-bottom: var(--sp-1); line-height: 1.4; }
.traitement-card p { font-size: var(--size-sm); color: rgba(255,255,255,.58); flex: 1; line-height: 1.75; }

/* ============ TÉMOIGNAGES ============ */
#temoignages { background: var(--light-bg); }
.testimonial-carousel { position: relative; overflow: hidden; }
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  transform: none !important;
}
.testimonial-card {
  background: #fff; border-radius: var(--radius); padding: var(--sp-3);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--sp-1);
  transition: box-shadow var(--t), transform var(--t);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.testimonial-header { display: flex; align-items: center; gap: var(--sp-2); }
.testimonial-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--green-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testimonial-header h4 { font-size: var(--size-sm); font-weight: 700; color: var(--dark-bg); margin-bottom: 2px; }
.stars { color: var(--stars); font-size: 13px; }
.quote-icon img { width: 20px; opacity: .25; }
.testimonial-content {
  font-size: 12px; color: #666; font-style: italic; line-height: 1.65; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
}
.carousel-controls { display: none; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; display: flex; align-items: center; justify-content: center;
  transition: var(--t); box-shadow: var(--shadow-sm);
}
.carousel-btn:hover { border-color: var(--green-accent); color: var(--green-accent); box-shadow: var(--shadow-md); }
.carousel-btn svg { width: 17px; height: 17px; }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
  border: none; transition: background var(--t), transform var(--t); cursor: pointer;
}
.carousel-dot.active { background: var(--green-accent); transform: scale(1.4); }

/* ============ FAQ ============ */
#faq { background: var(--dark-bg); }
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--sp-3); padding: var(--sp-3) 0; cursor: pointer;
  font-size: var(--size-base); font-weight: 600; color: rgba(255,255,255,.88);
  transition: color var(--t); background: none; border: none; width: 100%; text-align: left;
}
.faq-question:hover { color: var(--green-accent); }
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--t);
}
.faq-icon svg { width: 13px; height: 13px; color: rgba(255,255,255,.55); transition: transform .3s; }
.faq-item.open .faq-icon { border-color: var(--green-accent); background: rgba(0,154,58,.15); }
.faq-item.open .faq-icon svg { color: var(--green-accent); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; font-size: var(--size-sm); color: rgba(255,255,255,.62); line-height: 1.9; }
.faq-answer-inner { padding: 0 0 var(--sp-3); }
.faq-answer-inner ul { padding-left: var(--sp-3); list-style: disc; margin-top: var(--sp-1); }
.faq-answer-inner li { margin-bottom: 6px; }
.faq-item.open .faq-answer { max-height: 600px; }

/* ============ BLOG ============ */
#blog-apercu { background: var(--cream); }
.blog-header { text-align: center; margin-bottom: var(--sp-6); }
.blog-header h2 { font-size: var(--size-2xl); font-weight: 800; color: var(--dark-bg); margin-bottom: var(--sp-2); }
.blog-header p { color: var(--text-mid); max-width: 520px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  text-decoration: none; color: inherit; border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.blog-card-img { overflow: hidden; height: 200px; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: var(--sp-3) var(--sp-4); flex: 1; display: flex; flex-direction: column; }
.blog-category { font-size: var(--size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--green-accent); margin-bottom: 10px; }
.blog-card h3 { font-size: var(--size-base); font-weight: 700; color: var(--dark-bg); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: var(--size-sm); color: var(--text-mid); flex: 1; margin-bottom: var(--sp-2); line-height: 1.7; }
.blog-link { font-size: var(--size-sm); font-weight: 700; color: var(--green-accent); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--t); }
.blog-card:hover .blog-link { gap: 10px; }
.blog-footer { text-align: center; margin-top: var(--sp-5); }

/* ============ CONTACT CTA ============ */
#contact-cta { background: var(--green-primary); position: relative; overflow: hidden; }
#contact-cta::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(255,255,255,.05); right: -100px; bottom: -100px; pointer-events: none; }
#contact-cta::after  { content: ''; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.05); left: 80px; top: -80px; pointer-events: none; }
.contact-cta-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.contact-cta-inner h2 { font-size: var(--size-2xl); font-weight: 800; color: #fff; margin-bottom: var(--sp-2); line-height: 1.2; }
.contact-cta-inner p { color: rgba(255,255,255,.78); font-size: var(--size-md); margin-bottom: var(--sp-5); line-height: 1.75; }
.contact-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }

/* ============ FOOTER ============ */
footer { background: #080808; color: rgba(255,255,255,.65); padding: var(--sp-7) 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.footer-brand img { height: 44px; margin-bottom: var(--sp-3); filter: brightness(0) invert(1); }
.footer-brand p { font-size: var(--size-sm); line-height: 1.85; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-socials { display: flex; gap: 10px; margin-top: var(--sp-3); }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t); color: rgba(255,255,255,.5);
}
.footer-social:hover { border-color: var(--green-accent); color: var(--green-accent); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 { font-size: var(--size-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: var(--sp-3); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: var(--size-sm); color: rgba(255,255,255,.52); transition: color var(--t); }
.footer-col ul a:hover { color: var(--green-accent); }
.footer-col .contact-info li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.52); margin-bottom: 14px; font-size: var(--size-sm); }
.footer-col .contact-info svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 3px; color: var(--green-accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding: var(--sp-3) 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-2); font-size: var(--size-xs); }
.footer-bottom span { color: rgba(255,255,255,.32); }
.footer-bottom-links { display: flex; gap: var(--sp-3); }
.footer-bottom-links a { color: rgba(255,255,255,.4); transition: color var(--t); }
.footer-bottom-links a:hover { color: var(--green-accent); }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; }
.whatsapp-float-btn {
  width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.45); animation: pulse-wa 2.5s ease infinite; position: relative;
}
.whatsapp-float-btn::before { content: ''; position: absolute; border-radius: 50%; border: 3px solid var(--whatsapp); animation: pulse-ring 2s ease-out infinite; }
.whatsapp-float-btn img { width: 30px; }
@keyframes pulse-wa  { 0%,100%{transform:scale(1)} 50%{transform:scale(1.07)} }
@keyframes pulse-ring { 0%{padding:20px;opacity:.6} 80%{padding:42px;opacity:0} 100%{opacity:0} }

/* ============ PAGE BANNER ============ */
.page-banner { background: var(--dark-bg); padding: 140px 0 80px; text-align: center; }
.page-banner h1 { font-size: 48px; font-weight: 800; color: #fff; margin-bottom: var(--sp-2); letter-spacing: -.01em; }
.page-banner p { font-size: var(--size-md); color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: var(--size-sm); color: rgba(255,255,255,.45); margin-top: var(--sp-2); }
.breadcrumb a { color: var(--green-accent); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ============ TÉMOIGNAGE AVANT/APRÈS ============ */
.temoignage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.temoignage-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.temoignage-img img { width: 100%; height: 500px; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .temoignage-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .temoignage-img img { height: 320px; }
}

/* ============ GALLERY ============ */
#gallery { background: var(--light-bg); }
.gallery-intro { text-align: center; margin-bottom: var(--sp-6); }
.gallery-intro h2 { font-size: var(--size-2xl); font-weight: 800; color: var(--dark-bg); margin-bottom: var(--sp-2); }
.gallery-intro p { color: var(--text-mid); max-width: 540px; margin: 0 auto; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 320px; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(4,55,26,.8) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: var(--sp-3);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: #fff; font-size: var(--size-sm); font-weight: 600; }

/* ============ CONTACT PAGE ============ */
#contact-page { background: var(--light-bg); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--sp-5); align-items: start; }
.contact-info-card { background: var(--green-primary); border-radius: 20px; padding: var(--sp-5); color: #fff; position: relative; overflow: hidden; }
.contact-info-card::before { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.07); right: -60px; bottom: -60px; pointer-events: none; }
.contact-info-card h2 { font-size: var(--size-xl); font-weight: 800; margin-bottom: var(--sp-1); }
.contact-info-card > p { color: rgba(255,255,255,.72); margin-bottom: var(--sp-5); font-size: var(--size-sm); }
.contact-detail { display: flex; gap: var(--sp-2); align-items: flex-start; margin-bottom: var(--sp-4); position: relative; z-index: 1; }
.contact-detail-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail-icon svg { width: 20px; height: 20px; color: #fff; }
.contact-detail-text h4 { font-size: var(--size-xs); font-weight: 600; opacity: .65; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; }
.contact-detail-text p { font-size: var(--size-sm); font-weight: 600; }
.contact-form-card { background: #fff; border-radius: 20px; padding: var(--sp-5) var(--sp-6); box-shadow: var(--shadow-md); }
.contact-form-card h2 { font-size: var(--size-xl); font-weight: 800; color: var(--dark-bg); margin-bottom: var(--sp-1); }
.contact-form-card > p { color: var(--text-mid); margin-bottom: var(--sp-5); font-size: var(--size-sm); }
.form-row { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.form-row .form-group { flex: 1; margin-bottom: 0; }
.form-group { margin-bottom: var(--sp-3); }
.form-group label { display: block; font-size: var(--size-xs); font-weight: 700; color: var(--text-dark); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .07em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: #F4F4F4; border: 1.5px solid transparent;
  border-radius: 10px; padding: 13px 18px; font-family: var(--font);
  font-size: var(--size-base); color: var(--text-dark); outline: none;
  transition: border-color var(--t), background var(--t);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green-primary); background: #fff; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #ADADAD; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  background: var(--green-primary); color: #fff; border: none;
  border-radius: var(--radius-pill); padding: 15px 40px; font-family: var(--font);
  font-size: var(--size-sm); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; cursor: pointer; transition: background var(--t), transform var(--t); width: 100%;
}
.form-submit:hover { background: #022d14; transform: translateY(-1px); }

/* ============ RESPONSIVE ============ */

/* Tablette large */
@media (max-width: 1100px) {
  :root { --size-3xl: 44px; }
  .avantages-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
}

/* Tablette */
@media (max-width: 900px) {
  :root { --sp-8: 80px; --sp-7: 56px; }
  .confiance-grid, .definition-inner, .visagisme-inner, .definition-cols, .temoignage-grid, .patch-layout { grid-template-columns: 1fr; gap: var(--sp-4); }
  .visagisme-img { order: 0; }
  /* Stats — fond blanc, bulles alignées */
  #stats { background: var(--light-bg); box-shadow: none; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .stat-item {
    padding: 20px 6px; flex-direction: column;
    align-items: center; justify-content: flex-start;
    gap: 10px; border-right: none; border-bottom: none;
  }
  .stat-item:last-child { border-right: none; }
  .stat-number {
    width: 68px; height: 68px; border-radius: 50%;
    background: linear-gradient(135deg, #5DEBA5 0%, var(--green-primary) 100%);
    color: #fff;
    font-size: 17px; font-weight: 800; letter-spacing: -.01em;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 154, 58, 0.25);
  }
  .stat-item:hover .stat-number { transform: none !important; }
  .stat-label {
    font-size: 10.5px; color: #444; font-weight: 700;
    text-align: center; max-width: 100%; line-height: 1.35;
  }
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .traitements-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-track { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .confiance-img img, .temoignage-img img { height: 360px; }
  .visagisme-img img { height: 320px; }
  .patch-img img { height: 320px; }
  .gallery-item img { height: 260px; }
  .before-after-slider { height: 360px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --sp-8: 56px; --sp-7: 44px; --size-2xl: 28px; }

  /* Mots longs */
  p, a, span, li { overflow-wrap: break-word; word-break: break-word; }
  h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: none; }
  .definition-text h2 { font-size: 22px; line-height: 1.3; }

  /* Header */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 var(--sp-3); }

  /* Hero : vidéo 16/9 + texte dessous */
  #hero { flex-direction: column; min-height: unset; align-items: stretch; padding-top: 76px; }
  #hero::before, #hero::after { display: none; }

  /* Wrapper vidéo mobile : static, agrandi de 20%, centré */
  .hero-video-wrap {
    position: relative !important;
    inset: unset !important;
    width: 100%;
    height: 84vw; /* +15% supplémentaire */
    overflow: hidden;
    flex-shrink: 0;
  }
  .hero-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .hero-video-overlay { display: none; }
  #hero .container { background: var(--green-primary); padding-top: var(--sp-4); padding-bottom: var(--sp-5); }
  .hero-inner { padding: 0; max-width: 100%; }
  .hero-inner h1 { font-size: 24px; margin-bottom: var(--sp-2); }
  .hero-inner > p { font-size: var(--size-sm); margin-bottom: var(--sp-3); }
  .hero-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: var(--sp-3); }
  .hero-btns .btn { justify-content: center; padding: 11px 8px; font-size: 11px; }
  .hero-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    align-items: stretch;
  }
  .hero-chip {
    font-size: 10.5px; padding: 8px 10px;
    justify-content: flex-start; align-items: center;
    white-space: normal; line-height: 1.3;
    width: 100%; height: 100%;
  }
  .hero-chip svg { width: 12px; height: 12px; flex-shrink: 0; }
  .hero-scroll { display: none; }

  /* Layout */
  .container { padding: 0 var(--sp-3); }
  .section-pad { padding: var(--sp-7) 0; }

  /* Grilles */
  .avantages-grid { grid-template-columns: repeat(2, 1fr); }
  .traitements-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .testimonial-track { grid-template-columns: 1fr; }
  .patch-layout { grid-template-columns: 1fr; }

  /* Images */
  .confiance-img img { height: 260px; }
  .visagisme-img img { height: 260px; }
  .temoignage-img img { height: 260px; }
  .patch-img img { height: 260px; }
  .gallery-item img { height: 220px; }
  .before-after-slider { height: 280px; }
  .traitement-card img { height: 200px; }
  .blog-card-img { height: 160px; }

  /* Slider avant/après */
  .ba-handle-btn { width: 40px; height: 40px; }

  /* Patch test */
  .patch-big { font-size: 60px; }

  /* Contact CTA */
  .contact-cta-inner h2 { font-size: 24px; }
  .contact-cta-btns { flex-direction: column; align-items: stretch; }
  .contact-cta-btns .btn { justify-content: center; }

  /* Formulaire */
  .form-row { flex-direction: column; gap: 0; }
  .contact-form-card { padding: var(--sp-3); }
  .contact-info-card { padding: var(--sp-3); }

  /* Page bannière */
  .page-banner { padding: 100px 0 48px; }
  .page-banner h1 { font-size: 26px; }
  .page-banner p { font-size: var(--size-base); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  /* Sections texte/image */
  .definition-cols { grid-template-columns: 1fr; }
  .definition-inner { grid-template-columns: 1fr; }

  /* Témoignages */
  .testimonial-card { padding: var(--sp-2) var(--sp-3); }

  /* Vidéo embed */
  .video-embed-wrap iframe { min-height: 200px; }
}

/* Petit mobile */
@media (max-width: 480px) {
  :root { --sp-8: 44px; --sp-7: 36px; --size-2xl: 24px; }
  .avantages-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stat-item { gap: 8px; padding: 16px 4px; }
  .stat-number { width: 60px; height: 60px; font-size: 15px; }
  .stat-label { font-size: 10px; }
  .patch-big { font-size: 48px; }
  .hero-inner h1 { font-size: 20px; }
  .footer-brand p { max-width: 100%; }
  .section-header h2, #patch-test h2 { font-size: 22px; }
  .contact-cta-inner h2 { font-size: 22px; }
  .btn { padding: 12px 16px; font-size: 12px; }
  .page-banner h1 { font-size: 22px; }
  .before-after-slider { height: 220px; }
  .gallery-item img { height: 200px; }
  .traitement-card img { height: 180px; }
}
