/*
  Extension non cassante — Préparation, Carnet et accompagnement.
  Les variables, boutons et principes visuels restent ceux de la DA existante.
*/

/* Une échelle typographique courte et commune aux nouvelles surfaces. */
.funnel-carnet h2,
.funnel-method h2,
.funnel-voyage h2,
.funnel-questionnaire h2,
.funnel-cap h2,
.product-hero h1,
.product-section h2,
.contact-intro h1,
.contact-intro h2 {
  font-size: clamp(34px, 3.25vw, 48px);
  line-height: 1.07;
}

.funnel-cap-contact {
  width: fit-content;
  margin-top: 16px;
}

/* Les captures d'interface sont cadrées comme des produits, jamais rognées au hasard. */
.funnel-method .fusion-pillars .funnel-method-screen img,
.funnel-method .fusion-pillars article:nth-child(3) .funnel-method-screen img,
.funnel-questionnaire-visual img {
  object-fit: contain;
  object-position: center;
}

.funnel-method-screen,
.funnel-questionnaire-visual {
  background: rgba(255, 248, 237, .72);
}

.product-section h3,
.preparation-step h2,
.carnet-feature h3 {
  font-size: clamp(21px, 1.8vw, 27px);
  line-height: 1.16;
}

.funnel-carnet p,
.product-page p,
.product-page li,
.product-page label {
  font-size: 15px;
  line-height: 1.6;
}

/* Le Carnet existe dès le hero, mais reste secondaire face au vrai Résultat. */
.funnel-carnet-peek {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: flex;
  width: min(235px, 46%);
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 7px;
  color: #fff;
  background: rgba(3, 54, 87, .78);
  box-shadow: 0 14px 36px rgba(0, 20, 32, .23);
  backdrop-filter: blur(11px);
  transition: transform .28s ease, background .28s ease;
}

.funnel-carnet-peek:hover {
  transform: translateY(-2px);
  background: rgba(3, 54, 87, .9);
}

.funnel-carnet-peek > img {
  width: 42px;
  height: 53px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 7px 16px rgba(0, 0, 0, .22);
}

.funnel-carnet-peek span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.funnel-carnet-peek small {
  color: #efc776;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.funnel-carnet-peek strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.1;
}

/* Section produit Carnet : de vrais extraits, jamais une fausse carte marketing. */
.funnel-carnet {
  display: grid;
  width: min(var(--wide), calc(100% - 64px));
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  padding-top: clamp(54px, 6vw, 78px);
  padding-bottom: clamp(54px, 6vw, 78px);
  scroll-margin-top: 105px;
}

.funnel-carnet .section-label {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.funnel-carnet h2 {
  max-width: 680px;
  margin-bottom: 18px;
}

.funnel-carnet-copy > p:not(.section-label) {
  max-width: 650px;
  color: var(--ink-soft);
}

.funnel-carnet-copy {
  grid-column: 1;
}

.funnel-carnet-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.funnel-carnet-list li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.funnel-carnet-list li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.funnel-carnet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
}

.text-link {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(10, 52, 75, .28);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.funnel-carnet-pages {
  position: relative;
  grid-column: 2;
  min-height: 505px;
}

.carnet-page {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 52, 75, .12);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 22px 55px rgba(6, 44, 66, .16);
}

.carnet-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.carnet-page-cover {
  z-index: 3;
  top: 10px;
  left: 4%;
  width: 43%;
  aspect-ratio: 4 / 5;
  transform: rotate(-2deg);
}

.carnet-page-detail {
  z-index: 2;
  top: 40px;
  right: 2%;
  width: 45%;
  aspect-ratio: 4 / 5;
  transform: rotate(2.2deg);
}

.carnet-page-small {
  z-index: 4;
  right: 25%;
  bottom: 0;
  width: 32%;
  aspect-ratio: 4 / 5;
  transform: rotate(.8deg);
}

/* Pages produit */
.product-page {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 7%, rgba(214, 237, 248, .62), transparent 28%),
    linear-gradient(180deg, #fff8ed 0%, #f4f4ed 58%, #edf8fa 100%);
}

.product-main {
  overflow: hidden;
}

.product-hero {
  position: relative;
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
  padding: 126px max(32px, calc((100vw - var(--wide)) / 2)) 58px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(3, 54, 87, .98), rgba(3, 54, 87, .78) 50%, rgba(0, 108, 168, .38)),
    url("assets-site/photos/DESTINATION_Martinique_Palmier.webp") center 46% / cover;
}

.product-page .product-hero {
  background:
    linear-gradient(105deg, rgba(3, 54, 87, .98), rgba(3, 54, 87, .78) 50%, rgba(0, 108, 168, .35)),
    url("assets-site/photos/DESTINATION_Martinique_Palmier.webp") center 46% / cover;
}

.product-hero-copy {
  max-width: 670px;
}

.product-hero .eyebrow,
.contact-intro .eyebrow {
  margin-bottom: 12px;
  color: #efc776;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: #fff;
}

.product-hero h1 > span {
  display: block;
}

.product-hero-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
}

