/* Rc-Importateur.fr : feuille de style unique.
   Thème ALLIANZ de l'agence (outils/ALLIANZ/CHARTE.md), SANS le logo Allianz (décision de Fred du 19/11/2026) :
   bleu Allianz pour les titres et les actions, framboise pour les repères, gris panneau pour le bandeau
   d'ouverture, police Figtree. Le bordereau d'importation reste l'illustration propre au site, posé sur le
   panneau gris comme l'illustration de la plaquette. Ancienne feuille : construction/avant-allianz-2026-11-19/. */

@font-face { font-family: 'Figtree'; src: url('/polices/figtree-latin-variable.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bleu: #003781;
  --bleu-nuit: #002b66;
  --framboise: #b5123d;
  --framboise-nuit: #8f0e30;
  --framboise-fond: #f5e1e0;
  --ardoise: #456487;
  --panneau: #e2e3e4;
  --ligne: #eeeeef;
  --encre: #1a1a1a;
  --texte: #414141;
  --texte-doux: #5c5c5c;
  --filet: #e3e3e3;
  --filet-champ: #767676;
  --blanc: #ffffff;
  --fond-doux: #f4f5f6;
  --fond-bleu: #eef1f5;
  --largeur: 73.75rem;
  --mesure: 42rem;
  --cible: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--blanc); color: var(--texte);
  font-family: 'Figtree', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size: 1.0625rem; line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--bleu-nuit); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; border-radius: 2px; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48em) { .conteneur { padding: 0 1.5rem; } }

h1, h2, h3 { color: var(--bleu); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.25rem + 3.2vw, 3.5rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; }
h2 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem); font-weight: 700; letter-spacing: -.01em; margin-top: 1.8em; }
h3 { font-size: 1.1875rem; font-weight: 700; color: var(--encre); margin-top: 1.4em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; color: var(--encre); }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin: 0 0 1.4em; }
th, td { text-align: left; vertical-align: top; padding: .75rem; border-bottom: 1px solid var(--filet); }
thead th { background: var(--bleu); color: var(--blanc); font-weight: 700; }

.lien-evitement { position: absolute; left: -999px; top: 0; background: var(--bleu); color: var(--blanc); padding: .6rem 1rem; z-index: 10; }
.lien-evitement:focus { left: 1rem; }

