
/* ============================================================
   ANTIBES-INFO.FR : Design system v1
   Direction : Méditerranée, azur profond, sable doré, soleil
   ============================================================ */

:root {
  --primary:       #005A9E;   /* bleu Méditerranée profond */
  --primary-dark:  #002D5C;   /* marine foncé */
  --primary-light: #1E88E5;   /* bleu clair */
  --primary-pale:  #DBEEFE;   /* bleu très pâle */
  --accent:        #F59E0B;   /* doré soleil / sable */
  --accent-pale:   #FEF3C7;   /* doré très pâle */
  --dark:          #0D1B2A;   /* quasi-noir bleuté */
  --text:          #1A3A5C;   /* texte principal */
  --text-light:    #557A9A;   /* texte secondaire bleu-gris */
  --bg:            #F3F8FD;   /* fond azur très léger */
  --bg-alt:        #E4F1FA;   /* fond alternatif */
  --border:        rgba(0,90,158,0.13);
  --shadow-sm:     0 2px 12px rgba(0,45,92,0.08);
  --shadow-md:     0 6px 28px rgba(0,45,92,0.14);
  --radius:        10px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { padding-left: 1.4em; }

h1, h2, h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
}

/* ============================================================
   CONTENEUR
   ============================================================ */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   DISCLAIMER
   ============================================================ */

.disclaimer-bar {
  background: var(--primary-light);
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding: 0.45rem 2rem;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: var(--primary-dark);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 24px rgba(0,0,0,0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.3px;
  line-height: 1;
}
.site-logo .logo-main { color: #fff; }
.site-logo .logo-sub  { color: var(--accent); }

/* Nav principal */
.site-nav > ul {
  display: flex;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav > ul > li {
  position: relative;
}

.site-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
}
.site-nav > ul > li > a.active {
  background: rgba(245,158,11,0.22);
  color: var(--accent);
}

.nav-arrow {
  font-size: 0.65rem;
  opacity: 0.55;
  transition: transform 0.18s;
}
.has-dropdown:hover .nav-arrow,
.has-dropdown.open .nav-arrow {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 300;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #fff;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown li { margin: 0; padding: 0; }

.dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--text);
  font-size: 0.87rem;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.13s, color 0.13s;
}
.dropdown a:hover {
  background: var(--primary-pale);
  color: var(--primary);
  text-decoration: none;
}

.dropdown-more a {
  color: var(--primary-light) !important;
  font-weight: 600;
  font-size: 0.82rem;
  border-top: 1px solid var(--border);
  margin-top: 3px;
  padding-top: 10px;
}
.dropdown-more a:hover {
  background: var(--primary-pale) !important;
  color: var(--primary) !important;
}

/* Burger menu mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.85);
  border-radius: 2px;
  transition: 0.2s;
}

/* ============================================================
   FIL D'ARIANE
   ============================================================ */

.breadcrumb {
  padding: 12px 0;
  font-size: 0.82rem;
  color: var(--text-light);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
}
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: var(--primary); }

/* ============================================================
   HERO PAGE
   ============================================================ */

.page-hero {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #004080;
}

.page-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,20,50,0.82) 0%,
    rgba(0,20,50,0.28) 55%,
    transparent 100%
  );
}

.page-hero-content {
  position: relative;
  padding-bottom: 40px;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.page-hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 10px;
}

.hero-intro {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  max-width: 620px;
  line-height: 1.65;
}

/* Hero accueil (plus grand) */
.hero-home {
  height: 480px;
}
.hero-home .page-hero-content {
  padding-bottom: 60px;
}
.hero-home h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
}

/* ============================================================
   LAYOUT ARTICLE
   ============================================================ */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: start;
  padding: 52px 20px 88px;
  max-width: 1160px;
  margin: 0 auto;
}

/* ARTICLE BODY */
.article-body h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--dark);
  margin: 2.6em 0 0.7em;
  padding-top: 0;
}
.article-body h2:first-child { margin-top: 0; }

.article-body h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 8px;
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
  margin: 1.8em 0 0.5em;
}

.article-body p { margin-bottom: 1.2em; }

.article-body ul,
.article-body ol { margin-bottom: 1.2em; }

.article-body li { margin-bottom: 0.35em; }

.article-body strong { color: var(--dark); }
.article-body em { font-style: italic; }
.article-body { overflow-wrap: break-word; }

