/* design2026.css : couche visuelle Studio Simple (27 nov. 2026).
 * Chargée APRÈS style.css sur toutes les pages : elle garde les classes
 * existantes et ne change que l'apparence. Polices locales (licence OFL),
 * aucune requête externe. */

@font-face { font-family: "Bricolage"; src: url("../assets/polices/BricolageGrotesque-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../assets/polices/BricolageGrotesque-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../assets/polices/InstrumentSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../assets/polices/InstrumentSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "InstrumentSerif"; src: url("../assets/polices/InstrumentSerif-Italic.ttf") format("truetype"); font-style: italic; font-display: swap; }

:root {
  --encre: #0d1a30;
  --bleu: #1f3a6b;
  --bleu-fonce: #142a52;
  --bleu-pale: #eef2fa;
  --or: #f5c443;
  --or-fonce: #e0a91c;
  --corail: #ff6b4a;
  --menthe: #19b38a;
  --fond: #fbf8f3;
  --surface: #ffffff;
  --texte: #1b1d22;
  --texte-doux: #555b66;
  --bordure: #e7e2d8;
  --rayon: 18px;
  --ombre: 0 1px 2px rgba(13, 26, 48, .05), 0 10px 30px rgba(13, 26, 48, .07);
  --ombre-forte: 0 2px 6px rgba(13, 26, 48, .08), 0 24px 60px rgba(13, 26, 48, .16);
}

body { font-family: "Instrument", "Segoe UI", system-ui, sans-serif; background: var(--fond); color: var(--texte); line-height: 1.65; }
h1, h2, h3 { font-family: "Bricolage", "Segoe UI", system-ui, sans-serif; letter-spacing: -0.015em; color: var(--encre); }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.15; margin-top: 3rem; }
h3 { font-size: 1.15rem; }
.accent-serif { font-family: "InstrumentSerif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: 0; }
.conteneur { max-width: 72rem; padding: 0 1.1rem; }
a { color: var(--bleu); text-underline-offset: 3px; }

/* ---------- En-tête collant, vitré ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(13, 26, 48, .08);
}
.marque { font-family: "Bricolage", system-ui, sans-serif; font-size: 1.3rem; color: var(--encre); display: inline-flex; align-items: center; gap: .45rem; }
.marque::before { content: ""; width: 1.25rem; height: 1.25rem; border-radius: 6px; background: linear-gradient(135deg, var(--or) 0 50%, var(--bleu) 50% 100%); box-shadow: 0 2px 8px rgba(31, 58, 107, .3); }
.nav-principale { gap: .2rem; }
.nav-principale a { color: var(--texte); font-weight: 600; font-size: .95rem; padding: .4rem .75rem; border-radius: 999px; transition: background .15s; }
.nav-principale a:hover, .nav-principale a[aria-current="page"] { background: rgba(31, 58, 107, .08); color: var(--bleu-fonce); }

@media (max-width: 46rem) {
  .entete { position: static; }
  .nav-principale { flex-wrap: nowrap; overflow-x: auto; width: 100%; order: 3; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav-principale a { white-space: nowrap; padding: .35rem .6rem; font-size: .92rem; }
}

/* ---------- Boutons ---------- */
.btn, .btn-cta, .btn-contour, .btn-contour-clair { border-radius: 999px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn { background: var(--encre); border-color: var(--encre); padding: .7rem 1.35rem; }
.btn:hover { background: var(--bleu); border-color: var(--bleu); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(13, 26, 48, .2); }
.btn-cta { background: linear-gradient(180deg, #ffd25e, var(--or)); border: 0; color: var(--encre); padding: .85rem 1.6rem; box-shadow: 0 6px 18px rgba(224, 169, 28, .35), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn-cta:hover { background: linear-gradient(180deg, #ffdb7a, #f7cb55); color: var(--encre); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224, 169, 28, .45); }
.btn-contour { border: 1.5px solid var(--encre); color: var(--encre); padding: .68rem 1.3rem; }
.btn-contour:hover { background: var(--encre); color: #fff; }
.btn-petit { padding: .5rem 1rem; font-size: .92rem; }

/* ---------- Héros de l'accueil ---------- */
.heros-marque {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(60rem 30rem at 85% -10%, rgba(245, 196, 67, .28), transparent 60%),
              radial-gradient(50rem 30rem at -10% 110%, rgba(255, 107, 74, .22), transparent 60%),
              linear-gradient(160deg, #0d1a30 0%, #1f3a6b 70%, #24497f 100%);
  padding: 3.4rem 0 3.6rem;
}
.heros-marque h1 { color: #fff; max-width: 46rem; }
.heros-marque h1 .accent-serif { color: var(--or); }
.heros-marque .sous-titre { color: #d6deee; font-size: 1.12rem; max-width: 40rem; }
.pilule { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; letter-spacing: .02em; padding: .35rem .9rem; }
.pilule::before { content: "●"; color: var(--menthe); margin-right: .45rem; font-size: .8em; }

/* ---------- Cartes ---------- */
.carte { border: 1px solid var(--bordure); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 1.3rem 1.4rem; }
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.carte h3 { color: var(--encre); }
.etape-carte, .bloc-etape, .panneau-achat, .confiance, .confiance li, .faq details { border-radius: var(--rayon); border-color: var(--bordure); }
.panneau-achat { border-top: 0; box-shadow: var(--ombre-forte); position: relative; }
.panneau-achat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--rayon) var(--rayon) 0 0; background: linear-gradient(90deg, var(--or), var(--corail)); }
.etape-carte .numero { background: linear-gradient(135deg, var(--bleu), var(--encre)); }
.confiance { background: linear-gradient(160deg, #eef2fa, #f8f1e4); }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); border-top: 0; color: #c9d2e3; }
.pied a { color: #fff; }

/* ---------- Accueil 2026 : les 4 offres ---------- */
.offres4 { display: grid; gap: 1.3rem; grid-template-columns: 1fr; margin-top: 1.4rem; }
@media (min-width: 46rem) { .offres4 { grid-template-columns: 1fr 1fr; } }
.offre {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: 24px; border: 1px solid var(--bordure);
  box-shadow: var(--ombre); text-decoration: none; color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.offre:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); color: inherit; }
.offre-visuel { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e4da; }
.offre-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.offre:hover .offre-visuel img { transform: scale(1.05); }
.offre-badge { position: absolute; top: .9rem; left: .9rem; background: rgba(255, 255, 255, .92); color: var(--encre); font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.offre-prix { position: absolute; right: .9rem; bottom: .9rem; background: var(--encre); color: #fff; font-family: "Bricolage", sans-serif; font-weight: 700; font-size: 1.05rem; padding: .45rem .9rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.offre-corps { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.offre-corps h3 { margin: 0; font-size: 1.4rem; }
.offre-corps p { margin: 0; color: var(--texte-doux); }
.offre-points { list-style: none; padding: 0; margin: .3rem 0 0; display: grid; gap: .3rem; font-size: .95rem; }
.offre-points li::before { content: "✓"; color: var(--menthe); font-weight: 700; margin-right: .5rem; }
.offre-lien { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--bleu); }
.offre-lien::after { content: " →"; transition: margin .2s; }
.offre:hover .offre-lien::after { margin-left: .3rem; }

/* Bandeau de preuves */
.preuves { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 1.4rem; color: #d6deee; font-size: .95rem; }
.preuves span::before { content: "✓ "; color: var(--or); font-weight: 700; }

/* Bloc « autres produits » */
.autres { margin-top: 3rem; border-radius: 24px; padding: 1.6rem; background: linear-gradient(135deg, #0d1a30, #1f3a6b); color: #fff; display: grid; gap: 1.2rem; align-items: center; overflow: hidden; }
@media (min-width: 46rem) { .autres { grid-template-columns: 1.1fr 1fr; padding: 2.2rem; } }
.autres h2 { color: #fff; margin: 0 0 .5rem; }
.autres p { color: #d6deee; }
.autres img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }

/* Apparition douce au chargement, sans jamais cacher le contenu si le script manque */
@media (prefers-reduced-motion: no-preference) {
  .apparait { animation: monte .7s ease both; }
  .offres4 .apparait:nth-child(2) { animation-delay: .08s; }
  .offres4 .apparait:nth-child(3) { animation-delay: .16s; }
  .offres4 .apparait:nth-child(4) { animation-delay: .24s; }
  @keyframes monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}

/* ---------- Héros des pages d'offre (texte + image) ---------- */
body .page-web-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(1rem, 5vw, 3rem); padding-block: clamp(1rem, 4vw, 2.6rem); }
body .page-web-hero h1 { margin-top: 0; }
body .page-web-hero .sous-titre { font-size: 1.12rem; color: var(--texte-doux); }
body .page-web-hero__image { margin: 0; padding: 0; background: none; }
video.hero-video { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--ombre-forte); object-fit: cover; background: #0d1a30; }
@media (prefers-reduced-motion: reduce) { video.hero-video { animation: none; } }
body .page-web-hero__image video, body .page-web-hero__image img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: var(--ombre-forte); transform: rotate(.6deg); }
body .page-web-hero__image figcaption { color: var(--texte-doux); font-size: .8rem; margin-top: .6rem; }
@media (max-width: 720px) { body .page-web-hero { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Galerie de modèles (page web) ---------- */
.modeles-grille { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin-top: 1rem; }
.modele { margin: 0; background: var(--surface); border-radius: 18px; overflow: hidden; border: 1px solid var(--bordure); box-shadow: var(--ombre); transition: transform .2s, box-shadow .2s; }
.modele:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.modele img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.modele figcaption { padding: .7rem .9rem .85rem; font-size: .95rem; }
.modele figcaption strong { display: block; font-family: "Bricolage", sans-serif; color: var(--encre); }
.modele figcaption span { color: var(--texte-doux); font-size: .88rem; }
