﻿:root {
  --night: #061625;
  --night-deep: #020b13;
  --night-panel: rgba(4, 17, 29, 0.82);

  --gold: #d9a441;
  --gold-light: #f3c969;
  --gold-soft: #b98634;

  --white: #fffdf8;
  --text-soft: #d7d6d2;

  --border-gold: rgba(217, 164, 65, 0.72);

  --max-width: 1420px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family:
    "Segoe UI",
    Arial,
    sans-serif;

  color: var(--white);

  background:
    var(--night-deep);

  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}


/* ==========================================================
   EN-TETE
   ========================================================== */

.site-header {
  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  z-index: 20;

  background:
    linear-gradient(
      180deg,
      rgba(1, 8, 14, 0.82),
      rgba(1, 8, 14, 0.18),
      transparent
    );
}

.header-inner {
  width:
    min(
      calc(100% - 60px),
      var(--max-width)
    );

  min-height: 100px;

  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;

  gap: 13px;
}

.brand-symbol {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  border:
    2px solid var(--gold);

  border-radius: 50%;

  color: var(--gold-light);

  font-size: 30px;

  background:
    rgba(2, 11, 19, 0.45);

  box-shadow:
    0 0 25px
    rgba(217, 164, 65, 0.14);
}

.brand-text {
  display: flex;
  flex-direction: column;

  line-height: 1.15;
}

.brand-text strong {
  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 22px;
}

.brand-text small {
  margin-top: 5px;

  color: var(--gold-light);

  font-size: 12px;
}

.main-navigation {
  display: flex;
  align-items: center;

  gap: 36px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 16px;
}

.main-navigation a {
  transition:
    color 0.2s ease;
}

.main-navigation a:hover {
  color: var(--gold-light);
}

.header-actions {
  display: flex;
  align-items: center;

  gap: 12px;
}


/* ==========================================================
   BOUTONS
   ========================================================== */

.button {
  min-height: 46px;

  padding:
    10px 21px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid transparent;

  border-radius: 999px;

  font-weight: 700;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform:
    translateY(-2px);
}

.button-primary {
  color: #171006;

  background:
    linear-gradient(
      135deg,
      #f5d27a,
      #d79c34
    );

  box-shadow:
    0 10px 30px
    rgba(217, 164, 65, 0.25);
}

.button-primary:hover {
  box-shadow:
    0 14px 38px
    rgba(217, 164, 65, 0.38);
}

.button-secondary,
.button-link {
  color: var(--white);

  border-color:
    var(--border-gold);

  background:
    rgba(3, 14, 24, 0.58);

  backdrop-filter:
    blur(8px);
}

.button-secondary:hover,
.button-link:hover {
  background:
    rgba(217, 164, 65, 0.12);
}

.button-large {
  min-height: 56px;

  padding:
    14px 28px;

  font-size: 16px;
}


/* ==========================================================
   HERO
   ========================================================== */

.hero {
  position: relative;

  width: 100%;

  min-height: 100vh;

  margin: 0;

  padding:
    145px max(30px, calc((100vw - var(--max-width)) / 2))
    80px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(410px, 0.72fr);

  align-items: center;

  gap: 90px;

  overflow: hidden;

  background-image:
    linear-gradient(
      90deg,
      rgba(1, 9, 16, 0.93) 0%,
      rgba(1, 10, 18, 0.76) 30%,
      rgba(2, 13, 23, 0.36) 55%,
      rgba(2, 12, 21, 0.28) 100%
    ),
    linear-gradient(
      0deg,
      rgba(2, 10, 17, 0.64) 0%,
      transparent 45%
    ),
    url("../images/couple nouveau.png");

  background-size:
    cover;

  background-position:
    center center;

  background-repeat:
    no-repeat;
}

.hero::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 150px;

  pointer-events: none;

  background:
    linear-gradient(
      transparent,
      var(--night-deep)
    );
}

.hero-content {
  position: relative;
  z-index: 3;

  max-width: 610px;

  transform:
    translateX(-18px);
}

