/* =========================================================
   Alignéa Sourire — One Pager
   Bootstrap 5 + custom styles (Figma: 1920 / content ~1280–1520)
   ========================================================= */

/* Bell MT — titles (system / local install; Figma design font) */
@font-face {
  font-family: "Bell MT";
  src: local("Bell MT"), local("BellMT"), local("Bell MT Bold"), local("BellMT Bold");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bell MT";
  src: local("Bell MT Bold"), local("BellMT Bold"), local("Bell MT"), local("BellMT");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --gold: #c39d67;
  --gold-dark: #8e6625;
  --gold-soft: rgba(195, 157, 103, 0.8);
  --black: #000000;
  --white: #ffffff;
  --gray-soft: rgba(214, 212, 210, 0.25);
  --gray-bg: #f5f4f3;
  --text: #000000;
  --font-title: "Bell MT", "BellMT", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", sans-serif;
  --container: 1520px;
  --radius: 10px;
  --transition: 0.3s ease;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

.text-justify {
  text-align: justify;
}

.rounded-10 {
  border-radius: var(--radius);
}

.object-fit-cover {
  object-fit: cover;
}

.page-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1200px) {
  .page-container {
    padding-inline: 2.5rem;
  }
}

/* ---------- Typography ---------- */
.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
  color: var(--black);
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  margin: 0 0 0.35rem;
  color: var(--black);
}

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

.section-body {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 1rem;
}

.section-body--lg {
  font-size: 20px;
  line-height: 30px;
}

.section-decor {
  display: block;
  width: 45px;
  height: 19px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.section-decor--gold {
  filter: none;
}

/* ---------- Buttons ---------- */
.btn {
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 45px;
  padding: 0.15rem 1rem 0.15rem 0.5rem;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn-gold:active {
  transform: translateY(1px);
}

.btn-gold:disabled,
.btn-gold.disabled {
  opacity: 0.55;
  pointer-events: none;
}

.btn-gold--phone {
  padding-left: 0.5rem;
}

.btn-gold__icon {
  display: inline-flex;
  width: 20px;
  height: 45px;
  overflow: hidden;
  flex-shrink: 0;
}

.btn-gold__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-gold--wide {
  width: auto;
  max-width: 100%;
  padding-inline: 1rem 1.25rem;
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 45px;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
  background: var(--gold);
  color: var(--white);
}

.btn-outline-gold__arrow {
  display: inline-flex;
  width: 17px;
  height: 31px;
  overflow: hidden;
}

.btn-outline-gold__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* transform: rotate(90deg); */
  /* filter: brightness(0) saturate(100%) invert(68%) sepia(28%) saturate(603%) hue-rotate(0deg) brightness(92%) contrast(88%); */
}

.btn-outline-gold:hover .btn-outline-gold__arrow img {
  filter: brightness(0) invert(1);
}

.btn-white-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 45px;
  padding: 0.35rem 1rem 0.35rem 0.45rem;
  background: var(--white);
  color: var(--black);
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.btn-white-phone:hover,
.btn-white-phone:focus {
  background: #f7f7f7;
  color: var(--black);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--gold);
  color: var(--white);
  min-height: 61px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  padding-block: 0.65rem;
}

