/*
  Restructuration du funnel, bâtie sur la direction artistique du site source.
  Les variables, polices, boutons, rayons, ombres et actifs restent ceux de styles.css.
*/

.funnel-hero {
  min-height: min(790px, 92svh);
}

.funnel-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 31, 46, .62), rgba(2, 31, 46, .22) 54%, rgba(2, 31, 46, .32)),
    linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 38%, rgba(2, 25, 36, .38));
}

.funnel-hero-inner {
  display: grid;
  width: min(var(--wide), calc(100% - 72px));
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  padding: 132px 0 62px;
}

.funnel-hero-copy {
  min-width: 0;
}

.funnel-hero .eyebrow {
  display: inline-block;
  margin-bottom: 16px;
}

.funnel-hero h1 {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: clamp(39px, 3.6vw, 52px);
  line-height: 1.03;
}

.funnel-hero .hero-copy {
  max-width: 590px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
}

.funnel-hero .hero-actions-expanded {
  display: grid;
  width: min(610px, 100%);
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
  margin-top: 26px;
  padding: 10px;
}

.funnel-hero .hero-actions-expanded .button {
  min-height: 48px;
  white-space: nowrap;
}

.funnel-hero .hero-actions-expanded p {
  grid-column: 1 / -1;
  justify-content: flex-start;
  padding: 3px 6px 1px;
}

.funnel-result-proof {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: var(--radius);
  background: rgba(255, 248, 237, .16);
  box-shadow:
    0 34px 90px rgba(0, 20, 32, .40),
    inset 0 1px 0 rgba(255, 255, 255, .38);
  transform: translateY(14px);
}

.funnel-result-proof::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 248, 237, .14);
  pointer-events: none;
}

.funnel-result-proof picture {
  display: block;
  aspect-ratio: 1.56 / 1;
  overflow: hidden;
  background: var(--night);
}

.funnel-result-proof img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.funnel-result-proof figcaption {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 2px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 7px;
  color: #fff;
  background: rgba(3, 54, 87, .72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}

.funnel-result-proof figcaption span {
  color: #efc776;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.funnel-result-proof figcaption strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
}

.funnel-method,
.funnel-voyage,
.funnel-questionnaire,
.funnel-cap {
  scroll-margin-top: 116px;
}

.funnel-method {
  width: min(var(--wide), calc(100% - 64px));
  margin-top: clamp(52px, 7vw, 94px);
  padding-top: clamp(54px, 6vw, 80px);
  padding-bottom: clamp(48px, 5.5vw, 72px);
}

.funnel-method .section-label,
.funnel-voyage .section-label,
.funnel-questionnaire .section-label,
.funnel-cap .section-label {
  display: block;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.funnel-method .fusion-intro h2 {
  max-width: 880px;
  font-size: clamp(38px, 4.1vw, 58px);
}

.funnel-method .fusion-pillars article {
  min-height: 220px;
}

.funnel-method .fusion-pillars h3 {
  min-height: 52px;
  white-space: normal;
}

.funnel-method-footer {
  display: flex;
  max-width: 1020px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(24px, 3vw, 38px);
  padding-top: clamp(22px, 2.5vw, 32px);
  border-top: 1px solid rgba(10, 52, 75, .12);
}

.funnel-method-footer p {
  max-width: 740px;
  color: rgba(10, 52, 75, .82);
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 27px);
  line-height: 1.35;
}

.funnel-method-footer .button {
  flex: 0 0 auto;
}

.funnel-voyage {
  width: min(var(--wide), calc(100% - 64px));
  padding-top: clamp(60px, 7vw, 96px);
  padding-bottom: clamp(60px, 7vw, 96px);
}

.funnel-voyage-media {
  position: relative;
  min-height: clamp(480px, 56vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: var(--radius);
  color: #fff;
  background: var(--night);
  box-shadow: var(--shadow-card);
}

.funnel-voyage-media > img,
.funnel-voyage-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.funnel-voyage-media > img {
  object-fit: cover;
  object-position: 50% 54%;
  filter: saturate(1.05) contrast(1.03) brightness(.88);
  transition: transform 8s ease, filter .8s ease;
}

.funnel-voyage-media:hover > img {
  transform: scale(1.018);
  filter: saturate(1.08) contrast(1.04) brightness(.92);
}

.funnel-voyage-shade {
  background:
    linear-gradient(90deg, rgba(2, 36, 51, .82), rgba(2, 36, 51, .38) 55%, rgba(2, 36, 51, .05)),
    linear-gradient(180deg, transparent 42%, rgba(2, 24, 35, .50));
}

.funnel-voyage-copy {
  position: absolute;
  z-index: 2;
  bottom: clamp(34px, 5vw, 62px);
  left: clamp(30px, 5vw, 66px);
  width: min(610px, calc(100% - 60px));
}

.funnel-voyage-copy h2 {
  max-width: 600px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.02;
  text-shadow: 0 20px 52px rgba(0, 20, 32, .42);
}

.funnel-voyage-copy > p:not(.section-label) {
  max-width: 560px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .90);
  font-size: 16px;
  line-height: 1.65;
}

.funnel-voyage-copy .button {
  border: 0;
}

.funnel-play {
  display: inline-grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid rgba(10, 52, 75, .22);
  border-radius: 50%;
  font-size: 9px;
  text-indent: 1px;
}

.funnel-questionnaire {
  display: grid;
  width: min(var(--wide), calc(100% - 64px));
  grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  padding-top: clamp(62px, 7vw, 96px);
  padding-bottom: clamp(68px, 8vw, 110px);
}

.funnel-questionnaire-visual {
  display: grid;
  min-height: 430px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .76);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, .78), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 242, .82), rgba(223, 242, 248, .72));
  box-shadow: var(--shadow-card);
}