.product-hero-copy > small {
  display: block;
  max-width: 610px;
  margin-top: 11px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.product-hero-visual {
  position: relative;
  min-height: 405px;
}

.product-shot {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 28px 72px rgba(0, 20, 32, .32);
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top;
}

.product-hero-visual .product-shot-main {
  position: absolute;
  top: 0;
  right: 8%;
  width: 46%;
  aspect-ratio: 4 / 5;
}

.product-hero-visual .product-shot-secondary {
  position: absolute;
  bottom: 0;
  left: 1%;
  width: 52%;
  aspect-ratio: 4 / 5;
  transform: rotate(-1.5deg);
}

.product-section {
  width: min(var(--wide), calc(100% - 64px));
  margin-inline: auto;
  padding-block: clamp(54px, 6vw, 78px);
}

.product-section-heading {
  display: block;
  max-width: 1100px;
  margin-bottom: 34px;
}

.product-section-heading > p {
  max-width: 72ch;
  margin-top: 14px;
  color: var(--ink-soft);
}

.preparation-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.preparation-step {
  min-height: 258px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid rgba(10, 52, 75, .11);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 250, 242, .92), rgba(239, 248, 248, .78));
  box-shadow: 0 16px 38px rgba(6, 44, 66, .08);
}

.preparation-step .step-number {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.preparation-step h2 {
  margin-bottom: 14px;
}

.preparation-step ul,
.carnet-feature ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  list-style: none;
}

.preparation-step li::before,
.carnet-feature li::before {
  content: "·";
  margin-right: 6px;
  color: var(--gold);
}

.product-decision-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(30px, 4vw, 46px);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(125deg, var(--night), #075d82);
  box-shadow: var(--shadow-card);
}

.product-decision-band h2,
.product-decision-band h3 {
  color: #fff;
}

.product-decision-band p {
  max-width: 680px;
  margin-top: 9px;
  color: rgba(255, 255, 255, .76);
}

.decision-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

/* Carnet détaillé */
.carnet-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.carnet-gallery figure {
  margin: 0;
}

.carnet-gallery .product-shot {
  aspect-ratio: 4 / 5;
  border-color: var(--line);
  box-shadow: 0 18px 48px rgba(6, 44, 66, .13);
}

.carnet-gallery figcaption {
  padding-top: 11px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.carnet-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.carnet-feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .45);
}

.carnet-feature h3 {
  margin-bottom: 12px;
}

/* Accompagnement CAP */
.contact-layout {
  display: grid;
  width: min(1060px, calc(100% - 64px));
  grid-template-columns: minmax(280px, .75fr) minmax(420px, 1.25fr);
  gap: clamp(32px, 6vw, 80px);
  margin: 0 auto;
  padding: 132px 0 72px;
}

.b2b-contact-layout {
  padding-top: 72px;
}

.contact-intro {
  align-self: start;
  padding-top: 8px;
}

.contact-intro h1 {
  margin-bottom: 16px;
}

.contact-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.orientation-card {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .52);
}

.orientation-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.orientation-card strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.orientation-card a {
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.contact-form-shell {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 248, 237, .86);
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label:not(.consent):not(.form-honeypot) {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(10, 52, 75, .18);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 400;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(0, 108, 168, .23);
  border-color: var(--sea);
}

.contact-form .consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.contact-form .consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.form-status {
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 13px;
}

.form-status[data-state="success"] {
  color: #164c37;
  background: #e8f5ed;
}

.form-status[data-state="error"] {
  color: #7a2930;
  background: #f9e8e8;
}

@media (max-width: 1080px) {
  .main-nav {
    gap: 15px;
  }

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

  .funnel-carnet {
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  }
}

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

  .funnel-carnet,
  .product-hero,
  .product-section-heading,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .funnel-carnet {
    width: min(760px, calc(100% - 40px));
  }

  .funnel-carnet-copy,
  .funnel-carnet-pages {
    grid-column: 1;
  }

  .funnel-carnet-pages {
    min-height: 470px;
  }

  .product-hero {
    min-height: auto;
    padding: 118px 28px 52px;
  }

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

  .product-hero-visual {
    width: min(620px, 100%);
    min-height: 430px;
  }

  .product-section-heading {
    gap: 14px;
  }

  .carnet-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carnet-features {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    width: min(720px, calc(100% - 40px));
    gap: 26px;
    padding-top: 116px;
  }
}

