
:root{--navy:#0E0C32;--copper:#C27E44;--light:#F7F5F0;--ink:#201f30;--muted:#6d6a79;--serif:Georgia,'Times New Roman',serif}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);font:16px/1.65 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}.announcement{background:var(--copper);color:var(--navy);text-align:center;padding:7px;font-size:.72rem;letter-spacing:.15em;text-transform:uppercase;font-weight:bold}.header{position:sticky;top:0;z-index:5;background:var(--navy);color:white;display:flex;justify-content:space-between;align-items:center;padding:18px 5%;gap:20px}.brand{display:flex;align-items:center;gap:14px;min-width:0}.brand-logo{display:block;width:52px;height:52px;object-fit:contain;object-position:50% 50%;flex:0 0 auto;background:transparent;border:0;border-radius:0;padding:0;margin:0;align-self:center}.brand strong{font:700 1.35rem var(--serif);display:block;letter-spacing:-.02em}.brand small{display:block;font-size:.57rem;letter-spacing:.12em;color:#F7F5F0;margin-top:3px}.nav{display:flex;gap:22px;align-items:center;font-size:.85rem}.nav a:hover,.textlink:hover{color:var(--copper)}.nav .cta{background:var(--copper);color:var(--navy);padding:10px 14px;font-weight:bold}.nav .cta:hover,.nav .cta:focus-visible{background:var(--copper);color:#fff}.menu{display:none;background:none;color:white;border:1px solid #777;padding:8px}.wrap{width:min(1120px,90%);margin:auto}.hero{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;padding:75px 0}.eyebrow{color:var(--copper);font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:bold;margin:0 0 14px}.hero h1,.subhero h1{font:500 clamp(2.7rem,5vw,4.5rem)/1.04 var(--serif);letter-spacing:-.04em;color:var(--navy);margin:0 0 22px}.hero h1 em{color:var(--copper)}.lede{color:var(--muted);line-height:1.85;max-width:540px}.button{display:inline-block;padding:13px 17px;background:var(--copper);color:var(--navy);font-weight:bold;font-size:.85rem;margin:15px 15px 0 0}.textlink{font-weight:bold;font-size:.85rem}.art{height:390px;background:radial-gradient(circle at 60% 40%,#17143F,var(--navy) 68%);position:relative;border-radius:5px;overflow:hidden;color:white;padding:30px;box-shadow:0 20px 45px #0e0c3220}.art:after{content:"";position:absolute;width:450px;height:150px;border:2px solid var(--copper);border-radius:50%;bottom:10px;left:-25px;transform:rotate(-16deg)}.art-label{font-size:.65rem;letter-spacing:.15em;color:#e6b080}.art h2{font:2.5rem/1.12 var(--serif);max-width:280px;margin-top:70px}.bars{display:flex;gap:10px;align-items:end;height:85px;margin-top:20px}.bars i{display:block;width:25px;background:linear-gradient(var(--copper),#f0c092);border-radius:3px 3px 0 0}.strip{background:var(--navy);color:white;padding:23px 5%;display:flex;justify-content:center;gap:8%;flex-wrap:wrap}.strip span{color:var(--copper);font:1.4rem var(--serif);margin-right:8px}.section{padding:75px 0}.heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}.heading h2,.library h2,.newsletter h2,.about h2{font:500 clamp(2rem,3.7vw,3rem)/1.12 var(--serif);color:var(--navy);margin:0}.heading p{color:var(--muted);max-width:350px}.filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.filters button{border:1px solid #ddd;background:white;padding:8px 14px;border-radius:30px;cursor:pointer}.filters button.active{background:var(--navy);color:white}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{border:1px solid #e9e5e0}.thumb{height:200px;background:linear-gradient(135deg,var(--navy),#29224e);color:white;padding:20px;position:relative;overflow:hidden}.thumb:after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:#c27e4440;right:-30px;bottom:-80px}.tag{font-size:.6rem;letter-spacing:.14em;color:#f0b27c;border:1px solid var(--copper);padding:5px 8px;position:relative;z-index:1}.thumb strong{display:block;font:2rem var(--serif);position:absolute;bottom:30px;left:20px;z-index:1}.body{padding:22px}.meta{font-size:.63rem;letter-spacing:.12em;color:var(--copper);font-weight:bold}.body h3{font:1.4rem/1.25 var(--serif);color:var(--navy);margin:10px 0}.body p{color:var(--muted);font-size:.87rem}.read{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:13px 15px;background:var(--navy);color:white;font-weight:bold;font-size:.84rem;transition:background .2s,color .2s}.read:hover{background:var(--copper);color:var(--navy)}.card .body{display:flex;flex-direction:column;align-items:stretch}.card .body .read{margin-top:auto;margin-left:-22px;margin-right:-22px;margin-bottom:-22px;width:calc(100% + 44px);padding:15px 22px;border-top:1px solid #e9e5e0}.library{background:var(--light);padding:75px 0}.library-inner{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.library p,.about p,.newsletter p{color:var(--muted);line-height:1.85}.books{display:flex;justify-content:center;gap:10px;align-items:center;min-height:250px}.book{width:130px;height:200px;padding:18px 12px;background:var(--navy);color:white;box-shadow:7px 10px 20px #0002;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-6deg)}.book:nth-child(2){background:var(--copper);color:var(--navy);transform:translateY(-8px)}.book:nth-child(3){background:#77758d;transform:rotate(6deg)}.book small{font-size:.5rem;letter-spacing:.1em}.book b{font:1.3rem/1.2 var(--serif)}.panel{background:var(--navy);color:white;padding:32px;margin:65px auto;display:flex;align-items:center;justify-content:space-between;gap:25px}.panel h2{font:2rem var(--serif);margin:0}.panel p{color:#d6d2e0}.about{display:grid;grid-template-columns:120px 1fr;gap:30px;align-items:center;padding-bottom:80px;max-width:900px}.about-logo{border:1px solid var(--copper);width:110px;height:110px;border-radius:50%;display:grid;place-items:center;font:4rem var(--serif);color:var(--navy)}.newsletter{background:var(--light);padding:60px 0}.newsletter-inner{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.placeholder{border:1px dashed #cbb69f;padding:24px}.footer{background:#090820;color:white;padding:35px 5% 18px}.footer-top{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.links{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid #ffffff25;padding-top:20px;margin-top:20px;font-size:.77rem}.bottom{border-top:1px solid #ffffff25;margin-top:20px;padding-top:15px;color:#aaa8b9;font-size:.7rem;display:flex;justify-content:space-between;gap:15px}.subhero{background:var(--light);padding:65px 0}.subhero h1{max-width:900px}.content{max-width:850px;padding:45px 0 90px}.content h2{font:2rem var(--serif);color:var(--navy);margin-top:35px}.content p,.content li{line-height:1.9;color:#5e5b69}.note{border-left:3px solid var(--copper);background:var(--light);padding:20px;margin:25px 0}.list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.list article{border:1px solid #e5e0d9;padding:22px}.list h3{font:1.3rem var(--serif);color:var(--navy)}.smallnote{font-size:.75rem;color:#777}
@media(max-width:800px){.nav{gap:12px;font-size:.75rem}.hero{gap:20px}.art h2{font-size:2rem}.grid{gap:12px}.thumb{height:170px}.body{padding:17px}.panel{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.header{padding:14px 5%}.menu{display:block}.nav{display:none;position:absolute;top:70px;left:0;right:0;background:var(--navy);padding:15px 5%;flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav a{padding:8px 0}.nav .cta{text-align:center}.hero{grid-template-columns:1fr;padding:45px 0 25px}.hero h1{font-size:3rem}.art{height:320px}.strip{display:grid;gap:10px}.section{padding:55px 0}.heading{display:block}.grid{grid-template-columns:1fr}.thumb{height:220px}.library-inner,.newsletter-inner{grid-template-columns:1fr}.books{transform:scale(.88)}.panel{margin:45px auto;padding:25px}.about{grid-template-columns:1fr;gap:20px;padding-bottom:55px}.about-logo{width:85px;height:85px;font-size:3rem}.footer-top,.bottom{flex-direction:column}.list{grid-template-columns:1fr}.subhero{padding:45px 0}.subhero h1{font-size:2.6rem}}

/* Mise à jour : photo de billets pour la carte Inflation */
.inflation-photo-overlay{display:flex;gap:.55rem;align-items:flex-start;flex-wrap:wrap;padding:1rem;position:relative;z-index:1}
.inflation-tag{display:inline-flex;align-items:center;padding:.4rem .7rem;border-radius:999px;background:rgba(14,12,50,.88);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;border:1px solid rgba(255,255,255,.65);box-shadow:0 2px 12px rgba(0,0,0,.24)}

/* Photos des cartes « Les derniers articles » — mise en page inspirée du visuel Canva */
.thumb.photo-thumb{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:.45rem;
  overflow:hidden;
  min-height:160px;
  height:160px;
  padding:1rem;
  background-color:#0E0C32;
  background-size:cover;
  background-position:center;
  isolation:isolate;
}
.thumb.photo-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(14,12,50,.30) 0%,rgba(14,12,50,.08) 42%,rgba(14,12,50,.20) 100%);
  z-index:-1;
}
.thumb.photo-inflation{background-image:url('assets/inflation-billets-fleche-rouge.png');}
.thumb.photo-epargne{background-image:url('assets/epargne-famille-carte.png');}
.thumb.photo-budget{background-image:url('assets/budget-pots-epargne.png');}
.thumb.photo-thumb .tag,
.thumb.photo-thumb strong{
  display:inline-block;
  position:relative;
  z-index:1;
  color:#fff;
  background:rgba(14,12,50,.88);
  border:1px solid rgba(255,255,255,.72);
  border-radius:999px;
  padding:.38rem .68rem;
  font-size:.68rem;
  line-height:1.25;
  letter-spacing:.055em;
  text-shadow:none;
  box-shadow:0 2px 10px rgba(0,0,0,.22);
}
.thumb.photo-thumb strong{font-weight:800;}

/* Correction des étiquettes sur les photos et alignement des cartes */
.grid{align-items:stretch}
.grid>.card{display:flex;flex-direction:column;height:100%;min-width:0}
.grid>.card>.thumb{flex:0 0 160px;height:160px;min-height:160px;box-sizing:border-box}
.grid>.card>.body{display:flex;flex:1;flex-direction:column;align-items:stretch;box-sizing:border-box}
.grid>.card>.body>.read{margin-top:auto}
.thumb.photo-thumb{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  align-content:flex-start;
  align-items:flex-start;
  justify-content:flex-start;
  gap:8px;
  padding:16px;
  background-size:cover;
  background-position:center;
  isolation:isolate;
}
.thumb.photo-thumb::after{display:none}
.thumb.photo-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(14,12,50,.40) 0%,rgba(14,12,50,.06) 55%,rgba(14,12,50,.18) 100%);
  z-index:-1;
}
.thumb.photo-thumb .tag,
.thumb.photo-thumb strong{
  position:relative;
  inset:auto;
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  margin:0;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.88);
  border-radius:999px;
  background:rgba(14,12,50,.90);
  color:#fff;
  font-family:inherit;
  font-size:.68rem;
  font-weight:800;
  line-height:1.15;
  letter-spacing:.06em;
  text-transform:uppercase;
  text-shadow:none;
  box-shadow:0 2px 8px rgba(0,0,0,.25);
}
.thumb.photo-inflation{background-image:url('assets/inflation-billets-fleche-rouge.png')}
.thumb.photo-epargne{background-image:url('assets/epargne-famille-carte.png')}
.thumb.photo-budget{background-image:url('assets/budget-pots-epargne.png')}
@media(max-width:800px){
  .grid{grid-template-columns:1fr}
  .grid>.card>.body{min-height:0}
}