.funnel-questionnaire-visual img {
  width: min(92%, 520px);
  max-height: 390px;
  object-fit: contain;
}

.funnel-questionnaire-copy h2,
.funnel-cap h2 {
  max-width: 640px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4vw, 56px);
}

.funnel-questionnaire-copy > p:not(.section-label),
.funnel-cap-intro > p:not(.section-label) {
  max-width: 650px;
  color: rgba(10, 52, 75, .78);
  font-size: 17px;
  line-height: 1.72;
}

.funnel-checks {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
  color: rgba(10, 52, 75, .82);
  font-size: 14px;
  font-weight: 700;
}

.funnel-checks li {
  position: relative;
  padding-left: 25px;
}

.funnel-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.funnel-cap {
  display: grid;
  width: min(var(--wide), calc(100% - 64px));
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: center;
  margin-bottom: clamp(74px, 9vw, 128px);
  padding: clamp(52px, 6vw, 82px);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, .78), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 242, .92), rgba(228, 244, 248, .82));
  box-shadow:
    inset 3px 0 0 rgba(197, 141, 58, .72),
    var(--shadow-card);
}

.funnel-cap-photo {
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.funnel-cap-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.closing-hero .button[type="button"] {
  font-family: var(--sans);
}

.voyage-overlay {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: none;
  background: #0d2f2f;
}

.voyage-overlay.is-open {
  display: block;
  animation: funnelVoyageOpen .45s ease both;
}

.voyage-overlay iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0d2f2f;
}

body.voyage-open {
  overflow: hidden;
}

@keyframes funnelVoyageOpen {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1080px) {
  .funnel-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .68fr);
    gap: 28px;
  }

  .funnel-hero h1 {
    font-size: clamp(36px, 4.4vw, 50px);
  }

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

  .funnel-hero .hero-actions-expanded p {
    grid-column: 1;
  }

  .funnel-questionnaire,
  .funnel-cap {
    gap: 38px;
  }
}

