/* =========================================================================
   AssureTbiens : feuille principale
   Marine #112C54 dominant, orange #F36B00 réservé aux actions (texte marine
   sur orange : contraste 4,57, vérifié). Montserrat (titres) + Source Sans 3.
   Rayons : 10 px boutons et champs, 14 px cartes et images. Jamais deux
   sections consécutives sur le même fond.
   ========================================================================= */

:root {
  color-scheme: light;
  --marine: #112C54;
  --marine-fonce: #0A1D3B;
  --marine-moyen: #1F4479;
  --marine-pale: #E8EEF6;
  --orange: #F36B00;
  --orange-clair: #FF8A2B;
  --orange-pale: #FFF1E6;
  --fond: #F4F6F9;
  --blanc: #FFFFFF;
  --texte: #1B2433;
  --texte-doux: #4A5568;
  --bordure: #DCE2EA;
  --ok: #1E5631;

  --police-titre: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --police-texte: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;

  --r-btn: 10px;
  --r-carte: 14px;
  --ombre: 0 1px 2px rgba(17, 44, 84, .06), 0 10px 28px rgba(17, 44, 84, .08);
  --contenant: 1200px;
  --gouttiere: clamp(1rem, 4vw, 2rem);
  --entete-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--marine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--marine-moyen); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
strong { font-weight: 600; }

h1, h2, h3, h4 {
  font-family: var(--police-titre);
  color: var(--marine);
  line-height: 1.18;
  margin: 0 0 .8rem;
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.u-invisible, .saut-contenu:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.saut-contenu:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--blanc); padding: .6rem 1rem; }

.contenant { width: 100%; max-width: var(--contenant); margin: 0 auto; padding-inline: var(--gouttiere); }
.contenant--etroit { max-width: 820px; }
.centre { text-align: center; }

/* ----- surtitres, titres de section, intro -------------------------------- */
.surtitre {
  font-family: var(--police-titre);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .01em;
  color: var(--marine-moyen);
  margin: 0 0 .7rem;
}
.surtitre--clair { color: #FFD3AE; }
.surtitre--centre { text-align: center; }
.titre-section { text-align: center; max-width: 760px; margin-inline: auto; }
.titre-section--gauche { text-align: left; margin-inline: 0; }
.intro { font-size: 1.15rem; color: var(--texte-doux); max-width: 68ch; }
.titre-section + .intro, .centre > .intro { margin-inline: auto; text-align: center; }
.titre-section--gauche + .intro { margin-inline: 0; text-align: left; } /* 20/11 : l'intro suit son titre calé à gauche */

/* ----- boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--police-titre); font-weight: 600; font-size: .95rem;
  line-height: 1.2; white-space: nowrap;
  padding: .8rem 1.25rem;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--accent { background: var(--orange); color: var(--marine); }
.btn--accent:hover { background: var(--orange-clair); color: var(--marine); }
.btn--plein { background: var(--marine); color: var(--blanc); }
.btn--plein:hover { background: var(--marine-moyen); color: var(--blanc); }
.btn--contour { border-color: var(--marine); color: var(--marine); background: transparent; }
.btn--contour:hover { background: var(--marine); color: var(--blanc); }
.btn--fantome { border-color: rgba(255,255,255,.75); color: var(--blanc); background: rgba(10,29,59,.2); }
.btn--fantome:hover { background: var(--blanc); color: var(--marine); }
.btn--lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn--bloc { width: 100%; }
.btn:active { transform: translateY(1px); }

/* ----- en-tête ------------------------------------------------------------ */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--bordure);
  backdrop-filter: saturate(1.2);
}
.entete__int { display: flex; align-items: center; gap: 1.5rem; height: var(--entete-h); }
.logo { display: block; flex: none; }
.logo__img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav__liste { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__lien {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--police-titre); font-weight: 600; font-size: .9rem;
  color: var(--marine); text-decoration: none;
  padding: .55rem .7rem; border-radius: 8px;
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__lien svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__lien:hover, .nav__lien[aria-current] { background: var(--marine-pale); color: var(--marine); }
.nav__parent { position: relative; }
.nav__sous {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  list-style: none; margin: 0; padding: .5rem;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte);
  box-shadow: var(--ombre);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav__sous a {
  display: block; padding: .6rem .8rem; border-radius: 8px;
  color: var(--texte); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.nav__sous a:hover, .nav__sous a[aria-current] { background: var(--fond); color: var(--marine); }
.nav__parent:hover .nav__sous, .nav__parent:focus-within .nav__sous,
.nav__declencheur[aria-expanded="true"] + .nav__sous { opacity: 1; visibility: visible; transform: none; }
.nav__parent:hover .nav__declencheur svg { transform: rotate(180deg); }
.entete__cta { display: flex; align-items: center; gap: .6rem; }
.btn--tel { padding: .7rem .95rem; }
.btn--devis { padding: .8rem 1.1rem; }
.burger { display: none; }

/* 29/10 : à 1366 px le bouton devis débordait de 22 px : en-tête resserré jusqu'à 1440 px */
@media (max-width: 1440px) and (min-width: 1101px) {
  .entete__int { gap: 1rem; }
  .nav__lien { padding-left: .5rem; padding-right: .5rem; }
}
@media (max-width: 1280px) {
  .btn__tel { display: none; }
  .btn--tel { padding: .7rem; }
}
@media (max-width: 1100px) {
  :root { --entete-h: 66px; }
  .nav, .btn--tel { display: none; }
  .entete__cta { margin-left: auto; }
  .logo__img { height: 40px; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid var(--bordure); border-radius: var(--r-btn);
    background: var(--blanc); cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block; width: 20px; height: 2px; background: var(--marine); position: relative; content: '';
  }
  .burger span::before { position: absolute; top: -6px; }
  .burger span::after { position: absolute; top: 6px; }
}
@media (max-width: 520px) {
  .btn--devis { display: none; }
  .logo__img { height: 36px; }
}

/* ----- tiroir mobile ------------------------------------------------------ */
.voile { position: fixed; inset: 0; background: rgba(10,29,59,.5); z-index: 60; }
.tiroir {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(360px, 88vw); overflow-y: auto;
  background: var(--blanc); padding: 4.2rem 1.4rem 2rem;
  transform: translateX(100%); transition: transform .28s cubic-bezier(.32, .72, 0, 1);
  display: flex; flex-direction: column; gap: .15rem;
}
.tiroir.est-ouvert { transform: none; }
.tiroir__fermer {
  position: absolute; top: .9rem; right: .9rem; width: 44px; height: 44px;
  border: 0; background: var(--fond); border-radius: var(--r-btn); cursor: pointer; color: var(--marine);
  display: grid; place-items: center;
}
.tiroir__fermer svg { width: 22px; height: 22px; }
.tiroir__groupe {
  font-family: var(--police-titre); font-size: .85rem; font-weight: 600;
  color: var(--texte-doux); margin: 1rem 0 .2rem;
}
.tiroir__lien { display: block; padding: .6rem .2rem; color: var(--marine); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--fond); }
.tiroir__lien--sous { padding-left: .6rem; font-weight: 400; color: var(--texte); }
.tiroir__lien[aria-current] { color: var(--marine-moyen); font-weight: 600; }
.tiroir__pied { display: grid; gap: .6rem; margin-top: 1.5rem; }

/* ----- bandeau d'accueil (diaporama) --------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(560px, calc(100svh - var(--entete-h)), 760px);
  display: flex; align-items: flex-end;
  color: var(--blanc);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--marine); }
.hero__diapo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.5s ease; }
.hero__diapo.est-active { opacity: 1; }
.hero__diapo img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,29,59,.88) 0%, rgba(10,29,59,.68) 48%, rgba(10,29,59,.12) 82%),
    linear-gradient(0deg, rgba(10,29,59,.55) 0%, rgba(10,29,59,0) 40%);
}
.hero__int { padding-block: 4rem 5rem; max-width: var(--contenant); }
.hero__titre { color: var(--blanc); max-width: 28ch; font-size: clamp(2.1rem, 3.6vw, 3rem); }
.hero__txt { font-size: 1.2rem; max-width: 46ch; color: rgba(255,255,255,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__puces { position: absolute; right: var(--gouttiere); bottom: 1.6rem; display: flex; gap: .5rem; }
.hero__puce {
  width: 34px; height: 4px; border: 0; padding: 0; border-radius: 2px; cursor: pointer;
  background: rgba(255,255,255,.45);
}
.hero__puce.est-active { background: var(--orange); }
@media (max-width: 767px) {
  .hero { min-height: 560px; }
  .hero::after { background: linear-gradient(0deg, rgba(10,29,59,.92) 0%, rgba(10,29,59,.65) 55%, rgba(10,29,59,.25) 100%); }
  .hero__int { padding-block: 3rem 4rem; }
  .hero__txt { font-size: 1.08rem; }
  .hero__puces { left: var(--gouttiere); right: auto; }
}

/* ----- bandeau des pages intérieures -------------------------------------- */
.hero-p { background: var(--fond); border-bottom: 1px solid var(--bordure); }
.hero-p__grille {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.hero-p--sans-img .hero-p__grille { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.hero-p__titre { font-size: clamp(1.9rem, 2.9vw, 2.45rem); }
.hero-p__txt { font-size: 1.15rem; color: var(--texte-doux); max-width: 56ch; }
.hero-p__chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-p__chips li {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: 999px;
  padding: .35rem .8rem; font-size: .95rem; font-weight: 600; color: var(--marine);
}
.hero-p__chips svg { width: 16px; height: 16px; color: var(--orange); }
.hero-p__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-p__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-carte);
  box-shadow: var(--ombre);
}
@media (max-width: 900px) {
  .hero-p__grille { grid-template-columns: minmax(0, 1fr); }
  .hero-p__media { order: -1; }
  .hero-p__media img { aspect-ratio: 16 / 9; }
}

/* ----- fil d'Ariane --------------------------------------------------------- */
.fil { background: var(--blanc); border-bottom: 1px solid var(--bordure); font-size: .9rem; }
.fil__liste { list-style: none; margin: 0; padding: .7rem 0; display: flex; flex-wrap: wrap; gap: .3rem; color: var(--texte-doux); }
.fil__liste li:not(:last-child)::after { content: '›'; margin-left: .35rem; color: var(--bordure); }
.fil a { color: var(--texte-doux); }
.fil [aria-current] { color: var(--marine); font-weight: 600; }

/* ----- sections ------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--serree { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--fond { background: var(--fond); }
.section--marine { background: var(--marine); color: rgba(255,255,255,.9); }
.section--marine h2, .section--marine h3 { color: var(--blanc); }
.section--marine .surtitre { color: #FFD3AE; }
.section--marine .intro { color: rgba(255,255,255,.82); }
.section--marine a:not(.btn) { color: var(--blanc); }
.section > .contenant > * + * { margin-top: 0; }
.bloc-titre { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }

/* duo texte + image */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.duo--inverse .duo__media { order: -1; }
.duo__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-carte); }
@media (max-width: 860px) {
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo--inverse .duo__media { order: 0; }
}