/* En-tête : nom du site, agence et téléphone sur la première ligne, menu sur la seconde (ordinateur). */
.entete { background: var(--blanc); border-bottom: 1px solid var(--filet); }
.entete-haut { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1.5rem; padding-top: .6rem; padding-bottom: .6rem; }
.marque { display: flex; align-items: center; gap: .65rem; color: var(--bleu); text-decoration: none; margin-right: auto; }
.marque svg { width: 2.6rem; height: 2.6rem; flex: none; }
.marque b { display: block; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.marque small { display: block; font-size: .85rem; color: var(--texte-doux); }
.marque:hover { color: var(--bleu-nuit); }
.agence { margin: 0; font-size: .9375rem; line-height: 1.3; color: var(--encre); border-left: 3px solid var(--framboise); padding-left: .75rem; }
.agence strong { display: block; font-weight: 700; }
.agence span { color: var(--texte-doux); font-size: .875rem; }
.tel { display: inline-flex; align-items: center; gap: .45rem; min-height: var(--cible); padding: .5rem 1rem; border: 2px solid var(--bleu); border-radius: 4px; color: var(--bleu); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tel svg { width: 1.1em; height: 1.1em; flex: none; }
.tel:hover { background: var(--fond-bleu); color: var(--bleu-nuit); }
.bouton-menu { display: none; }
.nav { border-top: 1px solid var(--filet); }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.4rem; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { display: inline-flex; align-items: center; min-height: var(--cible); color: var(--encre); font-weight: 600; text-decoration: none; font-size: .975rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bleu); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.nav li.devis { margin-left: auto; }
.nav a.bouton { min-height: 0; margin: .3rem 0; padding: .55rem 1.1rem; color: var(--blanc); text-decoration: none; }

@media (max-width: 64em) {
  .entete-haut { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem 1rem; }
  .marque { grid-column: 1; grid-row: 1; margin: 0; min-width: 0; }
  .bouton-menu { grid-column: 2; grid-row: 1; justify-self: end; }
  .agence { grid-column: 1; grid-row: 2; min-width: 0; }
  .tel { grid-column: 2; grid-row: 2; justify-self: end; }
  .js .bouton-menu { display: inline-flex; align-items: center; min-height: var(--cible); background: var(--blanc); color: var(--bleu); border: 2px solid var(--bleu); border-radius: 4px; padding: .4rem .9rem; font: inherit; font-weight: 700; cursor: pointer; }
  .js .nav { display: none; }
  .js .nav.ouvert { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .3rem 0 1rem; }
  .nav a { width: 100%; border-bottom: 1px solid var(--filet); }
  .nav li.devis { margin: .8rem 0 0; }
  .nav a.bouton { justify-content: center; border-bottom: 0; }
}
@media (max-width: 30em) {
  .marque { gap: .5rem; }
  .marque svg { width: 2.2rem; height: 2.2rem; }
  .marque b { font-size: 1.12rem; white-space: nowrap; }
  .marque small { font-size: .74rem; }
  .agence span { display: none; }
  .tel { padding: .45rem .7rem; font-size: .95rem; }
}

/* Boutons : coins de 4 px, principal bleu plein. */
.bouton, .actions a.principal {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--cible); background: var(--bleu); color: var(--blanc);
  text-decoration: none; font-weight: 700; line-height: 1.2; padding: .625rem 1.25rem; border-radius: 4px; border: 2px solid transparent;
  font-family: inherit; font-size: 1rem; cursor: pointer;
}
.bouton:hover, .actions a.principal:hover { background: var(--bleu-nuit); color: var(--blanc); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; align-items: center; margin-top: 1.4rem; }
.actions a:not(.principal) { font-weight: 700; }

/* Accueil : le panneau gris de la plaquette porte le titre, le bordereau le chevauche à droite. */
.une { position: relative; isolation: isolate; padding: 2rem 0 3rem; }
.une::before { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--panneau); }
.une .conteneur { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 3rem; align-items: center; }
.une h1 { max-width: 22ch; }
.une .chapeau { font-size: 1.1875rem; max-width: 36rem; color: var(--encre); }
@media (min-width: 56em) { .une { padding: 4rem 0 3rem; } .une::before { inset: 0 auto 4rem 0; width: 64%; } }
@media (max-width: 56em) { .une .conteneur { grid-template-columns: 1fr; gap: 2.2rem; } }