.announcement-bar__icon {
  display: inline-flex;
  width: 25px;
  height: 25px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.announcement-bar__icon img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.announcement-bar__divider {
  width: 1px;
  height: 22px;
  background: var(--white);
  display: inline-block;
}

.announcement-bar__phone {
  color: var(--white);
}

.announcement-bar__phone:hover {
  color: var(--white);
  opacity: 0.9;
}

.announcement-bar__social {
  display: inline-flex;
  width: 20px;
  height: 20px;
  overflow: hidden;
}

.announcement-bar__social img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

/* ---------- Header / Hero ---------- */
.site-header {
  position: relative;
}

.site-header.is-scrolled .hero__nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero {
  position: relative;
  min-height: 840px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(142deg,
      rgba(255, 255, 255, 0.8) 46%,
      rgba(255, 255, 255, 0) 58%),
    linear-gradient(181deg,
      rgba(255, 255, 255, 0.98) 1.5%,
      rgba(255, 255, 255, 0) 21%)
}

/* Nav fixe : elle reste collée en haut, la barre d'annonce défile normalement.
   --nav-top est piloté par script.js (hauteur restante de la barre d'annonce). */
.hero__nav {
  position: fixed;
  top: var(--nav-top, 0px);
  left: 0;
  right: 0;
  z-index: 1030;
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
  transition: background var(--transition), box-shadow var(--transition);
}

/* La nav étant sortie du flux, on rend son espace au hero. */
.hero {
  padding-top: var(--nav-h, 96px);
}

/* Les ancres ne passent plus sous la nav fixe. */
[id] {
  scroll-margin-top: calc(var(--nav-h, 96px) + 1rem);
}


.hero__nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.66px;
  text-transform: uppercase;
  color: var(--black) !important;
  padding: 0.6rem 0.65rem !important;
  transition: color var(--transition);
}

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

.lang-switch {
  background: none;
  border: none;
  padding: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

a.lang-switch {
  color: var(--black);
  text-decoration: none;
  transition: color var(--transition);
}

a.lang-switch:hover,
a.lang-switch:focus {
  color: var(--gold);
}

.lang-switch__chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--black);
}

.navbar-toggler {
  border-color: rgba(195, 157, 103, 0.4);
}

@media (max-width: 991.98px) {
  .hero__nav .page-container {
    position: relative;
  }

  .hero__nav .navbar-brand {
    margin-right: 0;
  }

  .hero__nav .navbar-toggler {
    margin-left: auto;
    position: relative;
    z-index: 3;
  }

  .hero__nav .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 10;
    flex-basis: auto;
    flex-grow: 0;
    width: auto;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0;
    padding: 1rem;
    margin-top: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .hero__nav .navbar-nav {
    align-items: flex-start;
  }

  .hero__nav .nav-link {
    font-size: 16px;
    padding: 0.55rem 0 !important;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 3rem 4rem;
}

.hero__copy {
  max-width: 600px;
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0.35rem 0 0.75rem;
  color: var(--black);
}

.hero__subtitle {
  font-weight: 500;
  font-size: 18px;
  line-height: 26.5px;
  margin-bottom: 2rem;
  max-width: 560px;
}

/* ---------- Doctor ---------- */
.section-doctor {
  background: var(--gray-soft);
  padding: 4rem 0 0;
  overflow: hidden;
  background-image: url(assets/images/bg-rencontre.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.section-doctor__watermark {
  position: absolute;
  left: -8%;
  top: 10%;
  width: min(320px, 70%);
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
}

.section-doctor__photo {
  position: relative;
  z-index: 1;
  max-height: 720px;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: bottom;
}

.affiliations-box {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  min-height: 83px;
}

.affiliations-box__logo {
  width: auto;
  max-width: 165px;
  object-fit: contain;
}

.affiliations-box__logo--sm {
  max-width: 140px;
}

.section-doctor__cta-text {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 40px !important;
}

/* ---------- About ---------- */
.section-about {
  background: var(--white);
}

.section-about__img {
  width: 100%;
  max-height: 475px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: transform var(--transition);
}

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

/* ---------- Services ---------- */
.section-services {
  position: relative;
  padding: 4rem 0;
  color: var(--white);
  overflow: hidden;
}

.section-services__bg {
  position: absolute;
  inset: 0;
  background: #000;
}

.section-services__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.06));
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__media {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
}

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

.service-card__body {
  position: relative;
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 0.65rem;
  flex: 1;
}

.service-card__icon {
  position: absolute;
  top: -34px;
  left: 24px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card__icon img {
  width: 37px;
  height: 37px;
  object-fit: contain;
  /* filter: brightness(0) invert(1); */
}

.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  line-height: 32px;
  margin-bottom: 0.75rem;
}

.service-card__desc {
  font-size: 16px;
  line-height: 30px;
  margin-bottom: 1rem;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 16px;
  line-height: 30px;
}

.service-card__list img {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  flex-shrink: 0;
  object-fit: contain;
}

/* ---------- Implantologie ---------- */
.section-implant {
  background: rgba(255, 255, 255, 0.1);
}

.implant-list__item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  background: var(--gray-soft);
  border: none;
  border-radius: var(--radius);
  padding: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.35;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    transform var(--transition);
}

