/*
  Passe de finition non cassante.
  Ce fichier ne change ni le funnel, ni les routes, ni les moteurs métier.
*/

/* Un header plus discret : la navigation guide sans prendre le premier plan. */
.site-header {
  min-height: 62px;
  padding-block: 7px;
}

.main-nav {
  gap: clamp(18px, 2.2vw, 34px);
}

.main-nav a {
  font-size: 12px;
}

.header-cta {
  min-height: 42px;
  padding-inline: 17px;
}

/* Hero : davantage de preuve utile dans un viewport moins monumental. */
.funnel-hero {
  min-height: min(680px, 78svh);
}

.funnel-hero-inner {
  width: min(var(--wide), calc(100% - 64px));
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  gap: clamp(30px, 4.2vw, 64px);
  padding: 112px 0 38px;
}

.funnel-hero .eyebrow {
  margin-bottom: 12px;
}

.funnel-hero h1 {
  max-width: 620px;
  margin-bottom: 17px;
  font-size: clamp(38px, 3.25vw, 48px);
  line-height: 1.04;
}

.funnel-hero .hero-copy {
  max-width: 550px;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.55;
}

.funnel-hero .hero-actions-expanded {
  width: min(570px, 100%);
  gap: 8px;
  margin-top: 21px;
  padding: 8px;
}

.funnel-hero .hero-actions-expanded .button {
  min-height: 44px;
  padding-inline: 17px;
  font-size: 13px;
}

.funnel-hero .hero-actions-expanded p {
  display: flex;
  gap: 0;
  align-items: center;
  padding: 4px 4px 0;
  color: rgba(255, 255, 255, .79);
  font-size: 10px;
  letter-spacing: .015em;
}

.funnel-hero .hero-actions-expanded p span {
  white-space: nowrap;
}

.funnel-hero .hero-actions-expanded p span + span::before {
  content: "·";
  margin: 0 8px;
  opacity: .52;
}

.funnel-result-proof {
  transform: none;
  box-shadow:
    0 26px 70px rgba(0, 20, 32, .34),
    inset 0 1px 0 rgba(255, 255, 255, .38);
}

.funnel-result-proof picture {
  aspect-ratio: 1.62 / 1;
}

.funnel-result-proof figcaption {
  right: 11px;
  bottom: 11px;
  left: 11px;
  padding: 10px 12px;
}

.funnel-result-proof figcaption strong {
  font-size: 15px;
}

/* La promesse et l'action ne restent jamais masquées par une cinématique d'entrée. */
.js .funnel-hero .hero-actions {
  animation-duration: 560ms;
  animation-delay: 210ms;
}

/* Méthode : trois étapes visuelles, courtes et directement reliées au produit. */
.funnel-method {
  margin-top: clamp(36px, 4vw, 58px);
  padding-top: clamp(40px, 4.6vw, 58px);
  padding-bottom: clamp(38px, 4vw, 52px);
}

.funnel-method .fusion-intro {
  max-width: 960px;
}

.funnel-method .fusion-intro h2 {
  max-width: 780px;
  font-size: clamp(34px, 3.35vw, 48px);
  line-height: 1.05;
}

.funnel-method .fusion-intro p:not(.section-label) {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.6;
}

.funnel-method .fusion-grid {
  margin-top: clamp(26px, 3vw, 38px);
}

.funnel-method .fusion-pillars {
  gap: 14px;
}

.funnel-method .fusion-pillars article {
  min-height: 310px;
  padding: 13px 16px 21px;
}

.funnel-method-screen {
  height: 124px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(10, 52, 75, .10);
  border-radius: 7px;
  background: rgba(255, 255, 255, .58);
}

.funnel-method .fusion-pillars .funnel-method-screen img {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  object-position: center 22%;
  filter: none;
}

.funnel-method .fusion-pillars article:nth-child(3) .funnel-method-screen img {
  object-position: center 12%;
}