/* liste à coches */
.coches { list-style: none; padding: 0; display: grid; gap: .6rem; }
.coches li { position: relative; padding-left: 1.9rem; }
.coches li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--orange-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C24F00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--marine .coches li::before { background-color: rgba(243,107,0,.2); }
.coches--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
@media (max-width: 640px) { .coches--2 { grid-template-columns: minmax(0, 1fr); } }

/* ----- cartes d'offres -------------------------------------------------------- */
.offres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.offre {
  display: flex; flex-direction: column; background: var(--blanc);
  border: 1px solid var(--bordure); border-radius: var(--r-carte); overflow: hidden;
  text-decoration: none; color: var(--texte);
  transition: border-color .2s var(--e), box-shadow .2s var(--e), transform .2s var(--e);
}
.offre:hover { border-color: var(--orange); box-shadow: var(--ombre); transform: translateY(-2px); color: var(--texte); }
.offre__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.offre__corps { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.offre__rub { font-size: .88rem; font-weight: 600; color: var(--texte-doux); }
.offre__titre { margin: 0; font-size: 1.2rem; }
.offre__txt { margin: 0; color: var(--texte-doux); font-size: 1rem; }
.offre__lien { margin-top: auto; padding-top: .6rem; font-family: var(--police-titre); font-weight: 600; font-size: .92rem; color: var(--marine); display: inline-flex; align-items: center; gap: .35rem; }
.offre__lien svg { width: 16px; height: 16px; transition: transform .2s ease; }
.offre:hover .offre__lien svg { transform: translateX(3px); }
@media (max-width: 960px) { .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .offres { grid-template-columns: minmax(0, 1fr); } }

/* ----- panneau « Nos assurances » (accueil) ----------------------------------- */
/* Liste maître à gauche, aperçu photo + texte à droite ; l'aperçu suit le survol et mène à la page active.
   Sous 900 px : plus d'aperçu, chaque ligne devient une carte avec sa vignette. */
.panneau { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem 3.5rem; align-items: start; margin-top: 2.4rem; }
.panneau__groupe + .panneau__groupe { margin-top: 1.4rem; }
.panneau__famille { margin: 0 0 .3rem; padding-left: 1rem; font-size: .95rem; font-weight: 600; color: var(--texte-doux); }
.panneau__item {
  display: flex; align-items: center; gap: .9rem;
  padding: .66rem 1rem; border-radius: var(--r-btn); text-decoration: none; color: var(--texte);
  transition: background-color .18s var(--e), box-shadow .18s var(--e), color .18s var(--e);
}
.panneau__vignette { display: none; }
.panneau__nom { flex: 1 1 auto; font-family: var(--police-titre); font-weight: 600; font-size: 1.06rem; }
.panneau__item svg { width: 18px; height: 18px; flex: none; color: var(--orange); opacity: 0; transform: translateX(-4px); transition: opacity .18s var(--e), transform .18s var(--e); }
.panneau__item:hover, .panneau__item.est-actif { background: var(--blanc); box-shadow: var(--ombre); color: var(--marine); }
.panneau__item:hover svg, .panneau__item.est-actif svg { opacity: 1; transform: none; }
.panneau__item:focus-visible { outline: 2px solid var(--marine-moyen); outline-offset: 2px; }
.panneau__apercu { display: block; position: sticky; top: calc(var(--entete-h) + 1.5rem); text-decoration: none; color: inherit; }
.panneau__visuels { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-carte); overflow: hidden; box-shadow: var(--ombre); }
.panneau__visuel { position: absolute; inset: 0; opacity: 0; transition: opacity .25s var(--e); }
.panneau__visuel.est-actif { opacity: 1; }
.panneau__visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s var(--e); }
.panneau__apercu:hover .panneau__visuel.est-actif img { transform: scale(1.02); }
.panneau__legende { display: grid; margin-top: 1.1rem; }
.panneau__txt {
  grid-area: 1 / 1; margin: 0; color: var(--texte-doux); font-size: 1.02rem; max-width: 60ch;
  opacity: 0; transform: translateY(4px); transition: opacity .25s var(--e), transform .25s var(--e);
}
.panneau__txt.est-actif { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .panneau { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 1.6rem; }
  .panneau__apercu { display: none; }
  .panneau__groupe + .panneau__groupe { margin-top: 1.2rem; }
  .panneau__famille { padding-left: .2rem; }
  .panneau__groupe { display: grid; gap: .5rem; }
  .panneau__item, .panneau__item.est-actif {
    padding: .5rem .9rem .5rem .5rem; background: var(--blanc); box-shadow: none;
    border: 1px solid rgba(17, 44, 84, .1); color: var(--texte);
  }
  .panneau__item:active { transform: scale(.985); }
  .panneau__vignette { display: block; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; }
  .panneau__item svg, .panneau__item.est-actif svg { opacity: 1; transform: none; }
}

/* ----- mur « Nos assurances » (accueil) --------------------------------------- */
/* 9 tuiles photo dans un seul bloc arrondi : photo en couleur sous un voile marine, famille, nom,
   description et lien toujours visibles. Au survol : la photo zoome, le lien se surligne en orange. */