.implant-list__item:hover {
  background: rgba(195, 157, 103, 0.18);
}

.implant-list__item:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
}

.implant-list__item.is-active {
  background: var(--gold);
  color: var(--white);
}

.implant-list__item.is-active:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.implant-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.implant-list__item.is-active .implant-list__icon {
  background: var(--black);
}

.implant-list__icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.implant-list__icon--composite {
  overflow: hidden;
}

.implant-list__icon--composite img {
  position: absolute;
  max-width: none;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

.implant-list__icon--composite .c1 {
  top: 59.43%;
  right: 24.06%;
  bottom: 18.04%;
  left: 21.88%;
  width: auto;
  height: auto;
}

.implant-list__icon--composite .c2 {
  top: 22.53%;
  right: 29.75%;
  bottom: 37.98%;
  left: 41.05%;
  width: auto;
  height: auto;
}

.implant-list__icon--composite .c3 {
  top: 27.95%;
  right: 35.37%;
  bottom: 61.75%;
  left: 53.91%;
  width: auto;
  height: auto;
}

.implant-list__icon--composite .c4 {
  top: 14.06%;
  right: 43.54%;
  bottom: 79.68%;
  left: 54.34%;
  width: auto;
  height: auto;
}

.implant-list__icon--composite .c5 {
  top: 15.53%;
  right: 50.1%;
  bottom: 78.51%;
  left: 46.15%;
  width: auto;
  height: auto;
}

.implant-list__icon--composite .c6 {
  top: 20.11%;
  right: 55.63%;
  bottom: 74.8%;
  left: 39.27%;
  width: auto;
  height: auto;
}

.implant-list__icon--composite .c7 {
  top: 20.43%;
  right: 28.58%;
  bottom: 74.57%;
  left: 66.33%;
  width: auto;
  height: auto;
}

.implant-list__icon--composite .c8 {
  top: 15.79%;
  right: 35.5%;
  bottom: 78.3%;
  left: 60.84%;
  width: auto;
  height: auto;
}

.implant-list__label {
  flex: 1;
  min-width: 0;
}

.implant-media {
  background: var(--gray-soft);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 320px;
}

.implant-image {
  width: 100%;
  height: 100%;
  min-height: 352px;
  max-height: 360px;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}

.implant-image.is-fading {
  opacity: 0.35;
}

/* ---------- Offers ---------- */
.section-offers {
  background: var(--gray-soft);
}

.section-offers__intro {
  max-width: 1276px;
}

.offer-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 443px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.offer-card__content {
  padding: 1.4rem 1.15rem 0.75rem;
}

.offer-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.offer-card__desc {
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 0;
}

.offer-card__media {
  margin-top: auto;
  height: 265px;
  overflow: hidden;
}

.offer-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-card__media img {
  transform: scale(1.04);
}

/* Hours offer card (carousel item 4) */
.offer-card--hours {
  padding-bottom: 1.15rem;
}

.offer-card--hours .offer-card__content {
  padding-bottom: 1rem;
}

.offer-card__hours-row {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.15rem;
  margin-top: auto;
  align-items: stretch;
  min-height: 220px;
}

.offer-card__hours-box {
  flex: 1 1 55%;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-card__hours-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.offer-card__hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.offer-card__hours-list li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--white);
}

.offer-card__hours-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.offer-card__hours-media {
  flex: 1 1 40%;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 180px;
}

.offer-card__hours-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-card--hours:hover .offer-card__hours-media img {
  transform: scale(1.04);
}

