/* ATO 3 jours - CSS encapsulé, V5 ATO (HERO et FAQ = composants natifs du site).
   Champ "CSS" de Simple Custom CSS and JS : ne pas ajouter de balises <style>. */
#ato3j-root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#15304a;background:transparent}
#ato3j-root, #ato3j-root *{box-sizing:border-box}
#ato3j-root{margin:0}
#ato3j-root .ato3j-main{max-width:none;width:100%;margin:0;padding:12px 0}
#ato3j-root h2{font-size:21px;margin:0 0 10px;color:#003c80}
#ato3j-root h3{margin:0 0 6px;font-size:17px}
#ato3j-root p{line-height:1.55}
#ato3j-root button{font:inherit;cursor:pointer}
#ato3j-root .panel{background:#fff;border:1px solid #dce6f4;border-radius:16px;padding:18px;margin-bottom:16px;box-shadow:0 2px 10px #003c8009}
#ato3j-root .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#ato3j-root .day{border:1px solid #cadcf5;border-radius:12px;padding:14px;background:#f5f9ff}
#ato3j-root .num{font-size:12px;color:#006ff9;font-weight:800}
#ato3j-root .day p{font-size:13px;margin:7px 0}
#ato3j-root .tag{display:inline-block;font-size:12px;background:#e6f0ff;color:#003c80;padding:5px 8px;border-radius:20px}
#ato3j-root .pills{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
#ato3j-root .pill{border:1px solid #bad2ef;background:white;color:#003c80;border-radius:24px;padding:9px 13px}
#ato3j-root .pill.active{background:#006ff9;border-color:#006ff9;color:white}
#ato3j-root .primary{border:0;background:#006ff9;color:white;padding:12px 16px;border-radius:10px;font-weight:700}
#ato3j-root .secondary{border:1px solid #006ff9;background:#fff;color:#006ff9;padding:10px 14px;border-radius:10px}
#ato3j-root .twocol{display:grid;grid-template-columns:2fr 1fr;gap:14px}
#ato3j-root .timeline{list-style:none;padding:0;margin:12px 0}
#ato3j-root .timeline li{padding:10px 0;border-bottom:1px solid #eef1f6;display:flex;gap:13px}
#ato3j-root .time{min-width:83px;font-weight:750;color:#003c80}
#ato3j-root .muted{color:#52708b;font-size:13px}
#ato3j-root .notice{background:#fff8e8;border-left:3px solid #d39325;padding:11px 13px;border-radius:4px}
#ato3j-root .links a{display:inline-block;margin:6px 10px 5px 0;color:#006ff9}
#ato3j-root .hide{display:none}
#ato3j-root .foot{padding:16px;text-align:center;color:#60788f;font-size:12px}
#ato3j-root .memo{white-space:pre-line;font-size:14px;line-height:1.8}
#ato3j-root .status{font-size:12px;color:#506982}
@media (max-width:690px){#ato3j-root .grid, #ato3j-root .twocol{grid-template-columns:1fr}
#ato3j-root .panel{padding:15px}
#ato3j-root .day{padding:12px}
#ato3j-root .grid{gap:8px}}
@media print{#ato3j-root nav, #ato3j-root .controls, #ato3j-root .no-print{display:none!important}
#ato3j-root{background:white}
#ato3j-root .ato3j-main{padding:0}
#ato3j-root .panel{box-shadow:none;border:none}}
#ato3j-root a{color:#006ff9}
#ato3j-root a:focus-visible, #ato3j-root button:focus-visible{outline:3px solid #ffb53c;outline-offset:3px}
#ato3j-root .links-stack{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}
#ato3j-root .links-stack a{background:#f0f7ff;border:1px solid #cfe2fa;border-radius:10px;padding:9px 11px;text-decoration:none;font-weight:650;font-size:13px;display:inline-block}
#ato3j-root .links-stack a:hover{background:#e6f0ff}
#ato3j-root .section-lead{max-width:none}
#ato3j-root .editorial-row{border-top:1px solid #e4ebf5;padding:17px 0 4px}
#ato3j-root .editorial-row:first-of-type{border:0;padding-top:4px}
#ato3j-root .editorial-row h3{color:#003c80}
#ato3j-root .editorial-row p{margin:8px 0 11px;text-align:justify}
#ato3j-root .editorial-row .links-stack{margin-top:8px}
#ato3j-root .local-note{background:#fff8e8;border-left:3px solid #d39325;padding:12px 14px;border-radius:4px;font-size:14px;line-height:1.55}
#ato3j-root #ato3j-day-links{margin-top:12px}
#ato3j-root .time{min-width:96px}
#ato3j-root .timeline li span:nth-child(2){flex:1}
#ato3j-root #ato3j-copy{max-width:100%}
#ato3j-root a.external:after{content:" ↗";font-size:.9em}
@media (max-width:690px){#ato3j-root .time{min-width:92px}
#ato3j-root .links-stack{gap:7px}
#ato3j-root .links-stack a{font-size:12.5px}
#ato3j-root .editorial-row{padding-top:14px}}
/* Règles de robustesse dans la mise en page Sunway/WPBakery. */
#ato3j-root{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.55;max-width:100%;overflow-wrap:break-word;}
#ato3j-root .ato3j-main{display:block;}
#ato3j-root button{appearance:none;-webkit-appearance:none;}
#ato3j-root .pill{line-height:1.4;}
#ato3j-root .panel a{overflow-wrap:anywhere;}

/* Introduction limitée à cette page. La HERO et la FAQ suivent les styles ATO existants du thème. */
.ato3j-introduction{max-width:none;width:100%;margin:26px 0 12px;padding:0;}
.ato3j-introduction p{line-height:1.65;margin:0 0 12px;}
#ato3j-root .ato3j-main{padding-top:12px;}


/* V5.2 - Harmonisation avec les autres pages ATO : aucune limitation interne à 960px. */
#ato3j-root .ato3j-main{width:100%;max-width:none;margin:0;padding-left:0;padding-right:0;}
.ato3j-introduction{width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:0;padding-right:0;}
.ato3j-faq-section{width:100%;max-width:none;margin:0 0 30px;padding:0;}
/* Titres du prototype plus lisibles, sans modifier les H2/H3 ATO hors module. */
#ato3j-root h2,#ato3j-root h3{font-weight:800 !important;letter-spacing:normal;}
#ato3j-root .editorial-row h3{font-weight:800 !important;letter-spacing:normal;}
#ato3j-root .day h3{font-weight:750 !important;}
#ato3j-root .ato3j-weather-link{margin:8px 0 14px;font-size:14px;line-height:1.5;text-align:left;}
#ato3j-root .ato3j-weather-link a{color:#006ff9;text-decoration:underline;text-underline-offset:2px;}
@media (max-width:690px){#ato3j-root .ato3j-main{padding-left:0;padding-right:0;}}
/* ATO 3 jours — correctif FAQ uniquement, V2.1 — à AJOUTER en fin du
   snippet CSS existant « 3 jours ». Ne remplacez PAS son contenu. */
.ato3j-faq-section .faq-premium > details.faq-accordion {
  padding-left: 16px;
}
.ato3j-faq-section .faq-premium > details.faq-accordion > summary {
  margin-left: -16px;
}