/* Tableau */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.article-body th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.article-body td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.article-body tr:last-child td { border-bottom: none; }
.article-body tr:nth-child(even) td { background: var(--bg-alt); }

/* Info-box */
.info-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.info-box h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}
.info-box ul { margin-bottom: 0; }

/* Highlight-box */
.highlight-box {
  background: var(--accent-pale);
  border: 1px solid rgba(245,158,11,0.25);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 2em 0;
  box-shadow: var(--shadow-sm);
}
.highlight-box h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 84px;
}

.sidebar-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.sidebar-block h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 12px;
}

.sidebar-toc {
  list-style: none;
  padding: 0;
}
.sidebar-toc li { margin-bottom: 5px; }
.sidebar-toc a {
  font-size: 0.87rem;
  color: var(--text);
  line-height: 1.4;
}
.sidebar-toc a:hover { color: var(--primary); }

.sidebar-toc ul {
  list-style: none;
  padding-left: 12px;
  margin-top: 4px;
}
.sidebar-toc ul li { margin-bottom: 3px; }

.sidebar-links {
  list-style: none;
  padding: 0;
}
.sidebar-links li {
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--border);
}
.sidebar-links li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-links a { font-size: 0.87rem; }

.sidebar-cta {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 22px;
  color: #fff;
}
.sidebar-cta h4 {
  font-family: 'Inter', system-ui, sans-serif;
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.sidebar-cta p { font-size: 0.9rem; margin-bottom: 14px; line-height: 1.5; }
.sidebar-cta a {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.sidebar-cta a:hover { opacity: 0.9; text-decoration: none; }

/* ============================================================
   PAGE D'ACCUEIL
   ============================================================ */

/* Boutons hero */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.btn-hero-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}
.btn-hero-primary:hover {
  background: #D97706;
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}
.btn-hero-secondary {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none;
  transition: background 0.18s;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  text-decoration: none;
  color: #fff;
}

/* Stats strip */
.home-stats {
  background: var(--primary);
  padding: 30px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.3;
}

/* Urgences strip */
.home-urgences {
  background: #001F4D;
  padding: 16px 0;
  border-bottom: 2px solid var(--accent);
}
.urgences-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.urgences-title {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 600;
}
.urgences-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.urgences-num {
  background: rgba(245,158,11,0.18);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid rgba(245,158,11,0.35);
  transition: background 0.15s;
}
.urgences-num:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* Discover cards */
.home-discover {
  padding: 64px 0 52px;
  background: #fff;
}
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.discover-card {
  position: relative;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.discover-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.discover-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-color: var(--card-color, var(--primary));
  transition: transform 0.45s ease;
}
.discover-card:hover .discover-card-bg {
  transform: scale(1.06);
}
.discover-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,20,50,0.90) 0%,
    rgba(0,20,50,0.28) 55%,
    rgba(0,20,50,0.05) 100%
  );
}
.discover-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  z-index: 1;
}
.discover-card-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}
.discover-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}
.discover-card-link {
  color: #fff;
  text-decoration: none;
}
.discover-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.discover-card-link:hover { color: #fff; text-decoration: none; }
.discover-card-links {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}
.discover-card-links li { display: inline; }
.discover-card-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
  z-index: 1;
}
.discover-card-links a:hover { color: #fff; }
.discover-card-links li:not(:last-child)::after {
  content: " ·";
  color: rgba(255,255,255,0.3);
}

/* Dégradés fallback */
.discover-card:nth-child(1) .discover-card-bg { background-image: var(--card-bg, linear-gradient(135deg,#005A9E,#003D6B)); }
.discover-card:nth-child(2) .discover-card-bg { background-image: var(--card-bg, linear-gradient(135deg,#002D5C,#004F8A)); }
.discover-card:nth-child(3) .discover-card-bg { background-image: var(--card-bg, linear-gradient(135deg,#003F7A,#1E88E5)); }
.discover-card:nth-child(4) .discover-card-bg { background-image: var(--card-bg, linear-gradient(135deg,#001F4D,#003D6B)); }
.discover-card:nth-child(5) .discover-card-bg { background-image: var(--card-bg, linear-gradient(135deg,#00336B,#1565C0)); }
.discover-card:nth-child(6) .discover-card-bg { background-image: var(--card-bg, linear-gradient(135deg,#002450,#005A9E)); }

/* Vie pratique */
.home-pratique {
  padding: 52px 0 64px;
  background: var(--bg);
}
.pratique-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pratique-card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s, transform 0.18s;
}
.pratique-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.pratique-icon {
  font-size: 1.4rem;
  margin-bottom: 8px;
  line-height: 1;
}
.pratique-title {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.15s;
}
.pratique-title:hover {
  color: var(--primary);
  text-decoration: none;
}
.cat-links {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  flex: 1;
}
.cat-links li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
}
.cat-links li:last-child { border-bottom: none; }
.cat-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s, padding-left 0.15s;
}
.cat-links a:hover {
  color: var(--primary);
  padding-left: 4px;
  text-decoration: none;
}

/* CTA section */
.home-cta {
  background: var(--primary);
  padding: 52px 0;
}
.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.home-cta h2 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 8px;
  font-family: 'Playfair Display', Georgia, serif;
}
.home-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 0;
}
.home-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-cta-light {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.18s;
}
.btn-cta-light:hover { opacity: 0.9; text-decoration: none; color: var(--primary); }
.btn-cta-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,0.45);
  text-decoration: none;
  transition: border-color 0.18s, background 0.18s;
}
.btn-cta-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  color: #fff;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ============================================================
   PAGE GÉNÉRIQUE (contact, mentions légales...)
   ============================================================ */

.page-simple {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}
.page-simple h1 { font-size: 2.2rem; margin-bottom: 32px; color: var(--dark); }
.page-simple h2 { font-size: 1.3rem; margin: 2em 0 0.6em; color: var(--dark); }
.page-simple p, .page-simple li { margin-bottom: 0.9em; }

/* ============================================================
   404
   ============================================================ */

.error-404 { padding: 80px 20px; text-align: center; }
.error-404-inner { max-width: 560px; margin: 0 auto; }
.error-code {
  display: block;
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  font-family: 'Playfair Display', Georgia, serif;
}
.error-404 h1 { font-size: 1.8rem; margin-bottom: 12px; }
.error-404 > .error-404-inner > p { color: var(--text-light); margin-bottom: 32px; }
.btn-home {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 48px;
}
.error-suggestions h2 { font-size: 1rem; color: var(--text-light); margin-bottom: 12px; }
.error-suggestions ul { list-style: none; padding: 0; }
.error-suggestions li { margin-bottom: 8px; }
.error-suggestions a { color: var(--primary); text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.62);
  padding: 60px 0 0;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-logo .logo-main { color: #fff; }
.footer-logo .logo-sub  { color: var(--accent); }

.footer-desc { line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .disclaimer-bar { padding: 0.4rem 1rem; font-size: 0.7rem; }
}

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item { padding: 12px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .discover-grid { grid-template-columns: repeat(2, 1fr); }
  .pratique-grid { grid-template-columns: repeat(2, 1fr); }
  .home-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--primary-dark); padding: 12px 0 20px; box-shadow: 0 12px 32px rgba(0,0,0,0.35); }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li > a { padding: 12px 24px; border-radius: 0; }
  .dropdown { position: static; transform: none; box-shadow: none; background: rgba(255,255,255,0.06); border-radius: 0; opacity: 1; visibility: visible; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,0.75); padding: 10px 24px 10px 36px; }
  .dropdown a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .dropdown::before { display: none; }
  .nav-toggle { display: flex; }
  .discover-grid { grid-template-columns: 1fr; }
  .pratique-grid { grid-template-columns: repeat(2, 1fr); }
  .urgences-inner { flex-direction: column; align-items: flex-start; }
  .hero-ctas { flex-direction: column; }
  .btn-hero-primary, .btn-hero-secondary { text-align: center; }
  .home-cta-buttons { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .article-layout { padding: 32px 16px 60px; gap: 32px; }
  /* Hero : hauteur auto sur mobile pour éviter que le texte soit coupé */
  .page-hero { height: auto; min-height: 260px; padding-top: 52px; }
  .hero-home { min-height: 340px; padding-top: 60px; }
  /* Tableaux déjà scroll via display:block, min-width pour les tableaux à 4+ colonnes */
  .article-body table { min-width: 480px; }
}

@media (max-width: 420px) {
  .pratique-grid { grid-template-columns: 1fr; }
}