.offers-carousel__btn {
  display: inline-flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: var(--white);
  color: var(--black);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.offers-carousel__btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.offers-carousel__btn--prev {
  left: -0.5rem;
}

.offers-carousel__btn--next {
  right: -0.5rem;
}

.offers-carousel {
  padding-inline: 2rem;
}

#offresTrack.is-carousel {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#offresTrack.is-carousel::-webkit-scrollbar {
  display: none;
}

/* Default: 3 cards visible per page */
#offresTrack.is-carousel>.offer-slide {
  flex: 0 0 calc((100% - 2rem) / 3);
  width: calc((100% - 2rem) / 3);
  max-width: none;
  scroll-snap-align: start;
}

@media (max-width: 991.98px) {
  #offresTrack.is-carousel>.offer-slide {
    flex: 0 0 calc((100% - 1rem) / 2);
    width: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 575.98px) {
  #offresTrack.is-carousel>.offer-slide {
    flex: 0 0 100%;
    width: 100%;
  }

  .offer-card__hours-row {
    flex-direction: column;
  }

  .offer-card__hours-media {
    min-height: 160px;
  }
}

/* ---------- Urgences ---------- */
.section-urgence {
  position: relative;
  min-height: 673px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

.section-urgence__bg {
  position: absolute;
  inset: 0;
  background: #d5ddec;
}

.section-urgence__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.urgence-card {
  position: relative;
  max-width: 727px;
  background: var(--gold-soft);
  backdrop-filter: blur(95px);
  border-radius: var(--radius);
  box-shadow: 0 5.4px 18px rgba(0, 0, 0, 0.08);
  padding: 4rem 2.5rem 2.5rem;
  text-align: center;
  color: var(--white);
}

.urgence-card__badge {
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
  width: 79px;
  height: 81px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.urgence-card__badge img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.urgence-card .section-eyebrow {
  color: var(--black);
}

.urgence-card__body {
  background-image: url("assets/images/pattern.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border-radius: var(--radius);
  padding: 30px 30px 1.75rem;
}

.urgence-card__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.urgence-card__divider {
  height: 20px;
  margin: 0 auto 1.25rem;
  max-width: 620px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.85) 2px, transparent 2.5px);
  background-size: 18px 20px;
  background-repeat: repeat-x;
  opacity: 0.9;
}

.urgence-card__text {
  font-size: 16px;
  line-height: 27px;
  margin-bottom: 1.25rem;
}

.urgence-card__highlight {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

/* ---------- Soins complets ---------- */
.section-soins {
  background: var(--white);
}

.soins-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.soins-gallery__img {
  width: 100%;
  height: 506px;
  max-height: 506px;
  object-fit: cover;
}

.soins-gallery__badge {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 102px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

/* ---------- RCSD ---------- */
.section-rcsd {
  background: var(--gray-soft);
}

.rcsd-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 475px;
  background: #eef1f4;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.rcsd-card__photo {
  width: 100%;
  flex: 1;
  min-height: 353px;
  object-fit: cover;
  object-position: center top;
}

.rcsd-card__logo-bar {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 52px 8px;
  min-height: 93px;
  bottom: 40px;
  position: absolute;
  width: 100%;
}

.rcsd-card__logo {
  width: 100%;
  max-width: 312px;
  height: auto;
  object-fit: contain;
}

/* ---------- Financement ---------- */
.section-finance {
  background: var(--white);
}

.section-finance__img {
  height: 499px;
  max-height: 499px;
  object-fit: cover;
  min-height: 320px;
}

.btn-gold--finance {
  max-width: 513px;
}

/* ---------- Pourquoi / Avantages ---------- */
.section-why {
  background: var(--gray-soft);
}

.section-why__banner-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.section-why__banner {
  height: 390px;
  /* max-height: 390px; */
  /* object-fit: cover; */
  object-position: center bottom;
  width: 100%;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 16px;
  line-height: 30px;
}

.why-list img {
  width: 18px;
  height: 18px;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ---------- Contact ---------- */
.section-contact {
  background: #000;
  color: var(--white);
}

.section-title--light {
  color: var(--white);
  line-height: 40px;
}

.section-body--muted {
  color: #d1d5dc;
  font-size: 16px;
  line-height: 28px;
}

.section-body--muted p {
  margin-bottom: 0.35rem;
}

.section-body__cta {
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  color: var(--gold);
  margin-top: 0.75rem;
}

.section-contact__logo {
  width: min(256px, 70%);
  height: auto;
}

.contact-phone {
  background: var(--white);
  border-radius: var(--radius);
  min-height: 49px;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  margin-top: 0.5rem;
}

.contact-phone__icon {
  display: inline-flex;
  width: 23px;
  height: 23px;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-phone__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-phone__label {
  font-size: 12px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.2;
}

.contact-phone__number {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: var(--black);
  line-height: 1.2;
}

.contact-phone:hover .contact-phone__number {
  color: var(--gold-dark);
}

.contact-form-card {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: none;
  min-height: 517px;
}

.contact-form-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 46px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  padding: 1rem;
  color: #6e7191;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form textarea.form-control {
  min-height: 138px;
  resize: vertical;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(195, 157, 103, 0.25);
  background: #fff;
  color: var(--black);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: #dc3545;
}

.contact-form__submit {
  min-height: 45px;
  font-size: 20px;
  padding-inline: 1rem;
  border-radius: 4px;
}

.contact-form__feedback {
  font-size: 14px;
  color: #7ddea0;
}

.contact-form__feedback.is-error {
  color: #ff8f8f;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  padding-bottom: 0.5rem;
}

.site-footer__rule {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--gold);
}

.site-footer__copy {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);    text-align: center;
    width: 100%;
}

.site-footer__logo img {
  width: 99px;
  height: auto;
}

/* ---------- Merci page (Figma 136:295) ---------- */
.merci-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #b6b8a8;
}

