/*
  STYLE DU SITE PUBLIC (accueil, Sites internet, mentions légales, page de maintenance)
  Ajouté par Noah le 2026-12-03, d'après la maquette PDF « Nouvelle page d'accueil » :
  grands dégradés bleus, titres en serif fine (Instrument Serif) avec un mot en italique, texte en DM Sans.
  L'espace client garde son propre style (vitrine.css) : ne pas mélanger les deux fichiers.
*/
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/static/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/static/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/static/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --nuit: #0A2249;        /* bandeau du bas, sections sombres */
  --nuit-2: #10305F;
  --encre: #0E1E3D;       /* titres sur fond blanc */
  --texte: #2E3D58;
  --gris: #5A6984;
  --bleu: #1F6FDB;        /* boutons, mots en italique */
  --bleu-fonce: #1857B4;
  --bleu-pale: #B9D3F8;   /* mots en italique sur fond bleu ou sombre */
  --ciel: #EAF1FD;
  --trait: #DCE4F2;
  --fond: #FFFFFF;
  --vert: #1B9A68;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --degrade-hero: radial-gradient(ellipse 60% 45% at 50% -5%, rgba(255,255,255,.32), transparent 70%),
                  radial-gradient(ellipse 50% 60% at 10% 30%, rgba(80,160,255,.35), transparent 70%),
                  linear-gradient(170deg, #3580E6 0%, #2463CF 45%, #1C52B3 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font: 400 16px/1.6 var(--sans); color: var(--texte); background: var(--fond); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 6px; }
.sur-fonce :focus-visible, .hero :focus-visible, .nav:not(.solide) :focus-visible { outline-color: #fff; }
.boite { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.surtitre { font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gris); }
em { font-style: italic; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--encre); letter-spacing: -0.01em; }
h2 em { color: var(--bleu); }

/* --- Barre du haut : transparente sur le bleu, blanche quand on descend --- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; color: #fff; transition: background .25s, color .25s, box-shadow .25s; }
.nav .boite { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.nav.solide, .nav.ombre { background: rgba(255,255,255,.94); backdrop-filter: blur(12px); color: var(--encre); box-shadow: 0 1px 0 var(--trait); }
.marque { display: flex; align-items: center; gap: 11px; text-decoration: none; font: 400 22px/1 var(--serif); white-space: nowrap; }
.marque em { font-size: 1.04em; }
.marque .logo { width: 34px; height: 34px; position: relative; flex: none; }
.marque .logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s; }
.marque .logo .clair { opacity: 0; }
.nav.solide .marque .logo .clair, .nav.ombre .marque .logo .clair { opacity: 1; }
.nav.solide .marque .logo .fonce, .nav.ombre .marque .logo .fonce { opacity: 0; }
.nav .liens { display: flex; gap: 32px; font-size: 14px; }
.nav .liens a { text-decoration: none; opacity: .88; }
.nav .liens a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav .acces { display: flex; gap: 10px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 999px;
       font: 500 14.5px/1 var(--sans); border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
       transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.btn.petit { padding: 10px 18px; font-size: 13.5px; }
.btn.plein { background: var(--bleu); color: #fff; }
.btn.plein:hover { background: var(--bleu-fonce); }
.btn.blanc { background: #fff; color: var(--encre); }
.btn.blanc:hover { background: var(--ciel); }
.btn.contour { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn.contour:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn.contour-fonce { border-color: var(--trait); color: var(--encre); background: #fff; }
.btn.contour-fonce:hover { border-color: var(--encre); }
.nav.solide .btn.contour, .nav.ombre .btn.contour { border-color: var(--trait); color: var(--encre); }
.nav.solide .btn.contour:hover, .nav.ombre .btn.contour:hover { border-color: var(--encre); background: transparent; }
.nav.solide .btn.blanc, .nav.ombre .btn.blanc { background: var(--encre); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn svg { flex: none; }

/* Bandeau jaune vu seulement par l'équipe pendant une maintenance */
.bandeau-maintenance { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #FFF4D6; color: #6B4A00; text-align: center;
                       font-size: 13.5px; padding: 9px 16px; border-top: 1px solid #F0DDA4; }
.bandeau-maintenance a { font-weight: 600; }

/* --- Haut de page bleu --- */
.hero { background: var(--degrade-hero); color: #fff; position: relative; overflow: hidden; padding: 150px 0 96px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, rgba(10,34,73,.18)); pointer-events: none; }
.hero > .boite { position: relative; z-index: 1; }
.hero .surtitre { color: rgba(255,255,255,.78); }
.hero h1 { color: #fff; font-size: clamp(46px, 7vw, 92px); line-height: .98; letter-spacing: -0.025em; }
.hero h1 em { color: var(--bleu-pale); }
.hero .chapo { font-size: 17.5px; color: rgba(255,255,255,.9); max-width: 34em; }
.hero .cta-ligne { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-centre { text-align: center; }
.hero-centre .surtitre { margin-bottom: 26px; }
.hero-centre h1 { max-width: 12.5em; margin: 0 auto; }
.hero-centre .chapo { margin: 28px auto 34px; }
.hero-centre .cta-ligne { justify-content: center; }

/* Carte « Votre projet » en verre, étapes à l'horizontale */
.suivi-verre { margin: 72px auto 0; max-width: 1000px; text-align: left; border-radius: 22px; padding: 30px 34px 32px;
               background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px);
               box-shadow: 0 30px 60px -30px rgba(6,24,60,.45); }
.suivi-verre .titre { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.suivi-verre .titre b { font: 400 24px/1.1 var(--serif); }
.suivi-verre .titre .surtitre { color: rgba(255,255,255,.75); font-size: 10.5px; }
.etapes-ligne { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 26px; }
.etapes-ligne li { position: relative; padding-top: 22px; font-size: 14px; color: rgba(255,255,255,.72); padding-right: 14px; }
.etapes-ligne li::before { content: ""; position: absolute; top: 5px; left: 10px; right: 0; height: 1.5px; background: rgba(255,255,255,.28); }
.etapes-ligne li:last-child::before { right: 30%; }
.etapes-ligne li .pt { position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: transparent; }
.etapes-ligne li.fait { color: #fff; }
.etapes-ligne li.fait::before { background: rgba(255,255,255,.85); }
.etapes-ligne li.fait .pt { background: #fff; border-color: #fff; }
.etapes-ligne li.actuel { color: #fff; font-weight: 500; }
.etapes-ligne li.actuel .pt { background: #fff; border-color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.25); }
.etapes-ligne small { display: block; font-size: 12.5px; font-weight: 400; color: rgba(255,255,255,.72); margin-top: 3px; line-height: 1.4; }

/* Haut de page en deux colonnes (page Sites internet) */
.hero-deux > .boite { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.hero-deux h1 { font-size: clamp(42px, 5.4vw, 70px); line-height: 1.02; }
.hero-deux .chapo { margin: 24px 0 32px; }
.fil-ariane { display: inline-block; margin-bottom: 20px; color: rgba(255,255,255,.8); font-size: 14px; text-decoration: none; }
.fil-ariane::before { content: "← "; }
.fil-ariane:hover { color: #fff; }
.preuves { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: rgba(255,255,255,.78); }
.preuves b { color: #fff; font-weight: 600; }

/* --- Sections --- */
section.bloc { padding: 110px 0; }
section.bloc.pale { background: #F5F8FE; }
.entete-bloc { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.entete-bloc.seul { grid-template-columns: 1fr; }
.bloc h2 { font-size: clamp(38px, 4.6vw, 58px); line-height: 1.04; max-width: 14em; }
.bloc .intro { color: var(--gris); font-size: 15.5px; max-width: 26em; }
.entete-bloc .surtitre { margin-bottom: 18px; }

/* Cartes bleues (services) */
.carte-bleue { position: relative; overflow: hidden; border-radius: 20px; color: #fff; padding: 34px 32px; text-decoration: none;
               background: radial-gradient(ellipse 70% 55% at 75% 0%, rgba(98,170,255,.75), transparent 70%),
                           linear-gradient(180deg, #2160C8 0%, #173F8E 62%, #0F2C66 100%);
               display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px;
               transition: transform .25s, box-shadow .25s; }
.carte-bleue:nth-child(3n+2) { background: radial-gradient(ellipse 60% 50% at 25% 0%, rgba(98,170,255,.7), transparent 70%), linear-gradient(185deg, #1F5BC2 0%, #163C88 60%, #0E2A62 100%); }
.carte-bleue:nth-child(3n) { background: radial-gradient(ellipse 60% 55% at 15% 105%, rgba(70,150,255,.65), transparent 70%), linear-gradient(175deg, #1E58BE 0%, #143780 65%, #0D2759 100%); }
a.carte-bleue:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(15,44,102,.7); }
.carte-bleue .ico { width: 46px; height: 46px; border-radius: 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
                    display: grid; place-items: center; margin-bottom: auto; }
.carte-bleue h3 { color: #fff; font-size: 30px; line-height: 1.1; margin-top: 34px; }
.carte-bleue p { color: rgba(255,255,255,.84); font-size: 14.5px; margin-top: 10px; max-width: 32em; }
.carte-bleue .lien { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.prix-depart { display: inline-block; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.88); }
.prix-depart b { font: 400 26px/1 var(--serif); color: #fff; margin-left: 4px; }
.services-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.services-grille.seul .carte-bleue { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: end; min-height: 320px; padding: 44px 46px; }
.services-grille.seul .ico { margin-bottom: 0; }
.services-grille.seul h3 { font-size: 40px; margin-top: 60px; }
.services-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Petit avant / après dans la carte « Sites internet » */
.mini-comparateur { height: 200px; border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr;
                    border: 1px solid rgba(255,255,255,.25); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.mini-comparateur .avant { background: #d7e8c8; color: #ff0; font: italic 18px "Times New Roman", serif; text-shadow: 1px 1px #333;
                           display: grid; place-items: center; text-align: center; padding: 10px; }
.mini-comparateur .apres { background: linear-gradient(135deg, #1d3c2e, #2f7a55); color: #fff; display: flex; flex-direction: column;
                           justify-content: flex-end; align-items: flex-start; gap: 8px; padding: 16px; }
.mini-comparateur .apres b { font: 600 16px/1.2 var(--sans); }
.mini-comparateur .apres span { background: var(--vert); padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* Section sombre (notre façon de travailler, étapes) */
.sombre { background: radial-gradient(ellipse 45% 55% at 85% 0%, rgba(50,120,230,.55), transparent 70%),
                      radial-gradient(ellipse 35% 50% at 0% 100%, rgba(40,110,230,.5), transparent 70%), var(--nuit-2);
          color: #fff; }
.sombre h2 { color: #fff; }
.sombre h2 em { color: var(--bleu-pale); }
.sombre .surtitre { color: rgba(255,255,255,.65); }
.sombre .intro { color: rgba(255,255,255,.72); }
.cartes-verre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cartes-verre.trois { grid-template-columns: repeat(3, 1fr); }
.carte-verre { border-radius: 18px; padding: 30px 26px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.carte-verre .num { font: italic 400 46px/1 var(--serif); color: #fff; display: block; margin-bottom: 26px; }
.carte-verre h3 { color: #fff; font-size: 24px; line-height: 1.15; }
.carte-verre p { color: rgba(255,255,255,.74); font-size: 14.5px; margin-top: 10px; }
.carte-verre .gratuit { display: inline-block; margin-left: 8px; vertical-align: middle; font: 600 11px/1 var(--sans); letter-spacing: .06em;
                        background: var(--vert); color: #fff; padding: 5px 9px; border-radius: 999px; }

/* Réalisations : avant / après avec des vraies captures */
.realisations { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 22px; }
.realisation { border: 1px solid var(--trait); border-radius: 20px; overflow: hidden; background: #fff; }
.realisation .infos { padding: 22px 24px 24px; }
.realisation h3 { font-size: 26px; }
.realisation .qui { font-size: 13px; color: var(--gris); letter-spacing: .02em; }
.realisation p { margin-top: 10px; font-size: 15px; color: var(--texte); }
.realisation .voir { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--bleu); text-decoration: none; }
.realisation .voir:hover { text-decoration: underline; text-underline-offset: 4px; }
.avant-apres { position: relative; aspect-ratio: 16 / 10; background: var(--ciel); overflow: hidden; --pos: 50%; user-select: none; touch-action: pan-y; }
.avant-apres img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.avant-apres .img-apres { clip-path: inset(0 0 0 var(--pos)); }
.avant-apres input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.avant-apres .trait { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 4; pointer-events: none;
                      box-shadow: 0 0 0 1px rgba(14,30,61,.15); }
.avant-apres .trait span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
                           background: #fff; color: var(--bleu); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(14,30,61,.3); }
.avant-apres:focus-within .trait span { outline: 3px solid var(--bleu); }
.avant-apres .etiquette { position: absolute; bottom: 12px; z-index: 3; font-size: 11.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.avant-apres .etiquette.g { left: 12px; background: rgba(14,30,61,.8); color: #fff; }
.avant-apres .etiquette.d { right: 12px; background: var(--bleu); color: #fff; }
.avant-apres.seule img { clip-path: none; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tarif { background: #fff; border: 1px solid var(--trait); border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; }
.tarif h3 { font-size: 25px; line-height: 1.15; }
.tarif .prix { margin: 22px 0 14px; padding-bottom: 18px; border-bottom: 1px solid var(--trait); }
.tarif .prix small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.tarif .prix b { font: 400 50px/1.05 var(--serif); color: var(--encre); }
.tarif .prix span { font-size: 15px; color: var(--gris); margin-left: 4px; }
.tarif p { font-size: 14.5px; color: var(--texte); }
.tarifs-bas { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.tarifs-bas p { font-size: 14px; color: var(--gris); }

/* Carte de France */
.ou { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ou .texte p { margin-top: 20px; font-size: 16.5px; color: var(--texte); max-width: 30em; }
.ou .points { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.ou .points li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; }
.ou .points .pastille { flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; background: var(--bleu); box-shadow: 0 0 0 5px var(--ciel); }
.ou .points .pastille.creuse { background: #fff; border: 2px solid var(--bleu); box-shadow: none; }
.ou .points b { color: var(--encre); font-weight: 600; }
.carte-france { position: relative; }
.carte-france svg { width: 100%; height: auto; display: block; }
.carte-france .pays { fill: url(#francePlein); stroke: #fff; stroke-width: 1.5; }
.carte-france .liaison { stroke: rgba(255,255,255,.6); stroke-width: 1.4; stroke-dasharray: 3 5; fill: none; }
.carte-france .ville { fill: #fff; stroke: #2463CF; stroke-width: 1.5; }
.carte-france .rouen { fill: #fff; }
.carte-france .rouen-coeur { fill: var(--bleu); }
.carte-france .onde { fill: none; stroke: #fff; stroke-width: 2; transform-origin: var(--x) var(--y); animation: onde 2.6s ease-out infinite; }
.carte-france .etiquette-rouen rect { fill: var(--encre); }
.carte-france .etiquette-rouen text { fill: #fff; font: 600 15px var(--sans); }
@keyframes onde { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }

/* Espace client (page Sites internet) */
.espace { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.espace ul { list-style: none; margin: 26px 0 32px; display: grid; gap: 12px; }
.espace li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.espace li svg { flex: none; color: var(--bleu); margin-top: 3px; }
.apercu-suivi { background: #fff; border: 1px solid var(--trait); border-radius: 20px; padding: 30px; box-shadow: 0 30px 60px -40px rgba(14,30,61,.35); }
.apercu-suivi .titre { display: flex; justify-content: space-between; align-items: baseline; }
.apercu-suivi .titre b { font: 400 24px/1.1 var(--serif); color: var(--encre); }
.avancement { list-style: none; display: grid; margin-top: 18px; }
.avancement li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding-bottom: 16px; position: relative; color: var(--gris); font-size: 15px; }
.avancement li::before { content: ""; position: absolute; left: 12px; top: 24px; bottom: 0; width: 1.5px; background: var(--trait); }
.avancement li:last-child::before { display: none; }
.avancement .pt { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--trait); background: #fff; display: grid; place-items: center; z-index: 1; }
.avancement li.fait { color: var(--encre); }
.avancement li.fait .pt { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.avancement li.fait::before { background: var(--bleu); }
.avancement li.actuel { color: var(--encre); font-weight: 600; }
.avancement li.actuel .pt { border-color: var(--bleu); box-shadow: 0 0 0 5px var(--ciel); }
.avancement li.actuel .pt::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--bleu); }
.avancement small { display: block; font-weight: 400; color: var(--gris); font-size: 13px; }

/* Grand comparateur avant / après (page Sites internet) */
.comparateur { position: relative; aspect-ratio: 1.42; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.35);
               box-shadow: 0 40px 80px -30px rgba(6,24,60,.6); --pos: 30%; user-select: none; touch-action: pan-y; background: #fff; color: #222; }
.comparateur .vue { position: absolute; inset: 0; }
.comparateur input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 5; margin: 0; }
.comparateur .apres { clip-path: inset(0 0 0 var(--pos)); background: #fff; }
.poignee { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; z-index: 4; pointer-events: none; }
.poignee span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
                background: #fff; color: var(--bleu); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(6,24,60,.4); }
.comparateur:focus-within .poignee span { outline: 3px solid #fff; box-shadow: 0 0 0 6px var(--bleu); }
.comparateur .etiquette { position: absolute; bottom: 14px; z-index: 3; font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; pointer-events: none; }
.comparateur .etiquette.g { left: 14px; background: rgba(14,30,61,.82); color: #fff; }
.comparateur .etiquette.d { right: 14px; background: var(--bleu); color: #fff; }
.vieux { background: #d7e8c8; font-family: "Times New Roman", serif; color: #222; }
.vieux .bandeau { background: linear-gradient(#7fa65a, #4f7a2e); color: #ff0; font: italic 30px "Times New Roman", serif;
                  text-align: center; padding: 16px; text-shadow: 2px 2px #333; white-space: nowrap; }
.vieux .menu { background: #333; color: #fff; font-size: 12px; padding: 6px; text-align: center; letter-spacing: .02em; white-space: nowrap; }
.vieux .texte { padding: 16px 22px; font-size: 14px; line-height: 1.5; }
.vieux .defile { color: #d10000; font-weight: bold; font-family: "Comic Sans MS", cursive; margin-bottom: 10px; }
.vieux .compteur { margin-top: 14px; display: inline-block; background: #000; color: #0f0; font: 13px monospace; padding: 3px 8px; }
.neuf { font-family: var(--sans); }
.neuf .haut { display: flex; justify-content: flex-end; gap: 14px; align-items: center; padding: 16px 22px; font-weight: 600; border-bottom: 1px solid #eef1f6; }
.neuf .haut span:last-child { background: var(--vert); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; }
.neuf .visuel { margin: 16px; border-radius: 14px; height: 52%; background: linear-gradient(135deg, #1d3c2e, #2f7a55); color: #fff;
                padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; text-align: right; }
.neuf .visuel small { font-size: 13px; opacity: .85; }
.neuf .visuel b { font-size: clamp(20px, 2.3vw, 30px); line-height: 1.08; }
.neuf .services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 16px; }
.neuf .services div { background: #f2f6f3; border-radius: 10px; padding: 12px; font-size: 13px; font-weight: 600; height: 70px; }

/* --- Contact --- */
.contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: start; }
.contact h2 { font-size: clamp(40px, 5vw, 64px); }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.formulaire .large { grid-column: 1 / -1; }
.champ label { display: block; font-size: 13px; font-weight: 500; color: var(--encre); margin-bottom: 7px; }
.champ input, .champ textarea, .champ select { width: 100%; font: 15.5px var(--sans); color: var(--encre); padding: 13px 15px;
        border: 1px solid var(--trait); border-radius: 12px; background: #fff; appearance: none; }
.champ select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235A6984' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.champ input:focus, .champ textarea:focus, .champ select:focus { border-color: var(--bleu); outline: none; box-shadow: 0 0 0 4px var(--ciel); }
.champ textarea { min-height: 130px; resize: vertical; }
.piege { position: absolute; left: -9999px; }
.message-form { grid-column: 1 / -1; font-size: 14.5px; padding: 12px 14px; border-radius: 12px; }
.message-form.ok { background: #e7f6ef; color: #126b48; }
.message-form.ko { background: #fdecec; color: #a12626; }
.coordonnees { border-radius: 22px; padding: 34px 30px; color: #fff; margin-top: 8px;
               background: radial-gradient(ellipse 70% 50% at 80% 0%, rgba(80,150,255,.55), transparent 70%), var(--nuit); }
.coordonnees h3 { color: #fff; font-size: 30px; line-height: 1.1; }
.coordonnees > p { color: rgba(255,255,255,.75); font-size: 14.5px; margin-top: 10px; }
.coordonnees .btn { width: 100%; margin-top: 24px; padding: 17px 22px; font-size: 16px; }
.coordonnees .lignes { margin-top: 22px; }
.coordonnees .lignes a, .coordonnees .lignes div { display: flex; gap: 12px; align-items: center; padding: 13px 0; text-decoration: none;
        border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.9); font-size: 14.5px; overflow-wrap: anywhere; }
.coordonnees .lignes a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.coordonnees svg { color: var(--bleu-pale); flex: none; }

/* --- Bas de page --- */
footer.pied { background: var(--nuit); color: rgba(255,255,255,.78); font-size: 13.5px; padding: 30px 0; }
footer.pied .boite { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer.pied .marque { font-size: 18px; color: #fff; gap: 9px; }
footer.pied .marque .logo { width: 26px; height: 26px; }
footer.pied nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.pied a { text-decoration: none; }
footer.pied a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* --- Pages simples (mentions légales) --- */
.page-simple { max-width: 760px; margin: 0 auto; padding: 150px 32px 100px; }
.page-simple h1 { font-size: clamp(44px, 6vw, 64px); line-height: 1.02; margin-bottom: 28px; }
.page-simple h2 { font-size: 28px; margin: 38px 0 8px; }
.page-simple p, .page-simple li { color: var(--texte); }
.page-simple ul { padding-left: 20px; }
.a-completer { background: #fff7e0; border-radius: 6px; padding: 1px 6px; color: #7a5600; }

/* --- Page de maintenance --- */
.maintenance { min-height: 100vh; display: grid; place-items: center; padding: 120px 24px 60px; text-align: center; }
.maintenance .logo-grand { width: 84px; height: 84px; margin: 0 auto 30px; filter: drop-shadow(0 10px 30px rgba(6,24,60,.35)); }
.maintenance h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1; }
.maintenance .chapo { margin: 22px auto 0; }
.maintenance .note { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.maintenance .joindre { margin: 44px auto 0; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* Formulaire « Nous écrire » de la page de maintenance (ajouté le 2026-12-03) */
.maintenance .carte-ecrire { width: min(560px, 100%); margin: 28px auto 0; padding: 26px; text-align: left; background: #fff;
  border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(6,24,60,.55); }
.maintenance .carte-ecrire[hidden] { display: none; }
.maintenance .carte-ecrire .rgpd { font-size: 12.5px; color: var(--gris, #5A6984); margin: 0; }
@media (max-width: 560px) { .maintenance .carte-ecrire { grid-template-columns: 1fr; } }
/* La page s'allonge quand le formulaire est ouvert : la barre du haut défile avec la page (sinon elle passe sur le texte). */
.page-attente .nav { position: absolute; }

/* --- Téléphone et tablette --- */
@media (max-width: 1000px) {
  .nav .liens { display: none; }
  .hero-deux > .boite, .espace, .contact, .ou { grid-template-columns: 1fr; gap: 48px; }
  .entete-bloc { grid-template-columns: 1fr; gap: 16px; }
  .cartes-verre { grid-template-columns: 1fr 1fr; }
  .cartes-verre.trois { grid-template-columns: 1fr; }
  .services-grille.seul .carte-bleue { grid-template-columns: 1fr; gap: 28px; }
  .services-grille.seul h3 { margin-top: 30px; }
  .carte-france { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 680px) {
  .boite { padding: 0 20px; }
  .nav .boite { height: 66px; }
  .marque { font-size: 18px; }
  .marque .logo { width: 30px; height: 30px; }
  .nav .acces .btn { padding: 9px 13px; font-size: 12.5px; }
  .nav .acces .btn.blanc:not(:only-child) { display: none; }   /* sur téléphone : on garde « Espace client » ; l'équipe a le lien en bas de page */
  .hero { padding: 120px 0 70px; }
  section.bloc { padding: 76px 0; }
  .suivi-verre { padding: 24px 22px; margin-top: 52px; }
  .etapes-ligne { grid-template-columns: 1fr; gap: 0; }
  .etapes-ligne li { padding: 0 0 16px 26px; }
  .etapes-ligne li::before { top: 14px; bottom: 0; left: 5.5px; right: auto; width: 1.5px; height: auto; }
  .etapes-ligne li:last-child::before { display: none; }
  .services-liste, .cartes-verre, .formulaire { grid-template-columns: 1fr; }
  .realisations { grid-template-columns: 1fr; }
  .carte-bleue { min-height: 0; padding: 28px 24px; }
  .services-grille.seul .carte-bleue { padding: 30px 24px; }
  .services-grille.seul h3 { font-size: 32px; }
  .mini-comparateur { height: 160px; }
  footer.pied .boite { flex-direction: column; align-items: flex-start; }
}

/* Page de maintenance : tout l'écran en bleu */
body.page-attente { padding: 0; min-height: 100vh; background-attachment: fixed; }
body.page-attente::after { display: none; }

/* Avis clients (Ajouté par Noah le 2026-12-03) */
.avis-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.avis { background: #fff; border: 1px solid var(--trait); border-radius: 20px; padding: 28px 26px; display: flex; flex-direction: column; margin: 0; }
.etoiles { display: flex; gap: 3px; }
.etoiles svg.pleine { fill: #F5B301; }
.etoiles svg.vide { fill: var(--trait); }
.avis blockquote { margin: 16px 0 20px; font: 400 21px/1.35 var(--serif); color: var(--encre); flex: 1; }
.avis figcaption b { display: block; color: var(--encre); font-weight: 600; font-size: 15px; }
.avis figcaption span { display: block; color: var(--gris); font-size: 13.5px; }
.avis figcaption small { display: block; color: var(--gris); font-size: 12px; margin-top: 6px; letter-spacing: .02em; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq .intro a { color: var(--bleu); }
.faq-liste { border-top: 1px solid var(--trait); }
.faq-liste details { border-bottom: 1px solid var(--trait); }
.faq-liste summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
                     padding: 22px 4px; font: 400 23px/1.25 var(--serif); color: var(--encre); }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary:hover { color: var(--bleu); }
.faq-liste .plus { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--trait); }
.faq-liste .plus::before, .faq-liste .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px;
                     margin: -0.75px 0 0 -5px; background: var(--encre); transition: transform .2s; }
.faq-liste .plus::after { transform: rotate(90deg); }
.faq-liste details[open] .plus::after { transform: rotate(0); }
.faq-liste details[open] .plus { border-color: var(--bleu); background: var(--ciel); }
.faq-liste details p { padding: 0 44px 24px 4px; color: var(--texte); font-size: 15.5px; }

/* Petite phrase « données personnelles » sous le formulaire */
.rgpd { font-size: 13px; color: var(--gris); margin-top: -4px; }
.rgpd a { color: var(--bleu); }
@media (max-width: 1000px) { .faq { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 680px) { .avis-grille { grid-template-columns: 1fr; } .faq-liste summary { font-size: 20px; } }

/* ===== TÉLÉPHONE (ajouté par Noah le 2026-12-04) : barre « Appeler / Nous écrire » toujours sous le pouce,
   sections un peu moins hautes pour moins faire défiler. ===== */
.barre-action { display: none; }
@media (max-width: 680px) {
  .barre-action { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(9, 22, 52, .94); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, .1); transition: transform .25s ease; }
  .barre-action.cachee { transform: translateY(110%); }
  .barre-action .btn { padding: 13px 14px; font-size: 15px; }
  .barre-action .btn.blanc { box-shadow: none; }
  body:has(.barre-action) .pied { padding-bottom: 90px; }
  .hero { padding: 104px 0 56px; }
  section.bloc { padding: 60px 0; }
  .cta-ligne .btn { width: 100%; }
}
@media (max-width: 680px) and (prefers-reduced-motion: reduce) { .barre-action { transition: none; } }