/* Remplacement de l’illustration « L. » par le véritable logo LF */
.about-logo.about-logo-image{
  display:flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.about-logo.about-logo-image::before,
.about-logo.about-logo-image::after{display:none!important;content:none!important}
.about-logo.about-logo-image img{
  display:block;
  width:100%;
  height:100%;
  max-width:390px;
  object-fit:contain;
}


/* Vidéo de présentation intégrée dans la section « La démarche » */
.about-video{
  width:100%;
  max-width:420px;
  justify-self:center;
  align-self:center;
  min-width:0;
}
.about-video video{
  display:block;
  width:100%;
  aspect-ratio:1 / 1;
  height:auto;
  object-fit:cover;
  border-radius:18px;
  background:#0E0C32;
  box-shadow:0 12px 32px rgba(14,12,50,.14);
}
.about-video .video-caption{
  margin:10px 0 0;
  color:#6b6877;
  font-size:.85rem;
  text-align:center;
}
@media(max-width:800px){
  .about-video{max-width:100%;}
  .about-video video{border-radius:14px;}
}


/* Illustration statique en remplacement de la vidéo de présentation */
.art.art-illustration{
  padding:0;
  height:390px;
  min-height:0;
  overflow:hidden;
  background:#F8F5EF;
  border-radius:8px;
}
.art.art-illustration::after{display:none}
.art.art-illustration img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  border:0;
  border-radius:8px;
}
@media(max-width:800px){
  .art.art-illustration{height:auto;aspect-ratio:4 / 3;}
  .art.art-illustration img{height:100%;object-fit:contain;}
}