.funnel-method .fusion-pillars span {
  position: static;
  display: block;
  margin-bottom: 8px;
}

.funnel-method .fusion-pillars h3 {
  min-height: 0;
  margin-bottom: 8px;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.15;
}

.funnel-method .fusion-pillars p {
  font-size: 14px;
  line-height: 1.52;
}

.funnel-method-footer {
  max-width: none;
  gap: 24px;
  margin-top: 25px;
  padding-top: 22px;
}

.funnel-method-footer p {
  max-width: 780px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.38;
}

.funnel-method-footer .button {
  min-height: 44px;
}

/* Le Voyage se lit comme une expérience à déclencher, pas comme un texte à parcourir. */
.funnel-voyage {
  padding-top: clamp(46px, 5vw, 70px);
  padding-bottom: clamp(48px, 5vw, 72px);
}

.funnel-voyage-media {
  min-height: clamp(430px, 44vw, 540px);
}

.funnel-voyage-shade {
  background:
    linear-gradient(180deg, rgba(2, 36, 51, .46), rgba(2, 36, 51, .05) 45%, rgba(2, 24, 35, .44)),
    linear-gradient(90deg, rgba(2, 36, 51, .52), transparent 55%);
}

.funnel-voyage-copy {
  inset: 0;
  display: grid;
  width: auto;
  place-items: center;
  padding: clamp(28px, 4vw, 48px);
}

.funnel-voyage-heading {
  position: absolute;
  top: clamp(28px, 4vw, 48px);
  left: clamp(28px, 4vw, 48px);
  max-width: 590px;
}

.funnel-voyage-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.05;
  text-shadow: 0 16px 44px rgba(0, 20, 32, .42);
}

.funnel-voyage-launch {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font: 700 13px/1.2 var(--sans);
  letter-spacing: .04em;
  cursor: pointer;
  text-shadow: 0 2px 20px rgba(0, 20, 32, .55);
}

.funnel-voyage-launch .funnel-play {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, .72);
  color: var(--deep);
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 16px 48px rgba(0, 20, 32, .28);
  font-size: 14px;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.funnel-voyage-launch:hover .funnel-play,
.funnel-voyage-launch:focus-visible .funnel-play {
  transform: scale(1.06);
  background: #fff;
  box-shadow: 0 20px 56px rgba(0, 20, 32, .36);
}

.funnel-voyage-launch:focus-visible {
  outline: 3px solid #f0b85f;
  outline-offset: 8px;
}

/* Questionnaire de homepage et CAP : moins de panneau, davantage d'information utile. */
.funnel-questionnaire {
  gap: clamp(30px, 4.5vw, 64px);
  padding-top: clamp(46px, 5vw, 68px);
  padding-bottom: clamp(52px, 5.5vw, 76px);
}

.funnel-questionnaire-visual {
  min-height: 330px;
}

.funnel-questionnaire-visual img {
  max-height: 305px;
}

.funnel-questionnaire-copy h2,
.funnel-cap h2 {
  margin-bottom: 15px;
  font-size: clamp(34px, 3.3vw, 47px);
  line-height: 1.06;
}

.funnel-questionnaire-copy > p:not(.section-label),
.funnel-cap-intro > p:not(.section-label) {
  font-size: 15.5px;
  line-height: 1.6;
}

.funnel-checks {
  gap: 7px;
  margin: 18px 0 22px;
}

.funnel-cap {
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: clamp(30px, 4.5vw, 62px);
  margin-bottom: clamp(52px, 6vw, 82px);
  padding: clamp(38px, 4.5vw, 58px);
}

.funnel-cap-photo {
  min-height: 330px;
}

.site-footer {
  padding-top: clamp(44px, 5vw, 68px);
}