.bordereau {
  position: relative; background: var(--blanc); border: 1px solid var(--filet); border-top: 4px solid var(--bleu); border-radius: 6px;
  max-width: 30rem; justify-self: center; width: 100%; box-shadow: 0 10px 30px rgba(0, 55, 129, .12);
}
.bordereau-bande { display: none; }
.bordereau-titre { display: flex; justify-content: space-between; align-items: baseline; padding: .8rem 1rem; border-bottom: 1px solid var(--filet); font-weight: 800; color: var(--bleu); font-size: 1.05rem; }
.bordereau-titre span:last-child { font-weight: 500; color: var(--texte-doux); font-size: .9rem; }
.bordereau dl { margin: 0; }
.bordereau .case { padding: .7rem 1rem; border-bottom: 1px solid var(--ligne); }
.bordereau dt { font-size: .82rem; color: var(--ardoise); font-weight: 600; }
.bordereau dd { margin: .1rem 0 0; font-weight: 600; color: var(--encre); }
.bordereau .case-vous { background: var(--framboise-fond); border-bottom: 0; border-radius: 0 0 6px 6px; padding-bottom: 1.2rem; }
.bordereau .case-vous dd { font-size: 1.85rem; font-weight: 800; line-height: 1.1; color: var(--framboise); letter-spacing: -.01em; }
.tampon {
  position: absolute; right: -.6rem; top: 42%; transform: rotate(-8deg);
  border: 3px double var(--framboise); color: var(--framboise); background: rgba(255, 255, 255, .92);
  padding: .45rem .7rem; border-radius: 6px; text-align: center; line-height: 1.05; font-weight: 700; max-width: 12rem;
}
.tampon b { display: block; font-size: 1.45rem; font-weight: 800; }
.tampon small { display: block; font-size: .75rem; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .tampon { animation: tamponner .5s cubic-bezier(.2, .9, .3, 1.3) .35s both; }
  @keyframes tamponner { from { opacity: 0; transform: rotate(-8deg) scale(1.6); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
}
@media (max-width: 30em) { .tampon { right: .4rem; top: auto; bottom: 5.4rem; max-width: 9.5rem; } .tampon b { font-size: 1.2rem; } }

.accueil-corps { max-width: var(--largeur); margin: 0 auto; padding: 1rem 1rem 3rem; }
.accueil-corps > * { max-width: var(--mesure); }
.accueil-corps > .cartes { max-width: none; }
@media (min-width: 48em) { .accueil-corps { padding: 1.5rem 1.5rem 3rem; } }

/* Profils sur l'accueil : cartes à filet bleu de 4 px. */
.cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; margin: 1.2rem 0 1.6rem; }
.cartes p { margin: 0; background: var(--blanc); border: 1px solid var(--filet); border-top: 4px solid var(--bleu); border-radius: 6px; padding: 1rem 1.25rem 1.1rem; }
.cartes p strong { display: block; color: var(--bleu); font-size: 1.15rem; font-weight: 700; margin-bottom: .3rem; }
@media (max-width: 44em) { .cartes { grid-template-columns: 1fr; } }

/* Pages intérieures */
.tete { background: var(--panneau); padding: 1.2rem 0 1.8rem; }
.tete h1 { max-width: 52rem; margin-bottom: .3rem; }
.meta { color: var(--texte); font-size: .92rem; margin: .6rem 0 0; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem .5rem; padding: 0; margin: 0 0 1rem; font-size: .9375rem; color: var(--texte-doux); }
.fil li { margin: 0; }
.fil li + li::before { content: '\203A'; margin-right: .5rem; color: var(--texte-doux); }
.fil a { color: var(--bleu); }

.page { padding: 2rem 0 3.5rem; }
.page.avec-sommaire { display: grid; grid-template-columns: minmax(0, var(--mesure)) minmax(0, 15rem); gap: 3.5rem; justify-content: space-between; }
.page.avec-sommaire > .contenu { grid-column: 1; grid-row: 1; }
.page.avec-sommaire > .sommaire { grid-column: 2; grid-row: 1; }
.contenu { max-width: var(--mesure); }
.contenu > h2:first-child { margin-top: .4em; }
.contenu h2 { display: flex; align-items: baseline; gap: .6rem; }
.contenu h2::before { content: ''; flex: none; width: .7rem; height: .7rem; border-radius: 50%; background: var(--framboise); transform: translateY(-.1em); }
.encadre h2::before, .autres h2::before, .faq-titre::before { display: none; }
.sommaire { position: sticky; top: 1.2rem; align-self: start; font-size: .92rem; border-left: 3px solid var(--bleu); padding-left: 1rem; }
.sommaire p { font-weight: 700; color: var(--encre); margin-bottom: .5rem; }
.sommaire ol { padding-left: 1.1rem; margin: 0; }
.sommaire a { color: var(--bleu); text-decoration: none; }
.sommaire a:hover { text-decoration: underline; }
@media (max-width: 60em) {
  .page.avec-sommaire { display: block; }
  .sommaire { position: static; background: var(--fond-doux); border-left: 3px solid var(--bleu); border-radius: 0 6px 6px 0; padding: .8rem 1rem; margin-bottom: 1.6rem; }
}

/* Réponse directe en tête de page (moteurs de réponse et lecteurs pressés) */
.en-bref { background: var(--fond-bleu); border-left: 4px solid var(--bleu); border-radius: 0 6px 6px 0; padding: 1rem 1.25rem .3rem; margin: 0 0 2rem; }
.en-bref-q { font-weight: 700; color: var(--bleu); margin-bottom: .4rem; }

/* Schémas */
.schema { margin: 2rem 0; }
.schema svg, .schema img { display: block; width: 100%; height: auto; max-width: 40rem; background: var(--blanc); border: 1px solid var(--filet); border-radius: 6px; }
.schema figcaption { font-size: .9rem; color: var(--texte-doux); margin-top: .5rem; }
.sources { font-size: .93rem; }
.sources li { overflow-wrap: anywhere; }

/* « L'essentiel à retenir » : fond gris clair, filet framboise, puces en coche. */
.encadre { background: var(--fond-doux); border-left: 4px solid var(--framboise); border-radius: 0 6px 6px 0; padding: .3rem 1.5rem .8rem; margin: 2.4rem 0; }
.encadre h2 { margin-top: 1em; font-size: 1.25rem; }
.encadre ul { list-style: none; padding: 0; }
.encadre li { position: relative; padding-left: 1.75rem; }
.encadre li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 1.1em; height: 1.1em; background: var(--framboise);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z'/></svg>") center/100% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z'/></svg>") center/100% no-repeat;
}
.faq h3 { font-size: 1.08rem; color: var(--encre); }
.appel { background: var(--bleu); color: var(--blanc); border-radius: 6px; padding: 1.3rem 1.5rem; margin-top: 2.6rem; }
.appel h2, .appel strong { color: var(--blanc); }
.appel h2::before { background: var(--blanc); }
.appel a { color: var(--blanc); }
.appel .actions a.principal { background: var(--blanc); color: var(--bleu); }
.appel .actions a.principal:hover { background: var(--fond-bleu); color: var(--bleu-nuit); }
.note { font-size: .92rem; color: var(--texte-doux); }
hr { border: 0; border-top: 1px solid var(--filet); margin: 2rem 0; }
.auteur { display: flex; gap: .9rem; align-items: flex-start; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); margin-top: 2.6rem; padding: 1.2rem 0; font-size: .93rem; color: var(--texte); }
.auteur svg { width: 2.6rem; height: 2.6rem; flex: none; }
.autres { margin-top: 2rem; font-size: .95rem; }
.autres h2 { font-size: 1.2rem; margin-top: 0; }
.autres ul { columns: 2 14rem; padding-left: 1.1rem; }