/* Retour au logo LF dans la section « La démarche » */
.about-logo-wrap{
  width:150px;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  justify-self:center;
}
.about-logo-image{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
@media(max-width:800px){
  .about-logo-wrap{width:120px;height:120px;}
}


/* Ressources gratuites : cartes cohérentes avec « Les derniers articles » */
.resources-section{padding-top:35px;padding-bottom:75px}
.resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
.resource-thumb{height:175px!important;min-height:175px!important}
.resource-status{margin:18px -22px -22px;padding:14px 22px;border-top:1px solid #e9e5e0;background:var(--light);color:var(--muted);font-size:.8rem}
.resource-page{padding-top:45px;padding-bottom:80px}
.resource-page .resource-grid{max-width:850px}
.resource-page .heading{margin-bottom:28px}
@media(max-width:650px){.resource-grid{grid-template-columns:1fr}.resource-thumb{height:210px!important;min-height:210px!important}.resources-section{padding-top:25px}}


/* Images dédiées aux cartes de la rubrique Ressources gratuites */
.thumb.resource-budget-photo{
  background-image:url('assets/ressource-budget-calculatrice.jpg');
  background-position:center 54%;
  background-size:cover;
}
.thumb.resource-epargne-photo{
  background-image:url('assets/ressource-epargne-parapluie.jpg');
  background-position:center 50%;
  background-size:cover;
}
.thumb.resource-budget-photo::after,
.thumb.resource-epargne-photo::after{display:none}

/* Recherche globale et liens sociaux dans l'en-tête */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nav{gap:16px}
.site-search{display:flex;align-items:center;border:1px solid rgba(255,255,255,.38);border-radius:2px;overflow:hidden;min-width:145px;background:rgba(255,255,255,.06)}
.site-search input{width:116px;min-width:0;border:0;outline:0;background:transparent;color:#fff;padding:9px 8px;font:inherit;font-size:.78rem}
.site-search input::placeholder{color:#d6d2e0;opacity:1}
.site-search button{display:grid;place-items:center;width:32px;height:34px;border:0;background:var(--copper);color:var(--navy);cursor:pointer}
.site-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.social-links{display:flex;align-items:center;gap:8px}
.social-links a{display:grid;place-items:center;width:30px;height:30px;border:1px solid rgba(255,255,255,.28);border-radius:50%;color:#fff;transition:background .2s,color .2s}
.social-links a:hover{background:var(--copper);color:var(--navy)}
.social-links svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.social-links .facebook-mark{fill:currentColor;stroke:none}
.search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.search-result{border:1px solid #e9e5e0;padding:22px;background:white}
.search-result .meta{color:var(--copper);font-size:.7rem;font-weight:bold;letter-spacing:.1em;text-transform:uppercase}
.search-result h2{font:1.45rem/1.25 var(--serif);color:var(--navy);margin:10px 0}
.search-result p{color:var(--muted);margin-bottom:18px}
.search-result a{display:inline-block;background:var(--navy);color:white;padding:10px 14px;font-weight:bold;font-size:.82rem}
.search-result a:hover{background:var(--copper);color:var(--navy)}
.search-empty{padding:22px;background:var(--light);border-left:3px solid var(--copper);color:var(--muted)}
@media(max-width:1100px){.header{gap:12px}.nav{gap:10px}.site-search{min-width:120px}.site-search input{width:88px}.brand strong{font-size:1.15rem}.brand small{font-size:.5rem}}
@media(max-width:800px){.header{flex-wrap:wrap}.nav{gap:12px}.site-search{width:100%;order:4}.site-search input{width:100%;flex:1}.social-links{justify-content:flex-start}}
@media(max-width:650px){.nav{top:70px;max-height:calc(100vh - 70px);overflow-y:auto}.nav .site-search{margin:6px 0}.nav .social-links{padding:5px 0}.search-results{grid-template-columns:1fr}}

.search-page-form{display:flex;gap:10px;align-items:center;max-width:620px;margin-top:22px}.search-page-form input{flex:1;min-width:0;padding:13px 14px;border:1px solid #d8d3cc;background:white;font:inherit}.search-page-form .button{border:0;cursor:pointer;margin:0}@media(max-width:650px){.search-page-form{align-items:stretch;flex-direction:column}.search-page-form .button{width:100%}}


/* Contact : adresse professionnelle et accès aux réseaux sociaux */
.contact-note .contact-email{display:flex;align-items:center;gap:.55em;margin:.8rem 0;color:var(--navy);font-weight:700;line-height:1.5}
.contact-email img{width:1.35em;height:1.35em;object-fit:contain;display:inline-block;flex:0 0 auto}
.contact-email a{overflow-wrap:anywhere;text-decoration:underline;text-decoration-color:var(--copper);text-underline-offset:3px}
.contact-email a:hover{color:var(--copper)}
.contact-note>p:not(.contact-email){margin:.7rem 0;color:var(--ink)}
.contact-social-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:1rem}
.contact-social-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 15px;background:var(--navy);color:#fff;border:1px solid var(--navy);font-size:.85rem;font-weight:700;transition:background .2s,color .2s,border-color .2s}
.contact-social-button:hover{background:var(--copper);border-color:var(--copper);color:var(--navy)}
.contact-social-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.contact-social-button .facebook-mark{fill:currentColor;stroke:none}


/* Menus déroulants de navigation : aperçu visuel des articles et ressources */
.nav-dropdown{position:relative;display:flex;align-items:center;height:100%;}
.nav-dropdown-trigger{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:8px 0;}
.nav-chevron{font-size:.95em;color:var(--copper);transition:transform .18s ease;}
.nav-dropdown:hover .nav-chevron,.nav-dropdown:focus-within .nav-chevron{transform:rotate(180deg)}
.nav-dropdown-menu{display:none;position:absolute;top:calc(100% + 8px);left:-14px;width:340px;padding:8px;background:#fff;color:var(--navy);border:1px solid #e8e2da;box-shadow:0 14px 35px #09082024;z-index:30;}
.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{display:block;}
.nav-dropdown-menu:before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px;}
.nav-dropdown-item{display:flex;align-items:center;gap:11px;padding:10px;border-bottom:1px solid #eee9e3;white-space:normal;transition:background .15s ease;}
.nav-dropdown-item:last-child{border-bottom:0;}
.nav-dropdown-item:hover,.nav-dropdown-item:focus{background:var(--light);color:var(--navy)!important;}
.nav-dropdown-item strong{display:block;font:600 .83rem/1.3 Arial,Helvetica,sans-serif;color:var(--navy);}
.nav-dropdown-item small{display:block;color:var(--muted);font-size:.68rem;margin-top:4px;}
.nav-mini-thumb{display:block;flex:0 0 58px;width:58px;height:48px;background-color:var(--light);background-position:center;background-size:cover;background-repeat:no-repeat;border:1px solid #eee7df;}
.nav-mini-thumb.mini-inflation{background-image:url('assets/inflation-billets-fleche-rouge.png');}
.nav-mini-thumb.mini-epargne{background-image:url('assets/epargne-famille-carte.png');}
.nav-mini-thumb.mini-budget{background-image:url('assets/ressource-budget-calculatrice.jpg');}
.nav-mini-thumb.mini-resource-budget{background-image:url('assets/ressource-budget-calculatrice.jpg');}
.nav-mini-thumb.mini-resource-epargne{background-image:url('assets/ressource-epargne-parapluie.jpg');}
@media(max-width:1100px){.nav-dropdown-menu{width:310px}.nav-dropdown-item{gap:8px;padding:8px}.nav-mini-thumb{flex-basis:48px;width:48px;height:42px}.nav-dropdown-item strong{font-size:.76rem}}
@media(max-width:650px){.nav-dropdown{display:block;height:auto;width:100%;}.nav-dropdown-trigger{display:flex;width:100%;justify-content:space-between;padding:8px 0;}.nav-dropdown-menu{position:static;width:100%;margin:2px 0 8px;box-shadow:none;border-color:#ffffff24;background:#15133d;}
.nav-dropdown:hover .nav-dropdown-menu{display:none}.nav-dropdown:focus-within .nav-dropdown-menu{display:block}.nav-dropdown-item{border-bottom-color:#ffffff20}.nav-dropdown-item:hover,.nav-dropdown-item:focus{background:#211e4b}.nav-dropdown-item strong{color:#fff}.nav-dropdown-item small{color:#d0ccdd}.nav-mini-thumb{flex-basis:56px;width:56px;height:44px}}

/* Article : image éditoriale plus compacte et recommandations en fin de lecture */
.article-figure{max-width:700px;margin:1.6rem auto;padding:.7rem;border-radius:10px}
.article-figure img{width:100%;max-height:300px;object-fit:cover;object-position:center;border-radius:6px}
.related-article{margin:2.5rem 0 0;padding-top:1.6rem;border-top:1px solid #e7e2dc}
.related-card{display:grid;grid-template-columns:180px 1fr;border:1px solid #e7e2dc;background:#fff;gap:0;overflow:hidden}
.related-card img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover}
.related-card-body{padding:1.1rem 1.3rem}
.related-card-body .meta{color:#C27E44;font-size:.7rem;font-weight:bold;letter-spacing:.1em;text-transform:uppercase}
.related-card-body h3{font:1.45rem/1.25 Georgia,serif;color:#0E0C32;margin:.45rem 0}
.related-card-body p{margin:.3rem 0 1rem}
.related-card-body .read{display:inline-block;padding:.65rem .9rem;background:#0E0C32;color:#fff;font-size:.85rem}
@media(max-width:600px){.related-card{grid-template-columns:1fr}.related-card img{height:180px;min-height:0}.article-figure img{max-height:240px}}

.related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1rem}
@media(max-width:760px){.related-grid{grid-template-columns:1fr}}


/* Page « Faire un don » — Le Fil Épargne */
.don-nav{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:9px 12px;border:1px solid var(--copper);color:#fff!important;font-weight:700}
.don-nav:hover{background:var(--copper);color:var(--navy)!important}
.don-thanks{font-family:var(--serif);font-size:1.2rem;color:var(--navy);margin-top:22px}
.donation-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.8fr);gap:28px;align-items:start}
.donation-card,.donation-aside{border:1px solid #e7e0d7;padding:clamp(22px,4vw,38px);background:#fff}
.donation-card h2,.donation-aside h2{font:500 clamp(1.65rem,2.5vw,2.2rem)/1.15 var(--serif);color:var(--navy);margin:0 0 12px}
.don-muted,.donation-aside p{color:var(--muted)}
.donation-fieldset{border:0;border-top:1px solid #e9e4de;padding:20px 0 0;margin:24px 0 0}
.donation-fieldset legend{font-weight:700;color:var(--navy);padding:0 10px 0 0}
.donation-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.donation-amounts label,.donation-choice-row label{position:relative;display:block;cursor:pointer}
.donation-amounts input,.donation-choice-row input{position:absolute;opacity:0;pointer-events:none}
.donation-amounts span,.donation-choice-row span{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #d9d3cb;padding:10px;background:#fff;color:var(--navy);text-align:center;font-weight:700;transition:background .15s,border-color .15s}
.donation-amounts input:checked+span,.donation-choice-row input:checked+span{background:var(--navy);color:white;border-color:var(--copper);box-shadow:inset 0 0 0 1px var(--copper)}
.donation-amounts input:focus-visible+span,.donation-choice-row input:focus-visible+span{outline:3px solid var(--copper);outline-offset:3px}
.custom-input-label{display:block;font-size:.88rem;font-weight:700;margin:16px 0 6px;color:var(--navy)}
#custom-amount{width:100%;max-width:260px;padding:12px;border:1px solid #d9d3cb;font:inherit}
#custom-amount:disabled{background:#f4f2ef;color:#999}
.donation-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.donation-submit{border:0;cursor:pointer;width:100%;margin-top:28px;font:700 .95rem Arial,Helvetica,sans-serif;min-height:48px}
.donation-status{background:var(--light);border-left:3px solid var(--copper);padding:14px 16px;font-size:.86rem;color:var(--muted);margin:15px 0 0}
.donation-aside{background:var(--light)}
.donation-aside-mark{width:58px;height:58px;border:1px solid var(--copper);display:grid;place-items:center;color:var(--copper);font:1.6rem var(--serif);margin-bottom:22px}
.donation-method-note{border-top:1px solid #d9d2c8;margin-top:24px;padding-top:14px}
.donation-method-note h3{font:1.25rem var(--serif);color:var(--navy)}
.donation-smallprint{font-size:.78rem;border-top:1px solid #d9d2c8;padding-top:16px;margin-top:22px}
@media(max-width:800px){.donation-layout{grid-template-columns:1fr}.don-nav{order:-1}}
@media(max-width:650px){.donation-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.donation-choice-row{grid-template-columns:1fr}.don-nav{text-align:center}}



/* =========================================================
   Adaptation mobile renforcée — Le Fil Épargne
   Complément responsive pour smartphones et petites tablettes
   ========================================================= */
html { -webkit-text-size-adjust: 100%; }
body { min-width: 0; overflow-wrap: break-word; }
img, video, iframe, svg { max-width: 100%; }
img, video { height: auto; }
input, select, textarea, button { max-width: 100%; font: inherit; }
input, select, textarea { min-width: 0; }
.wrap { min-width: 0; }
.content, .article-content, .prose { overflow-wrap: anywhere; }
table { max-width: 100%; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }
button, a { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

@media (max-width: 800px) {
  .hero, .library-inner, .newsletter-inner, .donation-layout,
  .about, .contact-layout, .resource-grid, .search-results {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header { gap: 10px; }
  .brand { max-width: calc(100% - 58px); }
  .brand strong { font-size: clamp(1.05rem, 4vw, 1.35rem); }
  .brand small { font-size: .52rem; letter-spacing: .08em; }
  .site-search { min-width: 0; }
  .site-search input { min-width: 0; }
  .art, .art.art-video { max-width: 100%; }
  .article-figure { width: 100%; }
  .related-card { grid-template-columns: 140px minmax(0, 1fr); }
  .related-card-body { min-width: 0; }
  .donation-card, .donation-aside { min-width: 0; }
}

@media (max-width: 650px) {
  .announcement { font-size: .62rem; letter-spacing: .09em; padding: 8px 10px; }
  .header { padding: 12px 5%; }
  .brand-logo { width: 42px; height: 42px; }
  .brand { gap: 9px; }
  .brand strong { font-size: 1.08rem; }
  .brand small { font-size: .47rem; letter-spacing: .045em; }
  .menu { min-width: 44px; min-height: 44px; font-size: 1.1rem; cursor: pointer; }
  .nav { top: 100%; }
  .nav a { min-height: 42px; }
  .wrap { width: 90%; }
  .hero { gap: 24px; padding-top: 35px; }
  .hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .subhero h1 { font-size: clamp(2rem, 9vw, 2.6rem); overflow-wrap: anywhere; }
  .lede { font-size: .98rem; }
  .section, .library { padding-top: 42px; padding-bottom: 42px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .card { min-width: 0; }
  .thumb { height: 190px; }
  .body { padding: 18px; }
  .card .body .read { margin-left: -18px; margin-right: -18px; margin-bottom: -18px; width: calc(100% + 36px); padding: 14px 18px; }
  .panel { max-width: 100%; padding: 20px; }
  .button { min-height: 44px; text-align: center; }
  .filters { gap: 7px; }
  .filters button { min-height: 42px; }
  .books { max-width: 100%; }
  .search-page-form { width: 100%; }
  .search-page-form input, .search-page-form .button { width: 100%; }
  .related-card { grid-template-columns: minmax(0, 1fr); }
  .related-card img { height: 180px; }
  .related-card-body { padding: 1rem; }
  .donation-layout { grid-template-columns: minmax(0, 1fr); }
  .donation-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .donation-choice-row { grid-template-columns: minmax(0, 1fr); }
  .donation-card, .donation-aside { padding: 20px; }
  .content h2 { font-size: clamp(1.35rem, 6vw, 1.8rem); }
  .content ul { padding-left: 1.25rem; }
  .footer-top, .bottom { gap: 18px; }
}

@media (max-width: 380px) {
  .brand-logo { width: 36px; height: 36px; }
  .brand { gap: 7px; }
  .brand strong { font-size: .98rem; }
  .brand small { font-size: .42rem; }
  .wrap { width: 92%; }
  .hero h1 { font-size: 2.15rem; }
  .donation-amounts { grid-template-columns: minmax(0, 1fr); }
  .art { padding: 22px; }
  .art h2 { font-size: 1.8rem; }
}

/* Réduit les animations lorsque le visiteur le demande dans son appareil. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}



/* Corrections ciblées suite aux tests sur smartphone */
@media (max-width: 650px) {
  /* Les deux appels à l'action restent côte à côte sur l'accueil. */
  .hero .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 60%;
    min-height: 42px;
    padding: 9px 10px;
    margin: 12px 5px 0 0;
    font-size: clamp(.62rem, 2.5vw, .76rem);
    line-height: 1.25;
    white-space: nowrap;
    vertical-align: middle;
  }
  .hero .textlink {
    display: inline-block;
    width: auto;
    max-width: 38%;
    margin: 12px 0 0;
    font-size: clamp(.68rem, 2.8vw, .8rem);
    line-height: 1.35;
    white-space: nowrap;
    vertical-align: middle;
  }

  /* Les catégories du pied de page restent sur une seule ligne. */
  .footer-top > p {
    width: 100%;
    margin: 10px 0 0;
    font-size: clamp(.68rem, 2.9vw, .86rem);
    line-height: 1.5;
    white-space: nowrap;
    letter-spacing: -.025em;
  }

  /* Force les icônes sociales du menu mobile à conserver leur forme ronde. */
  .nav .social-links {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .nav .social-links a {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    max-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    line-height: 1;
  }
  .nav .social-links a svg {
    width: 16px;
    height: 16px;
  }
}


/* Newsletter signup prototype */
.newsletter-signup{border:1px solid #e3d8ca;background:#fff;padding:24px;border-radius:4px;min-width:0}
.newsletter-form-row{display:flex;align-items:stretch;gap:10px;width:100%}
.newsletter-form-row input[type="email"]{flex:1;min-width:0;width:100%;padding:14px 15px;border:1px solid #c9c5d0;border-radius:3px;background:#fff;color:var(--navy);font:inherit}
.newsletter-form-row input[type="email"]:focus-visible,.newsletter-form-row button:focus-visible,.newsletter-checkbox input:focus-visible{outline:3px solid var(--copper);outline-offset:2px}
.newsletter-form-row button{flex:0 0 auto;border:1px solid var(--navy);border-radius:3px;background:var(--navy);color:#fff;padding:0 23px;font:inherit;font-weight:600;cursor:pointer}
.newsletter-form-row button:hover{background:#211d53}
.newsletter-checkbox{display:flex;align-items:flex-start;gap:10px;margin-top:16px;color:var(--muted);font-size:.9rem;line-height:1.5;cursor:pointer}
.newsletter-checkbox input{flex:0 0 auto;margin-top:4px;accent-color:var(--navy)}
.newsletter-status{margin:14px 0 0;font-size:.8rem;line-height:1.5;color:var(--muted)}
.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}
@media(max-width:480px){.newsletter-signup{padding:16px}.newsletter-form-row{gap:8px}.newsletter-form-row input[type="email"]{padding:12px 10px;font-size:.9rem}.newsletter-form-row button{padding:0 16px}}

/* Newsletter – état de test et page de confirmation */
.newsletter-status.is-notice{padding:14px 16px;border-left:3px solid var(--copper,#C27E44);background:rgba(194,126,68,.09);border-radius:4px;color:var(--ink,#0E0C32)}
.confirmation-page{min-height:62vh;display:flex;align-items:center;justify-content:center;padding-top:64px;padding-bottom:64px}
.confirmation-card{max-width:720px;width:100%;padding:clamp(24px,5vw,56px);background:var(--paper,#fff);border:1px solid rgba(14,12,50,.12);border-radius:12px;box-shadow:0 16px 44px rgba(14,12,50,.07)}
.confirmation-card h1{margin:0 0 18px}
.confirmation-card .lede{margin-bottom:20px}
.confirmation-signature{font-family:Georgia,'Times New Roman',serif;font-size:1.2rem;font-style:italic;color:var(--copper,#C27E44);margin:24px 0}
.confirmation-card .smallnote{margin-top:28px}

/* Bibliothèque — sélection de lectures */
.library-page{padding-top:38px;padding-bottom:80px}
.library-intro{max-width:800px;color:var(--muted);margin:0 0 36px}
.book-category{padding:34px 0 22px;border-bottom:1px solid #e9e5e0;scroll-margin-top:110px}
.book-category .heading{margin-bottom:22px}
.book-category .heading h2{font:500 clamp(2rem,3.7vw,3rem)/1.12 var(--serif);color:var(--navy);margin:0}
.book-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.book-card{display:grid;grid-template-columns:minmax(135px, .78fr) 1.22fr;gap:22px;background:#fff;border:1px solid #e9e5e0;padding:18px;align-items:start}
.cover{aspect-ratio:2/3;min-height:235px;max-width:220px;width:100%;padding:15px 12px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:7px 10px 20px #0002;color:white;background:var(--navy);border:1px solid #ffffff20}
.cover span{font-size:.48rem;letter-spacing:.12em;font-weight:bold}
.cover strong{font:1.35rem/1.12 var(--serif)}
.cover small{font-size:.62rem;line-height:1.35}
.cover em{font-style:normal;font-size:.57rem;letter-spacing:.03em}
.cover-banque{background:linear-gradient(155deg,#17153c,#0e0c32 72%);border-bottom:8px solid var(--copper)}
.cover-finances{background:linear-gradient(150deg,#35304e,#0e0c32);border-top:8px solid #c27e44}
.cover-assurance{background:linear-gradient(145deg,#c27e44,#f0c28b);color:#201f30}
.cover-protection{background:linear-gradient(145deg,#77758d,#35334d)}
.cover-immo{background:linear-gradient(145deg,#d8b88b,#f7f0e3);color:#0e0c32}
.cover-locatif{background:linear-gradient(145deg,#4b655e,#172d2a);border-bottom:8px solid #c27e44}
.cover-choix{background:linear-gradient(145deg,#e8c9a6,#c27e44);color:#201f30}
.cover-visuel{background:linear-gradient(145deg,#f2f0e9,#bfc3d1);color:#0e0c32;border-left:8px solid #77758d}
.book-info h3{font:1.3rem/1.25 var(--serif);color:var(--navy);margin:6px 0 4px}
.book-author{font-size:.76rem;color:var(--copper);font-weight:bold;margin:0 0 12px}
.book-info p:not(.book-author){font-size:.86rem;color:var(--muted);line-height:1.7}
.book-info .read{margin-top:16px;font-size:.76rem}
.library-disclosure{margin-top:38px}
.books .book{text-decoration:none}
.books .book b{font-size:1.18rem}
.book-real{min-height:200px}
.book-culture{background:#77758d!important;color:white!important}
@media(max-width:760px){.book-grid{grid-template-columns:1fr}.book-card{grid-template-columns:minmax(115px,.65fr) 1.35fr;gap:16px;padding:14px}.cover{min-height:210px}.cover strong{font-size:1.15rem}.book-info h3{font-size:1.15rem}}
@media(max-width:440px){.book-card{grid-template-columns:105px 1fr;gap:13px;padding:11px}.cover{min-height:175px;padding:10px 8px}.cover strong{font-size:1rem}.cover span{font-size:.4rem}.cover small,.cover em{font-size:.5rem}.book-info p:not(.book-author){font-size:.8rem}.book-info .read{padding:10px;font-size:.7rem}}


/* Bibliothèque : cartes harmonisées, couverture à gauche et boutons alignés en bas */
.library-page .book-grid{align-items:stretch}
.library-page .book-card{grid-template-columns:minmax(135px, .78fr) minmax(0,1.22fr);align-items:stretch;height:100%}
.library-page .book-info{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.library-page .book-info .read{margin-top:auto;padding:14px 18px;display:inline-flex;align-items:center;min-height:46px}
.library-page .book-cover-image{display:block;width:100%;max-width:220px;aspect-ratio:2/3;object-fit:cover;object-position:center;box-shadow:7px 10px 20px #0002}
@media(max-width:760px){
 .library-page .book-card{grid-template-columns:minmax(115px,.65fr) minmax(0,1.35fr)}
}
@media(max-width:440px){
 .library-page .book-card{grid-template-columns:105px minmax(0,1fr)}
 .library-page .book-info .read{padding:11px 12px;font-size:.7rem}
}


/* Bibliothèque : couvertures réelles à taille de livre, sans étirement sur la carte */
.library-page .book-card{grid-template-columns:minmax(120px,160px) minmax(0,1fr);gap:22px;align-items:stretch;}
.library-page .book-cover-image{display:block;width:100%;max-width:160px;height:auto;aspect-ratio:auto;object-fit:contain;object-position:top center;align-self:start;box-shadow:0 3px 12px #00000018;border:1px solid #eee9e2;background:#fff;}
.library-page .book-info{display:flex;flex-direction:column;min-width:0;}
.library-page .book-info .read{margin-top:auto;align-self:stretch;padding:13px 14px;text-align:center;}
@media(max-width:760px){.library-page .book-card{grid-template-columns:minmax(105px,135px) minmax(0,1fr);gap:16px;padding:14px;} .library-page .book-cover-image{max-width:135px;}}
@media(max-width:440px){.library-page .book-card{grid-template-columns:94px minmax(0,1fr);gap:12px;padding:11px;} .library-page .book-cover-image{max-width:94px;} .library-page .book-info .read{padding:10px 8px;font-size:.68rem;}}


/* Accueil : couvertures réelles dans « Des lectures pour aller plus loin » */
.books-covers{gap:14px;min-height:250px;align-items:center}
.books-covers .book-cover-link{display:block;width:clamp(92px,10vw,138px);height:auto;aspect-ratio:16.1 / 21;overflow:hidden;background:#f5f2ed;box-shadow:7px 10px 20px #0002;transition:transform .18s ease,box-shadow .18s ease}
.books-covers .book-cover-link:nth-child(1){transform:rotate(-5deg)}
.books-covers .book-cover-link:nth-child(2){aspect-ratio:16.2 / 21.4;transform:translateY(-8px)}
.books-covers .book-cover-link:nth-child(3){aspect-ratio:17 / 24;transform:rotate(5deg)}
.books-covers .book-cover-link:hover,.books-covers .book-cover-link:focus-visible{transform:translateY(-5px) rotate(0);box-shadow:9px 13px 24px #0003}
.books-covers img{display:block;width:100%;height:100%;object-fit:contain}
.library-dropdown-menu{width:290px}
.library-dropdown-menu .nav-dropdown-item{min-height:44px}
@media(max-width:760px){.books-covers{gap:8px;min-height:200px}.books-covers .book-cover-link{width:min(29vw,115px);height:auto}.library-dropdown-menu{width:min(290px,85vw)}}


/* Correctifs : alignement vertical du bouton de recherche et filtres des articles */
.site-search{align-items:stretch}
.site-search input{align-self:stretch}
.site-search button{align-self:stretch;height:auto;min-height:40px;flex:0 0 32px}
#articles .grid>.card[hidden]{display:none!important}

/* Visuels de l’article PEA ou CTO */
.thumb.photo-pea-cto{background-image:url('assets/pea-cto/pea-cto-cover-clean.png');background-position:center;background-size:cover;}
.nav-mini-thumb.mini-pea-cto{background-image:url('assets/pea-cto/pea-cto-cover-clean.png');background-size:cover;background-position:center;}

/* Visuels de l’article PER */
.thumb.photo-per{background-image:url('assets/per-cover.jpg');background-position:center 38%;background-size:cover;}
.nav-mini-thumb.mini-per{background-image:url('assets/per-cover.jpg');background-size:cover;background-position:center 38%;}