@media (max-width: 680px) {
  .product-page .site-header .brand img {
    width: 104px;
  }

  .product-page .site-header .header-cta {
    right: 51px;
    min-height: 38px;
    width: 145px;
    max-width: 145px;
    padding: 0 7px;
    font-size: 12px !important;
    white-space: nowrap;
  }

  .funnel-carnet h2,
  .funnel-method h2,
  .funnel-voyage h2,
  .funnel-questionnaire h2,
  .funnel-cap h2,
  .product-hero h1,
  .product-section h2,
  .contact-intro h1 {
    font-size: clamp(31px, 9vw, 38px);
  }


  .funnel-cap-contact {
    width: 100%;
  }

  .funnel-carnet {
    width: calc(100% - 28px);
    gap: 26px;
    padding-block: 43px;
  }

  .funnel-carnet-list,
  .preparation-steps {
    grid-template-columns: 1fr;
  }

  .funnel-carnet-pages {
    min-height: 360px;
  }

  .funnel-carnet-actions,
  .product-actions,
  .decision-links {
    align-items: stretch;
    flex-direction: column;
  }

  .funnel-carnet-actions .button,
  .product-actions .button,
  .decision-links .button {
    width: 100%;
  }

  .funnel-carnet-peek {
    top: 8px;
    right: 8px;
    width: 176px;
    padding: 6px;
  }

  .funnel-carnet-peek > img {
    width: 32px;
    height: 41px;
  }

  .funnel-carnet-peek strong {
    font-size: 12px;
  }

  .funnel-carnet-peek small {
    font-size: 7px;
  }

  .product-hero {
    padding: 105px 18px 40px;
  }

  .product-hero-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .product-hero-visual {
    min-height: 335px;
  }

  .product-section {
    width: calc(100% - 28px);
    padding-block: 43px;
  }

  .preparation-step {
    min-height: 0;
    padding: 23px 20px;
  }

  .product-decision-band {
    grid-template-columns: 1fr;
    padding: 25px 20px;
  }

  .decision-links {
    justify-content: stretch;
  }

  .carnet-gallery {
    display: flex;
    width: calc(100vw - 14px);
    gap: 12px;
    margin-left: -7px;
    padding: 0 14px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .carnet-gallery figure {
    width: min(76vw, 285px);
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .contact-layout {
    width: calc(100% - 28px);
    padding: 102px 0 48px;
  }

  .contact-form-shell {
    padding: 21px 17px;
  }
}

/* Passe de consolidation : largeur de lecture, accompagnement et densité. */
.product-hero-copy h1 {
  max-width: 28ch;
  font-size: clamp(42px, 3.45vw, 48px) !important;
  text-wrap: balance;
}

.product-hero-copy > p:not(.eyebrow) {
  max-width: 58ch;
  text-wrap: pretty;
}

.product-section-heading h2,
.preparation-step h2,
.product-decision-band h2 {
  max-width: 24ch;
  text-wrap: balance;
}

.product-section-heading h2 {
  max-width: none;
  white-space: nowrap;
}

.preparation-step p,
.product-decision-band p {
  max-width: 60ch;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .product-section-heading h2 {
    white-space: normal;
  }
}

@media (min-width: 1041px) {
  .product-page .product-hero {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .product-hero-copy {
    max-width: none;
  }

  .product-hero-copy h1 {
    max-width: none;
    font-size: clamp(39px, 2.95vw, 42px) !important;
  }

  .product-hero-copy h1 > span {
    white-space: nowrap;
  }

  .product-hero-visual {
    min-height: 390px;
  }
}

.contact-layout {
  grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 5vw, 68px);
}

.contact-intro h1 {
  max-width: 18ch;
  text-wrap: balance;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 55ch;
}

.cap-offer-explainer[hidden] {
  display: none;
}

.cap-offer-explainer {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(10, 52, 75, .14);
  border-radius: 7px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 20px 52px rgba(6, 44, 66, .10);
}

.cap-offer-explainer .section-label,
.cap-offer-explainer h2,
.cap-offer-explainer p,
.cap-offer-explainer ul {
  margin-bottom: 0;
}

.cap-offer-explainer h2 {
  max-width: 21ch;
  font-size: clamp(26px, 2.5vw, 34px);
}

.cap-offer-explainer > p:not(.section-label):not(.cap-offer-price) {
  max-width: 56ch;
}

.cap-offer-explainer ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(10, 52, 75, .12);
  list-style: none;
}

.cap-offer-explainer li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
}

.cap-offer-explainer li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.cap-offer-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-top: 2px;
  padding-top: 15px;
  border-top: 1px solid rgba(10, 52, 75, .12);
}

.cap-offer-price span {
  color: var(--ink-soft);
  font-size: 13px;
}

.cap-offer-price strong {
  color: var(--ink);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  white-space: nowrap;
}

.contact-form > h2 {
  margin: 0 0 4px;
  font-size: clamp(25px, 2.2vw, 31px);
}

.is-cap-request .contact-form-shell {
  align-self: start;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-intro,
  .contact-form-shell {
    width: min(680px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .product-hero-copy h1,
  .contact-intro h1 {
    max-width: 19ch;
    font-size: clamp(30px, 7.9vw, 34px) !important;
  }

  .contact-layout {
    width: calc(100% - 28px);
    gap: 24px;
    padding-top: 104px;
  }

  .cap-offer-explainer {
    gap: 12px;
    margin-top: 20px;
    padding: 18px;
  }

  .cap-offer-explainer ul {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cap-offer-price {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-carnet-peek,
  .product-shot,
  .carnet-page {
    transition: none;
  }
}
/* Correctif cible : les spans du titre conservent le gras du h1. */
.prepare-page .product-hero-copy h1,
.prepare-page .product-hero-copy h1 > span {
  font-weight: 700 !important;
}
