/* ============================================================
   Vie Sociale EHPAD — Feuille de styles principale
   Charte : bleu #3473B8, vert #5CBB52, tons chauds
   ============================================================ */

/* 1. VARIABLES & RESET
   ============================================================ */
:root {
  /* Couleurs logo */
  --blue:       #3473B8;
  --blue-dark:  #2559A0;
  --blue-light: #EBF3FB;
  --green:      #5CBB52;
  --green-dark: #449A3B;
  --green-light:#EBF7E9;
  --teal:       #44AABB;
  --teal-light: #E6F6F9;

  /* Tons chauds / neutres */
  --cream:      #FDF9F4;
  --sand:       #F4EFE6;
  --warm-gray:  #7A7670;

  /* Texte */
  --text:       #2C2C2C;
  --text-med:   #555555;
  --text-light: #888888;

  /* UI */
  --white:      #FFFFFF;
  --border:     #E2E0DB;
  --shadow:     rgba(52, 115, 184, 0.12);
  --shadow-md:  rgba(52, 115, 184, 0.20);

  /* Rayon / spacing */
  --radius:     12px;
  --radius-lg:  20px;
  --radius-pill:50px;

  /* Typographie */
  --font-head:  'Nunito', 'Segoe UI', Arial, sans-serif;
  --font-body:  'Open Sans', 'Segoe UI', Arial, sans-serif;

  /* Transitions */
  --trans:      0.25s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
ul { list-style: none; }

/* Focus visible pour accessibilité clavier */
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* 2. TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-med);
}

/* 3. LAYOUT UTILS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-med);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.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;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* 4. BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.975rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

.btn-secondary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-secondary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--blue); }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.875rem; }

/* 5. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  box-shadow: 0 2px 16px var(--shadow);
  transition: box-shadow var(--trans);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.site-logo img { height: 48px; width: auto; }
.site-logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--blue);
}
.site-logo-text span { color: var(--green); }

/* Nav principale */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: all var(--trans);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue);
  background: var(--blue-light);
  text-decoration: none;
}

.nav-link .nav-arrow {
  font-size: 0.65rem;
  transition: transform var(--trans);
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px var(--shadow-md);
  border: 1px solid var(--border);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
  pointer-events: none;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--white);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-med);
  transition: all var(--trans);
}
.dropdown a:hover {
  color: var(--blue);
  background: var(--blue-light);
  text-decoration: none;
  padding-left: 1.1rem;
}
.dropdown a .ico { font-size: 1rem; }

/* Burger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--trans);
}
.nav-toggle:hover { background: var(--blue-light); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--trans);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 6. HERO BANNER
   ============================================================ */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #2559A0 0%, #3473B8 45%, #44AABB 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg svg { position: absolute; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

/* Motif décoratif bulles */
.hero-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.bubble-1 { width: 320px; height: 320px; top: -80px; right: -60px; }
.bubble-2 { width: 180px; height: 180px; bottom: -40px; right: 20%; }
.bubble-3 { width: 90px; height: 90px; top: 40%; right: 30%; }
.bubble-4 { width: 50px; height: 50px; top: 20%; left: 15%; }
.bubble-5 { width: 240px; height: 240px; bottom: -80px; left: -60px; background: rgba(92,187,82,0.12); }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
  max-width: 680px;
}
.hero-content .section-label { color: rgba(255,255,255,0.85); }
.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content .lead { color: rgba(255,255,255,0.88); margin-bottom: 2rem; }

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Illustration côté droit du hero */
.hero-visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  max-width: 520px;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* 7. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all var(--trans);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}
.card-icon--blue  { background: var(--blue-light); }
.card-icon--green { background: var(--green-light); }
.card-icon--teal  { background: var(--teal-light); }

.card-title { margin-bottom: 0.75rem; }
.card-text  { color: var(--text-med); margin-bottom: 1.25rem; }

/* Card pilier (accueil) */
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px var(--shadow); }

.pillar-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}
.pillar-icon--blue  { background: var(--blue-light); }
.pillar-icon--green { background: var(--green-light); }
.pillar-icon--teal  { background: var(--teal-light); }

.pillar-card h3 { margin-bottom: 0.75rem; }
.pillar-card p  { color: var(--text-med); margin-bottom: 1.5rem; flex: 1; }

/* 8. SECTION BACKGROUNDS
   ============================================================ */
.bg-cream  { background: var(--cream); }
.bg-sand   { background: var(--sand); }
.bg-blue   { background: var(--blue); }
.bg-blue-l { background: var(--blue-light); }
.bg-green-l{ background: var(--green-light); }

/* 9. SECTION "POURQUOI LE LIEN SOCIAL"
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}
.benefit-item-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.benefit-item h4 { margin-bottom: 0.4rem; color: var(--blue-dark); }
.benefit-item p  { color: var(--text-med); font-size: 0.9375rem; }

/* 10. SECTION "ZOOM SUR"
   ============================================================ */
.zoom-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 8px 32px var(--shadow);
}