.merci-hero {
  position: relative;
  flex: 1;
  min-height: calc(100vh - 78px);
  overflow: hidden;
}

.merci-hero__bg {
  position: absolute;
  inset: 0;
  background: url("assets/images/merci-bg.jpg") center center / cover no-repeat;
}

.merci-hero__content {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding-block: 3rem;
}

.merci-card {
  width: 576px;
  max-width: 100%;
  min-height: 461px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 48px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}

.merci-card__logo {
  width: min(373px, 100%);
  height: auto;
}

.merci-card__text h1 {
  margin: 0 0 8px;
  color: var(--black);
  font-family: var(--font-title);
  font-size: 54px;
  font-weight: 700;
  line-height: 57px;
  text-transform: none;
}

.merci-card__text p {
  max-width: 464px;
  margin: 0;
  color: rgba(0, 0, 0, 0.8);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 25.2px;
}

.merci-phone {
  width: fit-content;
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  color: var(--white);
  background: var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.merci-phone:hover,
.merci-phone:focus {
  color: var(--white);
  background: var(--gold-dark);
}

.merci-phone img {
  width: 45px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.merci-phone small,
.merci-phone strong {
  display: block;
  line-height: 1.1;
}

.merci-phone small {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
}

.merci-phone strong {
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
}

.merci-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  background: var(--gold-dark);
  padding-block: 1rem;
}

.merci-footer__logo img {
  width: 99px;
  height: 32px;
  object-fit: contain;
}

.merci-footer__copy {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   Responsive — Tablet <= 992px
   ========================================================= */
@media (max-width: 992px) {
  .section-title {
    font-size: 36px;
  }

  .merci-hero__bg {
    background-position: 62% center;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding-block: 2rem 3rem;
  }

  .section-doctor,
  .section-services,
  .section-urgence {
    padding-block: 3rem;
  }

  .soins-gallery__img {
    height: 360px;
  }

  .urgence-card {
    padding: 3.5rem 1.5rem 2rem;
  }

  .announcement-bar {
    font-size: 13px;
  }

  .announcement-bar__hours span:last-child {
    white-space: normal;
  }
}

/* =========================================================
   Responsive — Small tablet <= 768px
   ========================================================= */
@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }

  .merci-hero__content {
    align-items: flex-end;
    padding-top: 80px;
    padding-bottom: 52px;
  }

  .merci-card {
    min-height: auto;
    gap: 32px;
    padding: 34px 28px;
  }

  .merci-card__logo {
    width: min(280px, 100%);
  }

  .merci-card__text h1 {
    font-size: 42px;
    line-height: 48px;
  }

  .merci-card__text p {
    font-size: 16px;
    line-height: 24px;
  }

  .section-eyebrow,
  .section-body,
  .section-body--lg {
    font-size: 16px;
    line-height: 26px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .section-doctor__photo {
    max-height: 480px;
  }

  .service-card__media {
    height: 260px;
  }

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

  .soins-gallery__img {
    height: 280px;
  }

  .soins-gallery__badge {
    display: none;
  }

  .text-justify {
    text-align: left;
  }

  .section-about,
  .section-doctor,
  .section-implant,
  .section-soins,
  .section-rcsd,
  .section-finance,
  .section-why,
  .section-contact {
    text-align: center;
  }

  .section-decor {
    margin-inline: auto;
  }

  .why-list li,
  .service-card__list li {
    text-align: left;
  }

  .implant-list__item {
    text-align: left;
  }

  .implant-media {
    min-height: 260px;
  }

  .implant-image {
    min-height: 260px;
  }
}

.btn-text-mobile {
  display: none;
}

@media (max-width: 767px) {
  .btn-text-desktop {
    display: none;
  }

  .btn-text-mobile {
    display: inline;
  }
}

/* =========================================================
   Responsive — Mobile <= 576px
   ========================================================= */
@media (max-width: 576px) {

  .announcement-bar__hours,
  .announcement-bar__social,
  .announcement-bar__divider {
    display: none !important;
  }

  .page-container {
    padding-inline: 1rem;
  }

  .hero__overlay {
    background: rgba(255, 255, 255, 0.78);
  }

  .merci-hero,
  .merci-hero__content {
    min-height: calc(100vh - 110px);
  }

  .merci-card {
    text-align: center;
  }

  .merci-card__logo,
  .merci-phone {
    margin-inline: auto;
  }

  .merci-phone {
    width: 100%;
    justify-content: center;
  }

  .merci-card__text p {
    max-width: none;
  }

  .section-title {
    font-size: 26px;
  }

  .hero__title {
    font-size: 26px;
    text-align: center;
  }

  .hero__subtitle {
    font-weight: 400;
    font-size: 18px;
    text-align: center;
  }

  .btn-gold,
  .btn-outline-gold,
  .btn-white-phone {
    width: 100%;
    font-size: 16px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  #docteur p {
    text-align: center;
  }

  .affiliations-box {
    flex-direction: column;
  }

  h2.section-title {
    text-align: center;
  }

  p {
    text-align: center;
  }

  .offers-carousel {
    padding-inline: 0;
  }

  .offer-card__title {
    text-align: center;
  }

  .offer-card__hours-media img,
  .offer-card__hours-media {
    display: none;
  }

  .announcement-bar .page-container {
    text-align: center;
    display: flex !important;
    justify-content: center !important;
    font-size: 20px;
  }

  img.site-logo {
    max-width: 200px;
  }

  .offer-card {
    min-height: 0;
  }

  .offer-card__media {
    height: 220px;
  }

  .urgence-card__title {
    font-size: 24px;
  }

  .contact-phone__number {
    font-size: 24px;
  }

  .rcsd-card {
    min-height: 0;
  }

  .rcsd-card__photo {
    min-height: 240px;
  }

  .section-finance__img {
    height: 280px;
  }

  .section-why__banner {
    height: 220px;
  }

  .affiliations-box {
    gap: 1rem !important;
  }

  .affiliations-box__logo {
    height: 40px;
  }

  .section-doctor {
    padding-bottom: 0 !important;
  }

  .urgence-card__body {
    background-image: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: var(--radius);
    padding: 0;
  }

  .section-contact__logo {
    margin: 0 auto;
  }
}

/* ── Messages d'erreur sous les champs ── */
.invalid-msg {
  display: none;
  font-size: 0.75rem;
  color: #ff8f8f;
  margin-top: 4px;
}

.contact-form .form-control.is-invalid~.invalid-msg,
.contact-form .form-select.is-invalid~.invalid-msg {
  display: block;
}

/* ---------- Hero EN : garder les 2 CTA sur une seule ligne (texte plus long qu'en FR) ---------- */
@media (min-width: 768px) {
  html[lang="en"] .hero__actions {
    width: max-content;
    max-width: none;
    flex-wrap: nowrap;
  }

  html[lang="en"] .hero__actions .btn-gold,
  html[lang="en"] .hero__actions .btn-outline-gold {
    white-space: nowrap;
  }
}
/* =========================================================
   Politique de confidentialité / Privacy Policy (Loi 25)
   ========================================================= */
.policy-page {
  background: var(--white);
}

.policy-header {
  background: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(195, 157, 103, 0.35);
}

.policy-header__brand img.site-logo {
  width: 280px;
  max-width: 100%;
  height: auto;
}

.policy-header__link,
.policy-header__lang {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.policy-header__link:hover,
.policy-header__link:focus,
.policy-header__lang:hover,
.policy-header__lang:focus {
  color: var(--gold);
}

.policy-header__divider {
  display: inline-block;
  width: 1px;
  height: 18px;
  background: rgba(0, 0, 0, 0.2);
}

/* ---------- Bandeau titre ---------- */
.policy-hero {
  position: relative;
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-soft);
  padding: 3rem 0;
  overflow: hidden;
}

.policy-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/pattern.png") right center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.policy-hero .policy-intro {
  position: relative;
  z-index: 1;
}