@media (max-width: 1080px) {
  .funnel-hero {
    min-height: auto;
  }

  .funnel-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .72fr);
  }

  .funnel-hero .hero-actions-expanded {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .funnel-hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 118px 0 46px;
  }

  .funnel-result-proof {
    width: min(610px, 100%);
  }

  .funnel-method .fusion-pillars {
    grid-template-columns: 1fr;
  }

  .funnel-method .fusion-pillars article {
    display: grid;
    min-height: 0;
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 20px;
    align-items: start;
  }

  .funnel-method-screen {
    height: 118px;
    grid-row: 1 / 4;
    margin: 0;
  }

  .funnel-method .fusion-pillars span {
    grid-column: 2;
    grid-row: 1;
  }

  .funnel-method .fusion-pillars h3 {
    grid-column: 2;
    grid-row: 2;
  }

  .funnel-method .fusion-pillars p {
    grid-column: 2;
    grid-row: 3;
  }

  .funnel-questionnaire-visual {
    min-height: 310px;
  }

  .funnel-cap-photo {
    min-height: 290px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 58px;
  }

  .funnel-hero-inner {
    gap: 23px;
    padding-top: 100px;
    padding-bottom: 34px;
  }

  .funnel-hero h1 {
    max-width: 340px;
    font-size: clamp(31px, 8.8vw, 38px);
    line-height: 1.03;
  }

  .funnel-hero .hero-actions-expanded {
    grid-template-columns: 1fr;
    margin-top: 17px;
  }

  .funnel-hero .hero-actions-expanded p {
    justify-content: center;
    gap: 3px 0;
    line-height: 1.5;
  }

  .funnel-hero .hero-actions-expanded p span {
    display: inline-flex;
    align-items: center;
  }

  .funnel-hero .hero-actions-expanded p span + span::before {
    display: inline-block !important;
    margin: 0 6px;
  }

  .funnel-result-proof picture {
    aspect-ratio: .96 / 1;
  }

  .funnel-result-proof figcaption {
    position: static;
    border: 0;
    border-radius: 0;
    background: rgba(3, 54, 87, .92);
    box-shadow: none;
    backdrop-filter: none;
  }

  .funnel-method {
    margin-top: 28px;
    padding: 39px 14px 42px;
  }

  .funnel-method .fusion-intro h2 {
    font-size: clamp(29px, 8vw, 36px);
  }

  .funnel-method .fusion-pillars article {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 14px;
    padding: 11px 12px 15px;
  }

  .funnel-method-screen {
    height: 92px;
  }

  .funnel-method .fusion-pillars h3 {
    font-size: 20px;
  }

  .funnel-method .fusion-pillars p {
    font-size: 13.5px;
  }

  .funnel-method-footer {
    gap: 17px;
    margin-top: 20px;
  }

  .funnel-method-footer p {
    font-size: 18px;
  }

  .funnel-voyage {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .funnel-voyage-media {
    min-height: 470px;
  }

  .funnel-voyage-copy {
    padding: 22px;
  }

  .funnel-voyage-heading {
    top: 23px;
    left: 22px;
    width: calc(100% - 44px);
  }

  .funnel-voyage-heading h2 {
    max-width: 330px;
    font-size: clamp(31px, 8.6vw, 39px);
  }

  .funnel-voyage-launch .funnel-play {
    width: 58px;
    height: 58px;
  }

  .funnel-questionnaire {
    gap: 24px;
    padding-top: 40px;
    padding-bottom: 52px;
  }

  .funnel-questionnaire-visual {
    min-height: 260px;
  }

  .funnel-questionnaire-visual img {
    max-height: 245px;
  }

  .funnel-questionnaire-copy h2,
  .funnel-cap h2 {
    font-size: clamp(31px, 8.8vw, 39px);
  }

  .funnel-cap {
    gap: 22px;
    margin-bottom: 52px;
    padding: 36px 18px 18px;
  }

  .funnel-cap-photo {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-voyage-launch .funnel-play {
    transition: none;
  }
}