.eyebrow {
  margin:
    0 0 20px;

  color: var(--gold-light);

  font-size: 12px;
  font-weight: 800;

  letter-spacing: 0.19em;

  text-transform: uppercase;
}

.hero h1 {
  margin: 0;

  max-width: 600px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      48px,
      4.45vw,
      70px
    );

  font-weight: 700;

  line-height: 0.98;

  letter-spacing:
    -0.045em;

  text-shadow:
    0 4px 30px
    rgba(0, 0, 0, 0.65);
}

.hero h1 span {
  display: block;

  margin-top: 10px;

  color: var(--gold-light);
}

.hero-introduction {
  max-width: 590px;

  margin:
    27px 0 0;

  color: #f1efea;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 17px;

  line-height: 1.55;

  text-shadow:
    0 2px 12px
    rgba(0, 0, 0, 0.8);
}

.hero-actions {
  margin-top: 30px;

  display: flex;
  flex-wrap: wrap;

  gap: 14px;
}

.adult-notice {
  margin-top: 17px;

  color: #d1ccc5;

  font-size: 13px;

  text-shadow:
    0 2px 8px
    rgba(0, 0, 0, 0.9);
}

.adult-notice {
  margin-top: 18px;

  color: #d1ccc5;

  font-size: 13px;

  text-shadow:
    0 2px 8px
    rgba(0, 0, 0, 0.9);
}


/* ==========================================================
   CARTE DES 8 ETAPES
   ========================================================== */

.hero-card {
  position: relative;
  z-index: 3;

  justify-self: end;

  width: 100%;
  max-width: 440px;

  padding:
    34px 38px;

  border:
    1px solid var(--border-gold);

  border-radius: 25px;

  background:
    linear-gradient(
      145deg,
      rgba(3, 17, 29, 0.91),
      rgba(2, 11, 20, 0.76)
    );

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.4),
    inset 0 1px 0
    rgba(255, 255, 255, 0.06);

  backdrop-filter:
    blur(12px);
}

.hero-card-heading {
  margin-bottom: 24px;

  display: flex;
  flex-direction: column;
}

.hero-card-heading span {
  color: #d7d0c8;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 15px;
}

.hero-card-heading strong {
  margin-top: 2px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 25px;
}

.relationship-path {
  display: flex;
  flex-direction: column;
}

.path-step {
  display: grid;

  grid-template-columns:
    45px 1fr;

  align-items: center;

  gap: 16px;
}

.path-step span {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  transform:
    rotate(45deg);

  border:
    2px solid var(--gold);

  color: var(--white);

  background:
    rgba(4, 17, 29, 0.88);

  font-weight: 800;

  box-shadow:
    0 0 12px
    rgba(217, 164, 65, 0.06);
}

.path-step span::first-line {
  transform:
    rotate(-45deg);
}

.path-step p {
  margin: 0;

  color: #f4f0e9;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 17px;
}

.path-step.active span,
.path-step.certification span {
  color: #171006;

  border-color:
    var(--gold-light);

  background:
    linear-gradient(
      135deg,
      #ffe095,
      #d79b32
    );

  box-shadow:
    0 0 24px
    rgba(217, 164, 65, 0.38);
}

.path-step.active p,
.path-step.certification p {
  color: var(--gold-light);

  font-weight: 700;
}

.path-line {
  width: 2px;
  height: 16px;

  margin-left: 19px;

  background:
    rgba(217, 164, 65, 0.65);
}


/* ==========================================================
   CONTENU APRES LE HERO
   ========================================================== */

.section {
  width:
    min(
      calc(100% - 40px),
      1180px
    );

  margin: 0 auto;

  padding:
    105px 0;
}

.section-heading {
  max-width: 760px;

  margin-bottom: 55px;
}

.section-heading h2,
.security-content h2 {
  margin:
    0 0 20px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      38px,
      5vw,
      58px
    );

  line-height: 1.05;
}

