/* ==========================================================================
   CampToit — feuille de style du site public
   Couleurs : ink #14181A · forêt #1C2620 · sable #E7E3DA · os #F3F1EC · kaki #5C6B3C
   ========================================================================== */

@font-face { font-family: 'CT Archivo'; src: url('/fonts/camptoit/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'CT Inter'; src: url('/fonts/camptoit/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ct-ink: #14181A;
  --ct-forest: #1C2620;
  --ct-sand: #E7E3DA;
  --ct-bone: #F3F1EC;
  --ct-white: #FFFFFF;
  --ct-khaki: #5C6B3C;
  --ct-muted: #5A605C;
  --ct-line: #DAD6CC;
  --ct-card-line: #E1DDD3;
  --ct-radius: 6px;
  --ct-max: 1320px;
  --ct-font: 'CT Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ct-display: 'CT Archivo', 'CT Inter', system-ui, sans-serif;
}

/* Schémas de couleurs de section */
.s-bone   { --bg: #F3F1EC; --fg: #14181A; --fg-soft: rgba(20,24,26,.74); --btn: #14181A; --btn-text: #FFFFFF; --line: rgba(20,24,26,.14); background: var(--bg); color: var(--fg); }
.s-white  { --bg: #FFFFFF; --fg: #14181A; --fg-soft: rgba(20,24,26,.74); --btn: #14181A; --btn-text: #FFFFFF; --line: rgba(20,24,26,.12); background: var(--bg); color: var(--fg); }
.s-sand   { --bg: #E7E3DA; --fg: #14181A; --fg-soft: rgba(20,24,26,.76); --btn: #14181A; --btn-text: #FFFFFF; --line: rgba(20,24,26,.16); background: var(--bg); color: var(--fg); }
.s-forest { --bg: #1C2620; --fg: #F3F1EC; --fg-soft: rgba(243,241,236,.78); --btn: #F3F1EC; --btn-text: #14181A; --line: rgba(243,241,236,.18); background: var(--bg); color: var(--fg); }
.s-ink    { --bg: #14181A; --fg: #E9E6DF; --fg-soft: rgba(233,230,223,.74); --btn: #F3F1EC; --btn-text: #14181A; --line: rgba(233,230,223,.16); background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
body.ct-body { background: var(--ct-bone); color: var(--ct-ink); font-family: var(--ct-font); -webkit-font-smoothing: antialiased; }
.ct-body .font-display { font-family: var(--ct-font); }
.ct-wrap { width: 100%; max-width: var(--ct-max); margin: 0 auto; padding-left: 40px; padding-right: 40px; box-sizing: border-box; }
@media (max-width: 749px) { .ct-wrap { padding-left: 20px; padding-right: 20px; } }
.ct-main { font-size: 16px; line-height: 1.5; }
.ct-main *, .ct-header *, .ct-footer * { box-sizing: border-box; }
.ct-main img { max-width: 100%; }
.ct-display, .ct-main h1, .ct-main h2, .ct-main h3 { font-family: var(--ct-display); font-stretch: 112%; font-weight: 800; letter-spacing: -0.01em; line-height: 1.04; }
:where(.ct-main) :where(h1, h2, h3, p) { margin: 0; }
.ct-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ct-eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-khaki); font-family: var(--ct-font); }
.s-forest .ct-eyebrow, .s-ink .ct-eyebrow, .ct-on-image .ct-eyebrow { color: #D7DBC9; }
.ct-title { margin-top: 10px !important; font-size: clamp(32px, 3.6vw, 48px); }
.ct-title--sm { font-size: clamp(28px, 3vw, 40px); }
.ct-text { margin-top: 16px !important; font-size: 17px; line-height: 1.6; color: var(--fg-soft, rgba(20,24,26,.78)); max-width: 560px; }
.ct-text a, .ct-note a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.ct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ct-pad { padding-top: 96px; padding-bottom: 96px; }
.ct-pad-sm { padding-top: 64px; padding-bottom: 64px; }
@media (max-width: 749px) { .ct-pad { padding-top: 56px; padding-bottom: 56px; } .ct-pad-sm { padding-top: 40px; padding-bottom: 40px; } }

/* Boutons */
.ct-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 26px; border-radius: 4px; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid var(--btn, #14181A); transition: opacity .2s ease, background .2s ease, color .2s ease; }
.ct-btn:hover { opacity: .9; }
.ct-btn--solid { background: var(--btn, #14181A); color: var(--btn-text, #FFF); }
.ct-btn--outline { background: transparent; color: var(--fg, #14181A); border-color: var(--fg, #14181A); }
.ct-btn--block { width: 100%; }
.ct-btn--lg { min-height: 58px; font-size: 16px; }
.ct-link { font-weight: 600; font-size: 15px; color: var(--fg, #14181A); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* ---------- Annonce + en-tête ---------- */
.ct-ann { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; padding: 10px 20px; font-size: 13px; text-align: center; }
.ct-ann span { position: relative; }
.ct-ann span + span::before { content: '·'; position: absolute; left: -17px; opacity: .6; }
.ct-header { position: sticky; top: 0; z-index: 40; background: #FFFFFF; border-bottom: 1px solid var(--ct-line); font-family: var(--ct-font); }
.ct-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.ct-logo { display: inline-flex; align-items: center; text-decoration: none; line-height: 0; }
.ct-logo img { display: block; height: 40px; width: auto; }
.ct-nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.ct-nav a { color: var(--ct-ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.ct-nav a:hover, .ct-nav a[aria-current="page"] { border-bottom-color: var(--ct-ink); }
.ct-icons { display: flex; gap: 4px; align-items: center; }
.ct-icon-btn { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ct-ink); cursor: pointer; border-radius: 4px; text-decoration: none; }
.ct-icon-btn:hover { background: #F3F1EC; }
.ct-icon-btn svg { width: 22px; height: 22px; }
.ct-cart-count[hidden] { display: none; }
.ct-cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 10px; background: var(--ct-ink); color: #FFF; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.ct-burger { display: none; }
.ct-search { display: none; border-top: 1px solid var(--ct-line); padding: 16px 0; }
.ct-search.is-open { display: block; }
.ct-search form { display: flex; gap: 10px; }
.ct-search input { flex: 1; min-height: 50px; border: 1px solid #C9C4B8; border-radius: 4px; padding: 0 16px; font: inherit; font-size: 16px; }
.ct-drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.ct-drawer.is-open { display: block; }
.ct-drawer__bg { position: absolute; inset: 0; background: rgba(20,24,26,.5); }
.ct-drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: #FFF; padding: 20px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.ct-drawer__panel a { display: block; padding: 14px 4px; font-size: 18px; font-weight: 600; color: var(--ct-ink); text-decoration: none; border-bottom: 1px solid #EFECE5; }
.ct-drawer__close { align-self: flex-end; }
@media (max-width: 989px) {
  .ct-nav { display: none; }
  .ct-burger { display: inline-flex; }
  .ct-header__bar { height: 60px; }
  .ct-logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .ct-logo img { height: 32px; }
  .ct-icons .ct-hide-sm { display: none; }
}

/* ---------- Héros ---------- */
.ct-hero { position: relative; overflow: hidden; display: flex; min-height: 720px; color: #FFF; background: var(--ct-forest); }
.ct-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,16,.8) 0%, rgba(14,18,16,.24) 55%, rgba(14,18,16,0) 85%); }
.ct-hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.ct-hero h1 { margin: 16px 0 20px !important; font-size: clamp(44px, 6.2vw, 84px); line-height: .96; max-width: 760px; color: #FFF; }
.ct-hero__text { font-size: 19px; line-height: 1.5; max-width: 520px; color: #E4E7DE; }
.ct-hero__rating { margin-top: 40px; font-size: 14px; color: #E4E7DE; }
.ct-hero__rating strong { color: #FFF; }
.ct-hero .ct-btn--solid { --btn: #F3F1EC; --btn-text: #14181A; }
.ct-hero .ct-btn--outline { --fg: #FFFFFF; border-color: #F3F1EC; }
@media (max-width: 749px) {
  .ct-hero { min-height: 620px; }
  .ct-hero__shade { background: linear-gradient(0deg, rgba(14,18,16,.9) 0%, rgba(14,18,16,.35) 60%, rgba(14,18,16,.1) 100%); }
  .ct-hero__inner { justify-content: flex-end; padding-bottom: 32px; }
  .ct-hero .ct-btn { flex: 1 1 100%; }
}

/* ---------- Réassurance ---------- */
.ct-reass { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.ct-reass__item { flex: 1 1 220px; display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.4; }
.ct-reass__item svg { flex: none; width: 28px; height: 28px; }
.ct-reass__item strong { display: block; font-weight: 600; }
.ct-reass__item span { color: var(--ct-muted); }

/* ---------- Grille et cartes ---------- */
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-chip { min-height: 44px; padding: 0 18px; border-radius: 30px; border: 1px solid var(--ct-ink); background: #FFF; color: var(--ct-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.ct-chip[aria-pressed="true"] { background: var(--ct-ink); color: #FFF; }
.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ct-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 989px) { .ct-grid, .ct-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .ct-grid, .ct-grid--4 { grid-template-columns: minmax(0, 1fr); }
  .ct-grid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .ct-grid--scroll::-webkit-scrollbar { display: none; }
  .ct-grid--scroll > * { flex: 0 0 78%; scroll-snap-align: start; }
  .ct-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; width: calc(100% + 40px); }
  .ct-chips::-webkit-scrollbar { display: none; }
  .ct-chip { flex: none; min-height: 40px; padding: 0 14px; font-size: 13px; }
}
/* position: relative : le texte caché « Prix de référence » (.ct-sr, en absolu) reste
   dans la carte. Sans cela il sort du carrousel mobile et élargit toute la page. */
.ct-card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ct-ink); background: #FFF; border: 1px solid var(--ct-card-line); border-radius: var(--ct-radius); overflow: hidden; transition: border-color .2s ease; }
.ct-card:hover { border-color: var(--ct-ink); }
.ct-card[hidden] { display: none; }
.ct-card__media { position: relative; background: #ECE9E2; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.ct-card__media img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.ct-card__badge { position: absolute; top: 14px; left: 14px; background: #FFF; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 3px; }
.ct-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.ct-card__line { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-muted); }
.ct-card__name { font-family: var(--ct-display); font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.15; }
.ct-card__rating { font-size: 13px; color: var(--ct-muted); }
.ct-card__rating b { color: var(--ct-ink); }
.ct-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.ct-price__now { font-size: 18px; font-weight: 600; }
.ct-price__was { font-size: 14px; color: var(--ct-muted); text-decoration: line-through; }
.ct-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: 13px; color: var(--ct-muted); }
@media (max-width: 599px) { .ct-card__name { font-size: 19px; } .ct-card__body { padding: 16px 16px 20px; } }

/* ---------- Image + texte ---------- */
.ct-split { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.ct-split--reverse { flex-direction: row-reverse; }
.ct-split__media { flex: 1 1 520px; min-width: 0; aspect-ratio: 4 / 3; }
.ct-split__media img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--ct-radius); }
.ct-split__content { flex: 1 1 400px; min-width: 0; }
@media (max-width: 749px) { .ct-split, .ct-split--reverse { flex-direction: column; gap: 32px; } .ct-split__media, .ct-split__content { flex: none; width: 100%; } }
.ct-steps { display: flex; flex-direction: column; gap: 26px; margin-top: 36px; }
.ct-step { display: flex; gap: 20px; }
.ct-step__num { font-family: var(--ct-display); font-stretch: 112%; font-weight: 700; font-size: 18px; color: var(--ct-khaki); }
.s-forest .ct-step__num, .s-ink .ct-step__num, .ct-on-image .ct-step__num { color: #D7DBC9; }
.ct-step__title { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.ct-step__text { font-size: 15px; line-height: 1.6; color: var(--fg-soft); }
.ct-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ct-tag { border: 1px solid rgba(20,24,26,.3); padding: 7px 12px; border-radius: 30px; font-size: 13px; font-weight: 500; }
.ct-checks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ct-checks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.ct-checks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--ct-khaki); }

/* ---------- Mise en avant (auvents) ---------- */
.ct-feat { display: flex; flex-wrap: wrap; gap: 20px; }
.ct-feat__visual { flex: 999 1 560px; min-width: 0; position: relative; border-radius: var(--ct-radius); overflow: hidden; min-height: 520px; background: var(--ct-forest); color: #FFF; }
.ct-feat__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-feat__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,18,16,.8) 0%, rgba(14,18,16,0) 55%); }
.ct-feat__caption { position: absolute; z-index: 1; left: 40px; right: 40px; bottom: 40px; }
.ct-feat__caption h2 { color: #FFF; }
.ct-feat__caption p { margin-top: 12px !important; font-size: 16px; color: #E4E7DE; max-width: 460px; }
.ct-feat__list { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.ct-mini { flex: 1; display: flex; gap: 18px; align-items: center; background: #FFF; border: 1px solid var(--ct-card-line); border-radius: var(--ct-radius); padding: 20px; text-decoration: none; color: var(--ct-ink); }
.ct-mini:hover { border-color: var(--ct-ink); }
.ct-mini__img { flex: none; width: 120px; height: 120px; background: #ECE9E2; border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.ct-mini__img img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
@media (max-width: 749px) { .ct-feat__visual { min-height: 420px; } .ct-feat__caption { left: 20px; right: 20px; bottom: 24px; } }

/* ---------- Compatibilité ---------- */
.ct-compat { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; }
.ct-compat > * { flex: 1 1 440px; }
.ct-compat--card { gap: 0; background: var(--ct-sand); border-radius: 8px; overflow: hidden; align-items: stretch; }
.ct-compat--card .ct-compat__media { flex: 1 1 480px; min-width: 0; min-height: 360px; position: relative; }
.ct-compat--card .ct-compat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-compat--card .ct-compat__body { flex: 1 1 420px; padding: 56px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
@media (max-width: 749px) { .ct-compat--card .ct-compat__body { padding: 32px 24px; } .ct-compat--card .ct-compat__media { min-height: 240px; } }
.ct-plate { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-plate input { flex: 1 1 220px; min-width: 0; min-height: 56px; padding: 0 18px; border: 1px solid #C9C4B8; border-radius: 4px; background: #FFF; color: var(--ct-ink); font: inherit; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.ct-plate input:focus-visible { outline: 2px solid var(--ct-ink); outline-offset: 1px; }
.ct-plate button { min-height: 56px; padding: 0 26px; border: 0; border-radius: 4px; background: var(--ct-ink); color: #FFF; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ct-note { margin-top: 10px !important; font-size: 13px; color: var(--fg-soft, var(--ct-muted)); }

/* ---------- Avis ---------- */
.ct-stars { display: inline-flex; gap: 2px; color: var(--ct-ink); vertical-align: middle; }
.ct-stars svg { width: 16px; height: 16px; }
.ct-stars .is-empty { color: #C9C4B8; }
.ct-reviews { display: flex; flex-wrap: wrap; gap: 64px; }
.ct-reviews__side { flex: 1 1 300px; }
.ct-reviews__list { flex: 999 1 620px; min-width: 0; }
.ct-score { display: flex; align-items: baseline; gap: 10px; margin-top: 24px; }
.ct-score b { font-family: var(--ct-display); font-stretch: 112%; font-weight: 800; font-size: 64px; line-height: 1; }
.ct-dist { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; font-size: 14px; }
.ct-dist__row { display: flex; align-items: center; gap: 10px; }
.ct-dist__row > span:first-child { width: 28px; }
.ct-dist__bar { flex: 1; height: 6px; background: #E6E2D9; border-radius: 3px; overflow: hidden; }
.ct-dist__bar i { display: block; height: 100%; background: var(--ct-ink); }
.ct-dist__row > span:last-child { width: 40px; text-align: right; color: var(--ct-muted); }
.ct-rev-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 14px; color: var(--ct-muted); }
.ct-rev-tools select { min-height: 44px; border: 1px solid #C9C4B8; border-radius: 4px; padding: 0 32px 0 12px; font: inherit; font-size: 14px; background-color: #FFF; color: var(--ct-ink); }
.ct-rev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 749px) { .ct-rev-grid { grid-template-columns: minmax(0, 1fr); } }
.ct-rev { border: 1px solid #E6E2D9; border-radius: var(--ct-radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; background: #FFF; }
.ct-rev__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ct-muted); }
.ct-rev__title { font-size: 16px; font-weight: 600; }
.ct-rev__body { font-size: 15px; line-height: 1.55; color: #3E4440; }
.ct-rev__imgs { display: flex; gap: 8px; }
.ct-rev__imgs img { width: 80px; height: 80px; object-fit: cover; border-radius: 4px; }
.ct-rev__who { font-size: 13px; color: var(--ct-muted); border-top: 1px solid #EFECE5; padding-top: 10px; }
.ct-rev__who b { color: var(--ct-ink); font-weight: 600; }
.ct-verified { display: inline-flex; align-items: center; gap: 4px; }
.ct-verified svg { width: 14px; height: 14px; color: var(--ct-khaki); }
.ct-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 989px) { .ct-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Guides ---------- */
.ct-guide { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ct-ink); }
.ct-guide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--ct-radius); display: block; }
.ct-guide__title { font-family: var(--ct-display); font-stretch: 112%; font-weight: 700; font-size: 22px; line-height: 1.2; }

/* ---------- Chiffres clés / récit ---------- */
.ct-figures { display: flex; flex-wrap: wrap; gap: 40px; }
.ct-figure { flex: 1 1 220px; }
.ct-figure__value { font-family: var(--ct-display); font-stretch: 112%; font-weight: 700; font-size: clamp(40px, 4.6vw, 56px); line-height: 1; }
.ct-figure__label { margin-top: 10px; font-size: 15px; color: var(--fg-soft); }
@media (max-width: 749px) { .ct-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } .ct-figure__value { font-size: 34px; } }
.ct-story { position: relative; overflow: hidden; min-height: 640px; display: flex; background: var(--ct-forest); color: #FFF; }
.ct-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-story::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,18,16,.8) 0%, rgba(14,18,16,.15) 62%); }
.ct-story__inner { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.ct-story h2 { color: #FFF; font-size: clamp(38px, 5vw, 64px); line-height: .98; max-width: 620px; white-space: pre-line; margin-top: 14px !important; }
.ct-story .ct-steps { max-width: 480px; }
.ct-story .ct-step__text { color: #FFF; font-size: 16px; }
@media (max-width: 749px) { .ct-story::before { background: linear-gradient(0deg, rgba(14,18,16,.88) 0%, rgba(14,18,16,.35) 100%); } }

/* ---------- Fiche technique ---------- */
.ct-specs { display: flex; flex-wrap: wrap; gap: 64px; }
.ct-specs__intro { flex: 1 1 320px; }
.ct-specs__table { flex: 999 1 620px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; margin: 0; }
@media (max-width: 749px) { .ct-specs__table { grid-template-columns: minmax(0, 1fr); } }
.ct-spec { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(20,24,26,.12); font-size: 15px; }
.ct-spec dt { color: var(--ct-muted); }
.ct-spec dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- FAQ ---------- */
.ct-faq { max-width: 900px; margin: 0 auto; }
.ct-faq__list { border-top: 1px solid rgba(20,24,26,.25); margin-top: 32px; }
.ct-faq details { border-bottom: 1px solid rgba(20,24,26,.25); }
.ct-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary::after { content: '+'; font-size: 24px; font-weight: 400; line-height: 1; }
.ct-faq details[open] summary::after { content: '\2212'; }
.ct-faq__answer { padding: 0 0 22px; font-size: 15px; line-height: 1.65; color: rgba(20,24,26,.8); max-width: 720px; }

/* ---------- Bande contact ---------- */
.ct-contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.ct-contact > div:first-child { flex: 1 1 480px; }
.ct-contact .ct-btns { margin-top: 0; }

/* ---------- Fiche produit ---------- */
.ct-crumbs { font-size: 13px; color: var(--ct-muted); padding-top: 24px; margin-bottom: 20px; }
.ct-crumbs a { color: var(--ct-muted); text-decoration: none; }
.ct-crumbs a:hover { text-decoration: underline; }
.ct-pdp { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; padding-bottom: 72px; }
.ct-gallery { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ct-gallery__main { position: relative; background: #FFF; border-radius: var(--ct-radius); overflow: hidden; aspect-ratio: 4 / 3; }
.ct-gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ct-gallery__main img.is-photo { object-fit: cover; }
.ct-gallery__count { position: absolute; right: 12px; bottom: 12px; background: rgba(20,24,26,.75); color: #FFF; font-size: 12px; padding: 5px 9px; border-radius: 20px; }
.ct-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ct-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ct-gallery__nav--prev { left: 12px; } .ct-gallery__nav--next { right: 12px; }
.ct-thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ct-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: #FFF; aspect-ratio: 1 / 1; cursor: pointer; }
.ct-thumbs button[aria-current="true"] { border-color: var(--ct-ink); }
.ct-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 749px) { .ct-thumbs { display: none; } .ct-pdp { gap: 24px; } .ct-gallery { margin: 0 -20px; } .ct-gallery__main { border-radius: 0; } }
.ct-buy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
@media (max-width: 989px) { .ct-buy { position: static; } }
.ct-buy h1 { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.02; }
.ct-buy h1 .ct-pre { display: block; margin-bottom: 10px; font-family: var(--ct-font); font-stretch: 100%; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--ct-khaki); }
.ct-buy__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ct-ink); text-decoration: none; }
.ct-buy__rating span:last-child { color: var(--ct-muted); text-decoration: underline; }
.ct-buy__price { border-top: 1px solid var(--ct-line); padding-top: 22px; }
.ct-buy__now { font-family: var(--ct-display); font-stretch: 112%; font-weight: 700; font-size: 34px; }
.ct-buy__was { font-size: 18px; color: var(--ct-muted); text-decoration: line-through; }
.ct-buy__save { font-size: 13px; font-weight: 600; background: var(--ct-ink); color: #FFF; padding: 4px 8px; border-radius: 3px; }
.ct-buy__small { margin-top: 6px !important; font-size: 13px; color: var(--ct-muted); }
.ct-box { background: #FFF; border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: 18px; }
.ct-box__title { font-size: 14px; font-weight: 600; margin-bottom: 10px !important; }
.ct-box .ct-plate { flex-wrap: nowrap; }
.ct-box .ct-plate input { min-height: 46px; flex: 1 1 auto; font-size: 15px; }
.ct-box .ct-plate button { min-height: 46px; flex: none; background: #FFF; color: var(--ct-ink); border: 1px solid var(--ct-ink); }
.ct-qty { display: inline-flex; align-items: center; border: 1px solid #C9C4B8; border-radius: 4px; height: 58px; }
.ct-qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ct-ink); }
.ct-qty input { width: 44px; text-align: center; border: 0; font: inherit; font-size: 16px; -moz-appearance: textfield; }
.ct-qty input::-webkit-outer-spin-button, .ct-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ct-buy__row { display: flex; gap: 10px; }
.ct-buy__row .ct-btn { flex: 1; }
.ct-rlist { display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.45; border-top: 1px solid var(--ct-line); padding-top: 20px; }
.ct-rlist div { display: flex; gap: 12px; align-items: flex-start; }
.ct-rlist svg { flex: none; width: 22px; height: 22px; }
.ct-rlist strong { font-weight: 600; }
.ct-alert { padding: 12px 16px; border-radius: 4px; background: #FBEAEA; color: #7A1F1F; font-size: 14px; }

/* Barre d'achat fixe (mobile) */
.ct-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #FFF; border-top: 1px solid var(--ct-line); box-shadow: 0 -6px 20px rgba(20,24,26,.08); transform: translateY(110%); transition: transform .25s ease; }
.ct-sticky.is-visible { transform: none; }
.ct-sticky img { width: 48px; height: 48px; object-fit: contain; border: 1px solid #E6E2D9; border-radius: 4px; background: #FFF; }
.ct-sticky__info { flex: 1; min-width: 0; font-size: 13px; color: var(--ct-muted); line-height: 1.3; }
.ct-sticky__price { display: block; font-family: var(--ct-display); font-stretch: 112%; font-weight: 700; font-size: 18px; color: var(--ct-ink); }
.ct-sticky .ct-btn { min-height: 48px; padding: 0 20px; }
@media (max-width: 749px) { .ct-sticky { display: flex; } }

/* ---------- Pied de page ---------- */
.ct-footer { font-size: 14px; font-family: var(--ct-font); }
.ct-footer__top { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 72px; padding-bottom: 40px; }
.ct-footer__brand { flex: 2 1 300px; }
.ct-footer__brand p { margin: 14px 0 0; line-height: 1.6; max-width: 340px; }
.ct-footer__col { flex: 1 1 160px; }
.ct-footer__col h2 { font-family: var(--ct-font); font-size: 14px; font-weight: 600; margin: 0 0 14px; color: #FFF; letter-spacing: 0; }
.ct-footer__col a { display: block; margin-bottom: 10px; }
.ct-footer a { color: rgba(233,230,223,.78); text-decoration: none; }
.ct-footer a:hover { color: #FFF; }
.ct-footer .ct-logo img { height: 44px; }
.ct-footer__brand .ct-footer__group { margin-top: 10px; font-size: 13px; letter-spacing: .04em; opacity: .75; }
.ct-news { margin-top: 24px; }
.ct-news label { display: block; color: #FFF; font-weight: 600; margin-bottom: 10px; }
.ct-news div { display: flex; gap: 8px; max-width: 380px; }
.ct-news input { flex: 1; min-width: 0; min-height: 46px; border: 1px solid #3A403D; background: #1E2325; color: #FFF; border-radius: 4px; padding: 0 14px; font: inherit; }
.ct-news button { min-height: 46px; padding: 0 18px; border: 0; border-radius: 4px; background: #F3F1EC; color: #14181A; font: inherit; font-weight: 600; cursor: pointer; }
.ct-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; padding-bottom: 40px; border-top: 1px solid #2C3230; font-size: 13px; }
.ct-pay { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ct-pay li { border: 1px solid #3A403D; padding: 4px 8px; border-radius: 3px; }

/* ---------- Pages de contenu (guides, pages légales, à propos) ---------- */
.ct-prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: #2B3130; }
.ct-prose h2 { font-size: 26px; margin: 40px 0 14px !important; }
.ct-prose h3 { font-size: 21px; margin: 30px 0 10px !important; }
.ct-prose p { margin: 0 0 14px !important; }
.ct-prose ul, .ct-prose ol { margin: 0 0 16px; padding-left: 24px; }
.ct-prose a { color: var(--ct-ink); text-decoration: underline; }

/* ---------- Pages du moteur (panier, commande, compte, blog…) ---------- */
.ct-body main { background: var(--ct-bone); }
.ct-body .bg-primary, .ct-body .bg-red-600, .ct-body .bg-brand-red { background-color: #14181A !important; }
.ct-body .hover\:bg-red-700:hover, .ct-body .hover\:bg-primary-hover:hover, .ct-body .hover\:bg-brand-redhover:hover { background-color: #2C3230 !important; }
.ct-body .text-primary, .ct-body .text-red-600, .ct-body .text-brand-red { color: #5C6B3C !important; }
.ct-body .border-primary { border-color: #14181A !important; }
.ct-body .ring-primary, .ct-body .focus\:ring-primary:focus { --tw-ring-color: #14181A !important; }
.ct-body .bg-primary\/10, .ct-body .bg-red-50 { background-color: #ECE9E2 !important; }
.ct-body h1, .ct-body h2.text-2xl, .ct-body h2.text-3xl { font-family: var(--ct-display); font-stretch: 112%; letter-spacing: -0.01em; }

/* Ajustements */
.ct-faq details { border: 0; border-bottom: 1px solid rgba(20,24,26,.25); border-radius: 0; padding: 0; margin: 0; background: none; box-shadow: none; }
.ct-faq summary:focus-visible { outline: 2px solid var(--ct-ink); outline-offset: 4px; }
@media (min-width: 750px) { .ct-figure__value { white-space: nowrap; } }
@media (max-width: 749px) { .ct-figure__value { font-size: 30px; } }

/* Blog : encarts de conseil aux couleurs CampToit */
.ct-body #blog-end-cta { background: #E7E3DA !important; border-color: #DAD6CC !important; }
.ct-body #blog-end-cta .bg-red-100, .ct-body #blog-end-cta .bg-red-100\/40 { background-color: rgba(92,107,60,.14) !important; }
.ct-body #blog-end-cta .text-red-700 { color: #5C6B3C !important; }
.ct-body .from-red-600 { --tw-gradient-from: #1C2620 !important; --tw-gradient-to: #1C2620 !important; --tw-gradient-stops: #1C2620, #1C2620 !important; }
.ct-body .bg-amber-400 { background-color: #F3F1EC !important; }
.ct-body .text-red-900 { color: #14181A !important; }
.ct-body .bg-red-700, .ct-body .active\:bg-red-800:active { background-color: #2C3230 !important; }
.ct-body .border-red-100 { border-color: #DAD6CC !important; }

/* ---------- Page catégorie rédigée : intro, comparatif, conseils ---------- */
.ct-intro p { margin: 0 0 10px !important; }
.ct-intro a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.ct-compare { margin-top: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--ct-radius); }
.ct-compare:focus-visible { outline: 2px solid var(--ct-khaki); outline-offset: 2px; }
.ct-compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.ct-compare th, .ct-compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ct-compare thead th { background: #F3F1EC; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: rgba(20,24,26,.74); }
.ct-compare tbody tr:last-child th, .ct-compare tbody tr:last-child td { border-bottom: 0; }
.ct-compare tbody th { font-weight: 600; }
.ct-compare tbody th a { color: var(--ct-ink); text-decoration: underline; text-underline-offset: .2em; }
.ct-prose--landing { max-width: 820px; }
.ct-prose--landing h2:first-child { margin-top: 0 !important; }
.ct-prose--landing table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.ct-prose--landing th, .ct-prose--landing td { padding: 10px 12px; border-bottom: 1px solid rgba(20,24,26,.14); text-align: left; vertical-align: top; }
.ct-prose--landing thead th { font-weight: 600; background: rgba(20,24,26,.04); }
.ct-faq__answer a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
#comparatif, #compatibilite, #faq { scroll-margin-top: 96px; }
