:root{
  --primary:#1F3A4D;
  --primary-dark:#152A3A;
  --accent:#C44536;
  --accent-dark:#A33929;
  --secondary:#E8DCC4;
  --secondary-dark:#D4C8B0;
  --dark:#1F3A4D;
  --light:#FAF5EC;
  --surface:#F5EFE4;
  --text:#1A1A1A;
  --text-muted:#5A5248;
  --white:#ffffff;
  --border:#D4C8B0;
  --shadow:0 4px 12px rgba(31,58,77,0.08);
  --transition:all .2s ease-in-out;
  --focus-ring:3px solid var(--accent);
  --space-xs:.5rem;--space-sm:1rem;--space-md:1.5rem;--space-lg:2rem;--space-xl:4rem
}
*{box-sizing:border-box;margin:0;padding:0}
@media (prefers-reduced-motion:reduce){*,::after,::before{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}
.skip-link{position:absolute;top:-40px;left:0;background:var(--accent);color:#fff;padding:8px;z-index:100;transition:top .2s}
.skip-link:focus{top:0}
html{font-size:100%;scroll-behavior:smooth}
body{font-family:'Inter',system-ui,-apple-system,sans-serif;color:var(--text);line-height:1.6;background-color:var(--white);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4{font-family:'Fraunces',Georgia,serif;color:var(--dark);line-height:1.25;margin-bottom:1rem}
.container{max-width:75rem;margin:0 auto;padding:0 1.25rem}
a:focus,button:focus,input:focus,select:focus,textarea:focus{outline:var(--focus-ring);outline-offset:3px}
a:focus:not(:focus-visible),button:focus:not(:focus-visible){outline:0}
a,button{min-height:44px;min-width:44px;display:inline-flex;align-items:center;transition:var(--transition)}
.nav-link{padding:.5rem 1rem;text-decoration:none;color:var(--text);font-weight:500}
.nav-link:hover,.nav-link:focus{color:var(--primary);background-color:var(--light);border-radius:4px}
.btn{padding:.75rem 1.75rem;border-radius:.375rem;font-weight:600;text-decoration:none;border:2px solid transparent;cursor:pointer;justify-content:center;text-align:center}
.btn-primary{background-color:var(--primary);color:#fff}
.btn-primary:hover,.btn-primary:focus{background-color:var(--primary-dark)}
.btn-accent{background-color:var(--accent);color:#fff}
.btn-accent:hover,.btn-accent:focus{background-color:var(--accent-dark)}
.btn-secondary{background-color:var(--secondary);color:var(--primary)}
.btn-secondary:hover,.btn-secondary:focus{background-color:var(--secondary-dark);color:var(--primary)}
.btn-outline{background:0 0;border-color:var(--border);color:var(--text)}
.btn-outline:hover,.btn-outline:focus{border-color:var(--primary);color:var(--primary)}
.grid{display:grid;gap:1.5rem}
.grid-1{grid-template-columns:1fr}
.grid-2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.grid-4{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.flex{display:flex;flex-wrap:wrap;gap:1rem}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.justify-center{justify-content:center}
.py-80{padding-top:5rem;padding-bottom:5rem}
.py-40{padding-top:2.5rem;padding-bottom:2.5rem}
.mb-20{margin-bottom:1.25rem}
.mb-40{margin-bottom:2.5rem}

/* Header */
.main-header{background:var(--white);border-bottom:1px solid var(--border);}
.main-header nav{padding-top:1.25rem;padding-bottom:1.25rem;}
.logo-text{font-family:'Fraunces',Georgia,serif;font-size:1.2rem;font-weight:700;color:var(--primary);}
.logo-text .accent{color:var(--accent);}

/* Cards */
.card{background:var(--white);border:1px solid var(--border);border-radius:.5rem;padding:1.5rem;height:100%;display:flex;flex-direction:column}
.card:hover,.card:focus-within{box-shadow:var(--shadow);transform:translateY(-4px)}

/* =====================
   HERO
   ===================== */
.hero-section{position:relative;overflow:hidden;color:#fff;padding:7rem 0 5.5rem;min-height:580px;display:flex;align-items:center;}
.hero-bg{position:absolute;inset:0;background-image:url('/images/hero-banner.jpg');background-size:cover;background-position:center 30%;z-index:0;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(105deg,rgba(21,42,58,.88) 0%,rgba(31,58,77,.72) 55%,rgba(31,58,77,.40) 100%);z-index:1;}
.hero-content{position:relative;z-index:2;max-width:760px;}
.hero-section h1{color:#fff;font-size:clamp(2.1rem,4.2vw,3.5rem);line-height:1.15;margin-bottom:1.25rem;letter-spacing:-.02em;}
.hero-subtitle{font-size:1.15rem;color:rgba(255,255,255,.82);max-width:620px;margin-bottom:2.5rem;line-height:1.7;}
.hero-badge{display:inline-block;padding:4px 14px;background:var(--accent);color:#fff;font-size:0.72rem;font-weight:700;border-radius:3px;letter-spacing:0.09em;text-transform:uppercase;margin-bottom:1.4rem;}
.hero-actions{display:flex;flex-wrap:wrap;gap:.875rem;margin-bottom:3.5rem;}
.btn-hero-outline{background:transparent;border:2px solid rgba(255,255,255,.55);color:#fff;padding:.75rem 1.75rem;border-radius:.375rem;font-weight:600;text-decoration:none;}
.btn-hero-outline:hover,.btn-hero-outline:focus{border-color:#fff;background:rgba(255,255,255,.12);color:#fff;}
.hero-trust{display:flex;align-items:center;gap:2rem;flex-wrap:wrap;}
.trust-item{display:flex;flex-direction:column;gap:2px;}
.trust-item strong{font-family:'Fraunces',Georgia,serif;font-size:1.5rem;color:#fff;line-height:1;}
.trust-item span{font-size:.78rem;color:rgba(255,255,255,.65);text-transform:uppercase;letter-spacing:.06em;}
.trust-sep{width:1px;height:40px;background:rgba(255,255,255,.25);}

/* =====================
   SECTION HEADERS
   ===================== */
.section-eyebrow{display:inline-block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--accent);margin-bottom:.6rem;}
.section-eyebrow--light{color:var(--secondary);}
.section-sub{color:var(--text-muted);font-size:1.05rem;margin-top:.25rem;margin-bottom:0;}
.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:3rem;flex-wrap:wrap;}
.btn-sm{min-height:40px;padding:.5rem 1.25rem;font-size:.875rem;}

/* =====================
   GUIDES CARDS
   ===================== */
.guides-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;}
.guide-card{background:var(--white);border:1px solid var(--border);border-radius:.5rem;overflow:hidden;display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;}
.guide-card:hover{transform:translateY(-5px);box-shadow:0 12px 32px rgba(31,58,77,.12);border-color:rgba(196,69,54,.35);}
.guide-card-image{position:relative;height:220px;overflow:hidden;}
.guide-card-image img{width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .4s ease;}
.guide-card:hover .guide-card-image img{transform:scale(1.04);}
.guide-card-cat{position:absolute;bottom:.875rem;left:.875rem;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;padding:3px 10px;background:rgba(31,58,77,.85);color:var(--secondary);border-radius:2px;}
.guide-card-body{padding:1.5rem;flex:1;display:flex;flex-direction:column;}
.guide-card-body h3{font-size:1.1rem;margin-bottom:.625rem;line-height:1.35;flex:1;}
.guide-card-body h3 a{color:var(--dark);text-decoration:none;}
.guide-card-body h3 a:hover{color:var(--accent);}
.guide-card-body p{font-size:.9rem;color:var(--text-muted);line-height:1.6;margin-bottom:1.25rem;}
.guide-card-cta{font-size:.875rem;font-weight:600;color:var(--accent);text-decoration:none;display:inline-flex;align-items:center;gap:.375rem;min-height:auto;min-width:auto;transition:gap .2s ease;}
.guide-card-cta:hover{gap:.625rem;}
.guide-card-link{display:block;}

/* =====================
   MISSION
   ===================== */
.mission-layout{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
.mission-text h2{margin-bottom:1.25rem;}
.mission-text p{color:var(--text-muted);line-height:1.75;margin-bottom:1rem;}
.mission-stats{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:2.5rem;}
.stat-item{background:var(--light);border-radius:.5rem;padding:1.25rem 1.5rem;border:1px solid var(--border);}
.stat-value{display:block;font-family:'Fraunces',Georgia,serif;font-size:2.2rem;font-weight:700;color:var(--primary);line-height:1;}
.stat-label{display:block;font-size:.8rem;color:var(--text-muted);margin-top:.375rem;font-weight:500;}
.expertise-card{display:flex;align-items:flex-start;gap:1.125rem;padding:1.25rem 1.5rem;background:var(--light);border-radius:.5rem;border:1px solid var(--border);margin-bottom:.875rem;}
.expertise-card:last-child{margin-bottom:0;}
.expertise-icon{width:44px;height:44px;border-radius:.375rem;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.expertise-icon--secondary{background:var(--secondary);color:var(--primary);}
.expertise-icon--accent{background:rgba(196,69,54,.12);color:var(--accent);}
.expertise-card h4{font-family:'Inter',sans-serif;font-size:.975rem;font-weight:700;margin-bottom:.25rem;}
.expertise-card p{font-size:.875rem;color:var(--text-muted);line-height:1.55;margin:0;}

/* =====================
   ANNUAIRE SECTION
   ===================== */
.section-annuaire{background:var(--primary);color:#fff;}
.annuaire-layout{display:grid;grid-template-columns:1fr 1fr;gap:4.5rem;align-items:center;}
.annuaire-text h2{color:#fff;margin-bottom:1rem;}
.annuaire-text p{color:rgba(255,255,255,.8);font-size:1.05rem;margin-bottom:1.75rem;line-height:1.7;}
.annuaire-features{list-style:none;padding:0;margin:0 0 2.5rem;display:flex;flex-direction:column;gap:.75rem;}
.annuaire-features li{display:flex;align-items:center;gap:.75rem;color:rgba(255,255,255,.9);font-size:1rem;}
.feature-check{width:24px;height:24px;background:rgba(232,220,196,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--secondary);}
.feature-check svg{width:14px;height:14px;}
.annuaire-image img{width:100%;border-radius:.625rem;object-fit:cover;max-height:420px;box-shadow:0 20px 60px rgba(0,0,0,.35);}

/* =====================
   FAQ
   ===================== */
.faq-container{max-width:800px;}
.text-center{text-align:center;}
.mb-60{margin-bottom:3.75rem;}
.faq-list{display:flex;flex-direction:column;gap:.75rem;}
.faq-item{background:var(--white);border:1px solid var(--border);border-radius:.5rem;overflow:hidden;transition:border-color .2s;}
.faq-item:has(.faq-toggle[aria-expanded="true"]){border-color:rgba(196,69,54,.35);}
.faq-toggle{width:100%;background:none;border:none;padding:1.375rem 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;cursor:pointer;text-align:left;font-family:'Inter',sans-serif;font-size:1rem;font-weight:600;color:var(--dark);min-height:auto;}
.faq-toggle:hover{background:var(--light);}
.faq-toggle[aria-expanded="true"] .faq-icon{transform:rotate(180deg);}
.faq-icon{flex-shrink:0;transition:transform .25s ease;color:var(--accent);}
.faq-icon svg{width:20px;height:20px;}
.faq-content{padding:0 1.5rem 1.375rem;color:var(--text-muted);line-height:1.7;}

/* =====================
   CTA FINAL
   ===================== */
.cta-block{background:var(--primary);color:#fff;border-radius:.625rem;padding:3rem 3.5rem;display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap;}
.cta-text h2{color:#fff;margin-bottom:.5rem;}
.cta-text p{color:rgba(255,255,255,.8);font-size:1.05rem;margin:0;}

/* =====================
   GUIDES LISTING PAGE
   ===================== */
.guides-page-header{background:var(--light);border-bottom:1px solid var(--border);padding:4rem 0 3.5rem;}
.guides-page-header-inner{max-width:640px;}
.guides-page-header h1{margin-bottom:.75rem;}
.guides-page-header p{color:var(--text-muted);font-size:1.1rem;line-height:1.75;margin:0;}
.guides-filters{border-bottom:1px solid var(--border);padding:.875rem 0;}
.filters-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;}
.filter-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.4rem .875rem;border-radius:2rem;font-size:.875rem;font-weight:500;text-decoration:none;color:var(--text-muted);background:var(--white);border:1px solid var(--border);transition:all .18s ease;min-height:auto;min-width:auto;}
.filter-btn:hover{border-color:var(--primary);color:var(--primary);}
.filter-btn--active{background:var(--primary);color:#fff;border-color:var(--primary);}
.filter-count{font-size:.75rem;background:rgba(0,0,0,.1);padding:0 .375rem;border-radius:999px;line-height:1.6;}
.filter-btn--active .filter-count{background:rgba(255,255,255,.25);}
.guide-card-title{font-size:1.1rem;margin-bottom:.625rem;line-height:1.35;}
.guide-card-title a{color:var(--dark);text-decoration:none;}
.guide-card-title a:hover{color:var(--accent);}

/* =====================
   OUTILS PAGE
   ===================== */

/* En-tête outil */
.outil-header{margin-bottom:2.5rem;}
.outil-header-label{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem;}
.outil-header h2{margin-bottom:.375rem;}
.outil-badge{display:inline-block;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;padding:3px 10px;border-radius:2rem;}
.outil-badge--active{background:rgba(52,168,83,.12);color:#1e7e34;border:1px solid rgba(52,168,83,.3);}
.outil-badge--soon{background:rgba(196,69,54,.08);color:var(--accent);border:1px solid rgba(196,69,54,.2);}

/* Carte simulateur EHPAD */
.sim-card{display:grid;grid-template-columns:1fr 1fr;gap:0;background:var(--white);border:1px solid var(--border);border-radius:.625rem;overflow:hidden;box-shadow:0 4px 24px rgba(31,58,77,.07);}
.sim-form{padding:2.5rem;border-right:1px solid var(--border);}
.sim-form fieldset{border:none;padding:0;margin:0;}
.form-hint{display:block;font-size:.78rem;font-weight:400;color:var(--text-muted);margin-top:2px;}
.input-with-unit{position:relative;}
.input-with-unit input{padding-right:5.5rem;}
.input-unit{position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:.85rem;color:var(--text-muted);pointer-events:none;white-space:nowrap;}
.btn-full{width:100%;justify-content:center;gap:.5rem;margin-top:.5rem;}

/* Panneau résultat */
.sim-result{padding:2.5rem;background:var(--light);display:flex;align-items:center;justify-content:center;}
.sim-result-placeholder{text-align:center;color:var(--text-muted);max-width:280px;}
.sim-result-icon{width:56px;height:56px;background:var(--white);border:1px solid var(--border);border-radius:.5rem;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;color:var(--primary);}
.sim-result-icon svg{width:28px;height:28px;}
.sim-result-data{width:100%;}
.sim-result-main{text-align:center;margin-bottom:1.75rem;padding-bottom:1.75rem;border-bottom:1px solid var(--border);}
.sim-result-label{display:block;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:.625rem;}
.sim-result-amount{font-family:'Fraunces',Georgia,serif;font-size:3.25rem;font-weight:700;color:var(--primary);line-height:1;}
.sim-result-unit{font-size:1.1rem;font-weight:400;color:var(--text-muted);}
.sim-breakdown{list-style:none;padding:0;margin:0 0 1.25rem;display:flex;flex-direction:column;gap:.625rem;}
.sim-breakdown li{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;padding:.5rem .75rem;background:var(--white);border-radius:.375rem;border:1px solid var(--border);}
.sim-breakdown-label{display:flex;align-items:center;gap:.5rem;color:var(--text-muted);}
.sim-breakdown-label svg{width:16px;height:16px;flex-shrink:0;}
.sim-breakdown-value{font-weight:600;color:var(--dark);}
.text-success{color:#1e7e34;}
.sim-disclaimer{font-size:.78rem;color:var(--text-muted);display:flex;gap:.5rem;align-items:flex-start;line-height:1.55;margin-bottom:1.25rem;font-style:italic;}
.sim-disclaimer svg{width:14px;height:14px;flex-shrink:0;margin-top:2px;}
.sim-result-actions{display:flex;gap:.75rem;flex-wrap:wrap;}

/* Checklist valise */
.checklist-card{background:var(--white);border:1px solid var(--border);border-radius:.625rem;overflow:hidden;box-shadow:0 4px 24px rgba(31,58,77,.07);}
.checklist-filter{display:flex;align-items:center;gap:1rem;padding:1.25rem 1.75rem;border-bottom:1px solid var(--border);background:var(--light);flex-wrap:wrap;}
.checklist-filter-label{font-size:.875rem;font-weight:600;color:var(--text-muted);white-space:nowrap;}
.checklist-tabs{display:flex;gap:.375rem;flex-wrap:wrap;}
.checklist-tab{padding:.35rem .875rem;border-radius:2rem;font-size:.825rem;font-weight:500;border:1px solid var(--border);background:var(--white);color:var(--text-muted);cursor:pointer;min-height:auto;min-width:auto;transition:all .18s ease;}
.checklist-tab:hover{border-color:var(--primary);color:var(--primary);}
.checklist-tab--active{background:var(--primary);color:#fff;border-color:var(--primary);}
.checklist-progress{margin-left:auto;font-size:.825rem;font-weight:600;color:var(--primary);white-space:nowrap;}
.checklist-groups{padding:1.75rem;display:grid;grid-template-columns:1fr 1fr;gap:1.75rem;}
.checklist-group-title{font-family:'Inter',sans-serif;font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);margin-bottom:1rem;display:flex;align-items:center;gap:.5rem;}
.checklist-group-title svg{width:16px;height:16px;}
.checklist-items{list-style:none;padding:0;display:flex;flex-direction:column;gap:.5rem;}
.checklist-label{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer;font-size:.925rem;line-height:1.5;padding:.375rem 0;}
.checklist-label:hover{color:var(--primary);}
.checklist-checkbox{position:absolute;opacity:0;width:0;height:0;}
.checklist-custom-check{width:18px;height:18px;border:2px solid var(--border);border-radius:3px;flex-shrink:0;margin-top:2px;transition:all .18s ease;display:flex;align-items:center;justify-content:center;background:var(--white);}
.checklist-checkbox:checked + .checklist-custom-check{background:var(--primary);border-color:var(--primary);}
.checklist-checkbox:checked + .checklist-custom-check::after{content:'';width:10px;height:7px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) translateY(-1px);display:block;}
.checklist-item[hidden]{display:none;}
.checklist-label:has(.checklist-checkbox:checked){text-decoration:line-through;color:var(--text-muted);opacity:.7;}
.checklist-tag{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;padding:1px 6px;background:var(--secondary);color:var(--primary);border-radius:2px;margin-left:.25rem;flex-shrink:0;white-space:nowrap;}

/* Grille autres outils */
.outils-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.outil-card{background:var(--white);border:1px solid var(--border);border-radius:.5rem;padding:2rem;display:flex;gap:1.25rem;transition:box-shadow .2s,transform .2s;}
.outil-card:hover{box-shadow:0 8px 24px rgba(31,58,77,.1);transform:translateY(-3px);}
.outil-card--soon{opacity:.85;}
.outil-card-icon{width:48px;height:48px;border-radius:.5rem;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.outil-card-icon--accent{background:rgba(196,69,54,.1);color:var(--accent);}
.outil-card-icon svg{width:24px;height:24px;}
.outil-card-body h3{font-family:'Inter',sans-serif;font-size:1rem;font-weight:700;margin:.5rem 0 .5rem;}
.outil-card-body p{font-size:.875rem;color:var(--text-muted);line-height:1.6;margin:0;}

/* =====================
   DIRECTIVES ANTICIPÉES
   ===================== */

/* Bannière info confidentialité */
.da-info-banner{display:flex;align-items:flex-start;gap:.875rem;background:rgba(31,58,77,.06);border:1px solid rgba(31,58,77,.15);border-radius:.5rem;padding:1rem 1.25rem;margin-top:1.75rem;font-size:.9rem;color:var(--text-muted);}
.da-info-banner svg{width:18px;height:18px;flex-shrink:0;margin-top:2px;color:var(--primary);}
.da-info-banner p{margin:0;line-height:1.55;}

/* Wizard container */
.da-wizard{max-width:780px;margin:0 auto;}

/* Barre de progression */
.da-progress{display:flex;align-items:center;justify-content:space-between;margin-bottom:2.5rem;position:relative;}
.da-progress::before{content:'';position:absolute;top:18px;left:18px;right:18px;height:2px;background:var(--border);z-index:0;}
.da-step{display:flex;flex-direction:column;align-items:center;gap:.375rem;position:relative;z-index:1;flex:1;}
.da-step-dot{width:36px;height:36px;border-radius:50%;border:2px solid var(--border);background:var(--white);display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:var(--text-muted);transition:all .25s ease;}
.da-step-label{font-size:.72rem;font-weight:500;color:var(--text-muted);text-align:center;white-space:nowrap;}
.da-step--active .da-step-dot{border-color:var(--primary);background:var(--primary);color:#fff;}
.da-step--active .da-step-label{color:var(--primary);font-weight:700;}
.da-step--done .da-step-dot{border-color:var(--primary);background:var(--primary);color:#fff;}
.da-step--done .da-step-dot::after{content:'✓';}
.da-step--done .da-step-dot > *{display:none;}
.da-step--done .da-step-label{color:var(--primary);}

/* Panel */
.da-panel{background:var(--white);border:1px solid var(--border);border-radius:.625rem;box-shadow:0 4px 24px rgba(31,58,77,.07);}
.da-panel-header{padding:2rem 2.25rem 1.5rem;border-bottom:1px solid var(--border);}
.da-panel-header h2{margin-bottom:.375rem;}
.da-panel-header p{color:var(--text-muted);font-size:1rem;line-height:1.65;margin:0;}
.da-panel-footer{padding:1.5rem 2.25rem;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;}

/* Choices (étape 1) */
.da-choices{padding:1.75rem 2.25rem;display:flex;flex-direction:column;gap:1rem;}
.da-choice-card{display:flex;align-items:flex-start;gap:1.125rem;padding:1.25rem 1.5rem;border:2px solid var(--border);border-radius:.5rem;cursor:pointer;transition:border-color .2s,background .2s;}
.da-choice-card:hover{border-color:var(--primary);background:rgba(31,58,77,.03);}
.da-choice-card--selected{border-color:var(--primary);background:rgba(31,58,77,.04);}
.da-radio{position:absolute;opacity:0;width:0;height:0;}
.da-choice-icon{width:48px;height:48px;border-radius:.5rem;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.da-choice-icon--accent{background:rgba(196,69,54,.1);color:var(--accent);}
.da-choice-icon svg{width:24px;height:24px;}
.da-choice-card > div:nth-child(3){flex:1;}
.da-choice-card strong{display:block;font-size:1rem;margin-bottom:.25rem;color:var(--dark);}
.da-choice-card p{font-size:.875rem;color:var(--text-muted);margin:0;line-height:1.5;}
.da-choice-check{width:22px;height:22px;border:2px solid var(--border);border-radius:50%;flex-shrink:0;margin-top:2px;display:flex;align-items:center;justify-content:center;color:transparent;transition:all .2s;}
.da-choice-card--selected .da-choice-check{border-color:var(--primary);background:var(--primary);color:#fff;}
.da-choice-check svg{width:12px;height:12px;}

/* Questions */
.da-questions{padding:1.5rem 2.25rem;display:flex;flex-direction:column;gap:1.5rem;}
.da-question{padding-bottom:1.5rem;border-bottom:1px solid var(--border);}
.da-question:last-child{border-bottom:none;padding-bottom:0;}
.da-question h3{font-family:'Inter',sans-serif;font-size:.975rem;font-weight:700;margin-bottom:.25rem;}
.da-question p{font-size:.875rem;color:var(--text-muted);margin:0 0 .875rem;}
.da-optional{font-size:.8rem;font-weight:400;color:var(--text-muted);}
.da-required{color:var(--accent);}
.da-options{display:flex;gap:.625rem;flex-wrap:wrap;}
.da-options--col{flex-direction:column;gap:.375rem;}
.da-option{display:inline-flex;align-items:center;gap:.5rem;padding:.45rem 1rem;border:1px solid var(--border);border-radius:2rem;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .18s ease;min-height:auto;min-width:auto;}
.da-option:hover{border-color:var(--primary);color:var(--primary);}
.da-option:has(input:checked){border-color:var(--primary);background:var(--primary);color:#fff;}
.da-option--yes:has(input:checked){background:rgba(31,58,77,1);}
.da-option--no:has(input:checked){background:var(--accent);border-color:var(--accent);}
.da-option--ns:has(input:checked){background:var(--text-muted);border-color:var(--text-muted);}
.da-option input{position:absolute;opacity:0;width:0;height:0;}
.da-option span{pointer-events:none;}
.da-options--col .da-option{border-radius:.375rem;width:100%;justify-content:flex-start;}
.da-textarea{width:100%;min-height:100px;resize:vertical;font-family:'Inter',sans-serif;font-size:.925rem;line-height:1.6;color:var(--text);}

/* Info box */
.da-info-box{display:flex;gap:.875rem;background:rgba(31,58,77,.05);border:1px solid rgba(31,58,77,.15);border-radius:.5rem;padding:1.125rem 1.5rem;font-size:.9rem;margin:1.5rem 2.25rem 0;}
.da-info-box svg{width:18px;height:18px;flex-shrink:0;margin-top:2px;color:var(--primary);}
.da-info-box strong{display:block;margin-bottom:.25rem;font-size:.95rem;}
.da-info-box p{margin:0;color:var(--text-muted);line-height:1.55;}
.da-info-box--success{background:rgba(52,168,83,.07);border-color:rgba(52,168,83,.25);}
.da-info-box--success svg{color:#1e7e34;}

/* Champs personne de confiance */
.da-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.5rem;}
.da-reminder{display:flex;gap:.75rem;align-items:flex-start;background:rgba(196,69,54,.06);border:1px solid rgba(196,69,54,.2);border-radius:.375rem;padding:.875rem 1.125rem;font-size:.875rem;margin-top:1rem;}
.da-reminder svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--accent);}
.da-reminder p{margin:0;color:var(--text-muted);line-height:1.55;}

/* Section légale */
.da-loi-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-top:2rem;}
.da-loi-card{background:var(--white);border:1px solid var(--border);border-radius:.5rem;padding:1.5rem;}
.da-loi-icon{width:40px;height:40px;background:rgba(31,58,77,.08);border-radius:.375rem;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;color:var(--primary);}
.da-loi-icon svg{width:20px;height:20px;}
.da-loi-card h3{font-family:'Inter',sans-serif;font-size:.95rem;font-weight:700;margin-bottom:.5rem;}
.da-loi-card p{font-size:.875rem;color:var(--text-muted);line-height:1.65;margin:0;}
.da-source-note{font-size:.8rem;color:var(--text-muted);margin-top:2rem;text-align:center;}
.da-source-note a{color:var(--primary);font-size:.8rem;min-height:auto;min-width:auto;}

/* Question masquée selon situation */
.da-question--malade-only[hidden]{display:none;}

/* Impression */
@media print{
  .main-header,.site-footer,.da-wizard,.guides-page-header,.section-faq,.section-cta,.da-loi-grid,.da-info-banner{display:none!important;}
  .print-only{display:block!important;}
}
.print-only{display:none;}

/* Responsive */
@media (max-width:768px){
  .da-progress::before{display:none;}
  .da-step-label{display:none;}
  .da-panel-header,.da-questions,.da-choices,.da-panel-footer,.da-info-box,.da-field-grid{padding-left:1.25rem;padding-right:1.25rem;}
  .da-field-grid{grid-template-columns:1fr;}
  .da-loi-grid{grid-template-columns:1fr;}
  .da-options{flex-direction:column;}
}

/* =====================
   OTHER KEPT
   ===================== */

/* Sections beige */
.bg-beige{background:var(--light);}
.bg-surface{background:var(--surface);}

/* Category badges */
.cat-badge{display:inline-block;font-size:0.7rem;font-weight:700;text-transform:uppercase;letter-spacing:0.09em;padding:2px 8px;border:1px solid var(--accent);color:var(--accent);border-radius:2px;}

/* Module blocs informationnels */
.bloc-retenir{background:var(--secondary);border-left:4px solid var(--accent);padding:1.25rem 1.5rem;border-radius:0 .375rem .375rem 0;}
.bloc-chiffres{background:var(--primary);color:#fff;padding:1.25rem 1.5rem;border-radius:.375rem;}
.bloc-chiffres h4{color:#fff;}
.bloc-demarche{background:var(--accent);color:#fff;padding:1.25rem 1.5rem;border-radius:.375rem;}
.bloc-demarche h4{color:#fff;}

/* Utilities */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.form-group{margin-bottom:1.5rem}
label{display:block;margin-bottom:.5rem;font-weight:600}
input,select,textarea{width:100%;padding:.75rem;border:1px solid var(--border);border-radius:.375rem;font-size:1rem;min-height:48px;background:var(--white);}
input:focus,select:focus,textarea:focus{border-color:var(--primary);outline:none;}
.reveal-on-scroll{opacity:0;transform:translateY(20px);transition:opacity .6s ease-out,transform .6s ease-out}
.reveal-on-scroll.revealed{opacity:1;transform:translateY(0)}
img{max-width:100%;height:auto;display:block;border-radius:.5rem}

/* ── Annuaire ────────────────────────────────────────────────────────────── */
.annuaire-page-header{padding-bottom:2rem;}
.annuaire-hero-stats{display:flex;align-items:center;gap:1.5rem;margin-top:2rem;flex-wrap:wrap;}
.annuaire-stat{display:flex;flex-direction:column;gap:.1rem;}
.annuaire-stat strong{font-family:'Fraunces',Georgia,serif;font-size:1.4rem;font-weight:700;color:var(--primary);line-height:1;}
.annuaire-stat span{font-size:.75rem;font-weight:500;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;}
.annuaire-stat-sep{width:1px;height:2.5rem;background:var(--border);}
.annuaire-search-section{background:var(--white);border-bottom:1px solid var(--border);padding:1.5rem 0;}
.annuaire-search-wrap{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;}
.annuaire-search-input-wrap{position:relative;flex:1;min-width:260px;display:flex;align-items:center;}
.annuaire-search-input-wrap svg{position:absolute;left:1rem;width:18px;height:18px;color:var(--text-muted);pointer-events:none;}
.annuaire-search-input-wrap input{width:100%;padding:.8rem 3rem .8rem 3rem;border:1px solid var(--border);border-radius:.5rem;font-size:1rem;min-height:48px;background:var(--light);transition:border-color .2s;}
.annuaire-search-input-wrap input:focus{border-color:var(--primary);background:var(--white);}
.search-clear-btn{position:absolute;right:.75rem;background:none;border:none;cursor:pointer;color:var(--text-muted);padding:.25rem;min-height:auto;min-width:auto;border-radius:.25rem;}
.search-clear-btn:hover{color:var(--accent);}
.search-clear-btn svg{width:16px;height:16px;}
.annuaire-type-tabs{display:flex;gap:.375rem;flex-wrap:wrap;}
.type-tab{background:var(--white);border:1px solid var(--border);border-radius:2rem;padding:.4rem 1rem;font-size:.82rem;font-weight:600;color:var(--text-muted);cursor:pointer;transition:all .15s;min-height:36px;min-width:auto;}
.type-tab:hover{border-color:var(--primary);color:var(--primary);}
.type-tab--active{background:var(--primary);border-color:var(--primary);color:#fff;}
.annuaire-search-hint{font-size:.85rem;color:var(--text-muted);margin-top:.875rem;}
.annuaire-search-hint span{font-weight:700;color:var(--primary);}
.regions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;}
.region-card{background:var(--white);border:1px solid var(--border);border-radius:.625rem;overflow:hidden;transition:box-shadow .2s;}
.region-card:hover{box-shadow:0 6px 20px rgba(31,58,77,.08);}
.region-card-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.25rem;border-bottom:1px solid var(--border);background:var(--light);}
.region-card-name{font-size:.95rem;font-family:'Inter',sans-serif;font-weight:700;color:var(--dark);margin:0;line-height:1.3;}
.region-dept-badge{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;background:rgba(31,58,77,.08);color:var(--primary);border-radius:2rem;padding:3px 10px;white-space:nowrap;}
.dept-list{list-style:none;padding:.375rem 0;margin:0;}
.dept-list li{border-bottom:1px solid rgba(212,200,176,.4);}
.dept-list li:last-child{border-bottom:none;}
.dept-link{display:flex;align-items:center;gap:.625rem;padding:.55rem 1.25rem;text-decoration:none;color:var(--text);transition:background .15s;min-height:auto;min-width:auto;}
.dept-link:hover{background:var(--light);color:var(--primary);}
.dept-link:hover .dept-arrow{opacity:1;transform:translateX(2px);}
.dept-code{font-size:.7rem;font-weight:700;color:var(--accent);background:rgba(196,69,54,.08);border-radius:3px;padding:1px 5px;min-width:26px;text-align:center;flex-shrink:0;}
.dept-name{font-size:.875rem;flex:1;}
.dept-arrow{font-size:.8rem;color:var(--text-muted);opacity:0;transition:opacity .15s,transform .15s;margin-left:auto;}
.annuaire-no-result{text-align:center;color:var(--text-muted);padding:3rem 0;font-size:1.05rem;}
.annuaire-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start;}
.annuaire-info-block h2{margin-top:.75rem;}
.annuaire-info-block p{font-size:.95rem;color:var(--text-muted);line-height:1.75;margin-bottom:1rem;}
.annuaire-info-block p:last-child{margin-bottom:0;}
.annuaire-cta-col{display:flex;flex-direction:column;gap:1.25rem;}
.annuaire-cta-card{background:var(--white);border:1px solid var(--border);border-radius:.625rem;padding:1.5rem;display:flex;gap:1.125rem;align-items:flex-start;transition:box-shadow .2s;}
.annuaire-cta-card:hover{box-shadow:0 6px 20px rgba(31,58,77,.08);}
.annuaire-cta-icon{width:44px;height:44px;min-width:44px;border-radius:.5rem;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;}
.annuaire-cta-icon svg{width:22px;height:22px;}
.annuaire-cta-icon--accent{background:rgba(196,69,54,.1);color:var(--accent);}
.annuaire-cta-card h3{font-size:.95rem;font-family:'Inter',sans-serif;font-weight:700;margin-bottom:.375rem;}
.annuaire-cta-card p{font-size:.875rem;color:var(--text-muted);margin:0;line-height:1.55;}

/* Footer */
.site-footer{background:var(--primary);color:#fff;padding:4rem 0 2rem;}
.site-footer a{color:rgba(255,255,255,0.7);text-decoration:none;min-height:auto;min-width:auto;}
.site-footer a:hover{color:#fff;}
.site-footer h4{color:#fff;font-family:'Inter',sans-serif;font-weight:700;font-size:0.9rem;text-transform:uppercase;letter-spacing:0.05em;margin-bottom:1rem;}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.15);padding-top:1.5rem;margin-top:2.5rem;}

/* ── Blog Latest Articles ───────────────────────────────────────────────── */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;}
.blog-card{background:var(--white);border-radius:.625rem;overflow:hidden;border:1px solid var(--border);transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column;}
.blog-card:hover{box-shadow:0 8px 28px rgba(31,58,77,.1);transform:translateY(-4px);}
.blog-card-img-wrap{display:block;text-decoration:none;flex-shrink:0;}
.blog-card-img{aspect-ratio:16/10;overflow:hidden;background:var(--secondary);}
.blog-card-img img{width:100%;height:100%;object-fit:cover;border-radius:0;transition:transform .35s ease;}
.blog-card:hover .blog-card-img img{transform:scale(1.04);}
.blog-card-img-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);}
.blog-card-body{padding:1.25rem 1.5rem 1.5rem;display:flex;flex-direction:column;flex:1;}
.blog-card-date{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--accent);margin-bottom:.5rem;display:block;}
.blog-card-title{font-size:1rem;font-family:'Inter',sans-serif;font-weight:700;line-height:1.35;margin-bottom:.625rem;}
.blog-card-title a{text-decoration:none;color:var(--dark);}
.blog-card-title a:hover{color:var(--primary);}
.blog-card-excerpt{font-size:.875rem;color:var(--text-muted);line-height:1.6;margin:0;flex-grow:1;}
.blog-card-cta{display:inline-flex;align-items:center;font-size:.85rem;font-weight:600;color:var(--primary);text-decoration:none;margin-top:1rem;min-height:auto;min-width:auto;transition:color .2s;}
.blog-card-cta:hover{color:var(--accent);}

/* ── APA Calculator ─────────────────────────────────────────────────────── */
.gir-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:.875rem;margin-top:.75rem;}
.gir-card{cursor:pointer;border-radius:.5rem;border:2px solid var(--border);background:var(--white);transition:border-color .2s,box-shadow .2s;}
.gir-card:hover{border-color:var(--primary);}
.gir-card--selected{border-color:var(--primary);box-shadow:0 0 0 3px rgba(31,58,77,.12);}
.gir-card-inner{padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.25rem;}
.gir-num{font-family:'Fraunces',Georgia,serif;font-size:1.75rem;font-weight:700;color:var(--primary);line-height:1;}
.gir-label{font-size:.875rem;font-weight:700;color:var(--dark);}
.gir-desc{font-size:.78rem;color:var(--text-muted);line-height:1.5;}
.gir-plafond{font-size:.8rem;color:var(--text-muted);margin-top:.375rem;}
.gir-plafond strong{color:var(--primary);}
.gir-ineligible-note{display:flex;align-items:flex-start;gap:.625rem;background:rgba(196,69,54,.06);border:1px solid rgba(196,69,54,.2);border-radius:.375rem;padding:.875rem 1rem;font-size:.85rem;color:var(--accent);margin-top:.875rem;}
.gir-ineligible-note svg{width:16px;height:16px;flex-shrink:0;margin-top:2px;}
.apa-result-data{width:100%;}
.apa-result-main{text-align:center;margin-bottom:1.75rem;padding-bottom:1.75rem;border-bottom:1px solid var(--border);}
.apa-result-sub{font-size:.85rem;color:var(--text-muted);margin-top:.625rem;}
.apa-repartition{margin:1.25rem 0;}
.apa-repartition-bar{display:flex;height:38px;border-radius:.375rem;overflow:hidden;font-size:.8rem;font-weight:600;}
.apa-bar-apa{background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;transition:width .4s ease;min-width:0;overflow:hidden;}
.apa-bar-part{background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;transition:width .4s ease;min-width:0;overflow:hidden;}
.apa-repartition-legend{display:flex;gap:1.5rem;margin-top:.625rem;font-size:.8rem;}
.legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:.375rem;vertical-align:middle;}
.legend-dot--apa{background:var(--primary);}
.legend-dot--part{background:var(--accent);}
.apa-couverture-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2rem;}
.apa-couv-item{display:flex;gap:1rem;align-items:flex-start;}
.apa-couv-icon{width:44px;height:44px;background:var(--primary);color:#fff;border-radius:.5rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.apa-couv-icon svg{width:22px;height:22px;}
.apa-couv-item h3{font-size:.95rem;font-family:'Inter',sans-serif;font-weight:700;margin-bottom:.25rem;}
.apa-couv-item p{font-size:.875rem;color:var(--text-muted);margin:0;line-height:1.55;}
.apa-steps{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1.5rem;}
.apa-step{display:flex;gap:1.25rem;align-items:flex-start;}
.apa-step-num{width:40px;height:40px;min-width:40px;border-radius:50%;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Fraunces',Georgia,serif;font-size:1.1rem;font-weight:700;}
.apa-step-body h3{font-size:.95rem;font-family:'Inter',sans-serif;font-weight:700;margin-bottom:.375rem;}
.apa-step-body p{font-size:.9rem;color:var(--text-muted);margin:0;line-height:1.6;}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.breadcrumb-bar{background:var(--light);border-bottom:1px solid var(--border);padding:.625rem 0;}
.breadcrumb-list{list-style:none;padding:0;margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:.25rem;font-size:.8rem;}
.breadcrumb-list li{display:flex;align-items:center;color:var(--text-muted);}
.breadcrumb-list li:not(:last-child)::after{content:'/';margin-left:.375rem;color:var(--border);}
.breadcrumb-list a{color:var(--text-muted);text-decoration:none;min-height:auto;min-width:auto;}
.breadcrumb-list a:hover{color:var(--primary);}
.breadcrumb-list [aria-current]{color:var(--dark);font-weight:600;}

/* ── Département page ───────────────────────────────────────────────────── */
.dept-header{background:var(--light);border-bottom:1px solid var(--border);padding:3rem 0 2.5rem;}
.dept-header-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;flex-wrap:wrap;}
.dept-header-text h1{margin-bottom:.5rem;}
.dept-header-text p{color:var(--text-muted);font-size:1rem;margin:0;}
.dept-stats-row{display:flex;gap:1.5rem;flex-wrap:wrap;flex-shrink:0;}
.dept-stat{display:flex;flex-direction:column;align-items:center;gap:.1rem;background:var(--white);border:1px solid var(--border);border-radius:.5rem;padding:.625rem 1.25rem;min-width:80px;text-align:center;}
.dept-stat strong{font-family:'Fraunces',Georgia,serif;font-size:1.5rem;font-weight:700;color:var(--primary);line-height:1;}
.dept-stat span{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);}
.dept-filter-bar{background:var(--white);border-bottom:1px solid var(--border);padding:1rem 0;position:sticky;top:0;z-index:20;}
.dept-filter-wrap{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;}
.dept-search-input{max-width:320px;flex-shrink:0;}
.tab-count{background:rgba(255,255,255,.2);border-radius:2rem;padding:1px 7px;font-size:.7rem;margin-left:.25rem;}
.type-tab--active .tab-count{background:rgba(255,255,255,.25);}
.type-tab:not(.type-tab--active) .tab-count{background:var(--light);color:var(--text-muted);}
.dept-result-count{font-size:.8rem;color:var(--text-muted);margin-top:.625rem;}
.dept-result-count span{font-weight:700;color:var(--primary);}
.etab-list{display:flex;flex-direction:column;gap:.5rem;}
.etab-card{background:var(--white);border:1px solid var(--border);border-radius:.5rem;display:flex;overflow:hidden;transition:box-shadow .15s,transform .15s;}
.etab-card:hover{box-shadow:0 4px 16px rgba(31,58,77,.08);transform:translateY(-1px);}
.etab-card--hidden{display:none;}
.etab-card-strip{width:4px;flex-shrink:0;}
.etab-strip--hopital{background:var(--primary);}
.etab-strip--clinique{background:var(--accent);}
.etab-strip--ehpad{background:#2e7d32;}
.etab-strip--soin{background:var(--text-muted);}
.etab-card-body{flex:1;display:flex;align-items:center;gap:1rem;padding:.75rem 1.25rem;}
.etab-card-main{flex:1;min-width:0;}
.etab-card-top{display:flex;align-items:center;gap:.625rem;margin-bottom:.25rem;flex-wrap:wrap;}
.etab-type-badge{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;border-radius:3px;padding:2px 8px;white-space:nowrap;}
.etab-type--hopital{background:rgba(31,58,77,.1);color:var(--primary);}
.etab-type--clinique{background:rgba(196,69,54,.1);color:var(--accent);}
.etab-type--ehpad{background:rgba(46,125,50,.1);color:#2e7d32;}
.etab-type--soin{background:var(--secondary);color:var(--text-muted);}
.etab-card-city{font-size:.78rem;color:var(--text-muted);display:flex;align-items:center;gap:.25rem;}
.etab-card-city svg{width:12px;height:12px;flex-shrink:0;}
.etab-zip{color:var(--text-muted);}
.etab-card-name{font-size:.95rem;font-family:'Inter',sans-serif;font-weight:700;margin:0 0 .25rem;line-height:1.3;}
.etab-card-name a{text-decoration:none;color:var(--dark);}
.etab-card-name a:hover{color:var(--primary);}
.etab-card-addr{font-size:.78rem;color:var(--text-muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.etab-card-right{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem;flex-shrink:0;}
.etab-phone-link{font-size:.78rem;color:var(--text-muted);text-decoration:none;display:flex;align-items:center;gap:.3rem;min-height:auto;min-width:auto;}
.etab-phone-link svg{width:13px;height:13px;}
.etab-phone-link:hover{color:var(--primary);}
.etab-card-cta{font-size:.78rem;font-weight:700;color:var(--primary);text-decoration:none;background:var(--light);border:1px solid var(--border);border-radius:.375rem;padding:.3rem .75rem;min-height:auto;min-width:auto;white-space:nowrap;transition:all .15s;}
.etab-card-cta:hover{border-color:var(--primary);background:rgba(31,58,77,.05);}
.dept-voir-plus{text-align:center;margin-top:2rem;}
.btn-count{font-size:.78rem;font-weight:400;opacity:.75;margin-left:.25rem;}
.etab-no-result{text-align:center;color:var(--text-muted);padding:3rem 0;font-size:1.05rem;}
.dept-empty-state{max-width:480px;margin:0 auto;text-align:center;padding:3rem 0;}
.dept-empty-icon{width:64px;height:64px;background:var(--light);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;color:var(--text-muted);}
.dept-empty-icon svg{width:32px;height:32px;}
.dept-empty-state h2{margin-bottom:.75rem;}
.dept-empty-state p{color:var(--text-muted);margin-bottom:1.5rem;}

/* ── Établissement fiche page ───────────────────────────────────────────── */
.etab-fiche-header{background:var(--light);border-bottom:1px solid var(--border);padding:2.5rem 0 2rem;}
.etab-fiche-header-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;flex-wrap:wrap;}
.etab-fiche-title-block .etab-type-badge{margin-bottom:.75rem;display:inline-block;}
.etab-fiche-title-block h1{margin-bottom:.625rem;}
.etab-fiche-location{display:flex;align-items:flex-start;gap:.4rem;font-size:.95rem;color:var(--text-muted);margin:0;}
.etab-fiche-location svg{width:16px;height:16px;flex-shrink:0;margin-top:3px;}
.etab-fiche-actions{display:flex;gap:.75rem;flex-wrap:wrap;flex-shrink:0;}
.etab-fiche-grid{display:grid;grid-template-columns:1fr 300px;gap:3rem;align-items:start;}
.etab-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:.5rem;overflow:hidden;margin-bottom:2rem;}
.etab-info-item{background:var(--white);padding:1rem 1.25rem;}
.etab-info-label{display:block;font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);margin-bottom:.375rem;}
.etab-info-value{font-size:.95rem;font-weight:600;color:var(--dark);}
.etab-info-value a{color:var(--primary);text-decoration:none;}
.etab-info-value a:hover{text-decoration:underline;}
.etab-address-block{margin-bottom:2rem;}
.etab-address-block h2{font-size:1.15rem;margin-bottom:1rem;}
.etab-address-card{background:var(--light);border:1px solid var(--border);border-radius:.5rem;padding:1.25rem 1.5rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;}
.etab-address-text p{margin:0 0 .5rem;font-size:.95rem;line-height:1.6;}
.etab-address-text p:last-child{margin:0;}
.etab-address-text svg{width:14px;height:14px;vertical-align:middle;margin-right:.25rem;}
.etab-address-text a{color:var(--primary);text-decoration:none;}
.etab-maps-link{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;font-weight:600;color:var(--primary);text-decoration:none;border:1px solid var(--border);border-radius:.375rem;padding:.5rem 1rem;min-height:auto;min-width:auto;transition:all .15s;white-space:nowrap;}
.etab-maps-link:hover{border-color:var(--primary);background:var(--white);}
.etab-maps-link svg{width:16px;height:16px;}
.etab-droits-block{margin-top:2rem;}
.etab-fiche-sidebar{display:flex;flex-direction:column;gap:1.25rem;}
.etab-sidebar-card{background:var(--white);border:1px solid var(--border);border-radius:.625rem;padding:1.5rem;}
.etab-sidebar-icon{width:44px;height:44px;background:var(--primary);color:#fff;border-radius:.5rem;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;}
.etab-sidebar-icon svg{width:22px;height:22px;}
.etab-sidebar-icon--accent{background:rgba(196,69,54,.1);color:var(--accent);}
.etab-sidebar-card h3{font-size:.95rem;font-family:'Inter',sans-serif;font-weight:700;margin-bottom:.375rem;}
.etab-sidebar-card p{font-size:.875rem;color:var(--text-muted);line-height:1.55;margin-bottom:0;}
.etab-sidebar-back{margin-top:.25rem;}

@media (max-width:1024px){
  .guides-grid{grid-template-columns:repeat(2,1fr);}
  .mission-layout{grid-template-columns:1fr;gap:3rem;}
  .annuaire-layout{grid-template-columns:1fr;gap:2.5rem;}
  .annuaire-image{order:-1;}
  .annuaire-image img{max-height:320px;}
  .sim-card{grid-template-columns:1fr;}
  .sim-form{border-right:none;border-bottom:1px solid var(--border);}
  .outils-grid{grid-template-columns:repeat(2,1fr);}
  .checklist-groups{grid-template-columns:1fr;}
  .blog-grid{grid-template-columns:repeat(2,1fr);}
  .regions-grid{grid-template-columns:repeat(2,1fr);}
  .annuaire-bottom-grid{grid-template-columns:1fr;gap:2.5rem;}
  .etab-fiche-grid{grid-template-columns:1fr;}
  .dept-header-inner{flex-direction:column;gap:1.5rem;}
  .dept-stats-row{width:100%;justify-content:flex-start;}
}

@media (max-width:768px){
  .main-header nav{flex-direction:column;gap:1.5rem;}
  .nav-links{width:100%;justify-content:center;}
  h1{font-size:2rem;}
  .grid-4{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
  .guides-grid{grid-template-columns:1fr;}
  .hero-section{padding:5rem 0 4rem;min-height:auto;}
  .hero-trust{gap:1.25rem;}
  .trust-sep{display:none;}
  .section-header{flex-direction:column;align-items:flex-start;}
  .mission-stats{grid-template-columns:1fr 1fr;}
  .cta-block{flex-direction:column;align-items:flex-start;padding:2rem;}
  .outils-grid{grid-template-columns:1fr;}
  .outil-card{flex-direction:column;gap:.875rem;}
  .checklist-filter{gap:.625rem;}
  .checklist-progress{margin-left:0;}
  .gir-cards{grid-template-columns:1fr;}
  .apa-couverture-grid{grid-template-columns:1fr;}
  .blog-grid{grid-template-columns:1fr;}
  .regions-grid{grid-template-columns:1fr;}
  .annuaire-search-wrap{flex-direction:column;align-items:stretch;}
  .annuaire-type-tabs{overflow-x:auto;}
  .annuaire-hero-stats{gap:1rem;}
  .etab-fiche-header-inner{flex-direction:column;}
  .etab-fiche-actions{width:100%;}
  .etab-info-grid{grid-template-columns:1fr;}
  .etab-card-body{flex-wrap:wrap;gap:.75rem;}
  .etab-card-right{flex-direction:row;width:100%;justify-content:flex-start;}
  .dept-filter-wrap{gap:.625rem;}
  .dept-search-input{max-width:100%;}
  .etab-address-card{flex-direction:column;align-items:flex-start;}
}