.mur {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px;
  margin-top: 2.4rem; border-radius: var(--r-carte); overflow: hidden; background: var(--marine-fonce);
}
.mur__tuile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; aspect-ratio: 16 / 10; padding: 1.3rem 1.4rem;
  color: var(--blanc); text-decoration: none; background: var(--marine);
}
.mur__tuile:hover, .mur__tuile:focus-visible { color: var(--blanc); }
.mur__tuile img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--e);
}
.mur__tuile:hover img, .mur__tuile:focus-visible img { transform: scale(1.04); }
.mur__tuile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(10,29,59,.9) 0%, rgba(10,29,59,.64) 45%, rgba(10,29,59,.15) 100%);
}
.mur__corps { display: grid; gap: .25rem; text-shadow: 0 1px 3px rgba(10,29,59,.85), 0 0 14px rgba(10,29,59,.5); }
/* hauteur fixe : les noms restent alignés d'une tuile à l'autre */
.mur__plus { display: grid; gap: .25rem; align-content: start; min-height: 7.4rem; margin-top: .15rem; }
.mur__famille { font-size: .85rem; color: rgba(255,255,255,.72); }
.mur__nom { color: var(--blanc); font-family: var(--police-titre); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.15; letter-spacing: -.01em; }
.mur__txt { font-size: .98rem; color: rgba(255,255,255,.9); max-width: 36ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mur__lien {
  justify-self: start; display: inline-flex; align-items: center; gap: .4rem; margin: .25rem 0 0 -.5rem; padding: .2rem .5rem;
  border-radius: 6px; font-size: .98rem; font-weight: 600; color: var(--orange-clair);
  transition: background-color .18s var(--e), color .18s var(--e);
}
.mur__lien svg { width: 18px; height: 18px; transition: transform .18s var(--e); }
.mur__tuile:hover .mur__lien, .mur__tuile:focus-visible .mur__lien { background: var(--orange); color: var(--marine); text-shadow: none; }
.mur__tuile:hover .mur__lien svg, .mur__tuile:focus-visible .mur__lien svg { transform: translateX(3px); }
.mur__tuile:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.mur__tuile:active .mur__corps { transform: translateY(1px); }
@media (max-width: 900px) {
  .mur { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 1.6rem; }
  .mur__tuile { aspect-ratio: 4 / 3; padding: .85rem .95rem; }
  .mur__tuile:nth-child(9) { grid-column: 1 / -1; aspect-ratio: 8 / 3; }
  .mur__plus { display: none; }
  .mur__famille { font-size: .78rem; }
  .mur__nom { font-size: 1.05rem; }
}

/* ----- cartes « Nos assurances » (accueil) ------------------------------------ */
/* Photo nette en haut, texte sur blanc en dessous : la lecture ne lutte jamais avec l'image. */
.offcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.4rem; }
.offc {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte);
  text-decoration: none; color: var(--texte);
  transition: border-color .18s var(--e), box-shadow .18s var(--e);
}
.offc:hover, .offc:focus-visible { color: var(--texte); border-color: transparent; box-shadow: var(--ombre); }
.offc:focus-visible { outline: 2px solid var(--marine-moyen); outline-offset: 2px; }
.offc__photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--marine-pale); }
.offc__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--e); }
.offc:hover .offc__photo img, .offc:focus-visible .offc__photo img { transform: scale(1.03); }
.offc__corps { display: grid; gap: .3rem; padding: 1.05rem 1.2rem 1.25rem; }
.offc__famille { font-size: .88rem; font-weight: 600; color: var(--marine-moyen); }
.offc__nom {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  font-family: var(--police-titre); font-weight: 600; font-size: 1.15rem; line-height: 1.2; color: var(--marine);
}
.offc__nom svg { width: 20px; height: 20px; flex: none; color: var(--orange); transition: transform .18s var(--e); }
.offc:hover .offc__nom svg, .offc:focus-visible .offc__nom svg { transform: translateX(4px); }
.offc__txt { font-size: .98rem; color: var(--texte-doux); line-height: 1.5; }
.offc:active { transform: translateY(1px); }
@media (max-width: 900px) {
  .offcs { grid-template-columns: minmax(0, 1fr); gap: .6rem; margin-top: 1.6rem; }
  .offc { flex-direction: row; align-items: center; }
  .offc__photo { flex: none; width: 96px; aspect-ratio: 1; align-self: stretch; }
  .offc__corps { flex: 1 1 auto; padding: .7rem .9rem; gap: .15rem; }
  .offc__famille { font-size: .8rem; }
  .offc__nom { font-size: 1.02rem; }
  .offc__txt { display: none; }
}

/* ----- slider infini « Nos assurances » (accueil) ------------------------------ */
/* Cartes étroites, piste pleine largeur d'écran (la 1re carte s'aligne sur le contenant).
   Sans JS : défilement horizontal natif. Avec JS (.est-pret) : boucle, flèches, glisser. */
.section--defil { overflow: hidden; }
.defil__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.defil__tete .bloc-titre { margin-bottom: 0; }
.defil__tete .intro { text-align: left; margin-inline: 0; max-width: 56ch; }
.defil__cmd { display: flex; gap: .6rem; }
.defil__btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer;
  border: 1px solid var(--bordure); border-radius: 50%; background: var(--blanc); color: var(--marine);
  transition: background-color .18s var(--e), color .18s var(--e), border-color .18s var(--e);
}
.defil__btn svg { width: 20px; height: 20px; }
.defil__btn--prec svg { transform: scaleX(-1); }
.defil__btn:hover { background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.defil__btn:active { transform: scale(.96); }
.defil__btn:focus-visible { outline: 2px solid var(--marine-moyen); outline-offset: 2px; }
.defil__fenetre { margin-top: 2.2rem; margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); overflow-x: auto; scrollbar-width: none; }
.defil__fenetre::-webkit-scrollbar { display: none; }
.defil__piste { display: flex; gap: 1.1rem; padding-bottom: .4rem; }
.defil.est-pret .defil__fenetre { overflow: visible; padding-inline: 0; }
.defil.est-pret .defil__piste { will-change: transform; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.defil.est-pret .defil__piste.est-tire { cursor: grabbing; }
.dcarte {
  flex: 0 0 clamp(240px, 21vw, 284px); display: flex; flex-direction: column; overflow: hidden;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte);
  text-decoration: none; color: var(--texte);
  transition: border-color .18s var(--e), box-shadow .18s var(--e);
}
.dcarte:hover, .dcarte:focus-visible { color: var(--texte); border-color: transparent; box-shadow: var(--ombre); }
.dcarte:focus-visible { outline: 2px solid var(--marine-moyen); outline-offset: 2px; }
.dcarte__photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--marine-pale); }
.dcarte__photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform .3s var(--e); }
.dcarte:hover .dcarte__photo img { transform: scale(1.04); }
.dcarte__corps { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 auto; padding: 1rem 1.1rem 1.15rem; }
.dcarte__famille { font-size: .86rem; font-weight: 600; color: var(--marine-moyen); }
.dcarte__nom { font-family: var(--police-titre); font-weight: 600; font-size: 1.1rem; line-height: 1.2; color: var(--marine); }
.dcarte__txt { font-size: .95rem; line-height: 1.5; color: var(--texte-doux); }
.dcarte__lien { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: .5rem; font-weight: 600; font-size: .95rem; color: var(--marine); }
.dcarte__lien svg { width: 18px; height: 18px; color: var(--orange); transition: transform .18s var(--e); }
.dcarte:hover .dcarte__lien svg { transform: translateX(4px); }
@media (max-width: 700px) {
  .defil__tete { align-items: flex-start; }
  .defil__cmd { display: none; }
  .defil__fenetre { margin-top: 1.5rem; }
  .defil__piste { gap: .8rem; }
  .dcarte { flex-basis: 64vw; }
  .dcarte__corps { padding: .8rem .9rem .95rem; gap: .2rem; }
  .dcarte__nom { font-size: 1.02rem; }
  .dcarte__txt { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ----- blocs à icône « Nos assurances » (accueil) ----------------------------- */
/* Icône au trait sans conteneur, sur la ligne du nom ; bloc blanc bordé, tout le bloc est le lien. */
.iblocs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.4rem; }
.ibloc {
  display: flex; flex-direction: column; gap: .55rem; padding: 1.35rem 1.4rem 1.4rem;
  background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte);
  text-decoration: none; color: var(--texte);
  transition: border-color .18s var(--e), box-shadow .18s var(--e);
}
.ibloc:hover, .ibloc:focus-visible { color: var(--texte); border-color: var(--marine-moyen); box-shadow: var(--ombre); }
.ibloc:focus-visible { outline: 2px solid var(--marine-moyen); outline-offset: 2px; }
.ibloc:active { transform: translateY(1px); }
.ibloc__tete { display: flex; align-items: center; gap: .7rem; }
.ibloc__ico { width: 1.6rem; height: 1.6rem; flex: none; color: var(--orange); }
.ibloc__nom { flex: 1 1 auto; font-family: var(--police-titre); font-weight: 600; font-size: 1.12rem; line-height: 1.2; color: var(--marine); }
.ibloc__tete > svg:last-child { width: 18px; height: 18px; flex: none; color: var(--marine-moyen); transition: transform .18s var(--e), color .18s var(--e); }
.ibloc:hover .ibloc__tete > svg:last-child, .ibloc:focus-visible .ibloc__tete > svg:last-child { transform: translateX(4px); color: var(--orange); }
.ibloc__txt { font-size: .98rem; line-height: 1.55; color: var(--texte-doux); padding-left: 2.3rem; }
@media (max-width: 1000px) and (min-width: 701px) { .iblocs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ibloc:last-child { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .iblocs { grid-template-columns: minmax(0, 1fr); gap: .55rem; margin-top: 1.6rem; }
  .ibloc { padding: .9rem 1rem; }
  .ibloc__txt { display: none; }
  .ibloc__nom { font-size: 1.04rem; }
}

/* ----- situations difficiles (fil rouge) ------------------------------------- */
.situations { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.situation {
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-carte);
  padding: 1.2rem; background: rgba(255,255,255,.04);
}
.situation h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.situation p { margin: 0; font-size: .97rem; color: rgba(255,255,255,.78); }
.situation__num { font-family: var(--police-titre); font-weight: 700; color: var(--orange); font-size: .9rem; display: block; margin-bottom: .5rem; }
.situations__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.4rem; }
.situations__pied p { margin: 0; max-width: 62ch; }
@media (max-width: 1100px) { .situations { grid-template-columns: repeat(3, minmax(0, 1fr)); } .situations .situation:nth-child(n+4) { grid-column: span 1; } }
@media (max-width: 1100px) and (min-width: 701px) { .situations { grid-template-columns: repeat(6, minmax(0, 1fr)); } .situation { grid-column: span 2; } .situation:nth-child(4), .situation:nth-child(5) { grid-column: span 3; } }
/* mobile : rangée à défilement aimanté, la carte suivante dépasse pour signaler le glissement */
@media (max-width: 700px) {
  .situations {
    display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gouttiere)); padding: 0 var(--gouttiere) .6rem; scroll-padding-inline: var(--gouttiere);
    scrollbar-width: none;
  }
  .situations::-webkit-scrollbar { display: none; }
  .situation { flex: 0 0 78%; scroll-snap-align: start; }
  /* les cartes hors champ horizontal ne croisent jamais l'observateur d'apparition */
  .js .situations .apparait { opacity: 1; transform: none; }
}