.policy-main {
  padding: 3.5rem 0 4rem;
}

.policy-intro {
  max-width: 900px;
  margin-bottom: 0;
}

.policy-updated {
  font-size: 16px;
  color: var(--gold-dark);
  margin: 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

/* ---------- Sommaire ---------- */
.policy-toc {
  position: sticky;
  top: 1.5rem;
  background: var(--gray-bg);
  border: 1px solid var(--gray-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
}

.policy-toc__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 0.75rem;
  color: var(--black);
}

.policy-toc__list {
  margin: 0;
  padding-left: 1.15rem;
}

.policy-toc__list li {
  font-size: 15px;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  color: var(--gold-dark);
}

.policy-toc__list a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.policy-toc__list a:hover,
.policy-toc__list a:focus {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* ---------- Contenu ---------- */
.policy-content {
  max-width: 900px;
}

.policy-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-soft);
  scroll-margin-top: 1.5rem;
}

.policy-section:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.25;
  color: var(--black);
  margin: 0 0 1rem;
}

.policy-content p {
  font-size: 17px;
  line-height: 30px;
  margin: 0 0 1rem;
}

.policy-content p:last-child {
  margin-bottom: 0;
}

.policy-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.policy-list li {
  position: relative;
  font-size: 17px;
  line-height: 28px;
  padding-left: 1.6rem;
  margin-bottom: 0.5rem;
}