/* Formulaires */
.formulaire { background: var(--blanc); border: 1px solid var(--filet); border-top: 4px solid var(--bleu); border-radius: 6px; padding: 1.3rem 1.5rem; margin: 1.2rem 0 2rem; scroll-margin-top: 1rem; }
.formulaire fieldset { border: 0; border-top: 1px solid var(--filet); padding: 1rem 0 .2rem; margin: 0 0 .6rem; min-width: 0; }
.formulaire fieldset:first-of-type { border-top: 0; padding-top: 0; }
.formulaire legend { font-weight: 700; color: var(--bleu); font-size: 1.2rem; padding: 0; }
.champ { margin-bottom: .95rem; }
.champ label, .libelle { display: block; font-weight: 700; color: var(--encre); font-size: .95rem; margin-bottom: .3rem; }
.champ input[type=text], .champ input[type=email], .champ input[type=tel], .champ select, .champ textarea {
  width: 100%; min-height: var(--cible); font: inherit; color: var(--encre); background: var(--blanc); border: 1px solid var(--filet-champ); border-radius: 6px; padding: .55rem .7rem;
}
.champ input:disabled { background: var(--fond-doux); color: var(--texte-doux); }
.champ textarea { min-height: 7rem; resize: vertical; }
.choix { display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.choix label { font-weight: 600; display: inline-flex; gap: .45rem; align-items: center; margin: 0; border: 1px solid var(--filet-champ); border-radius: 4px; padding: .45rem .85rem; min-height: var(--cible); cursor: pointer; }
.choix input, .accord input { accent-color: var(--bleu); width: 1.1rem; height: 1.1rem; }
.accord { display: flex !important; gap: .55rem; align-items: flex-start; font-weight: 400 !important; margin-top: .4rem; }
.accord input { margin-top: .25rem; flex: none; }
.grille-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; }
@media (max-width: 40em) { .grille-2 { grid-template-columns: 1fr; } }
.requis { color: var(--framboise); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-formulaire { background: #fcebea; border-left: 4px solid #b3261e; padding: .7rem 1rem; color: var(--encre); }
.cf-turnstile { margin: .6rem 0 1rem; }

/* Pied : fond clair, comme sur les autres sites de l'agence. */
.pied { background: var(--fond-doux); border-top: 1px solid var(--filet); color: var(--texte); font-size: .9375rem; padding: 2.6rem 0 1.6rem; }
.pied a { color: var(--bleu); }
.pied h2 { color: var(--bleu); font-size: 1.05rem; margin: 0 0 .7rem; }
.pied ul { list-style: none; padding: 0; }
.pied li a { display: inline-block; padding: .15rem 0; }
.colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 50em) { .colonnes { grid-template-columns: 1fr; } }
.legal { border-top: 1px solid var(--filet); padding-top: 1rem; margin-top: 1.4rem; font-size: .85rem; }

@media print { .bouton-menu, .nav, .formulaire { display: none; } }