/* bloc « résilié ? » sur les pages de produit */
.encart-probleme {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem 2rem; align-items: center;
  background: var(--marine); color: rgba(255,255,255,.9);
  border-radius: var(--r-carte); padding: clamp(1.5rem, 4vw, 2.4rem);
}
.encart-probleme h2 { color: var(--blanc); font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.encart-probleme p { margin: 0; }
.encart-probleme .puces-situ { display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.encart-probleme .puces-situ li { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .25rem .75rem; font-size: .9rem; }
@media (max-width: 760px) { .encart-probleme { grid-template-columns: minmax(0, 1fr); } }

/* ----- repères de confiance ------------------------------------------------------ */
.reperes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.8rem; }
.repere { border-top: 3px solid var(--marine); padding-top: 1rem; }
.repere h3 { font-size: 1.08rem; }
.repere p { margin: 0; color: var(--texte-doux); font-size: 1rem; }
@media (max-width: 960px) { .reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reperes { grid-template-columns: minmax(0, 1fr); } }

/* ----- étapes (séquence réelle : seule numérotation du site) ---------------------- */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; counter-reset: etape; }
.etape { counter-increment: etape; position: relative; padding-top: 3.2rem; }
.etape::before {
  content: counter(etape); position: absolute; top: 0; left: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--police-titre); font-weight: 700; background: var(--marine); color: var(--blanc);
}
.etape:not(:last-child)::after { content: ''; position: absolute; top: 1.2rem; left: 3rem; right: -.6rem; height: 2px; background: var(--bordure); }
.etape h3 { font-size: 1.08rem; }
.etape p { margin: 0; color: var(--texte-doux); font-size: 1rem; }
@media (max-width: 900px) {
  .etapes { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .etape { padding: 0 0 0 3.4rem; }
  .etape:not(:last-child)::after { display: none; }
}

/* ----- garanties (tableau) ------------------------------------------------------ */
.table-wrap { overflow-x: auto; border: 1px solid var(--bordure); border-radius: var(--r-carte); background: var(--blanc); }
.tableau { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tableau th, .tableau td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--bordure); vertical-align: top; }
.tableau thead th { background: var(--marine); color: var(--blanc); font-family: var(--police-titre); font-weight: 600; font-size: .92rem; }
.tableau tbody tr:last-child td { border-bottom: 0; }
.tableau td:first-child { font-weight: 600; color: var(--marine); width: 32%; }

/* ----- cartes de contenu (garanties, profils) ------------------------------------ */
.cartes { display: grid; gap: 1.2rem; }
.cartes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.carte { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte); padding: 1.4rem 1.5rem; }
.section--fond .carte { border-color: transparent; }
.carte h3 { font-size: 1.12rem; display: flex; align-items: center; gap: .55rem; }
.carte h3 svg { width: 1.2em; height: 1.2em; color: var(--marine-moyen); flex: none; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.carte--accent { background: var(--orange-pale); border-color: #FBD9BE; }
@media (max-width: 960px) { .cartes--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cartes--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .cartes--2, .cartes--3 { grid-template-columns: minmax(0, 1fr); } .cartes--3 > :last-child:nth-child(odd) { grid-column: auto; } }

/* ----- encadré d'information ------------------------------------------------------ */
.note {
  background: var(--marine-pale); border-radius: var(--r-carte); padding: 1.2rem 1.4rem;
  display: flex; gap: .9rem; align-items: flex-start;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--marine-moyen); margin-top: .15rem; }
.note p { margin: 0; }

/* ----- FAQ ---------------------------------------------------------------------- */
.faq { display: grid; gap: .7rem; max-width: 880px; margin-inline: auto; }
.faq details { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte); }
.section--fond .faq details { border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; position: relative;
  font-family: var(--police-titre); font-weight: 600; color: var(--marine); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 1.2rem; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--marine); border-bottom: 2px solid var(--marine); transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__rep { padding: 0 1.3rem 1.2rem; color: var(--texte-doux); }
.faq .faq__rep p:last-child { margin-bottom: 0; }

/* ----- étude du dossier (formulaire en page) ------------------------------------- */
.etude {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-rows: auto 1fr;
  grid-template-areas: "titre form" "txt form"; column-gap: clamp(1.8rem, 5vw, 4rem); align-items: start;
}
.etude__titre { grid-area: titre; margin-bottom: 1rem; }
.etude__form { grid-area: form; }
.etude__txt { grid-area: txt; }
.etude__txt > p:first-child { margin-top: 0; }
.etude__txt .coches { margin-top: 1.2rem; }
.etude__tel { margin-top: 1.4rem; font-size: 1.05rem; }
.etude__tel a { font-family: var(--police-titre); font-weight: 700; font-size: 1.35rem; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.etude__tel svg { width: 22px; height: 22px; }
@media (max-width: 900px) {
  /* mobile : le formulaire passe juste sous le titre, le texte ensuite */
  .etude { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "titre" "form" "txt"; }
  .etude__form { margin-bottom: 2rem; }
}

/* ----- formulaires ------------------------------------------------------------------- */
.devis-form, .formulaire {
  color: var(--texte);
  background: var(--blanc); border-radius: var(--r-carte); padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: var(--ombre); border: 1px solid var(--bordure); display: grid; gap: .9rem;
}
.devis-form__titre { font-family: var(--police-titre); font-weight: 700; color: var(--marine); font-size: 1.3rem; margin: 0; }
.devis-form__sous { margin: -.4rem 0 .2rem; color: var(--texte-doux); font-size: .98rem; }
.champ { display: grid; gap: .3rem; }
.champ label { font-weight: 600; font-size: .95rem; color: var(--marine); }
.champ input, .champ select, .champ textarea {
  font: inherit; font-size: 1rem; color: var(--texte);
  border: 1.5px solid var(--bordure); border-radius: var(--r-btn); padding: .7rem .85rem;
  background: var(--blanc); width: 100%;
}
.champ textarea { resize: vertical; min-height: 120px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--marine-moyen); outline: 3px solid rgba(31,68,121,.18); outline-offset: 0; }
.champ ::placeholder { color: #6B778A; }
.champ-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 560px) { .champ-duo { grid-template-columns: minmax(0, 1fr); } }
.champ-case { display: flex; gap: .65rem; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.champ-case input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--marine); }
.champ-aide { margin: 0; font-size: .88rem; color: var(--texte-doux); }
.section--marine .devis-form a:not(.btn), .section--marine .formulaire a:not(.btn) { color: var(--marine); }

