/* ============================================================
   DERMACURE – Clinique médico-esthétique
   CSS Pixel-Perfect – Poppins + Plus Jakarta Sans
   ============================================================ */

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

:root {
  /* Colors */
  --blue-primary: #0097D6;
  --blue-dark: #1A9EC8;
  --blue-light: #E8F8FD;
  --blue-mid: #D0EFFB;
  --navy: #0D1B2A;
  --navy-mid: #132334;
  --navy-light: #1C3048;
  --text-dark: #1A2B3C;
  --text-body: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
  --bg-light: #F7FCFE;

  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-py: 90px;
  --container: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  /* Correspond au pixel exact du bord supérieur de banner_hero.png
     → topbar + navbar flottent visuellement dans le même espace hero */
  background: #e0f3fc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

ul {
  padding: 0;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all .25s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.partRight {
  width: 50%;
}

.zones__inner {
  display: flex;
  justify-content: flex-end;
}

.btn--primary {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
}

.tech .btn--primary {
  background: #000;
  border-color: #000;
}

.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43, 189, 232, .35);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn--outline-dark:hover {
  background: var(--text-dark);
  color: var(--white);
}

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

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
}
.btn:hover{color:#fff}
/* ─── SECTION TAG ───────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.section-tag--light {
  color: #0099DA;
}

.section-tag--center {
  display: block;
  text-align: center;
}

/* ════════════════════════════════════════════════════════════
   TOPBAR
   ════════════════════════════════════════════════════════════ */
.topbar {
  padding: 8px 0;
  background: transparent;
  /* hérite du body #D1EDF9 → continuité hero */
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.topbar__phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  color: #074372;
  font-weight: 600;
}

.topbar__socials {
  display: flex;
  border-left: solid 1px #074372;
  margin-left: 10px;
  padding-left: 5px;
}

.topbar__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #074372;
  transition: background .2s;
}

.topbar__social-link:hover {
  background: var(--blue-primary);
  color: var(--white);
}

/* ════════════════════════════════════════════════════════════
   NAVBAR  — sticky fixe + scroll-spy + burger mobile
   ════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
  border-radius: 50px;
  padding: 0 20px;
  /* petit espace sous la topbar, puis hero démarre directement */
  margin: 6px 20px 0;
  transition: box-shadow .3s, background .3s;
  max-width: 1280px;
  margin: 0 auto;
}

.navbar__inner {
  display: flex;
  max-width: 1280px;
}

/* Ombre renforcée au scroll */
.navbar--scrolled {
  box-shadow: 0 6px 32px rgba(0, 0, 0, .14);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Une fois la topbar scrollée, la navbar remonte coller le haut */
  top: 6px;
}


.navbar__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 10px;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.navbar__link {
  font-size: 18px;
  font-weight: 500;
  color: #0097D6;
  transition: color .2s;
  position: relative;
  white-space: nowrap;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--blue-primary);
}

/* Indicateur actif */
.navbar__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 2px;
}

.navbar__cta {
  margin-left: 16px;
}

/* ── Burger ─────────────────────────────────────────────── */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 6px;
  width: 36px;
  height: 36px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
  transform-origin: center;
}

/* Burger → X animé */
.burger--active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger--active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  background: url(img/banner_hero.png) bottom center no-repeat;
  background-size: cover;
  overflow: visible;
  /* permet au scroll-circle de déborder en bas */
  margin-top: 0;
  padding: 75px 0 30px;
  /* padding-bottom réduit — le circle dépasse */
}

.hero__inner {
  display: flex;
  padding-bottom: 0;
  position: relative;
  flex-direction: row;
  justify-content: space-between;
}



.hero__content {
  flex: 0 0 50%;
  max-width: 340px;
  padding-bottom: 50px;
}

.hero__content p {
  max-width: 290px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 34px;
  font-family: var(--font-secondary);
  font-weight: 800;
  line-height: 1.15;
  color: #008AC4;
  margin-bottom: 18px;
}