.policy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.policy-content a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.policy-content a:hover,
.policy-content a:focus {
  color: var(--gold);
}

.policy-note {
  background: var(--gray-bg);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
}

/* ---------- Lien du pied de page ---------- */
.site-footer__link,
.merci-footer__link {
  color: var(--gold);
  text-decoration: none;
  margin-left: 0.5rem;
  transition: color var(--transition);
}

.site-footer__link:hover,
.site-footer__link:focus,
.merci-footer__link:hover,
.merci-footer__link:focus {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .policy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .policy-toc {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .policy-main {
    padding: 2.5rem 0 3rem;
  }

  .policy-header__brand img.site-logo {
    width: 190px;
  }

  .policy-hero {
    padding: 2rem 0;
  }

  .policy-header__link {
    display: none;
  }

  .policy-h2 {
    font-size: 23px;
  }

  .policy-content p,
  .policy-list li {
    font-size: 16px;
    line-height: 27px;
  }
}

/* =========================================================
   Bannière de témoins / Cookie banner (Loi 25)
   ========================================================= */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 2000;
  display: none;
  padding: 1.25rem;
  justify-content: center;
  align-items: flex-end;
  /* Seul le panneau capte les clics : le reste de la page reste utilisable */
  pointer-events: none;
}

.cookie-consent.is-visible {
  display: flex;
}