/* ----- bande d'appel à l'action ----------------------------------------------------------- */
.bande {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem;
}
.bande h2 { margin: 0; max-width: 24ch; }
.bande__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ----- texte long (pages réglementaires, guide) ------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.prose h3 { margin-top: 1.6rem; }
.prose .table-wrap { margin: 1.2rem 0 1.6rem; }
.prose-large { max-width: 900px; margin-inline: auto; }
.a-valider { background: #FFF4C2; border-bottom: 2px dotted #C99400; padding: 0 .2rem; }

/* ----- pied de page ------------------------------------------------------------------------- */
.pied { background: var(--marine-fonce); color: rgba(255,255,255,.78); padding-block: 3.5rem 1.5rem; font-size: .98rem; }
.pied__haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.pied .logo__img { height: 54px; }
.pied__txt { margin: 1.2rem 0 .8rem; max-width: 38ch; }
.pied__orias { font-size: .9rem; color: rgba(255,255,255,.65); }
.pied__titre { font-family: var(--police-titre); font-weight: 600; color: var(--blanc); margin: .4rem 0 .9rem; }
.pied__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pied a { color: rgba(255,255,255,.85); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied__bas {
  margin-top: 2.8rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; font-size: .88rem; color: rgba(255,255,255,.6);
}
.pied__bas p { margin: 0; }
.pied__orias a, .pied__bas p a { text-decoration: underline; text-underline-offset: .15em; }
.liste-404 { columns: 2; display: block; }
.liste-404 li { margin-bottom: .45rem; }
.liste-404 a { color: var(--marine); }
@media (max-width: 960px) { .pied__haut { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pied__haut { grid-template-columns: minmax(0, 1fr); } }

/* ----- appel flottant (mobile) ------------------------------------------------------------- */
/* 20/10 : remplacé par la barre basse .barre-mobile (fin de feuille) */

/* ----- modale ------------------------------------------------------------------------------ */
.modale { border: 0; padding: 0; border-radius: var(--r-carte); width: min(480px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); }
.modale::backdrop { background: rgba(10,29,59,.55); }
.modale__int { position: relative; }
.modale .devis-form { box-shadow: none; border: 0; }
.modale__fermer {
  position: absolute; top: .7rem; right: .7rem; width: 40px; height: 40px; z-index: 2;
  border: 0; border-radius: var(--r-btn); background: var(--fond); color: var(--marine); cursor: pointer;
  display: grid; place-items: center;
}
.modale__fermer svg { width: 20px; height: 20px; }

/* ----- apparition au défilement (posée par JS sous la ligne de flottaison) ------------------ */
.js .apparait { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .apparait.est-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .apparait { opacity: 1; transform: none; transition: none; }
  .hero__diapo { transition: none; }
  .panneau__item, .panneau__item svg, .panneau__visuel, .panneau__txt { transition: none; }
  .mur__tuile img, .mur__lien, .mur__lien svg { transition: none; }
  .offc, .offc__photo img, .offc__nom svg { transition: none; }
  .defil__piste, .dcarte, .dcarte__photo img, .dcarte__lien svg { transition: none !important; }
  .ibloc, .ibloc__tete > svg { transition: none; }
}

/* ----- introduction des pages de produit : texte + carte « Pour qui ? » ------------ */
.intro-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.intro-grille__txt p { max-width: 64ch; }
.carte--pourqui { background: var(--fond); border-color: transparent; }
.carte--pourqui .coches { margin: 0; }
@media (max-width: 860px) { .intro-grille { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================================
   Mouvement et relief (toutes les animations sont coupées en prefers-reduced-motion)
   ========================================================================= */
:root { --e: cubic-bezier(.23, 1, .32, 1); }

/* ----- mot-clé d'un titre : en orange (29/10, demande Yanis : couleur plutôt que surlignage) -------
   Orange de marque sur les bandeaux foncés (4,57 sur marine) ; sur fond clair, orange soutenu #D35400
   (3,85 sur le gris des bandeaux, 4,17 sur blanc : AA grand texte), #F36B00 n'y fait que 2,81. */
.surligne { color: #D35400; }
.hero--banniere .surligne, .hero-p--fond .surligne, .section--marine .surligne { color: var(--orange); }
.hero__titre { position: relative; z-index: 0; }


/* ----- ruban défilant sous le bandeau ----------------------------------- */
.ruban { background: var(--marine-fonce); color: var(--blanc); overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); }
.ruban__piste { display: flex; width: max-content; animation: defile 46s linear infinite; }
.ruban__serie { display: flex; align-items: center; gap: 1.6rem; padding: 1.05rem .8rem; flex: none; }
.ruban__mot { font-family: var(--police-titre); font-weight: 600; font-size: 1rem; white-space: nowrap; letter-spacing: .01em; }
.ruban__feuille { width: 14px; height: 14px; color: var(--orange); flex: none; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ----- slider des assurances --------------------------------------------- */
.section--slider { overflow: hidden; }
.carrousel { position: relative; }
.carrousel__tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.8rem; }
.carrousel__tete h2 { margin-bottom: .4rem; }
.carrousel__tete .intro { margin: 0; }
.carrousel__cmd { display: flex; gap: .6rem; flex: none; }
.carrousel__btn {
  width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer;
  background: var(--blanc); color: var(--marine); border: 2px solid var(--bordure); border-radius: 50%;
  transition: background .2s var(--e), color .2s var(--e), border-color .2s var(--e), transform .2s var(--e);
}
.carrousel__btn:hover { background: var(--marine); color: var(--blanc); border-color: var(--marine); transform: scale(1.05); }
.carrousel__btn[disabled] { opacity: .35; cursor: default; transform: none; }
.carrousel__btn[disabled]:hover { background: var(--blanc); color: var(--marine); border-color: var(--bordure); }
.carrousel__btn:first-child svg { transform: rotate(180deg); }
.carrousel__btn svg { width: 20px; height: 20px; }
.carrousel__piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 2.8rem) / 3.25));
  gap: 1.4rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; padding: .4rem .2rem 1.4rem; margin: -.4rem -.2rem 0;
  scrollbar-width: none; cursor: grab;
}
.carrousel__piste::-webkit-scrollbar { display: none; }
.carrousel__piste .diapo { scroll-snap-align: start; }
.carrousel__piste.est-glisse { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carrousel__piste.est-glisse .offre { transform: none; }
.carrousel__piste img { -webkit-user-drag: none; user-select: none; }
.carrousel__piste:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.carrousel__barre { height: 4px; background: var(--bordure); border-radius: 2px; overflow: hidden; margin-top: .4rem; }
.carrousel__barre span { display: block; height: 100%; width: 30%; background: var(--orange); border-radius: 2px; transition: transform .35s var(--e), width .35s var(--e); }
@media (max-width: 760px) {
  .carrousel__tete { flex-direction: column; align-items: flex-start; }
  .carrousel__cmd { display: none; }
  .carrousel__piste { grid-auto-columns: 84%; }
}

/* ----- cartes d'offres : photo qui s'avance, liseré orange --------------- */
.offre { position: relative; }
.offre__img { overflow: hidden; }
.offre__img img { transition: transform .28s var(--e); }
.offre:hover .offre__img img { transform: scale(1.06); }

/* ----- bouton d'action : reflet au survol --------------------------------- */
.btn--accent { position: relative; overflow: hidden; }
.btn--accent::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .3s var(--e);
}
.btn--accent:hover::before { transform: translateX(120%); }

/* ----- situations : cartes qui se soulèvent ---------------------------------- */
.situation { transition: transform .2s var(--e), border-color .2s var(--e), background-color .2s var(--e); }
.situation:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); }

/* ----- étapes : la ligne se remplit quand la frise apparaît --------------- */
.etape:not(:last-child)::after { background: linear-gradient(90deg, var(--orange) 0 50%, var(--bordure) 50% 100%); background-size: 200% 100%; background-position: 100% 0; transition: background-position .3s var(--e) .1s; }
.etape.est-visible:not(:last-child)::after { background-position: 0 0; }
.etape::before { transition: background-color .3s var(--e), color .3s var(--e), transform .3s var(--e); }
.etape:hover::before { background: var(--orange); color: var(--marine); transform: scale(1.08); }

/* ----- cartes et repères : relief au survol --------------------------------- */
.carte { transition: transform .25s var(--e), box-shadow .25s var(--e); }
.cartes .carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.repere { transition: border-color .3s var(--e); }
.repere:hover { border-top-color: var(--orange); }

/* ----- en-tête compact au défilement --------------------------------------- */
.entete { transition: box-shadow .25s var(--e); }
.entete__int { transition: height .25s var(--e); }
.logo__img { transition: height .25s var(--e); }
.entete.est-compact { box-shadow: 0 6px 20px rgba(17,44,84,.08); }
@media (min-width: 1101px) {
  .entete.est-compact .entete__int { height: 64px; }
  .entete.est-compact .logo__img { height: 40px; }
}


/* ----- slider : la piste déborde jusqu'au bord droit de l'écran -------------- */
.section--slider .carrousel__piste {
  margin-right: calc(-1 * (max(0px, (100vw - var(--contenant)) / 2) + var(--gouttiere)));
  padding-right: calc(max(0px, (100vw - var(--contenant)) / 2) + var(--gouttiere));
  scroll-padding-left: .2rem;
}
.section--slider .carrousel__barre { max-width: 100%; }

/* ----- motif des feuilles du logo dans les sections bleues ------------------- */
.section--marine { position: relative; isolation: isolate; overflow: hidden; }
.section--marine::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -60px; top: -40px; width: 340px; height: 340px; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23F36B00'%3E%3Cpath d='M50 48C50 30 62 18 80 18c0 18-12 30-30 30Z'/%3E%3Cpath d='M48 48C30 48 18 36 18 18c18 0 30 12 30 30Z'/%3E%3Cpath d='M50 82C50 64 62 52 80 52c0 18-12 30-30 30Z'/%3E%3Cpath d='M48 82C30 82 18 70 18 52c18 0 30 12 30 30Z'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-12deg);
}
.section--marine#etude::before { right: auto; left: -70px; top: auto; bottom: -60px; transform: rotate(160deg); }

@media (prefers-reduced-motion: reduce) {
    .ruban__piste { animation: none; width: auto; }
  .ruban__serie { flex-wrap: wrap; justify-content: center; }
  .ruban__serie[aria-hidden="true"] { display: none; }
  .offre__img img, .offre::after, .situation, .btn--accent::before { transition: none; }
}

/* le texte sous les situations : la règle générale des sections remettait sa marge à zéro */
.contenant > .situations__pied { margin-top: 2.4rem; }

/* ----- bandeau des logos de partenaires : défilement infini --------------------- */
.logos { background: var(--blanc); border-bottom: 1px solid var(--bordure); padding-block: 1.6rem 1.8rem; }
.logos__titre { text-align: center; font-family: var(--police-titre); font-weight: 600; font-size: .95rem; color: var(--texte-doux); margin: 0 0 1.1rem; }
.logos__fenetre { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.logos__serie { display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); list-style: none; margin: 0; padding: 0 clamp(1.25rem, 2.5vw, 2.25rem); flex: none; }
.logos__item img { display: block; width: auto; }