.hero__badges {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__badge {
  padding: 5px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  background: var(--blue-primary);
  color: var(--white);
  letter-spacing: .5px;
}

.hero__badge--outline {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__image {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
}

.hero__image img {
  width: 100%;
  max-width: 660px;
  height: auto;
  object-fit: contain;
  object-position: bottom;
}

/* ════════════════════════════════════════════════════════════
   SCROLL CIRCLE — hero bottom-right
   ════════════════════════════════════════════════════════════ */
.scroll-circle {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #2BBDE8;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background .3s, border-color .3s, transform .3s;
}

.scroll-circle:hover {
  background: rgba(255, 255, 255, .80);
  border-color: #2BBDE8;
  transform: scale(1.06);
}

/* Texte SVG circulaire — rotation continue */
.scroll-circle__text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin-circle 12s linear infinite;
  color: #2BBDE8;
}

@keyframes spin-circle {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Flèche centrale — rebond vertical */
.scroll-circle__arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2BBDE8;
  animation: bounce-arrow 1.6s ease-in-out infinite;
}

@keyframes bounce-arrow {

  0%,
  100% {
    transform: translateY(-3px);
  }

  50% {
    transform: translateY(3px);
  }
}

/* ════════════════════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════════════════════ */
.about {
  padding: 40px 0 0 0;
  background: var(--white);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about__content {
  flex: 1;
  margin-bottom: 20px;
}

.about__title {
  font-family: var(--font-secondary);
  font-size: 42px;
  font-weight: 800;
  color: #000;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about__text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__content .btn {
  margin-top: 10px;
}

.about__image {}

/* ════════════════════════════════════════════════════════════
   ZONES D'INTERVENTION
   ════════════════════════════════════════════════════════════ */
.zones {
  padding: 70px 0;
  background-size: cover;
  background-position: center;
  background-color: #1B9EC4;
	background-attachment: fixed;
}

.zones__title {
  font-family: var(--font-secondary);
  font-size: 42px;
  font-weight: 900;
  color: #000000;
  margin-bottom: 30px;
}

.zones__grid {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 20px;
}

.zones__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .6);
  border-radius: 16px;
  padding: 20px 5px;
  transition: background .2s;
  text-align: center;
  line-height: 20px;
}

.zones__item:hover {
  background: #fff;
}

.zones__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zones__item span {
  font-size: 18px;
  font-weight: 500;
  color: #0099DA;
  text-align: center;
  line-height: 1.4;
}

/* ════════════════════════════════════════════════════════════
   INJECTIONS
   ════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   INJECTIONS – CAROUSEL  (fond bleu vif, pixel-perfect)
   ════════════════════════════════════════════════════════════ */

.injections {
  padding: 80px 0;
  background: #019ADB;
  /* bleu vif exact maquette */
  position: relative;
  overflow: hidden;
}

/* --- Header --- */
.injections__inner {
  position: relative;
}

.injections__header {
  text-align: center;
  margin-bottom: 52px;
}

.injections__pretitle {
  display: block;
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 10px;
}

.injections__title {
  font-family: var(--font-secondary);
  font-size: 46px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.injections__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, .9);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* --- Carousel wrapper --- */
.inj-carousel {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 52px;
  position: relative;
}

/* Arrow buttons */
.inj-carousel__arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .8);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, opacity .2s;
  z-index: 2;
  margin: 0 20px;
}

.inj-carousel__arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, .2);
  border-color: var(--white);
}

.inj-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Viewport – clips to 2 slides */
.inj-carousel__viewport {
  flex: 1;
  overflow: hidden;
}

/* Track – slides in a row */
.inj-carousel__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.inj-carousel__slide {
  flex: 0 0 50%;
  /* 2 visible at once */
  padding: 0 14px;
  box-sizing: border-box;
}

/* --- Card --- */


.inj-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.inj-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .4s;
  border-radius: 20px;
}

.inj-card:hover .inj-card__img-wrap img {
  transform: scale(1.03);
}

.inj-card__body {
  padding: 20px 0;
}