.cookie-consent__panel {
  pointer-events: auto;
  width: 100%;
  max-width: 720px;
  animation: cookie-consent-in 0.35s ease both;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--gray-soft);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  padding: 1.5rem 1.5rem 1.25rem;
}

@keyframes cookie-consent-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.cookie-consent__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 0.75rem;
}

.cookie-consent__text {
  font-size: 15px;
  line-height: 24px;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.cookie-consent__link {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__link:hover,
.cookie-consent__link:focus {
  color: var(--gold);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.cookie-consent__btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-consent__btn--ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.cookie-consent__btn--ghost:hover,
.cookie-consent__btn--ghost:focus {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.cookie-consent__btn--link {
  background: none;
  border: none;
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-inline: 0.35rem;
}

.cookie-consent__btn--link:hover,
.cookie-consent__btn--link:focus {
  color: var(--gold);
}

/* ---------- Catégories ---------- */
.cookie-consent__group {
  border-top: 1px solid var(--gray-soft);
  padding-top: 0.9rem;
  margin-top: 0.9rem;
}

.cookie-consent__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent__group-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  margin: 0;
}

.cookie-consent__group-desc {
  font-size: 14px;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.7);
  margin: 0.4rem 0 0;
}

.cookie-consent__always {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}

/* ---------- Interrupteur ---------- */
.cookie-consent__switch {
  position: relative;
  flex: 0 0 auto;
  width: 46px;
  height: 26px;
}

.cookie-consent__switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.cookie-consent__slider {
  position: absolute;
  inset: 0;
  background: #cfcac4;
  border-radius: 26px;
  transition: background var(--transition);
}

.cookie-consent__slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.cookie-consent__switch input:checked + .cookie-consent__slider {
  background: var(--gold);
}

.cookie-consent__switch input:checked + .cookie-consent__slider::before {
  transform: translateX(20px);
}

.cookie-consent__switch input:focus-visible + .cookie-consent__slider {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .cookie-consent {
    padding: 0.75rem;
  }

  .cookie-consent__panel {
    padding: 1.25rem 1.1rem 1rem;
  }

  .cookie-consent__title {
    font-size: 21px;
  }

  .cookie-consent__actions .btn,
  .cookie-consent__btn--ghost {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* =========================================================
   Consentement du formulaire (Loi 25)
   ========================================================= */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.form-consent__box {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-consent__label {
  font-size: 14px;
  line-height: 22px;
  color: var(--text);
  cursor: pointer;
  margin: 0;
}

/* La section contact est sur fond noir : texte clair pour rester lisible */
.section-contact .form-consent__label {
  color: rgba(255, 255, 255, 0.85);
}

.form-consent__label a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-contact .form-consent__label a {
  color: var(--gold);
}

.form-consent__label a:hover,
.form-consent__label a:focus {
  color: var(--gold);
}

.section-contact .form-consent__label a:hover,
.section-contact .form-consent__label a:focus {
  color: var(--white);
}

.form-consent__box {
  border-radius: 3px;
}

.section-contact .form-consent__box {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.form-consent .invalid-msg {
  display: none;
}

.section-contact .form-consent.is-invalid .invalid-msg {
  color: #ff8a8a;
}

.form-consent.is-invalid .invalid-msg {
  display: block;
  margin-top: 0.35rem;
}

.form-consent.is-invalid .form-consent__box {
  outline: 2px solid #dc3545;
  outline-offset: 2px;
}