.logos__fenetre:hover .logos__piste { animation-play-state: paused; }
/* grande version des pages services : logos en couleur, l'intro explique pourquoi plusieurs assureurs */
.partenaires .bloc-titre { margin-bottom: clamp(1.8rem, 3vw, 2.6rem); }
.partenaires .logos__serie { gap: clamp(3rem, 6vw, 5.5rem); }

.partenaires .logos__piste { animation-duration: 60s; }
@media (max-width: 760px) {
  .partenaires .logos__serie { zoom: .66; }
  .partenaires .logos__piste { animation-duration: 45s; }
}
.partenaires__note { margin: clamp(1.6rem, 3vw, 2.2rem) auto 0; max-width: 60ch; text-align: center; font-size: .95rem; color: var(--texte-doux); }
@media (max-width: 760px) { .logos__item img { transform: scale(.85); } .logos__piste { animation-duration: 28s; } }
@media (prefers-reduced-motion: reduce) {
  .logos__piste { animation: none; width: auto; justify-content: center; }
  .logos__serie { flex-wrap: wrap; justify-content: center; row-gap: 1.2rem; }
  .logos__serie[aria-hidden="true"] { display: none; }
  .logos__item[aria-hidden="true"] { display: none; }
  .logos__fenetre { -webkit-mask-image: none; mask-image: none; }
}


/* =========================================================================
   Blocs d'enrichissement (accueil et pages de produit)
   ========================================================================= */

/* ----- ce qu'une résiliation bloque : texte + liste à icônes (icône seule, sans tuile) */
/* « Ce qu'une résiliation bloque » : 4 cartes photo, conséquence en titre, explication dessous. */
.blocages .bloc-titre { max-width: 760px; }
.blocages .intro { text-align: left; margin-inline: 0; }
.blocages__cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.blocage { display: flex; flex-direction: column; overflow: hidden; background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte); }
.blocage__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--marine-pale); }
.blocage__photo img { width: 100%; height: 100%; object-fit: cover; }
.blocage__corps { padding: 1rem 1.15rem 1.2rem; }
.blocage__qui { margin: 0 0 .25rem; font-size: .88rem; font-weight: 600; color: var(--marine-moyen); }
.blocage__titre { margin: 0 0 .45rem; font-size: 1.18rem; line-height: 1.2; color: var(--marine); text-wrap: pretty; }
.blocage__txt { margin: 0; font-size: .97rem; line-height: 1.55; color: var(--texte-doux); }
.blocages__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2rem; }
.blocages__pied p { margin: 0; max-width: 62ch; font-size: 1.05rem; color: var(--texte); }
@media (max-width: 1000px) { .blocages__cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .blocages__cartes { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .blocage { flex-direction: row; }
  .blocage__photo { flex: none; width: 108px; aspect-ratio: auto; }
  .blocage__corps { padding: .8rem .95rem; }
  .blocage__titre { font-size: 1.04rem; }
  .blocage__txt { font-size: .92rem; }
}

/* ----- documents à préparer + guide ----------------------------------------- */
.documents { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.4rem; align-items: stretch; }
.documents__liste { padding: clamp(1.4rem, 3vw, 2.2rem); }
.documents__liste h2 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.documents__guide {
  display: flex; flex-direction: column; background: var(--marine); color: rgba(255,255,255,.88);
  border-radius: var(--r-carte); overflow: hidden; text-decoration: none;
  transition: transform .2s var(--e), box-shadow .2s var(--e);
}
.documents__guide:hover { transform: translateY(-3px); box-shadow: var(--ombre); color: rgba(255,255,255,.88); }
.documents__guide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.documents__guide-txt { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.documents__guide-txt strong { font-family: var(--police-titre); font-size: 1.25rem; color: var(--blanc); line-height: 1.25; }
.documents__guide .offre__rub { color: #FFD3AE; }
.documents__guide .offre__lien { color: var(--orange); margin-top: auto; }
@media (max-width: 860px) { .documents { grid-template-columns: minmax(0, 1fr); } }

/* ----- situations types ------------------------------------------------------ */
.carte--cas { display: flex; flex-direction: column; gap: .2rem; }
.cas__tag {
  align-self: flex-start; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  color: var(--marine-moyen); background: var(--marine-pale); border-radius: 999px; padding: .2rem .65rem; margin-bottom: .5rem;
}
.carte--cas h3 { font-size: 1.08rem; }
.carte--cas + .carte--cas { }
.cartes + .encart-probleme { margin-top: 2.4rem; }

/* ----- pièces à préparer -------------------------------------------------------- */
.pieces { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding: clamp(1.5rem, 3.5vw, 2.6rem); }
.pieces__titre h2 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); }
.pieces .coches { margin: 0; }
@media (max-width: 860px) { .pieces { grid-template-columns: minmax(0, 1fr); } }

/* ----- logos : Allianz a beaucoup de marge interne dans son fichier ---------------- */
.logos__item img[src*="allianz"] { transform: scale(1.7); transform-origin: center; }


/* ----- guides : liste éditoriale ----------------------------------------------- */
.guides-bloc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.guides-bloc__titre .intro { margin-bottom: 0; }
.guides { display: grid; }
.guide { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.3rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--bordure); text-decoration: none; color: var(--texte); }
.guide:first-child { border-top: 1px solid var(--bordure); }
.guide img { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-btn); transition: transform .25s var(--e); }
.guide:hover img { transform: scale(1.03); }
.guide__txt { display: flex; flex-direction: column; gap: .3rem; }
.guide__txt strong { font-family: var(--police-titre); color: var(--marine); font-size: 1.12rem; }
.guide__txt > span:not(.offre__lien) { color: var(--texte-doux); }
.guide:hover .offre__lien svg { transform: translateX(3px); }
@media (max-width: 860px) { .guides-bloc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .guide { grid-template-columns: 96px minmax(0, 1fr); } .guide img { width: 96px; } }

/* ----- situations types : colonnes séparées par des filets ------------------------- */
.cas-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cas { padding: .4rem 1.8rem; border-left: 1px solid var(--bordure); }
.cas:first-child { padding-left: 0; border-left: 0; }
.cas h3 { font-size: 1.08rem; margin-top: .4rem; }
.cas p { margin: 0; color: var(--texte-doux); }
.cas-colonnes + .encart-probleme { margin-top: 2.6rem; }
@media (max-width: 860px) {
  .cas-colonnes { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .cas { padding: 1.4rem 0 0; border-left: 0; border-top: 1px solid var(--bordure); }
  .cas:first-child { padding-top: 0; border-top: 0; }
}
.documents__guide .documents__guide-txt { justify-content: center; padding: clamp(1.6rem, 3vw, 2.2rem); }


/* ----- bandeau des pages de service : texte + formulaire ------------------------- */
.hero-p--form .hero-p__grille { grid-template-columns: minmax(0, 1.1fr) minmax(0, 440px); align-items: center; padding-block: clamp(2.2rem, 4.5vw, 3.6rem); }
.hero-p--form .devis-form { box-shadow: 0 1px 2px rgba(17,44,84,.06), 0 18px 40px rgba(17,44,84,.12); }
.hero-p--form .devis-form__titre { font-size: 1.2rem; }
.hero-p--form .champ input, .hero-p--form .champ select { padding-block: .6rem; }
.hero-p--form .devis-form { gap: .75rem; }
.hero-p__tel { margin: 1.6rem 0 0; color: var(--texte-doux); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; }
.hero-p__tel a { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--police-titre); font-weight: 700; font-size: 1.2rem; color: var(--marine); text-decoration: none; }
.hero-p__tel svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .hero-p--form .hero-p__grille { grid-template-columns: minmax(0, 1fr); }
}

