/* dloulier.fr — feuille de style commune (aucune police ni script externe : rien n'est chargé chez un tiers) */
:root {
  --bleu: #1E5AA8;
  --bleu-fonce: #1E3A5F;
  --bleu-clair: #EAF1FB;
  --bleu-pale: #BFDBFE;
  --vert: #16A34A;
  --texte: #1F2937;
  --gris: #4B5563;
  --gris-clair: #6B7280;
  --bord: #E5E7EB;
  --fond: #FFFFFF;
  --fond-2: #F6F8FB;
  --rayon: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texte);
  background: var(--fond);
}
img { max-width: 100%; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { color: var(--bleu-fonce); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.conteneur { width: min(1120px, 100% - 32px); margin-inline: auto; }
.etroit { width: min(780px, 100% - 32px); margin-inline: auto; }

/* en-tête */
.entete { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bord); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--bleu-fonce); font-weight: 800; font-size: 1.15rem; }
.marque .monogramme { width: 36px; height: 36px; border-radius: 9px; background: var(--bleu); color: #fff; display: grid; place-items: center; font-size: .95rem; letter-spacing: -.02em; }
.marque img { width: 36px; height: 36px; }
.menu { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--gris); font-weight: 600; font-size: .97rem; }
.menu a:hover, .menu a[aria-current] { color: var(--bleu); }

/* boutons */
.bouton { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid var(--bleu); transition: transform .15s, box-shadow .15s; }
.bouton:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30,90,168,.25); }
.bouton.plein { background: var(--bleu); color: #fff; }
.bouton.vide { background: #fff; color: var(--bleu); }
.boutons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* sections */
section { padding: 72px 0; }
section.alt { background: var(--fond-2); }
.surtitre { display: inline-block; color: var(--bleu); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.intro { font-size: 1.15rem; color: var(--gris); max-width: 680px; }

/* accueil */
.hero { padding: 64px 0 72px; background: linear-gradient(180deg, var(--bleu-clair), #fff); }
.hero .conteneur { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.hero .portrait { justify-self: center; text-align: center; }
.hero .portrait img { width: 280px; height: 280px; border-radius: 50%; object-fit: cover; border: 6px solid #fff; box-shadow: 0 12px 40px rgba(30,58,95,.18); }
.hero .portrait p { margin: 14px 0 0; color: var(--gris); font-size: .95rem; }
.hero .portrait strong { color: var(--bleu-fonce); display: block; font-size: 1.1rem; }

.grille { display: grid; gap: 20px; }
.grille.trois { grid-template-columns: repeat(3, 1fr); }
.grille.deux { grid-template-columns: repeat(2, 1fr); }
.carte { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 24px; }
.carte .pastille { width: 44px; height: 44px; border-radius: 12px; background: var(--bleu-clair); color: var(--bleu); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 14px; }
.carte p:last-child { margin-bottom: 0; }
.liste-coches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.liste-coches li { padding-left: 32px; position: relative; }
.liste-coches li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--bleu-clair); color: var(--bleu); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }

.realisation { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; }
.realisation img { aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--bord); }
.realisation .corps { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.realisation .corps p { color: var(--gris); font-size: .97rem; }
.realisation .etiquette { font-size: .8rem; font-weight: 700; color: var(--bleu); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.realisation .lien { margin-top: auto; font-weight: 700; text-decoration: none; }

.etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.etapes li { list-style: none; counter-increment: etape; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bleu); color: #fff; font-weight: 800; margin-bottom: 12px; }
.etapes { padding: 0; margin: 0; }
.etapes p { color: var(--gris); font-size: .97rem; }

.contact { background: var(--bleu-fonce); color: #fff; border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: #DBE4F0; }
.contact .coordonnees { display: grid; gap: 12px; }
.contact .coordonnees a { color: #fff; font-weight: 700; font-size: 1.1rem; text-decoration: none; background: rgba(255,255,255,.1); border-radius: 10px; padding: 12px 16px; display: block; }
.contact .coordonnees a:hover { background: rgba(255,255,255,.18); }
.contact .coordonnees small { display: block; font-weight: 500; color: #BFD0E6; font-size: .82rem; }

/* page Attesto */
.hero-attesto { padding: 64px 0; background: linear-gradient(160deg, #2563EB 0%, var(--bleu-fonce) 100%); color: #fff; }
.hero-attesto .conteneur { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.hero-attesto h1 { color: #fff; }
.hero-attesto .intro { color: #DBE4F0; }
.hero-attesto .titre-app { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 1.5rem; font-weight: 800; }
.hero-attesto .titre-app img { width: 56px; height: 56px; }
.hero-attesto .bouton.plein { background: #fff; color: var(--bleu-fonce); border-color: #fff; }
.hero-attesto .bouton.vide { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.hero-attesto .petit { color: #BFD0E6; font-size: .9rem; margin-top: 14px; }
.hero-attesto .capture { border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
video { width: 100%; border-radius: var(--rayon); box-shadow: 0 12px 40px rgba(30,58,95,.18); background: #000; }
.encadre { background: var(--bleu-clair); border-left: 4px solid var(--bleu); border-radius: 10px; padding: 18px 22px; }
.encadre p:last-child { margin-bottom: 0; }

/* pages de texte (confidentialité, mentions) */
.texte { padding: 56px 0 72px; }
.texte h2 { font-size: 1.4rem; margin-top: 2em; }
.texte h3 { margin-top: 1.4em; }
.texte ul { padding-left: 1.3em; }
.texte li { margin-bottom: .4em; }
.texte .maj { color: var(--gris-clair); font-size: .95rem; }
.texte hr { border: 0; border-top: 1px solid var(--bord); margin: 48px 0; }
.sommaire { background: var(--fond-2); border-radius: 12px; padding: 16px 22px; font-size: .97rem; }

/* pied de page */
.pied { border-top: 1px solid var(--bord); padding: 32px 0; color: var(--gris-clair); font-size: .9rem; }
.pied .conteneur { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.pied a { color: var(--gris); }
.pied nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  section { padding: 52px 0; }
  .hero .conteneur, .hero-attesto .conteneur, .contact { grid-template-columns: 1fr; }
  .hero .portrait { order: -1; }
  .hero .portrait img { width: 180px; height: 180px; }
  .grille.trois, .grille.deux { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .contact { padding: 28px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .etapes { grid-template-columns: 1fr; }
  .menu { gap: 4px 16px; }
  .entete .conteneur { padding: 10px 0; }
}
.texte a, .texte code { overflow-wrap: anywhere; }
