/* Site public - Polyclinique Aïr Soins (Agadez, Niger)
   Refonte du 19/10/2026 : identité propre (bleu nuit du logo, sable et terre de l'Aïr, vert "24h/24"),
   typographies DM Serif Display / Manrope, bandeau vert clignotant "services disponibles 24h/24 et 7j/7". */
:root {
  --nuit: #0f2a44;
  --nuit-2: #183a5c;
  --sable: #f6efe3;
  --sable-2: #ece0cb;
  --terre: #b4552a;
  --terre-clair: #f3dccd;
  --vert: #0e9f4c;
  --vert-vif: #34e07a;
  --texte: #1e2933;
  --gris: #5a6775;
  --ligne: #e3dccf;
  --blanc: #ffffff;
  --rayon: 14px;
  --ombre: 0 18px 40px -22px rgba(15, 42, 68, 0.45);
  --titres: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --corps: 'Manrope', 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--corps); color: var(--texte); background: var(--blanc); line-height: 1.65; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--terre); text-decoration: none; }
a:hover { text-decoration: underline; }
.conteneur { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--titres); font-weight: 400; color: var(--nuit); line-height: 1.15; margin: 0 0 14px; }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 20px; }
.sur-titre { font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--terre); margin: 0 0 10px; }

/* -------- Boutons -------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; border: 2px solid transparent; cursor: pointer; font-family: var(--corps); transition: transform .15s, background .15s, color .15s; }
.bouton:hover { text-decoration: none; transform: translateY(-1px); }
.bouton-plein { background: var(--terre); color: #fff; }
.bouton-plein:hover { background: #9a4521; color: #fff; }
.bouton-ligne { border-color: var(--nuit); color: var(--nuit); background: transparent; }
.bouton-ligne:hover { background: var(--nuit); color: #fff; }
.bouton-grand { padding: 13px 24px; font-size: 15.5px; }
.bouton-large { width: 100%; }
.bouton:disabled { opacity: .6; cursor: wait; transform: none; }

/* -------- Bandeau 24h/24 (vert clignotant) -------- */
.bandeau-247 { background: #062016; color: var(--vert-vif); position: sticky; top: 0; z-index: 60; border-bottom: 2px solid var(--vert); }
.bandeau-247-contenu { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 7px 20px; font-weight: 800; font-size: 14.5px; letter-spacing: .3px; text-align: center; flex-wrap: wrap; }
.texte-clignotant { animation: clignote 1.1s steps(1, end) infinite; text-transform: uppercase; }
.point-vert { width: 10px; height: 10px; border-radius: 50%; background: var(--vert-vif); box-shadow: 0 0 0 0 rgba(52, 224, 122, .7); animation: pulsation 1.6s infinite; flex: 0 0 auto; display: inline-block; }
.bandeau-tel { color: #d6f8e3; font-weight: 600; font-size: 13px; border-left: 1px solid rgba(52, 224, 122, .4); padding-left: 12px; }
.bandeau-tel:hover { color: #fff; }
@keyframes clignote { 0%, 60% { opacity: 1; } 61%, 100% { opacity: .15; } }
@keyframes pulsation { 0% { box-shadow: 0 0 0 0 rgba(52, 224, 122, .7); } 70% { box-shadow: 0 0 0 9px rgba(52, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 224, 122, 0); } }
@media (prefers-reduced-motion: reduce) { .texte-clignotant { animation-duration: 2.4s; } .point-vert { animation: none; } }

/* -------- Entete -------- */
.entete-site { background: rgba(255, 255, 255, .96); backdrop-filter: blur(6px); position: sticky; top: 38px; z-index: 50; border-bottom: 1px solid var(--ligne); }
.barre-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; position: relative; }
.marque img { width: 170px; height: auto; }
.nav-liens { display: flex; align-items: center; gap: 22px; }
.nav-liens a { color: var(--nuit); font-weight: 600; font-size: 14.5px; }
.nav-liens a.bouton { color: #fff; }
.nav-liens .lien-personnel { font-size: 13px; color: var(--gris); border: 1px dashed var(--ligne); border-radius: 999px; padding: 5px 12px; }
.menu-mobile-bouton { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 9px; }
.menu-mobile-bouton span { display: block; height: 2.5px; background: var(--nuit); margin: 5px 0; border-radius: 2px; }

/* -------- Ouverture -------- */
.ouverture { background: var(--sable); position: relative; overflow: hidden; }
.ouverture::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 90px; background: var(--blanc);
  clip-path: polygon(0 100%, 0 70%, 12% 45%, 22% 62%, 34% 30%, 46% 58%, 58% 40%, 70% 66%, 82% 38%, 92% 60%, 100% 48%, 100% 100%); }
.ouverture-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 110px; position: relative; z-index: 1; }
.ouverture h1 { font-size: clamp(38px, 5.6vw, 64px); margin-bottom: 18px; }
.ouverture h1 em { font-style: italic; color: var(--terre); display: block; }
.chapeau { font-size: 18px; color: #3a4754; max-width: 560px; }
.ouverture-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.ouverture-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.ouverture-points li { padding-left: 28px; position: relative; font-weight: 600; color: var(--nuit); font-size: 15px; }
.ouverture-points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--vert); box-shadow: inset 0 0 0 4px #c9f3da; }
.ouverture-visuel { position: relative; }
.arche { border-radius: 260px 260px 22px 22px; overflow: hidden; border: 8px solid var(--blanc); box-shadow: var(--ombre); aspect-ratio: 4 / 5; }
.arche img { width: 100%; height: 100%; object-fit: cover; }
.pastille-247 { position: absolute; left: -28px; bottom: 34px; background: var(--nuit); color: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: var(--ombre); display: flex; align-items: center; gap: 12px; }
.pastille-247 b { font-family: var(--titres); font-size: 38px; color: var(--vert-vif); font-weight: 400; line-height: 1; }
.pastille-247 span { font-size: 13px; line-height: 1.35; }

/* -------- Reperes -------- */
.reperes { padding: 10px 0 30px; }
.reperes-grille { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; }
.repere { padding: 22px 20px; border-right: 1px solid var(--ligne); }
.repere:last-child { border-right: 0; }
.repere b { display: block; font-family: var(--titres); font-weight: 400; font-size: 30px; color: var(--nuit); line-height: 1.1; }
.repere span { color: var(--gris); font-size: 14px; }

/* -------- Sections communes -------- */
section { padding: 72px 0; }
.titre-section { max-width: 640px; margin-bottom: 38px; }
.titre-section p:last-child { color: var(--gris); margin: 0; }
.titre-section.clair h2 { color: #fff; } .titre-section.clair p:last-child { color: #c4d2df; } .titre-section.clair .sur-titre { color: #f0b38f; }

/* -------- Poles -------- */
.liste-poles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.liste-poles li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--ligne); }
.liste-poles .num { font-family: var(--titres); font-size: 32px; color: var(--terre); line-height: 1; min-width: 46px; }
.liste-poles h3 { margin-bottom: 6px; }
.liste-poles p { margin: 0; color: var(--gris); font-size: 15px; }