.section-heading > p:last-child,
.security-content > p:last-child {
  color: #bcb8b4;

  font-size: 17px;
}

.feature-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 22px;
}

.feature-card {
  min-height: 270px;

  padding: 32px;

  border:
    1px solid
    rgba(217, 164, 65, 0.18);

  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(16, 43, 64, 0.48),
      rgba(5, 18, 30, 0.72)
    );

  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.feature-card:hover {
  transform:
    translateY(-6px);

  border-color:
    rgba(217, 164, 65, 0.5);
}

.feature-number {
  color: var(--gold-light);

  font-size: 13px;
  font-weight: 800;
}

.feature-card h3 {
  margin:
    42px 0 12px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: 27px;
}

.feature-card p {
  margin: 0;

  color: #bdb9b5;
}


/* ==========================================================
   SECURITE
   ========================================================== */

.section-security {
  padding: 70px;

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 70px;

  border:
    1px solid
    rgba(217, 164, 65, 0.25);

  border-radius: 30px;

  background:
    linear-gradient(
      135deg,
      #0c2639,
      #061522
    );

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.25);
}

.security-points {
  display: flex;
  flex-direction: column;

  justify-content: center;

  gap: 15px;
}

.security-points > div {
  padding:
    20px 22px;

  display: flex;
  flex-direction: column;

  border:
    1px solid
    rgba(217, 164, 65, 0.17);

  border-radius: 13px;

  background:
    rgba(255, 255, 255, 0.035);
}

.security-points span {
  margin-top: 5px;

  color: #aaa9a6;

  font-size: 14px;
}


/* ==========================================================
   VALEURS
   ========================================================== */

.values-section {
  text-align: center;
}

.values-message {
  max-width: 900px;

  margin: 0 auto;
}

.values-message blockquote {
  margin:
    20px 0 28px;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:
    clamp(
      32px,
      5vw,
      54px
    );

  line-height: 1.15;
}

.values-message > p:last-child {
  color: #bcb8b4;

  font-size: 17px;
}


/* ==========================================================
   PIED DE PAGE
   ========================================================== */

.site-footer {
  border-top:
    1px solid
    rgba(217, 164, 65, 0.15);

  background:
    #020a11;
}

.footer-inner {
  width:
    min(
      calc(100% - 40px),
      1180px
    );

  min-height: 160px;

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    1fr auto auto;

  align-items: center;

  gap: 40px;
}

.footer-inner p {
  margin:
    3px 0 0;

  color: #8f8d8b;

  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;

  gap: 20px;

  color: #aaa7a4;

  font-size: 13px;
}

.footer-links a:hover {
  color: var(--gold-light);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1050px) {

  .main-navigation {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;

    gap: 45px;

    padding-top: 130px;

    background-position:
      58% center;
  }

  .hero-content {
    max-width: 720px;
  }

  .hero-card {
    justify-self: start;
  }

  .section-security {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 720px) {

  .header-inner {
    width:
      calc(100% - 24px);

    min-height: 78px;
  }

  .brand-text small {
    display: none;
  }

  .header-actions
  .button-secondary {
    display: none;
  }

  .header-actions
  .button-primary {
    padding:
      9px 13px;

    font-size: 12px;
  }

  .hero {
    padding:
      115px 20px
      70px;

    background-position:
      56% center;
  }

  .hero h1 {
    font-size:
      clamp(
        42px,
        13vw,
        60px
      );
  }

  .hero-introduction {
    font-size: 16px;
  }

  .hero-card {
    padding:
      27px 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding:
      75px 0;
  }

  .section-security {
    width: 100%;

    padding:
      60px 25px;

    border-radius: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;

    padding:
      40px 0;

    gap: 25px;
  }

}




/* ==========================================================
   CHL - QUESTIONNAIRE DE LANCEMENT - ACCUEIL
   ========================================================== */

.hero-survey-callout {
  margin-top: 22px;
  padding: 18px 20px;

  max-width: 620px;

  border: 1px solid rgba(217, 164, 65, 0.28);
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(6, 22, 37, 0.76),
      rgba(2, 11, 19, 0.62)
    );

  box-shadow:
    0 12px 32px
    rgba(0, 0, 0, 0.18);

  backdrop-filter:
    blur(8px);
}

