/* ============================================
   GROS BRAS — Politique de confidentialité
   Couleurs : navy #2d3e50 / jaune #ffbe00
   Typographie : Fredoka (display) + Inter (UI)
   ============================================ */
:root{
  --navy:#2d3e50;
  --navy-700:#1f2c3a;
  --navy-50:#eef2f6;
  --yellow:#ffbe00;
  --yellow-50:#fff8e1;
  --red:#dc2127;
  --gray-900:#111827;
  --gray-700:#374151;
  --gray-600:#4b5563;
  --gray-400:#9ca3af;
  --gray-200:#e5e7eb;
  --gray-100:#f3f4f6;
  --gray-50:#fafafa;
  --white:#ffffff;
  --radius:14px;
  --radius-sm:8px;
  --shadow:0 8px 24px rgba(45,62,80,.08);
  --max:880px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--gray-900);
  background:var(--gray-50);
  line-height:1.65;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

/* Header / hero ------------------------------- */
.hero{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-700) 100%);
  color:var(--white);
  padding:56px 24px 72px;
  position:relative;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute;
  right:-80px; bottom:-80px;
  width:280px; height:280px;
  background:var(--yellow);
  opacity:.08;
  border-radius:50%;
}
.hero-inner{
  max-width:var(--max);
  margin:0 auto;
  position:relative;
  z-index:1;
}
.hero img.logo{
  height:64px;
  width:auto;
  margin-bottom:28px;
  display:block;
  /* logo coloré rendu blanc sur fond navy */
  filter:brightness(0) invert(1);
}
.eyebrow{
  display:inline-block;
  background:var(--yellow);
  color:var(--navy);
  font-family:'Fredoka',sans-serif;
  font-weight:600;
  font-size:13px;
  letter-spacing:.6px;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:18px;
}
h1{
  font-family:'Fredoka',sans-serif;
  font-weight:700;
  font-size:clamp(32px,5vw,48px);
  line-height:1.1;
  margin:0 0 16px;
  color:var(--white);
}
.lede{
  font-size:17px;
  color:rgba(255,255,255,.85);
  max-width:640px;
  margin:0;
}
.meta-line{
  margin-top:24px;
  font-size:14px;
  color:rgba(255,255,255,.7);
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  align-items:center;
}
.meta-line strong{color:var(--yellow);font-weight:600}

/* Layout -------------------------------------- */
main{
  max-width:var(--max);
  margin:-32px auto 0;
  padding:0 24px 80px;
  position:relative;
  z-index:2;
}

/* TOC ------------------------------------------ */
.toc{
  background:var(--white);
  border-radius:var(--radius);
  padding:24px 28px;
  box-shadow:var(--shadow);
  margin-bottom:40px;
}
.toc h2{
  font-family:'Fredoka',sans-serif;
  color:var(--navy);
  font-size:18px;
  margin:0 0 12px;
  font-weight:600;
}
.toc ol{
  margin:0;
  padding-left:0;
  counter-reset:item;
  list-style:none;
  columns:2;
  column-gap:32px;
}
.toc ol li{
  counter-increment:item;
  padding:4px 0;
  break-inside:avoid;
  font-size:14.5px;
}
.toc ol li::before{
  content:counter(item) ".";
  color:var(--yellow);
  font-family:'Fredoka',sans-serif;
  font-weight:600;
  margin-right:8px;
}
.toc ol li a{
  color:var(--gray-700);
  text-decoration:none;
}
.toc ol li a:hover{color:var(--navy);text-decoration:underline}
@media (max-width:640px){
  .toc ol{columns:1}
}

/* Sections ------------------------------------ */
section{
  background:var(--white);
  border-radius:var(--radius);
  padding:36px 40px;
  margin-bottom:24px;
  box-shadow:var(--shadow);
}
@media (max-width:640px){
  section{padding:28px 22px}
}