.zoom-card-img {
  min-height: 320px;
  background: linear-gradient(135deg, #5CBB52, #44AABB);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.zoom-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.zoom-card-img-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.9);
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.zoom-card-img-placeholder .big-ico { font-size: 5rem; display: block; margin-bottom: 1rem; }

.zoom-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.zoom-card-body .section-label { margin-bottom: 0.5rem; }
.zoom-card-body h3 { margin-bottom: 1rem; }
.zoom-card-body p { color: var(--text-med); }

/* 11. STATS BAR
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* 12. TESTIMONIALS
   ============================================================ */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  border: 1px solid var(--border);
}
.testimonial::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  color: var(--blue-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.testimonial-text { color: var(--text-med); font-style: italic; margin: 1.5rem 0 1.25rem; padding-left: 1rem; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.testimonial-name { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }

/* 13. IMAGE PLACEHOLDER (pour développement)
   ============================================================ */
.img-placeholder {
  background: linear-gradient(135deg, var(--blue-light), var(--green-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 260px;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 2rem;
}
.img-placeholder .img-ico { font-size: 3rem; }
.img-placeholder small { font-size: 0.75rem; color: var(--text-light); }

/* 14. PAGE HERO (sous-pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-bubbles .bubble { opacity: 0.06; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero .section-label { color: rgba(255,255,255,0.8); }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 640px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); text-decoration: none; }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* 15. SIDEBAR LAYOUT
   ============================================================ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}
.sidebar-card h4 { margin-bottom: 1rem; color: var(--blue); }
.sidebar-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-med);
  font-family: var(--font-head);
  font-weight: 600;
  transition: all var(--trans);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--blue);
  background: var(--blue-light);
  text-decoration: none;
  padding-left: 1rem;
}

/* 16. RICH CONTENT BLOCKS
   ============================================================ */
.rich-content h2 { margin: 2.5rem 0 1rem; color: var(--blue-dark); }
.rich-content h3 { margin: 2rem 0 0.75rem; }
.rich-content ul, .rich-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-med);
}
.rich-content li { margin-bottom: 0.5rem; list-style: disc; }
.rich-content ol li { list-style: decimal; }
.rich-content blockquote {
  border-left: 4px solid var(--green);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-med);
}
.rich-content .highlight-box {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--blue);
}
.rich-content .highlight-box h4 { color: var(--blue-dark); margin-bottom: 0.5rem; }

/* 17. CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 4rem 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p  { color: rgba(255,255,255,0.88); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* 18. FOOTER
   ============================================================ */
.site-footer {
  background: #1A2B4A;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo img { height: 40px; width: auto; filter: brightness(1.2); }
.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.3;
}
.footer-desc { font-size: 0.875rem; line-height: 1.7; }

.footer-col h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--trans);
}
.footer-col a:hover { color: var(--white); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.55); }
.footer-bottom-links a:hover { color: var(--white); }

/* 19. ACCORDEON / FAQ
   ============================================================ */
.accordion { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.975rem;
  color: var(--text);
  transition: all var(--trans);
}
.accordion-trigger:hover { background: var(--blue-light); color: var(--blue); }
.accordion-trigger.active { color: var(--blue); background: var(--blue-light); }

.accordion-icon { font-size: 0.9rem; transition: transform var(--trans); flex-shrink: 0; }
.accordion-trigger.active .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--cream);
}
.accordion-body.open { max-height: 600px; }
.accordion-body-inner {
  padding: 1rem 1.5rem 1.5rem;
  color: var(--text-med);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* 20. TAG / BADGE
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 700;
}
.tag-blue  { background: var(--blue-light); color: var(--blue-dark); }
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-teal  { background: var(--teal-light); color: var(--teal); }

/* 21. SKIP LINK (accessibilité)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  transition: top var(--trans);
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* 22. FORMS (contact)
   ============================================================ */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans);
  appearance: none;
}
.form-control:focus { border-color: var(--blue); outline: none; }
textarea.form-control { resize: vertical; min-height: 140px; }

.form-hint { font-size: 0.8rem; color: var(--text-light); margin-top: 0.3rem; }

/* 23. RESPONSIVE — TABLET (≤ 992px)
   ============================================================ */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .zoom-card { grid-template-columns: 1fr; }
  .zoom-card-img { min-height: 240px; }
  .hero-visual { display: none; }
}

/* 24. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 1.25rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 800;
  }
  .main-nav.open { transform: translateX(0); }

  .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--cream);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    padding: 0.25rem 0 0.25rem 1rem;
  }
  .dropdown.mobile-open { display: block; }
  .dropdown::before { display: none; }

  .hero { min-height: 480px; }
  .hero-content { padding: 3.5rem 0; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 3.5rem 0; }

  .zoom-card { border-radius: var(--radius); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }
}

/* Grille lien-social accueil */
.lien-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .lien-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* 25. PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero { min-height: auto; background: none; }
  .hero-content h1, .hero-content .lead { color: #000; }
}