.hero-survey-callout p {
  margin:
    0 0 14px;

  max-width: 560px;

  color: #e9e4dc;

  font-size: 14px;
  line-height: 1.55;
}

.hero-survey-callout .button {
  min-height: 48px;

  padding:
    11px 20px;

  font-size: 14px;
}

@media (max-width: 720px) {

  .hero-survey-callout {
    margin-top: 18px;

    padding:
      16px;

    border-radius: 14px;
  }

  .hero-survey-callout p {
    font-size: 13px;
  }

  .hero-survey-callout .button {
    width: 100%;

    min-height: 50px;

    padding:
      12px 16px;

    text-align: center;
  }

}

/* ==========================================================
   CHL - BOUTON QUESTIONNAIRE COMPACT
   ========================================================== */

.button-survey {
  color: var(--gold-light);

  border-color:
    rgba(243, 201, 105, 0.55);

  background:
    rgba(217, 164, 65, 0.08);
}

.button-survey:hover {
  color: var(--white);

  background:
    rgba(217, 164, 65, 0.18);
}

@media (max-width: 720px) {

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 48px;
  }

}

/* ==========================================================
   CHL - LIEN QUESTIONNAIRE COMPACT
   ========================================================== */

.hero-survey-link {
  display: inline-block;

  margin-top: 6px;

  color: var(--gold-light);

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.hero-survey-link:hover {
  color: var(--white);

  transform:
    translateX(3px);
}

/* ==========================================================
   CHL - HERO COMPACT HORIZONTAL V2
   ========================================================== */

.hero-card {
  max-width: 650px;
  padding: 26px 28px;
}

.hero-card-heading {
  margin-bottom: 20px;
}

.hero-card-heading strong {
  font-size: 22px;
}

.relationship-path-horizontal {
  position: relative;

  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));

  gap: 8px;

  margin-bottom: 22px;
}

.relationship-path-horizontal::before {
  content: "";

  position: absolute;

  top: 18px;
  left: 5%;
  right: 5%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(217, 164, 65, 0.65) 8%,
      rgba(217, 164, 65, 0.65) 92%,
      transparent
    );
}

.relationship-path-horizontal .path-step {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 9px;

  text-align: center;
}

.relationship-path-horizontal .path-step span {
  width: 36px;
  height: 36px;

  flex: 0 0 36px;

  font-size: 13px;
}

.relationship-path-horizontal .path-step p {
  margin: 0;

  font-size: 11px;
  line-height: 1.15;

  white-space: normal;
}

.relationship-path-horizontal .path-line {
  display: none;
}


/* Trois idées intégrées directement dans le hero */

.hero-concept-compact {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 10px;

  padding-top: 17px;

  border-top:
    1px solid rgba(217, 164, 65, 0.18);
}

.hero-concept-compact article {
  min-width: 0;

  padding: 12px 13px;

  border:
    1px solid rgba(217, 164, 65, 0.16);

  border-radius: 11px;

  background:
    rgba(255, 255, 255, 0.025);
}

.hero-concept-compact strong {
  display: block;

  margin-bottom: 4px;

  color: var(--gold-light);

  font-size: 12px;
}

.hero-concept-compact span {
  display: block;

  color: #d7d0c8;

  font-size: 11px;
  line-height: 1.35;
}


@media (max-width: 1050px) {

  .hero-card {
    max-width: 100%;
  }

}


@media (max-width: 720px) {

  .hero-card {
    padding: 20px 16px;
  }

  .relationship-path-horizontal {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));

    row-gap: 16px;
  }

  .relationship-path-horizontal::before {
    display: none;
  }

  .hero-concept-compact {
    grid-template-columns: 1fr;
  }

}