/* ----- intro des pages de service : photo + carte « Pour qui ? » décalée par-dessus --- */
.section--intro-photo { padding-bottom: clamp(5rem, 9vw, 7.5rem); }
.intro-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-photo__txt p { max-width: 62ch; }
.intro-photo__media { position: relative; padding: 0 0 0 3rem; }
.intro-photo__media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-carte); }
.intro-photo__carte {
  position: absolute; left: 0; bottom: -3rem; width: min(390px, 78%);
  background: var(--blanc); border: 1px solid var(--bordure);
  box-shadow: 0 1px 2px rgba(17,44,84,.06), 0 18px 40px rgba(17,44,84,.14);
}
.intro-photo__carte h3 { font-size: 1.05rem; }
.intro-photo__carte .coches { gap: .45rem; font-size: .98rem; }
@media (max-width: 900px) {
  .intro-photo { grid-template-columns: minmax(0, 1fr); }
  .intro-photo__media > img { aspect-ratio: 4 / 3; }
  .intro-photo__media { padding: 0; }
  .intro-photo__carte { position: relative; left: auto; bottom: auto; width: auto; margin: -3rem 1rem 0; }
  .section--intro-photo { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
}

/* variante vidéo (page VTC) : vidéo verticale du cabinet, texte incrusté, jamais rognée */
.intro-photo--video { grid-template-columns: minmax(0, 62ch) auto; justify-content: center; align-items: start; }
.intro-photo--video .intro-photo__carte { position: static; width: auto; max-width: 62ch; margin-top: 1.75rem; }
.intro-video { margin: 0; width: min(340px, 100%); justify-self: end; display: grid; gap: .6rem; }
.intro-video video { display: block; width: 100%; height: auto; aspect-ratio: 464 / 832; border-radius: var(--r-carte); background: var(--marine-fonce); box-shadow: 0 18px 40px rgba(17,44,84,.16); }
.intro-video__pause { justify-self: center; background: none; border: 0; padding: .35rem .5rem; font: inherit; font-size: .9rem; color: var(--marine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.section--intro-photo:has(.intro-photo--video) { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
@media (max-width: 900px) {
  .intro-photo--video { grid-template-columns: minmax(0, 1fr); }
  .intro-photo--video .intro-photo__carte { margin: 1.5rem 0 0; }
  .intro-video { width: min(300px, 82%); justify-self: center; }
}


/* ----- bandeau des pages de service : photo de fond sous un voile marine ------------- */
.hero-p--fond { position: relative; isolation: isolate; background: var(--marine-fonce); border-bottom: 0; color: rgba(255,255,255,.9); }
.hero-p__fond { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-p__fond img { width: 100%; height: 100%; object-fit: cover; }
.hero-p--fond::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* 30/10 : voile allégé (demande Yanis, base .32/.5/.1), photo visible à droite ; ombre ovale derrière le texte
     pour garder le contraste sur les photos claires (mesuré sur les 10 pages : titre ≥ 3,3, chapô ≥ 5,3) */
  background:
    radial-gradient(ellipse 50% 65% at 24% 50%, rgba(10,29,59,.38) 0%, rgba(10,29,59,0) 100%),
    linear-gradient(90deg, rgba(10,29,59,.74) 0%, rgba(10,29,59,.62) 40%, rgba(10,29,59,.26) 60%, rgba(10,29,59,.1) 100%);
}
.hero-p--fond .surtitre { color: #FFD3AE; }
.hero-p--fond .hero-p__titre { color: var(--blanc); }
.hero-p--fond .hero-p__txt { color: rgba(255,255,255,.88); }
.hero-p--fond .hero-p__tel { color: rgba(255,255,255,.8); }
.hero-p--fond .hero-p__tel a { color: var(--blanc); }
@media (max-width: 900px) {
  .hero-p--fond::after { background: linear-gradient(180deg, rgba(10,29,59,.78) 0%, rgba(10,29,59,.7) 100%); }  /* 30/10 : allégé, chapô ≥ 7,8 */
}


/* ----- pourquoi un courtier : photo + engagements 2 × 2 ---------------------------- */
.reperes-photo { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.reperes-photo__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-carte); }
.reperes-photo__txt .intro { margin-bottom: 1.8rem; }
.reperes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; }
@media (max-width: 860px) {
  .reperes-photo { grid-template-columns: minmax(0, 1fr); }
  .reperes-photo__media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .reperes--2 { grid-template-columns: minmax(0, 1fr); } }

/* ----- bande photo pleine largeur ------------------------------------------------------ */
.bande-photo { position: relative; isolation: isolate; color: var(--blanc); padding-block: clamp(4rem, 9vw, 7rem); }
.bande-photo__fond { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.bande-photo__fond img { width: 100%; height: 100%; object-fit: cover; }
.bande-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,29,59,.9) 0%, rgba(10,29,59,.72) 55%, rgba(10,29,59,.35) 100%); }
.bande-photo h2 { color: var(--blanc); max-width: 22ch; }
.bande-photo p { max-width: 50ch; color: rgba(255,255,255,.88); font-size: 1.12rem; }
.bande-photo__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
@media (max-width: 760px) { .bande-photo h2 br { display: none; } .bande-photo::after { background: rgba(10,29,59,.82); } }

/* ----- pièces à préparer : photo + carte ------------------------------------------------ */
.pieces-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.pieces-photo__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--r-carte); }
.pieces-photo .pieces { display: block; padding: clamp(1.5rem, 3.5vw, 2.4rem); }
.pieces-photo .pieces .coches { margin: 1.2rem 0 0; }
.pieces__cta { margin: 1.6rem 0 0; }
@media (max-width: 860px) {
  .pieces-photo { grid-template-columns: minmax(0, 1fr); }
  .pieces-photo__media img { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
}

/* ----- carte du guide : photo en tête --------------------------------------------------- */
.documents__guide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(.2); }
.documents__guide .documents__guide-txt { justify-content: flex-start; }


/* ----- WhatsApp : pastille + bulle de message (reprise de devmiweb.com) ------------------ */
.wa {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--blanc);
  box-shadow: 0 10px 28px rgba(10,29,59,.2); transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.wa:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10,29,59,.26); color: var(--blanc); }
.wa:focus-visible { outline: 3px solid var(--marine); outline-offset: 3px; }
.wa svg { width: 30px; height: 30px; fill: currentColor; }
/* 21/10 : plus de bulle (comme devmiweb.com) ; la pastille ne sert que sur tablette :
   sur mobile WhatsApp est dans la barre basse, sur ordinateur dans le pied de page. */
@media (max-width: 767px), (min-width: 1025px) { .wa { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa { transition: none; } .wa:hover { transform: none; } }
@media print { .wa { display: none; } }

/* ----- bande de confiance sous le hero (20/10 : remplace le mur de logos de maquette) ----- */
.confiance { background: var(--blanc); border-bottom: 1px solid var(--bordure); }
.confiance__liste {
  list-style: none; margin: 0; padding: 1.1rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
}
.confiance__item {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--police-titre); font-weight: 600; font-size: .95rem; color: var(--marine);
}
.confiance__item svg { flex: none; width: 1.3em; height: 1.3em; color: var(--orange); }
.confiance__item a { color: inherit; text-decoration: underline; text-decoration-color: var(--bordure); text-underline-offset: .2em; }
.confiance__item a:hover { text-decoration-color: var(--orange); }
@media (max-width: 900px) {
  .confiance__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
  .confiance__item { font-size: .88rem; align-items: flex-start; }
}

/* ----- accueil : section « Résilié, malussé ou refusé » sur fond marine (fusion du 20/10) ----- */
.section--marine .blocages .intro { color: rgba(255,255,255,.82); }
.section--marine .blocage { border-color: transparent; }
.section--marine .blocage__titre { color: var(--marine); }
.section--marine .blocages__pied { align-items: flex-end; margin-top: 2.2rem; }
.section--marine .blocages__pied p { color: rgba(255,255,255,.86); }
.blocages__situ { display: grid; gap: .9rem; max-width: 760px; }
.section--marine .blocages__pied .blocages__situ-titre { margin: 0; font-family: var(--police-titre); font-weight: 700; color: var(--blanc); }
.blocages__situ .puces-situ { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.blocages__situ .puces-situ li { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .3rem .8rem; font-size: .92rem; color: var(--blanc); }

/* ----- mobile : barre basse Appeler + Devis (remplace la pastille « Appeler ») ---------------- */
:root { --barre-h: 0px; }
.barre-mobile { display: none; }
@media (max-width: 767px) {
  :root { --barre-h: calc(64px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: var(--barre-h); }
  .barre-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.4fr); gap: .5rem;
    padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom, 0px));
    background: var(--blanc); border-top: 1px solid var(--bordure); box-shadow: 0 -6px 18px rgba(17,44,84,.08);
  }
  .barre-mobile__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px;
    border-radius: var(--r-btn); font-family: var(--police-titre); font-weight: 700; font-size: .95rem;
    text-decoration: none; white-space: nowrap; transition: transform .12s, background-color .18s ease;
  }
  .barre-mobile__btn:active { transform: translateY(1px); }
  .barre-mobile__btn:focus-visible { outline: 3px solid var(--marine); outline-offset: 2px; }
  .barre-mobile__btn svg { width: 18px; height: 18px; }
  .barre-mobile__btn--tel { border: 1.5px solid var(--marine); color: var(--marine); background: var(--blanc); }
  .barre-mobile__btn--devis { background: var(--orange); color: var(--marine); }
  .barre-mobile__btn--wa { background: #25D366; color: var(--blanc); padding: 0; }
  .barre-mobile__btn--wa svg { width: 26px; height: 26px; fill: currentColor; }
}
@media (max-width: 380px) {
  .barre-mobile__btn { font-size: .84rem; padding-inline: .35rem; }
  .barre-mobile__btn svg { width: 16px; height: 16px; }
}
@media print { .barre-mobile { display: none; } }