.inj-card__title {
  font-family: var(--font-secondary);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.inj-card__text {
  font-family: var(--font-primary);
  font-size: 14.5px;
  color: #fff;
  line-height: 1.72;
  margin-bottom: 24px;
}

.inj-card__divider {
  height: 6px;
  background: #fff;
}

/* --- CTA --- */
.injections__cta {
  text-align: center;
}

.inj-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 15px 36px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}

.inj-btn-cta:hover {
  background: #1a2f42;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

/* ════════════════════════════════════════════════════════════
   SOINS DE LA PEAU
   ════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   SOINS DE LA PEAU
   ════════════════════════════════════════════════════════════ */
.soins {
  padding: var(--section-py) 0;
  background: var(--white);
}

.soins__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.soins__content {
  flex: 1;
  padding-top: 4px;
}

/* Titre grand bold noir — pixel perfect maquette */
.soins__title {
  font-family: var(--font-secondary);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 18px;
  line-height: 1.2;
}

.soins__text {
  font-size: 16px;
  color: #000;
  line-height: 1.75;
  margin-bottom: 32px;
}

/* Image droite */
.soins__image {
  border-radius: 0;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   ACCORDION PARTAGÉ (soins + antiage)
   ════════════════════════════════════════════════════════════ */
.acc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 480px;
}

.acc-item {
  position: relative;
}

/* Header cliquable */
.acc-item__header {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 16px 0 0;
  cursor: pointer;
  text-align: left;
  outline: none;
}


.acc-item__meta {
  display: flex;
  flex-direction: row;
  gap: 2px;
  flex: 1;
  justify-content: space-between;

}

.acc-item__label {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.acc-item__toggle {
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
  transition: transform .25s, color .2s;
  display: inline-block;
}

.acc-item__header[aria-expanded="true"] .acc-item__toggle {
  color: var(--blue-primary);
}

/* Corps accordéon */
.acc-item__body {
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  transition: max-height .35s cubic-bezier(.4, 0, .2, 1),
    padding-bottom .35s ease;
  margin-bottom: 15px;
  /* aligne avec le texte */
}

.acc-item__body p {
  font-size: 15px;
  color: #000;
}

/* Ligne séparatrice bleue fine */
.acc-item__line {
  height: 1px;
  background: #B8E8F8;
  margin: 0;
}

/* Ligne bleue plus marquée sous le dernier item ouvert */
.acc-item__header[aria-expanded="true"]+.acc-item__body+.acc-item__line {
  background: var(--blue-primary);
}

/* ════════════════════════════════════════════════════════════
   TRAITEMENTS ANTI-ÂGE
   ════════════════════════════════════════════════════════════ */
.antiage {
  padding: var(--section-py) 0;
  background: #EBF7FB;
  /* très léger bleu maquette */
}

.antiage__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* ── Before / After Slider ──────────────────────────────── */
.ba-slider {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  cursor: col-resize;
  user-select: none;
}

/* Image avant (base, pleine largeur) */
.ba-slider__img--avant {
  display: block;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Wrap de l'image après – clippé sur la droite */
.ba-slider__after-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  /* contrôlé par JS */
  height: 100%;
  overflow: hidden;
}

.ba-slider__img--apres {
  display: block;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Ligne + handle */
.ba-slider__divider {
  position: absolute;
  top: 0;
  left: 50%;
  /* contrôlé par JS */
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, .85);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: col-resize;
}

.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
  gap: 0;
  padding: 0 2px;
  flex-shrink: 0;
}

.ba-slider__handle svg {
  color: #555;
  display: block;
}

/* Labels Avant / Après */
.ba-slider__label {
  position: absolute;
  bottom: 14px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: rgba(0, 0, 0, .35);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .3px;
}

.ba-slider__label--avant {
  left: 14px;
}

.ba-slider__label--apres {
  right: 14px;
}

/* Contenu droite anti-âge */
.antiage__content {
  flex: 1;
  padding-top: 4px;
}

.antiage__title {
  font-family: var(--font-secondary);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 18px;
  line-height: 1.2;
}

.antiage__text {
  font-size: 16px;
  color: #000;
  line-height: 1.75;
  margin-bottom: 32px;
}

.acc-list--antiage {
  max-width: 100%;
}

/* ════════════════════════════════════════════════════════════
   TECHNOLOGIES AVANCÉES
   ════════════════════════════════════════════════════════════ */
.tech {
  padding: var(--section-py) 0;
  background-size: cover;
  background-position: center;
  background-color: #0E2436;
  position: relative;
  display: flex;
}

.tech__inner {
  display: flex;
  align-items: center;
  /* gap: 60px; */
  position: relative;
  max-width: 1520px;
}

.tech__content {
  flex: 0 0 52%;
}

.tech__title {
  font-family: var(--font-secondary);
  font-size: 42px;
  font-weight: 800;
  color: #000;
  line-height: 1.3;
  margin-bottom: 18px;
}

.tech__text {
  font-size: 16px;
  color: #000;
  line-height: 1.75;
  margin-bottom: 32px;
}

.tech__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.tech__list-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #0099DA;
  border-radius: 18px;
  padding: 18px 22px;
}

