:root {
  --bg: #0d090d;
  --soft: #151015;
  --surface: #1c151b;
  --title: #E53935;
  --text: #d8cfd5;
  --accent: #d6a8b8;
  --gold: #d8bd97;
  --border: rgba(255, 255, 255, 0.11);
  --container: 1160px;
  --header-height: 88px;
}

/* ==================================================
   BASE
================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, sans-serif;
  line-height: 1.75;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* ==================================================
   ACCESSIBILITÉ
================================================== */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 12px 18px;
  color: #111111;
  background: #ffffff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ==================================================
   TYPOGRAPHIE
================================================== */

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--title);
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.05em;

}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  max-width: 590px;
  margin: 0 0 32px;
  font-size: 1.12rem;
}

.section-intro {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==================================================
   BOUTONS
================================================== */

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  color: #1a1117;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 3px solid rgba(216, 189, 151, 0.45);
  outline-offset: 4px;
}

.button-secondary {
  color: var(--title);
  background: transparent;
  border: 1px solid var(--border);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==================================================
   HEADER
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(12, 10, 10, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  flex-shrink: 0;
  color: var(--title);
  font: 1.25rem Georgia, serif;
  text-decoration: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.88rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
}

.main-nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.main-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==================================================
   HERO
================================================== */

.hero {
  min-height: calc(70vh - var(--header-height));
  display: flex;
  align-items: center;
  padding:20px 0 40px 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(214, 168, 184, 0.10),
      transparent 35%
    ),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero-photo {
  width: min(100%, 390px);
  margin: 0;
  justify-self: end;
  overflow: hidden;
  
}

.hero-photo img {
  aspect-ratio: 4 / 5.25;
  object-fit: cover;
}

/* ==================================================
   SECTIONS GÉNÉRALES
================================================== */

.section {
  padding: 50px 0;
}

.section-soft {
  background: var(--soft);
}

.heading {
  max-width: 770px;
  margin: 0 auto 55px;
  text-align: center;
}

/* ==================================================
   SECTION ÉDITORIALE
================================================== */

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(400px, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.editorial-photo {
  width: min(100%, 480px);
  margin: 0;
}

.editorial-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
}

.editorial-copy {
  max-width: 610px;
}

/* ==================================================
   QUI SUIS-JE ?
================================================== */

.editorial-copy p {
  margin: 0 0 20px;
}

.editorial-copy p:last-child {
  margin-bottom: 0;
}

.qui-valeurs {
  margin-top: 32px !important;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
}

/* ==================================================
   AVANT / APRÈS
================================================== */

.comparatif {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto;
}

.avant,
.apres {
  padding: clamp(28px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.apres {
  background:
    linear-gradient(
      145deg,
      rgba(214, 168, 184, 0.11),
      rgba(216, 189, 151, 0.05)
    );
  border-color: rgba(214, 168, 184, 0.28);
}

.comparatif-label {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.comparatif ul {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.comparatif li {
  position: relative;
  padding: 11px 0 11px 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.comparatif li:last-child {
  border-bottom: 0;
}

.avant li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

.apres li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}

.comparatif-separator {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comparatif-separator span {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--title);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-style: italic;
}

.comparatif-conclusion {
  max-width: 790px;
  margin: 46px auto 0;
  color: var(--title);
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  text-align: center;
}

/* ==================================================
   CARTES POUR QUI
================================================== */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-1 {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/images-prive/card1.webp") top center / cover no-repeat;
}


.card-2 {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/images-prive/card2.webp") top center / cover no-repeat;
}

.card-3 {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/images-prive/card3.webp") top center / cover no-repeat;
}

.card-4 {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/images-prive/card4.webp") top center / cover no-repeat;
}

.card-5 {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/images-prive/apres.webp") top center / cover no-repeat;
}

.card-6 {
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("/images-prive/avant.webp") top center / cover no-repeat;
}


.card p {
  margin-bottom: 0;
}

.card {
  transition: transform .25s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* ==================================================
   ÉTAPES
================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.step {
  padding-top: 23px;
  border-top: 1px solid var(--border);
}

.step-number {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* ==================================================
   CONFIDENTIALITÉ
================================================== */

.privacy {
  padding: 72px 0;
  text-align: center;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.privacy-inner {
  max-width: 920px;
}

.privacy h2 {
  margin-bottom: 16px;
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 42px;
  text-align: left;
}

.privacy-points > div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.privacy-points strong,
.privacy-points span {
  display: block;
}

.privacy-points strong {
  margin-bottom: 8px;
  color: var(--title);
}

.privacy-points span {
  font-size: 0.93rem;
}

/* ==================================================
   CONTACT — PREMIER ÉCHANGE CONFIDENTIEL
================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr);
    align-items: start;
    gap: clamp(60px, 8vw, 110px);
    max-width: 1100px;
    margin: 0 auto;
}

.contact-intro {
    position: sticky;
    top: calc(var(--header-height) + 45px);
}

.contact-intro h2 {
    max-width: 480px;
    margin-bottom: 24px;
}

.contact-lead {
    margin: 0 0 20px;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.7;
}

.contact-intro > p:not(.eyebrow):not(.contact-lead) {
    max-width: 500px;
    margin: 0;
}

.contact-reassurance {
    display: grid;
    gap: 0;
    margin-top: 38px;
    border-top: 1px solid var(--border);
}

.contact-reassurance > div {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-reassurance strong,
.contact-reassurance span {
    display: block;
}

.contact-reassurance strong {
    margin-bottom: 3px;
    color: var(--gold);
    font-size: .95rem;
}

.contact-reassurance span {
    font-size: .9rem;
    opacity: .72;
}

@media (max-width: 900px) {

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
        max-width: 680px;
    }

    .contact-intro {
        position: static;
    }
}

@media (max-width: 650px) {

    .contact-grid {
        gap: 35px;
    }

    .contact-reassurance {
        margin-top: 30px;
    }
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
    position: relative;
    background: #090909;
    border-top: 1px solid var(--border);
}


/* ==================================================
   FOOTER — PARTIE PRINCIPALE
================================================== */

.footer-main {
    display: grid;
    grid-template-columns: minmax(300px, 1.5fr) minmax(160px, .65fr) minmax(160px, .65fr);
    gap: clamp(50px, 7vw, 100px);
    padding-top: 70px;
    padding-bottom: 65px;
}


/* ==================================================
   FOOTER — MARQUE
================================================== */

.footer-brand-block {
    max-width: 420px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 28px;
}

.footer-brand img {
    display: block;
    width: 220px;
    height: auto;
}

.footer-signature {
    margin: 0 0 22px;

    color: #fff;

    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.25;
}

.footer-brand-text {
    max-width: 390px;
    margin: 0;

    color: var(--muted);
    font-size: .92rem;
    line-height: 1.7;
}


/* ==================================================
   FOOTER — NAVIGATION
================================================== */

.footer-nav h2 {
    margin: 7px 0 25px;

    color: var(--gold);

    font-family: inherit;
    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .14em;
    text-transform: uppercase;
}

.footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav li {
    margin: 0 0 13px;
}

.footer-nav a {
    position: relative;

    color: rgba(255, 255, 255, .76);

    font-size: .92rem;
    text-decoration: none;

    transition:
        color .2s ease,
        opacity .2s ease;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-nav a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;

    height: 1px;

    background: var(--gold);

    transform: scaleX(0);
    transform-origin: left;

    transition: transform .2s ease;
}

.footer-nav a:hover::after {
    transform: scaleX(1);
}


/* ==================================================
   FOOTER — PARTIE LÉGALE
================================================== */

.footer-legal {
    border-top: 1px solid var(--border);
}

.footer-legal-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding-top: 25px;
    padding-bottom: 28px;
}

.footer-company p {
    margin: 0;
}

.footer-company p:first-child {
    margin-bottom: 5px;

    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
}

.footer-company p:last-child {
    color: rgba(255, 255, 255, .42);
    font-size: .72rem;
}

.footer-company strong {
    color: rgba(255, 255, 255, .9);
}


/* ==================================================
   FOOTER — META
================================================== */

.footer-meta {
    flex-shrink: 0;
    text-align: right;
}

.footer-meta-links {
    display: flex;
    justify-content: flex-end;
    gap: 22px;

    margin-bottom: 7px;
}

.footer-meta-links a {
    color: rgba(255, 255, 255, .65);

    font-size: .78rem;
    text-decoration: none;

    transition: color .2s ease;
}

.footer-meta-links a:hover {
    color: #fff;
}

.footer-copyright {
    margin: 0;

    color: rgba(255, 255, 255, .38);

    font-size: .72rem;
}


/* ==================================================
   FOOTER — TABLETTE
================================================== */

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 45px 35px;

        padding-top: 55px;
        padding-bottom: 50px;
    }

    .footer-brand img {
        width: 190px;
    }

}


/* ==================================================
   FOOTER — MOBILE
================================================== */

@media (max-width: 700px) {

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 40px 25px;

        padding-top: 48px;
        padding-bottom: 42px;
    }

    .footer-brand-block {
        grid-column: 1 / -1;

        max-width: 500px;
    }

    .footer-brand {
        margin-bottom: 22px;
    }

    .footer-brand img {
        width: 180px;
    }

    .footer-signature {
        margin-bottom: 17px;
    }

    .footer-brand-text {
        max-width: 460px;
    }

    .footer-nav h2 {
        margin-bottom: 18px;
    }

    .footer-nav li {
        margin-bottom: 11px;
    }

    .footer-legal-inner {
        flex-direction: column;
        align-items: flex-start;

        gap: 22px;

        padding-top: 22px;
        padding-bottom: 25px;
    }

    .footer-meta {
        width: 100%;
        text-align: left;
    }

    .footer-meta-links {
        justify-content: flex-start;
    }

}


/* ==================================================
   FOOTER — PETIT MOBILE
================================================== */

@media (max-width: 420px) {

    .footer-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand-block {
        grid-column: auto;
    }

    .footer-meta-links {
        flex-wrap: wrap;
        gap: 10px 20px;
    }

}

.footer-created-by {
    margin-top: 12px !important;
    color: rgba(255, 255, 255, .48) !important;
    font-size: .75rem !important;
}

.footer-created-by a {
    color: rgba(255, 255, 255, .78);
    font-weight: 600;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-created-by a:hover {
    color: var(--gold);
}


/* ==================================================
   TABLETTE
================================================== */

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .hero-grid,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    justify-self: start;
  }

  .comparatif {
    grid-template-columns: 1fr;
  }

  .comparatif-separator {
    margin: -10px 0;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-points {
    grid-template-columns: 1fr;
  }
}

/* ==================================================
   MOBILE
================================================== */

@media (max-width: 650px) {
  :root {
    --header-height: 74px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .brand {
    font-size: 1.1rem;
  }

  .hero {
    padding: 70px 0 75px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .section {
    padding: 82px 0;
  }

  .hero-photo,
  .editorial-photo {
    width: 100%;
    max-width: 390px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .privacy-points {
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==================================================
   RÉDUCTION DES ANIMATIONS
================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ==================================================
   FORMULAIRE DE CONTACT — Thème sombre
   ================================================== */

.contact-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(28px, 4vw, 42px);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(216, 207, 213, 0.4);
  opacity: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 168, 184, 0.12);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d8cfd5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--surface);
  color: var(--text);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Checkbox de majorité */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.form-checkbox input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(216, 207, 213, 0.75);
  cursor: pointer;
}

/* Bouton du formulaire */
.contact-form .button {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
}

/* Message de fallback */
.contact-simple .contact-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(216, 207, 213, 0.6);
}

.contact-simple .contact-note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.contact-simple .contact-note a:hover {
  color: var(--accent);
}

/* États d'erreur */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-group input:invalid:not(:placeholder-shown):focus,
.form-group textarea:invalid:not(:placeholder-shown):focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

/* Responsive */
@media (max-width: 640px) {

    .contact-form {
        margin-top: 0;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 0.9rem;
        font-size: 1rem;
    }
}


.contact-direct {
    margin-top: 30px;
    padding-top: 4px;
}

.contact-direct span {
    display: block;
    margin-bottom: 5px;
    font-size: .88rem;
    opacity: .65;
}

.contact-direct a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s ease;
}

.contact-direct a:hover {
    opacity: .75;
    text-decoration: underline;
    text-underline-offset: 4px;
}


/* ==================================================
   FAQ — Accordéon stylisé (thème sombre)
   ================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto 0;
}

.faq-list:last-child {
  margin-bottom: 0;
}

.faq-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.faq-item[open] {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(214, 168, 184, 0.35);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* Le résumé cliquable */
.faq-item summary {
  position: relative;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--accent);
}

/* Icône +/- */
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
  background: var(--accent);
  color: var(--bg);
}

/* La réponse */
.faq-item p {
  padding: 0 1.5rem 1.25rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(216, 207, 213, 0.8);
  animation: faqReveal 0.3s ease;
}

@keyframes faqReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 640px) {
  .faq-item summary {
    padding: 1.1rem 3rem 1.1rem 1.2rem;
    font-size: 1rem;
  }

  .faq-item summary::after {
    right: 1rem;
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
  }

  .faq-item p {
    padding: 0 1.2rem 1.1rem;
    font-size: 0.9rem;
  }
}


/* ==================================================
   MENU MOBILE
================================================== */

.menu-toggle {
    display: none;
    position: relative;
    z-index: 1101;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 900px) {

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .brand {
        position: relative;
        z-index: 1101;
    }

    .menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
        margin-left: auto;
    }

    .main-nav {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 1100;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;

        width: 100%;
        height: 100dvh;

        background: #0d090d;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity .3s ease,
            visibility .3s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav a {
        font-size: 1.25rem;
    }

    body.menu-open {
        overflow: hidden;
    }
}


/* ==================================================
   ANIMATIONS REVEAL (apparition progressive)
   ================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.2s; }
.reveal-delay-4 { transition-delay: 0.3s; }

/* ==================================================
   ERREURS FORMULAIRE
   ================================================== */

.form-errors {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  color: #ffcccc;
  background: rgba(231, 76, 60, 0.12);
  border: 1px solid rgba(231, 76, 60, 0.35);
  border-radius: 10px;
  font-size: 0.95rem;
}

.form-errors ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.form-errors strong {
  color: #e74c3c;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0s; }
.reveal-delay-2 { transition-delay: 0.1s; }
.reveal-delay-3 { transition-delay: 0.2s; }
.reveal-delay-4 { transition-delay: 0.3s; }

/* ==================================================
   HERO CAROUSEL
================================================== */

.hero-carousel {
    position: relative;
    width: min(100%, 390px);
    margin: 0;
    justify-self: end;
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 4 / 5.25;
    background: url('/images-prive/hero-6.webp') center / cover no-repeat;
}

.hero-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-carousel .carousel-slide.is-active {
    opacity: 1;
}

@media (max-width: 900px) {
    .hero-carousel {
        width: 100%;
        max-width: 390px;
        justify-self: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel .carousel-slide {
        transition: none;
    }
}



.contact-success{
    margin:0 0 2rem;
    padding:1.2rem 1.5rem;
    border-radius:12px;
    background:#e8f8ee;
    border:1px solid #7bcf9c;
    color:#175c32;
    font-size:1rem;
    line-height:1.6;
}

[data-theme="dark"] .contact-success{
    background:#173323;
    border-color:#2d8f56;
    color:#b7f3c8;
}

.site-header{
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.brand{
    display:flex;
    align-items:center;
    text-decoration:none;
}

.brand img{
    display:block;
    height:60px;
    width:auto;
    transition:.25s;
}

.brand:hover img{
    transform:scale(1.03);
}

.footer-brand img{
    display:block;
    width:280px;
    max-width:100%;
    height:auto;
}

@media (max-width:768px){

    .footer-brand img{
        width:220px;
        margin:0 auto 1.5rem;
    }

}


/* ==========================================================
   MAIN - PAGE LÉGALE
========================================================== */

main{
    padding:4rem 0 6rem;
}

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */

.legal-hero{
    padding:3rem 0 4rem;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.legal-hero-inner{
    max-width:900px;
}

.legal-hero .eyebrow{
    display:inline-block;
    margin-bottom:1rem;
    padding:.45rem .9rem;
    border-radius:999px;
    background:rgba(220,30,45,.15);
    color:var(--color-primary);
    font-weight:600;
    font-size:.9rem;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.legal-hero h1{
    margin:0 0 1rem;
    font-size:clamp(2.6rem,5vw,4.4rem);
    line-height:1.1;
}

.legal-hero p{
    max-width:720px;
    font-size:1.1rem;
    opacity:.9;
}

.legal-hero-actions{
    display:flex;
    gap:1rem;
    margin-top:2rem;
    flex-wrap:wrap;
}

/* ----------------------------------------------------------
   LAYOUT
---------------------------------------------------------- */

.legal-layout{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:2.5rem;
    margin-top:3rem;
}

/* ----------------------------------------------------------
   SOMMAIRE
---------------------------------------------------------- */

.legal-summary{
    position:sticky;
    top:110px;
    align-self:start;

    padding:1.6rem;
    border-radius:18px;

    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
}

.legal-summary strong{
    display:block;
    margin-bottom:1rem;
    font-size:1.1rem;
}

.legal-summary nav{
    display:flex;
    flex-direction:column;
    gap:.8rem;
}

.legal-summary a{
    color:inherit;
    text-decoration:none;
    opacity:.8;
    transition:.2s;
}

.legal-summary a:hover{
    color:var(--color-primary);
    opacity:1;
}

/* ----------------------------------------------------------
   CONTENU
---------------------------------------------------------- */

.legal-content{
    display:flex;
    flex-direction:column;
    gap:2rem;
}

/* ----------------------------------------------------------
   CARTES
---------------------------------------------------------- */

.legal-card{
    padding:2rem;
    border-radius:20px;

    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(12px);
}

.legal-card h2{
    margin:0 0 1.4rem;
    font-size:1.6rem;
}

.legal-card h3{
    margin:2rem 0 .8rem;
    font-size:1.15rem;
}

.legal-card p,
.legal-card li{
    line-height:1.8;
    opacity:.92;
}

.legal-card ul{
    margin:1rem 0 1rem 1.3rem;
}

.legal-card a{
    color:var(--color-primary);
}

/* ----------------------------------------------------------
   TABLEAU INFOS
---------------------------------------------------------- */

.legal-data{
    display:flex;
    flex-direction:column;
    gap:.9rem;
}

.legal-data-row{
    display:grid;
    grid-template-columns:220px 1fr;
    gap:1rem;

    padding:.9rem 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.legal-data-row:last-child{
    border-bottom:none;
}

.placeholder{
    opacity:.9;
}

.update-date{
    margin-top:2rem;
    font-size:.9rem;
    opacity:.7;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */

@media (max-width:1000px){

    .legal-layout{
        grid-template-columns:1fr;
    }

    .legal-summary{
        position:static;
    }

}

@media (max-width:700px){

    main{
        padding:2rem 0 4rem;
    }

    .legal-card{
        padding:1.5rem;
    }

    .legal-data-row{
        grid-template-columns:1fr;
        gap:.35rem;
    }

    .legal-hero-actions{
        flex-direction:column;
    }

}


/* =========================================================
   BACK TO TOP — VERSION DÉCALÉE 😏
========================================================= */

.back-to-top {
    position: fixed;
    right: 28px;
    bottom: 34px;
    z-index: 2000;

    width: 38px;
    height: 74px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;

    color: #fff;
    background: var(--title);

    border-radius: 22px 22px 12px 12px;

    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s ease;
}


/* Les deux formes à la base */

.back-to-top::before,
.back-to-top::after {
    content: "";

    position: absolute;
    bottom: -9px;

    width: 25px;
    height: 25px;

    background: var(--title);
    border-radius: 50%;

    z-index: -1;
}

.back-to-top::before {
    left: -11px;
}

.back-to-top::after {
    right: -11px;
}


/* Flèche */

.back-to-top span {
    position: relative;
    z-index: 2;

    transform: translateY(-4px);
}


/* Apparition */

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


/* Survol */

.back-to-top:hover {
    transform: translateY(-5px);
}


/* Focus clavier */

.back-to-top:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 6px;
}


/* Tablette */

@media (max-width: 900px) {

    .back-to-top {
        right: 22px;
        bottom: 30px;
    }

}


/* Smartphone */

@media (max-width: 650px) {

    .back-to-top {
        right: 20px;
        bottom: 28px;

        width: 34px;
        height: 66px;

        font-size: 1.2rem;
    }

    .back-to-top::before,
    .back-to-top::after {
        width: 22px;
        height: 22px;
        bottom: -8px;
    }

    .back-to-top::before {
        left: -10px;
    }

    .back-to-top::after {
        right: -10px;
    }

}