/* ----- hero de l'accueil : bannière basse, texte centré, pastille ORIAS (choix du 21/10) ----- */
.hero--banniere { min-height: 0; align-items: center; text-align: center; }
/* 21/10 : un peu plus de marge autour du texte (Yanis : « genre 600px ») ; mobile inchangé */
@media (min-width: 768px) { .hero--banniere { min-height: 600px; } }
.hero--banniere::after {  /* 30/10 : voile allégé + ombre douce derrière le texte centré (titre ≥ 4,4, texte ≥ 4,9 sur iPhone) */
  background: radial-gradient(ellipse 48% 62% at 50% 50%, rgba(10,29,59,.45) 0%, rgba(10,29,59,0) 100%),
              linear-gradient(0deg, rgba(10,29,59,.55), rgba(10,29,59,.32));
}
/* cadrage : on montre la partie haute de la photo (visages), sans aller tout en haut */
.hero--banniere .hero__diapo img { object-position: 50% 30%; }
.hero--banniere__int { padding-block: clamp(3rem, 6vw, 4.5rem); display: flex; flex-direction: column; align-items: center; }
.hero--banniere .hero__titre { font-size: clamp(2rem, 3.4vw, 2.85rem); max-width: 24ch; margin-inline: auto; }
.hero--banniere .hero__txt { margin-inline: auto; }
.hero--banniere .hero__actions { justify-content: center; }
.hero__pastille {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.1rem;
  padding: .4rem .95rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1); color: var(--blanc); text-decoration: none;
  font-family: var(--police-titre); font-weight: 600; font-size: .9rem;
  transition: background-color .18s ease, border-color .18s ease;
}
.hero__pastille:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); color: var(--blanc); }
.hero__pastille:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.hero__pastille svg { width: 17px; height: 17px; color: var(--orange); flex: none; }
/* la bande de confiance (accueil seulement) devient une carte qui chevauche le bas de la bannière */
.hero--banniere .hero--banniere__int { padding-bottom: clamp(4.5rem, 8vw, 6rem); }
.hero--banniere + .confiance { background: linear-gradient(180deg, transparent 50%, var(--blanc) 50%); border: 0; position: relative; z-index: 2; margin-top: -2.6rem; }
.hero--banniere + .confiance .confiance__liste {
  justify-content: space-around; gap: .8rem 2rem; padding: 1.15rem 1.6rem;
  background: var(--blanc); border-radius: var(--r-carte); box-shadow: 0 1px 2px rgba(17,44,84,.06), 0 12px 32px rgba(17,44,84,.14);
}
@media (max-width: 900px) {
  .hero--banniere + .confiance .confiance__liste { display: flex; justify-content: space-around; padding: 1rem 1.2rem; }
}
@media (max-width: 600px) {
  .hero--banniere + .confiance .confiance__liste { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .hero--banniere .hero__actions { flex-direction: column; align-items: stretch; width: 100%; }
}

/* Mouvement réduit (DESIGN.md §7) : règle générale, en plus des cas particuliers ci-dessus */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== 29/10 : cartes avec photo (2e section des pages produit) ===== */
.carte--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.carte__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.carte__corps { padding: 1.15rem 1.4rem 1.4rem; }
.carte__corps p:last-child { margin-bottom: 0; }

/* ===== 29/10 : Où nous trouver (Paris en avant, Cannes en second) ===== */
.agences { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.4rem; align-items: stretch; }
.agence { background: var(--blanc); border: 1px solid var(--bordure); border-radius: var(--r-carte); overflow: hidden; display: flex; flex-direction: column; }
.agence__photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.agence--principale .agence__photo img { aspect-ratio: 16 / 9; object-position: 50% 10%; }  /* enseigne visible */
.agence--seconde .agence__photo img { aspect-ratio: 1 / 1; object-position: 50% 0%; }
.agence__corps { padding: 1.3rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.agence--principale .agence__corps { padding: 1.5rem 1.8rem 1.8rem; }
.agence h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.agence--principale h3 { font-size: 1.45rem; }
.agence__etiquette { align-self: flex-start; margin: 0 0 .5rem; padding: .2rem .7rem; border-radius: 999px;
  background: var(--orange-pale); color: var(--marine); font-weight: 600; font-size: .88rem; }
.agence__ligne { display: flex; gap: .6rem; align-items: flex-start; margin: .25rem 0; color: var(--texte); }
.agence__ligne svg { width: 1.15rem; height: 1.15rem; flex: none; margin-top: .2em; color: var(--marine-moyen); }
.agence__ligne a { color: var(--marine); font-weight: 600; }
.agence__actions { margin: auto 0 0; padding-top: 1rem; }
@media (max-width: 860px) {
  .agences { grid-template-columns: minmax(0, 1fr); }
  .agence--principale .agence__corps { padding: 1.3rem 1.4rem 1.5rem; }
  .agence--seconde .agence__photo img { aspect-ratio: 16 / 9; object-position: 50% 8%; }  /* Paris garde la plus grande photo */
}

/* ===== 29/10 : formulaire court plus compact (nom, puis téléphone + e-mail côte à côte) ===== */
.devis-form--court { gap: .7rem; }
.devis-form--court .devis-form__titre { font-size: 1.12rem; }
.devis-form--court .devis-form__sous { margin: -.35rem 0 0; font-size: .92rem; line-height: 1.45; }
.devis-form--court .champ { gap: .2rem; }
.devis-form--court .champ label { font-size: .88rem; }
.devis-form--court .champ input, .devis-form--court .champ select { padding-block: .5rem; font-size: 1rem; }  /* 16 px : pas de zoom iOS */
.devis-form--court .champ-duo { gap: .7rem; }
.devis-form--court .champ-case { font-size: .9rem; }
.devis-form--court .champ-aide { font-size: .82rem; }
.devis-form--court .btn--bloc { padding-block: .75rem; }
/* 17/11 : champs obligatoires signalés (demande cabinet) ; rouge #C62828 = 5,6:1 sur blanc */
.champ-requis { color: #C62828; font-weight: 700; }
.champ-facultatif { font-weight: 400; color: var(--texte-doux); }
.champ-legende { margin: 0; font-size: .82rem; color: var(--texte-doux); }
.devis-form--court .champ textarea { padding-block: .5rem; font-size: 1rem; min-height: 84px; }
@media (max-width: 380px) { .devis-form--court .champ-duo { grid-template-columns: minmax(0, 1fr); } }

/* ===== 29/10 : encart agence dans « Faisons le point » (colonne de gauche) ===== */
.etude__agence { display: flex; gap: 1.1rem; align-items: center; margin-top: 1.8rem; padding: 1rem;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-carte); background: rgba(255,255,255,.06); max-width: 34rem; }
.etude__agence-photo { flex: none; width: 132px; }
.etude__agence-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.etude__agence-corps p { margin: 0; }
.etude__agence-titre { font-family: var(--police-titre); font-weight: 700; font-size: 1.05rem; }
.etude__agence-ligne { display: flex; gap: .5rem; align-items: flex-start; margin-top: .35rem !important; font-size: .97rem; }
.etude__agence-ligne svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: .2em; color: var(--orange); }
.etude__agence-tel a { font-family: var(--police-titre); font-weight: 700; font-size: 1.2rem; color: var(--blanc); text-decoration: none; }
.etude__agence-cannes { margin-top: .55rem !important; font-size: .9rem; color: rgba(255,255,255,.82); }
.etude__agence-cannes a { color: var(--blanc); }
@media (max-width: 480px) {
  .etude__agence { flex-direction: column; align-items: stretch; }
  .etude__agence-photo { width: 100%; }
  .etude__agence-photo img { aspect-ratio: 16 / 9; }
}

.devis-form--court { padding: clamp(1.1rem, 2.4vw, 1.4rem) clamp(1.1rem, 2.4vw, 1.5rem); }
.section--marine .a-valider, .hero-p--fond .a-valider { color: var(--texte); }  /* lisible sur fond foncé */

.agence__sous { margin: -.3rem 0 .5rem !important; color: var(--texte-doux); font-size: .95rem; }

/* ===== 30/10 : plan d'accès en bas de chaque fiche agence (OpenStreetMap) ===== */
.agence__plan { position: relative; border-top: 1px solid var(--bordure); }
.agence__plan iframe { display: block; width: 100%; height: 240px; border: 0; }
.agence--principale .agence__plan iframe { height: 260px; }
.agence__itin { position: absolute; left: .75rem; top: .75rem;  /* en haut : la mention OpenStreetMap du bas doit rester visible */ display: inline-flex; align-items: center; gap: .35rem;
  padding: .45rem .8rem; border-radius: var(--r-btn); background: var(--blanc); color: var(--marine); font-weight: 600; font-size: .9rem;
  text-decoration: none; box-shadow: 0 1px 2px rgba(17,44,84,.1), 0 6px 16px rgba(17,44,84,.14); }
.agence__itin:hover { background: var(--marine-pale); }
.agence__itin svg { width: 1rem; height: 1rem; color: var(--orange); }
.agence--seconde .agence__corps { flex: 1; }

.etude__agence-ligne a { color: var(--blanc); font-weight: 600; }  /* 30/10 : numéro de l'agence d'Argenteuil */