h2{
  font-family:'Fredoka',sans-serif;
  color:var(--navy);
  font-weight:600;
  font-size:26px;
  line-height:1.2;
  margin:0 0 18px;
  padding-bottom:12px;
  border-bottom:3px solid var(--yellow);
  display:inline-block;
}
h3{
  font-family:'Fredoka',sans-serif;
  color:var(--navy);
  font-weight:600;
  font-size:18px;
  margin:28px 0 10px;
}
h4{
  font-family:'Inter',sans-serif;
  font-weight:600;
  color:var(--navy);
  font-size:15px;
  margin:18px 0 6px;
}

p{margin:0 0 14px;color:var(--gray-700)}
ul,ol{padding-left:22px;color:var(--gray-700);margin:0 0 14px}
ul li,ol li{margin:6px 0}
a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--yellow);text-underline-offset:3px;text-decoration-thickness:2px}
a:hover{color:var(--navy-700)}

/* Callout boxes ------------------------------- */
.callout{
  background:var(--yellow-50);
  border-left:4px solid var(--yellow);
  padding:16px 18px;
  border-radius:var(--radius-sm);
  margin:18px 0;
  font-size:15px;
}
.callout strong{color:var(--navy)}
.callout-navy{
  background:var(--navy-50);
  border-left:4px solid var(--navy);
}

/* Tables -------------------------------------- */
.table-wrap{overflow-x:auto;margin:18px 0}
table{
  width:100%;
  border-collapse:collapse;
  font-size:14.5px;
  background:var(--white);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
thead th{
  background:var(--navy);
  color:var(--white);
  font-family:'Fredoka',sans-serif;
  font-weight:600;
  text-align:left;
  padding:12px 14px;
  font-size:13.5px;
  letter-spacing:.3px;
}
tbody td{
  padding:12px 14px;
  border-bottom:1px solid var(--gray-200);
  vertical-align:top;
}
tbody tr:last-child td{border-bottom:none}
tbody tr:nth-child(even){background:var(--gray-50)}

/* Contact card -------------------------------- */
.contact-card{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-700) 100%);
  color:var(--white);
  border-radius:var(--radius);
  padding:32px 36px;
  margin-top:8px;
}
.contact-card h2{
  color:var(--white);
  border-bottom-color:var(--yellow);
}
.contact-card p{color:rgba(255,255,255,.85)}
.contact-card a{color:var(--yellow);text-decoration-color:var(--yellow)}
.contact-card strong{color:var(--yellow)}
.contact-card .grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:18px;
}
.contact-card .grid div{
  background:rgba(255,255,255,.06);
  padding:14px 16px;
  border-radius:var(--radius-sm);
}
.contact-card .grid .label{
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--yellow);
  font-weight:600;
  font-family:'Fredoka',sans-serif;
  margin-bottom:4px;
}

/* Footer -------------------------------------- */
footer{
  text-align:center;
  color:var(--gray-600);
  font-size:13px;
  padding:32px 24px 16px;
}
footer .tagline{
  font-family:'Fredoka',sans-serif;
  color:var(--navy);
  font-weight:600;
  font-size:14px;
  margin-bottom:6px;
}
footer .tagline span{color:var(--yellow)}

/* Print --------------------------------------- */
@media print{
  @page{size:A4;margin:18mm 16mm}
  body{background:var(--white);font-size:11pt;line-height:1.5}
  .hero{background:var(--navy)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;padding:24px 0;border-radius:0}
  .hero::after{display:none}
  .hero img.logo{filter:none}
  main{margin-top:24px;padding:0}
  section,.toc,.contact-card{box-shadow:none;border:1px solid var(--gray-200);page-break-inside:avoid;padding:18px 22px;margin-bottom:14px}
  h1{font-size:24pt}
  h2{font-size:15pt}
  h3{font-size:12pt}
  .toc ol{columns:2}
  thead th{background:var(--navy)!important;color:var(--white)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .callout{background:var(--yellow-50)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .contact-card{background:var(--navy)!important;color:var(--white)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  a{color:var(--navy)!important;text-decoration:none}
}