.tech__list-img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.tech__list-logo {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tech__list-logo img {
  width: 50px;
  height: auto;
  filter: brightness(0) invert(1);
}

.tech__list-item strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.tech__list-item p {
  font-size: 16px;
  color: #fff;
  line-height: 1.5;
  font-weight: 300;
}

.tech__image {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ════════════════════════════════════════════════════════════
   TEAM
   ════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
   TEAM
   ════════════════════════════════════════════════════════════ */
.team {
  padding: 80px 0 70px;
  background: #000;
  overflow: hidden;
}

.team__header {
  text-align: center;
  margin-bottom: 52px;
}

.team__pretitle {
  display: block;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  color: #0099DA;
  margin-bottom: 10px;
}

.team__title {
  font-family: var(--font-secondary);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team__member {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .28);
  background: #1C2A38;
  transition: transform .3s;
  position: relative;
}

.team__member:hover {
  transform: translateY(-4px);
}

.team__member-img {
  width: 100%;
  overflow: hidden;
}

.team__member-img img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s;
}

.team__member:hover .team__member-img img {
  transform: scale(1.04);
}

.team__member-info {
  background: var(--blue-primary);
  padding: 16px 20px 18px;
  text-align: left;
  position: absolute;
  bottom: 20px !important;
  border-radius: 0 50px 50px 0;
  width: 90%;
}

.team__member-info strong {
  display: block;
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0;
  text-transform: uppercase;
}

.team__member-info span {
  font-size: 16px;
  color: rgba(255, 255, 255, .85);
  font-weight: 400;
}

/* ════════════════════════════════════════════════════════════
   POURQUOI DERMACURE
   ════════════════════════════════════════════════════════════ */
.why {
  padding: var(--section-py) 0;
  background: #019ADB;
}

.why__inner {
  text-align: left;
}

.why__title {
  font-family: var(--font-secondary);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 32px;
}

/* Box unique englobant les 3 colonnes */
.why__box {
  display: flex;
  align-items: flex-start;
  background: #F5F5F5;
  border: 1px solid #F5F5F5;
  border-radius: 18px;
  padding: 36px 0;
  margin-bottom: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.why__col {
  flex: 1;
  padding: 0 36px;
}

.why__divider {
  width: 1px;
  background: #DDE8EF;
  align-self: stretch;
}

.why__col-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.why__col-icon img {
  width: 100%;
  height: 100%;
}

.why__col-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 700;
  color: #0099DA;
  margin-bottom: 10px;
}

.why__col-text {
  font-size: 16px;
  color: #000;
  line-height: 1.7;
}

/* Ligne bas */
.why__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.why__bottom-text {
  font-size: 18px;
  color: #fff;
  line-height: 1.65;
  max-width: 50%;
}

.why__cta {
  background: #000;
  color: var(--white);
  border: none;
  transition: background .2s, transform .2s;
}

.why__cta:hover {
  background: #1a2f42;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   RÉSULTATS EN IMAGES
   ════════════════════════════════════════════════════════════ */
.results {
  padding: var(--section-py) 0;
  background: rgba(184, 229, 250, 0.18);
}

.section-tag--blue {
  color: var(--blue-primary);
}

.results__inner {
  text-align: center;
}

.results__title {
  font-family: var(--font-secondary);
  font-size: 42px;
  font-weight: 800;
  color: #000;
  margin-bottom: 14px;
}

.results__subtitle {
  font-size: 18px;
  color: #000;
  margin: 0 auto 44px;
  line-height: 1.7;
}




.results__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
  min-height: 140px;
}



.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.results__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* L'image large prend 2 colonnes */
.results__item--wide {
  grid-column: span 2;
}

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


/* si pas d'image */

/* Icône + au survol */
.results__plus {
  position: absolute;
  bottom: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, .85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  opacity: 0;
  transition: opacity .2s;
}

.results__item:hover .results__plus {
  opacity: 1;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════════ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--white);
}