@media (max-width: 980px) {
  .site-header .header-cta {
    position: absolute;
    right: 62px;
    display: inline-flex;
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .site-header .menu-toggle {
    display: inline-grid;
  }

  .funnel-hero {
    min-height: auto;
  }

  .funnel-hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 148px 0 64px;
  }

  .funnel-hero-copy {
    max-width: 720px;
  }

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

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

  .funnel-questionnaire,
  .funnel-cap {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    min-height: 62px;
    padding: 7px 9px;
  }

  .site-header .brand img {
    width: 112px;
  }

  .site-header .header-cta {
    right: 51px;
    min-height: 38px;
    padding: 0 11px;
    font-size: 11px;
  }

  .funnel-hero-inner,
  .funnel-method,
  .funnel-voyage,
  .funnel-questionnaire,
  .funnel-cap {
    width: calc(100% - 32px);
  }

  .funnel-hero-inner {
    gap: 28px;
    padding-top: 112px;
    padding-bottom: 46px;
  }

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

  .funnel-hero h1 {
    max-width: 350px;
    margin-bottom: 16px;
    font-size: clamp(33px, 9.8vw, 42px);
    line-height: 1.01;
  }

  .funnel-hero .hero-copy {
    max-width: 350px;
    font-size: 15px;
    line-height: 1.55;
  }

  .funnel-hero .hero-actions-expanded {
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .funnel-hero .hero-actions-expanded .button {
    width: 100%;
    min-height: 44px;
  }

  .funnel-hero .hero-actions-expanded p {
    display: flex !important;
    flex-wrap: wrap;
    gap: 5px 12px;
    padding: 6px 4px 2px;
    font-size: 10px;
  }

  .funnel-hero .hero-actions-expanded p span + span::before {
    display: none;
  }

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

  .funnel-result-proof img {
    object-fit: cover;
    object-position: 50% 0;
  }

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

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

  .funnel-method {
    margin-top: 44px;
    padding: 50px 18px 54px;
  }

  .funnel-method .fusion-intro h2 {
    font-size: clamp(31px, 9vw, 39px);
  }

  .funnel-method .fusion-pillars article {
    min-height: auto;
  }

  .funnel-method .fusion-pillars h3 {
    min-height: 0;
  }

  .funnel-method-footer {
    display: grid;
  }

  .funnel-method-footer .button {
    width: 100%;
  }

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

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

  .funnel-voyage-media > img {
    object-position: 57% 50%;
  }

  .funnel-voyage-shade {
    background:
      linear-gradient(180deg, rgba(2, 36, 51, .18), rgba(2, 36, 51, .48) 42%, rgba(2, 36, 51, .88)),
      linear-gradient(90deg, rgba(2, 36, 51, .28), transparent);
  }

  .funnel-voyage-copy {
    bottom: 26px;
    left: 22px;
    width: calc(100% - 44px);
  }

  .funnel-voyage-copy h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .funnel-voyage-copy > p:not(.section-label) {
    font-size: 15px;
    line-height: 1.55;
  }

  .funnel-voyage-copy .button {
    width: 100%;
  }

  .funnel-questionnaire {
    gap: 30px;
    padding-top: 46px;
    padding-bottom: 68px;
  }

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

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

  .funnel-questionnaire-copy h2,
  .funnel-cap h2 {
    font-size: clamp(34px, 9.6vw, 42px);
  }

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

  .funnel-questionnaire-copy .button {
    width: 100%;
  }

  .funnel-cap {
    gap: 28px;
    margin-bottom: 72px;
    padding: 44px 20px 20px;
  }

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

}

@media (max-width: 390px) {
  .site-header .brand img {
    width: 102px;
  }

  .site-header .header-cta {
    max-width: 126px;
    padding: 0 9px;
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voyage-overlay.is-open {
    animation: none;
  }

  .funnel-voyage-media > img {
    transition: none;
  }
}