/* -------- Parcours -------- */
.parcours { background: var(--nuit); color: #e4ecf3; }
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: etape; }
.etape { background: var(--nuit-2); border-radius: var(--rayon); padding: 24px 20px; position: relative; }
.etape:not(:last-child)::after { content: "\2192"; position: absolute; right: -16px; top: 30px; color: #f0b38f; font-size: 20px; }
.etape-num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--terre); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.etape h3 { color: #fff; font-size: 21px; }
.etape p { margin: 0; font-size: 14.5px; color: #c4d2df; }

/* -------- Prise en charge -------- */
.prise-en-charge { background: var(--sable); }
.pec-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.pec-grille p { color: #3a4754; }
.pec-grille .note { font-size: 14px; color: var(--gris); border-left: 3px solid var(--terre); padding-left: 12px; }
.carte-a-apporter { background: var(--blanc); border-radius: var(--rayon); padding: 26px; box-shadow: var(--ombre); }
.liste-cochee { list-style: none; padding: 0; margin: 0; }
.liste-cochee li { padding: 9px 0 9px 32px; border-bottom: 1px dashed var(--ligne); position: relative; }
.liste-cochee li:last-child { border-bottom: 0; }
.liste-cochee li::before { content: "\2713"; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 6px; background: var(--terre-clair); color: var(--terre); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* -------- Galerie -------- */
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 12px; }
.photo-galerie { margin: 0; position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--sable-2); }
.photo-galerie.grande { grid-column: span 2; grid-row: span 2; }
.photo-galerie.large { grid-column: span 2; }
.photo-galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-galerie:hover img { transform: scale(1.05); }
.photo-galerie figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(15, 42, 68, .82); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

/* -------- Acces -------- */
.acces { padding: 0 0 72px; }
.acces-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--nuit); border-radius: 18px; overflow: hidden; color: #dbe5ee; }
.acces-bloc { padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, .1); }
.acces-bloc:last-child { border-right: 0; }
.acces-bloc p { margin: 6px 0; color: #fff; }
.acces-bloc a { color: #f0b38f; }
.acces-bloc a.gros { font-size: 22px; font-weight: 800; color: #fff; }
.acces-etiquette { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: #9fb3c6; font-weight: 700; }
.acces-bloc .petit { font-size: 13px; color: #9fb3c6; }
.acces-247 { background: #0a3a24; } .acces-247 b { color: var(--vert-vif); font-size: 18px; }

/* -------- Formulaire -------- */
.ecrire { background: linear-gradient(180deg, var(--blanc) 0%, var(--sable) 100%); }
.ecrire-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.ecrire-texte p { color: #3a4754; }
.alerte-urgence { background: #fff; border: 2px solid var(--terre); border-radius: var(--rayon); padding: 16px 18px; margin-top: 18px; font-size: 15px; }
.formulaire { background: var(--blanc); border-radius: 18px; padding: 28px; box-shadow: var(--ombre); border: 1px solid var(--ligne); }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { display: block; font-weight: 700; font-size: 13.5px; color: var(--nuit); margin-bottom: 14px; }
.champ input, .champ select, .champ textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1.5px solid var(--ligne); border-radius: 10px;
  font: 500 15px var(--corps); color: var(--texte); background: #fffdf9; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--terre); box-shadow: 0 0 0 3px var(--terre-clair); }
.oblig { color: var(--terre); } .facultatif { color: var(--gris); font-weight: 500; }
.consentement { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gris); margin: 4px 0 18px; }
.consentement input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--terre); flex: 0 0 auto; }
.message-formulaire { margin-top: 12px; font-weight: 600; font-size: 14.5px; }
.message-formulaire.succes { color: var(--vert); } .message-formulaire.erreur { color: #b42318; }

/* -------- Pied -------- */
.pied { background: #0a1f33; color: #b5c4d3; padding: 52px 0 0; font-size: 14.5px; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding-bottom: 34px; }
.pied-logo { width: 170px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.pied h4 { color: #fff; font-size: 15px; margin: 0 0 12px; letter-spacing: .4px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied a { color: #e7c9b6; }
.pied-247 { display: flex; align-items: center; gap: 8px; color: var(--vert-vif); font-weight: 700; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px 26px; font-size: 12.5px; color: #7f93a7; }

/* -------- Lightbox -------- */
.lightbox-fond { position: fixed; inset: 0; background: rgba(6, 16, 26, .92); display: none; align-items: center; justify-content: center; flex-direction: column; z-index: 100; padding: 20px; }
.lightbox-fond.visible { display: flex; }
.lightbox-fond img { max-height: 80vh; max-width: 92vw; border-radius: 10px; }
.legende-lightbox { color: #fff; margin-top: 12px; font-weight: 600; }
.fermer-lightbox { position: absolute; top: 14px; right: 20px; background: none; border: 0; color: #fff; font-size: 40px; cursor: pointer; line-height: 1; }

/* -------- Responsive -------- */
@media (max-width: 980px) {
  .ouverture-grille, .pec-grille, .ecrire-grille { grid-template-columns: 1fr; }
  .ouverture-visuel { max-width: 420px; margin: 0 auto; width: 100%; }
  .pastille-247 { left: 10px; }
  .reperes-grille, .acces-grille { grid-template-columns: 1fr 1fr; }
  .repere:nth-child(2) { border-right: 0; } .repere:nth-child(-n+2) { border-bottom: 1px solid var(--ligne); }
  .acces-bloc:nth-child(2) { border-right: 0; } .acces-bloc:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .etapes { grid-template-columns: 1fr 1fr; } .etape::after { display: none; }
  .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 860px) {
  .menu-mobile-bouton { display: block; }
  .nav-liens { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 16px; border-bottom: 1px solid var(--ligne); box-shadow: 0 16px 30px -18px rgba(15, 42, 68, .5); }
  .nav-liens.ouvert { display: flex; }
  .nav-liens a { padding: 11px 0; border-bottom: 1px solid #f0ebe2; }
  .nav-liens .lien-personnel { border: 0; border-bottom: 1px solid #f0ebe2; border-radius: 0; padding: 11px 0; }
  .nav-liens a.bouton { margin-top: 10px; border-bottom: 0; padding: 12px; }
}
@media (max-width: 640px) {
  section { padding: 54px 0; }
  .bandeau-247-contenu { font-size: 12.5px; gap: 8px; padding: 6px 12px; }
  .bandeau-tel { display: none; }
  .entete-site { top: 33px; }
  .marque img { width: 140px; }
  .ouverture-grille { padding-top: 34px; padding-bottom: 90px; gap: 30px; }
  .chapeau { font-size: 16.5px; }
  .liste-poles { grid-template-columns: 1fr; }
  .etapes, .reperes-grille, .acces-grille, .deux-colonnes, .pied-grille { grid-template-columns: 1fr; }
  .repere, .acces-bloc { border-right: 0 !important; border-bottom: 1px solid var(--ligne); }
  .acces-bloc { border-bottom-color: rgba(255, 255, 255, .1); }
  .mosaique { grid-auto-rows: 130px; }
  .formulaire { padding: 20px; }
}