.testimonials__title {
  font-family: var(--font-secondary);
  font-size: 42px;
  font-weight: 800;
  color: #000;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.3;
}

.testimonials__grid {
  display: grid;
  margin: 0 auto;
}

.global-styles,
.eapps-widget-toolbar {
  display: none !important;
}

.testimonials__card {
  background: var(--blue-primary);
  border-radius: 20px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 8px 32px rgba(43, 189, 232, .25);
}

.testimonials__stars {
  font-size: 20px;
  color: #F9C225;
  letter-spacing: 2px;
}

.testimonials__text {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .95);
  line-height: 1.72;
  flex: 1;
}

.testimonials__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .2s;
}

.testimonials__more:hover {
  opacity: .75;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.testimonials__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, .2);
}

.testimonials__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials__name {
  font-size: 13px;
  color: rgba(255, 255, 255, .8);
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
.contact {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #1C3048;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.contact__inner {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-top: 60px;
  padding-bottom: 60px;
}

.contact__form-wrap {
  width: 100%;
  max-width: 540px;
}

.contact__form {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 30px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}

.contact__form-title {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  text-align: center;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
}

.contact__form-group--full {
  margin-bottom: 12px;
}

.contact__form-group input,
.contact__form-group textarea,
.contact__form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #D4DDE6;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 13.5px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
  resize: vertical;
  appearance: none;
}

.contact__form-group input::placeholder,
.contact__form-group textarea::placeholder {
  color: #9BADB8;
}

.contact__form-group input:focus,
.contact__form-group textarea:focus,
.contact__form-group select:focus {
  border-color: var(--blue-primary);
}

.contact__select-wrap {
  position: relative;
}

.contact__select-wrap select {
  width: 100%;
  cursor: pointer;
  color: #9BADB8;
}

.contact__select-wrap select:valid {
  color: var(--text-dark);
}

.contact__select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9BADB8;
}

.contact__form-group textarea {
  min-height: 90px;
}

.contact__submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .15s;
  letter-spacing: .3px;
}

.contact__submit-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer {
  background: #fff;
  padding-top: 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.4fr 1.6fr;
  gap: 50px;
  padding-top: 56px;
  padding-bottom: 44px;
  border-bottom: 1px solid #019ADB;
}

.footer__logo {
  margin-bottom: 14px;
  display: block;
}

.footer__brand-tag {
  font-size: 16px;
  font-weight: 700;
  color: #019ADB;
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer__brand-text {
  font-size: 14px;
  color: #000;
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer__agency {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer__agency span {
  color: rgba(255, 255, 255, .55);
}

.footer__col-title {
  font-size: 19px;
  font-weight: 700;
  color: #009ADA;
  margin-bottom: 18px;
  letter-spacing: .3px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list a {
  font-size: 14px;
  color: #000;
  transition: color .2s;
  line-height: 1.4;
  font-weight: 500;
}

.footer__list a:hover {
  color: var(--blue-primary);
}

.footer__contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
}

.numForCTA:hover .phone-icon {
  animation: vibrate 0.3s infinite alternate;
}

@keyframes vibrate {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(5deg);
  }
}

.footer__contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #000;
  line-height: 1.5;
}

.footer__contact-list svg {
  color: var(--blue-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-primary);
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}

.footer__social-btn:hover {
  background: var(--blue-dark);
  transform: scale(1.1);
}

.footer__social-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.footer__bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 20px;
}

.footer__bottom p {
  font-size: 16px;
  color: #0099DA;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE – TABLET (~768px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root {
    --section-py: 70px;
  }

  .container {
    padding: 0 28px;
  }

  /* Hero */
  .hero__title {
    font-size: 36px;
  }

  .hero__image img {
    max-width: 500px;
  }

  /* About */
  .about__inner {
    gap: 48px;
  }

  .about__image {
    flex: 0 0 320px;
  }

  .about__title {
    font-size: 28px;
  }

  /* Zones */
  .zones__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Team */
  .team__title {
    font-size: 26px;
  }

  .team__member-img img {
    height: 340px;
  }

  .why__bottom-text {
    font-size: 16px;
    max-width: 100%;
  }

  .team__member--featured .team__member-img img {
    height: 340px;
  }

  /* Tech */
  .tech__title {
    font-size: 28px;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .navbar__inner {
    height: inherit !important;
    flex-direction: column;
  }

  .footer__top {
    padding-bottom: 40px !important;
  }

  .footer__bottom {
    padding-top: 10px !important;
  }

  .zones__inner {
    flex-direction: column;
  }

  .partRight {
    width: 100%;
  }

  /* Navbar mobile */
  .navbar {
    margin: 8px 12px 20px;
    border-radius: 40px;
    position: sticky;
    top: 10px;
  }

  .navbar__nav,
  .navbar__cta {
    display: none;
  }

  .navbar__burger {
    display: flex;
    position: absolute;
    right: 18px;
    top: 18px;
  }

  /* Menu ouvert mobile */
  .navbar--open {
    border-radius: 20px;
  }

  .navbar--open .navbar__nav {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 16px 18px;
    border-top: 1px solid #EEF2F6;
    margin-top: 4px;
    /* stretch sous la navbar__inner */
    position: static;
    width: 100%;
  }

  .navbar--open .navbar__cta {
    display: inline-flex !important;
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    justify-content: center;
  }

  .navbar__link {
    font-size: 16px;
    padding: 10px 8px;
    width: 100%;
    border-radius: 8px;
    transition: background .15s, color .15s;
  }

  .navbar__link:hover,
  .navbar__link--active {
    background: #EBF7FC;
  }

  .navbar__link--active::after {
    display: none;
  }

  /* Hero */
  .hero__inner {
    flex-direction: column;
    text-align: center;
    padding-top: 50px;
  }

  .hero__content {
    max-width: 100%;
    flex: none;
    padding-bottom: 20px;
  }

  .hero {
    padding: 20px 0;
  }

  .hero__desc {
    margin: 0 auto 22px;
  }

  .hero__badges {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  /* Scroll circle : plus petit + centré en bas sur mobile */
  .scroll-circle {
    display: none;
  }

  .scroll-circle:hover {
    transform: translateX(50%) scale(1.06);
  }

  .scroll-circle__text {
    font-size: 9px;
  }

  .hero__image {
    width: 100%;
  }

  .hero__image img {
    max-width: 100%;
  }

  /* About */
  .about__inner {
    flex-direction: column;
    gap: 40px;
  }

  .injections {
    padding: 40px 0;
  }

  .soins__title,
  .antiage__title {
    font-size: 30px;
  }

  .about__image {
    flex: none;
    width: 100%;
  }

  .about__image img {
    height: 320px;
  }

  .about__content {
    text-align: center;
  }

  /* Injections carousel – 1 slide visible on tablet */
  .inj-carousel__slide {
    flex: 0 0 100%;
  }

  .inj-carousel__arrow {
    margin: 0 8px;
    width: 38px;
    height: 38px;
  }

  /* Soins */
  .soins__inner {
    flex-direction: column;
    gap: 40px;
  }

  .soins__image {
    flex: none;
    width: 100%;
  }

  .soins__image img {
    height: 320px;
  }

  .acc-list {
    max-width: 100%;
  }

  /* Anti-âge */
  .antiage__inner {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .tech {
    flex-direction: column-reverse;
  }

  .antiage__image {
    flex: none;
    width: 100%;
  }

  .ba-slider__img--avant {
    height: 280px;
  }

  .ba-slider__img--apres {
    width: 100%;
  }

  /* Tech */
  .tech__inner {
    flex-direction: column;
  }

  .tech__content {
    flex: none;
    max-width: 100%;
  }

  .tech__image img {
    max-height: 300px;
  }

  /* Team */
  .team__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  /* Why */
  .why__box {
    flex-direction: column;
    padding: 28px 0;
  }

  .why__divider {
    width: auto;
    height: 1px;
    align-self: auto;
    margin: 0 28px;
  }

  .why__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  /* Results */
  .results__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .results__item:nth-child(1),
  .results__item:nth-child(2),
  .results__item:nth-child(3),
  .results__item:nth-child(4),
  .results__item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  /* Contact */
  .contact__inner {
    justify-content: center;
  }

  .contact__form-wrap {
    max-width: 100%;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__bottom {
    text-align: center;
  }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE – MOBILE (~375px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root {
    --section-py: 55px;
  }

  .container {
    padding: 0 18px;
  }

  .hero__title {
    font-size: 28px;
  }

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

  .btn {
    padding: 12px 22px;
    font-size: 13px;
  }

  .about__title {
    font-size: 24px;
  }

  .zones__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .zones__title {
    font-size: 22px;
  }

  .injections__title {
    font-size: 30px;
  }

  .inj-card__title {
    font-size: 18px;
  }

  .team__title {
    font-size: 22px;
  }

  .why__title {
    font-size: 26px;
  }

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

  .testimonials__title {
    font-size: 24px;
  }

  .contact__form {
    padding: 28px 20px;
  }

  .contact__form-row {
    grid-template-columns: 1fr;
  }

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

  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .why__title {
    font-size: 26px;
  }

  .results__title {
    font-size: 26px;
  }
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Hero ── */
.merci-hero {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.merci-hero__bg {
  position: absolute;
  inset: 0;
  background: url('img/bg_merci.jpg') center center / cover no-repeat;
  z-index: 0;
}

.merci-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(22, 28, 68, .80) 0%,
      rgba(32, 38, 82, .62) 42%,
      rgba(22, 28, 68, .74) 100%);
}

/* Contenu positionné à droite */
.merci-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 60px;
  display: flex;
  justify-content: flex-end;
}

.merci-hero__box {
  max-width: 480px;
  text-align: center;
}

/* MERCI ! */
.merci-hero__title {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-size: clamp(54px, 6.5vw, 84px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 3px;
  margin-bottom: 28px;
  line-height: 1.1;
  animation: fadeUp .65s ease both;
}

/* Sous-titre */
.merci-hero__subtitle {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 600;
  color: rgba(255, 255, 255, .93);
  line-height: 1.7;
  margin-bottom: 42px;
  animation: fadeUp .65s .14s ease both;
}

/* Bouton téléphone — pill outline */
.merci-hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 30px 8px 8px;
  border: 2px solid rgba(255, 255, 255, .55);
  border-radius: 50px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .8px;
  transition: background .25s, border-color .25s, transform .2s, box-shadow .25s;
  animation: fadeUp .65s .28s ease both;
}

.merci-hero__phone:hover {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .9);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}

.merci-hero__phone-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

/* ── Footer ── */
.merci-footer {
  background: #29B8E9;
  padding: 16px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.merci-footer__copy {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
  letter-spacing: .3px;
}

/* ── Keyframes ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .merci-hero__content {
    justify-content: center;
    padding: 60px 24px;
  }

  .page .container {
    flex-direction: column;
    gap: 10px;
  }

  .merci-hero__subtitle br {
    display: none;
  }

  .merci-hero__box {
    max-width: 100%;
  }

  .merci-hero__phone {
    font-size: 17px;
    gap: 10px;
    padding: 7px 22px 7px 7px;
  }

  .merci-hero__phone-icon {
    width: 42px;
    height: 42px;
  }

  .merci-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 18px 24px;
  }
}