/* ============================================
   SANTÉ FORME — Design System & Styles
   Colors: Vert #81B844, Bleu #199DD3, Orange #FEAC3F, Gris #78797F
   Fonts: Poppins (titres/boutons), Lora (paragraphes/citations)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lora', Georgia, serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #199DD3; text-decoration: none; transition: color .2s; }
a:hover { color: #1480ab; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', Arial, sans-serif; font-weight: 600; line-height: 1.3; color: #2c3e50; }
h1 { font-size: 2.25rem; margin-bottom: .5rem; }
h2 { font-size: 1.65rem; margin-bottom: .75rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

/* --- CSS Variables --- */
:root {
  --vert: #81B844;
  --bleu: #199DD3;
  --orange: #FEAC3F;
  --gris: #78797F;
  --gris-clair: #f5f6f8;
  --gris-border: #e0e2e6;
  --text: #333;
  --text-light: #5a5a5a;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,.06);
  --shadow-hover: 0 4px 20px rgba(0,0,0,.1);
  --max-width: 1200px;
  --transition: .25s ease;
}

/* --- Container --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Utility --- */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--bleu);
  margin-bottom: .35rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gris-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 52px; width: auto; }
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.05rem; color: #2c3e50; line-height: 1.2; }
.logo-text small { display: block; font-weight: 400; font-size: .72rem; color: var(--gris); }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--bleu);
  background: rgba(25,157,211,.07);
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  border-radius: 24px !important;
  padding: 10px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 8px rgba(254,172,63,.3);
}
.nav-cta:hover { background: #e99a2e !important; box-shadow: 0 4px 14px rgba(254,172,63,.4); }

/* Hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); border-radius: 2px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 28px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 3px 12px rgba(254,172,63,.3); }
.btn-primary:hover { background: #e99a2e; color: var(--white); box-shadow: 0 5px 18px rgba(254,172,63,.4); transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.btn-secondary:hover { background: var(--bleu); color: var(--white); transform: translateY(-1px); }
.btn-vert { background: var(--vert); color: var(--white); box-shadow: 0 3px 12px rgba(129,184,68,.3); }
.btn-vert:hover { background: #6fa33a; color: var(--white); }
.btn-sm { padding: 10px 22px; font-size: .85rem; border-radius: 22px; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.25rem; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 64px 0 56px;
  background: linear-gradient(135deg, #f0f9ff 0%, #f7fdf2 50%, #fff8eb 100%);
}
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero-content { flex: 1; min-width: 0; }
.hero-content h1 { font-size: 2.4rem; margin-bottom: .6rem; }
.hero-chapo { font-size: 1.1rem; color: var(--text-light); margin-bottom: .25rem; line-height: 1.75; }
.hero-visual {
  flex: 0 0 380px;
  height: 260px;
  background: var(--gris-clair);
  border-radius: var(--radius);
  border: 2px dashed var(--gris-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
}
.hero-permanence {
  margin-top: 1.25rem;
  padding: 14px 20px;
  background: var(--white);
  border-left: 4px solid var(--bleu);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--text-light);
  box-shadow: var(--shadow);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 64px 0; }
.section-alt { background: var(--gris-clair); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 4px solid var(--gris-border);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-vert { border-top-color: var(--vert); }
.card-bleu { border-top-color: var(--bleu); }
.card-orange { border-top-color: var(--orange); }
.card-gris { border-top-color: var(--gris); }

.card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--text-light); margin-bottom: .75rem; }
.card .tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tag-vert { background: rgba(129,184,68,.12); color: var(--vert); }
.tag-bleu { background: rgba(25,157,211,.1); color: var(--bleu); }
.tag-orange { background: rgba(254,172,63,.12); color: #d48a1a; }
.tag-gris { background: rgba(120,121,127,.1); color: var(--gris); }
.card-link { font-family: 'Poppins', sans-serif; font-size: .85rem; font-weight: 600; color: var(--bleu); display: inline-flex; align-items: center; gap: 4px; }
.card-link::after { content: '\2192'; transition: transform .2s; }
.card-link:hover::after { transform: translateX(4px); }

/* Public cards (Accueil hero section) */
.public-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.public-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--bleu);
  transition: box-shadow var(--transition), transform var(--transition);
}
.public-card:nth-child(1) { border-top-color: var(--vert); }
.public-card:nth-child(2) { border-top-color: var(--bleu); }
.public-card:nth-child(3) { border-top-color: var(--orange); }
.public-card:nth-child(4) { border-top-color: var(--gris); }
.public-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.public-card .icon { font-size: 2rem; margin-bottom: .5rem; }
.public-card h3 { font-size: .95rem; margin-bottom: .4rem; color: #2c3e50; }
.public-card p { font-size: .82rem; color: var(--text-light); margin: 0; }

/* ============================================
   STEPS (Comment ça marche)
   ============================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--bleu);
  color: var(--white);
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(25,157,211,.25);
}
.step h3 { font-size: 1rem; margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--text-light); }

/* ============================================
   KPI / CHIFFRES CLÉS
   ============================================ */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.kpi-value {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bleu);
  line-height: 1;
  margin-bottom: .35rem;
}
.kpi-label { font-size: .92rem; color: var(--text-light); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--vert);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: 'Lora', serif;
  font-size: 3.5rem;
  color: rgba(129,184,68,.2);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}
.testimonial blockquote {
  font-style: italic;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .75rem;
  padding-left: 8px;
}
.testimonial cite {
  font-family: 'Poppins', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  font-style: normal;
  color: var(--gris);
}

/* ============================================
   EVENTS / AGENDA
   ============================================ */
.events-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--orange);
}
.event-date {
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.event-card h3 { font-size: 1rem; margin-bottom: .35rem; }
.event-card p { font-size: .88rem; color: var(--text-light); }

/* ============================================
   PARTNERS / LOGOS
   ============================================ */
.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.partner-placeholder {
  width: 120px;
  height: 60px;
  background: var(--gris-clair);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--gris-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: .72rem;
  color: var(--gris);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--bleu), #1480ab);
  color: var(--white);
  padding: 48px 0;
}
.newsletter-section h2 { color: var(--white); }
.newsletter-section p { color: rgba(255,255,255,.85); }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 28px;
  font-family: 'Lora', serif;
  font-size: .92rem;
  outline: none;
}
.newsletter-form button {
  padding: 14px 28px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: #e99a2e; }
.newsletter-rgpd {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin-top: .75rem;
  text-align: center;
}

/* ============================================
   CONTENT BLOCKS (2 col layout)
   ============================================ */
.content-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.content-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--bleu);
}
.content-block h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gris-clair);
}

/* ============================================
   FILTER BAR (Programmes)
   ============================================ */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-bar label {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
}
.filter-bar select,
.filter-bar input[type="search"] {
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  padding: 8px 14px;
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
}
.filter-bar select:focus,
.filter-bar input[type="search"]:focus {
  border-color: var(--bleu);
}
.filter-bar input[type="search"] { flex: 1; min-width: 180px; }

/* ============================================
   PROGRAMME CARDS
   ============================================ */
.prog-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prog-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.prog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.prog-card-header {
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 600;
}
.prog-card-header.bg-vert { background: var(--vert); }
.prog-card-header.bg-bleu { background: var(--bleu); }
.prog-card-header.bg-orange { background: var(--orange); }
.prog-card-header.bg-gris { background: var(--gris); }
.prog-card-body { padding: 18px; }
.prog-card-body p { font-size: .85rem; color: var(--text-light); margin-bottom: .5rem; }
.prog-card-body .tag { margin-bottom: .75rem; }

/* ============================================
   CONTACT / FORM
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form-card h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.contact-form-card > p { font-size: .9rem; color: var(--text-light); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: .35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gris-border);
  border-radius: var(--radius-sm);
  font-family: 'Lora', serif;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bleu);
  box-shadow: 0 0 0 3px rgba(25,157,211,.1);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.form-check input[type="checkbox"] { margin-top: 4px; accent-color: var(--bleu); }
.form-check label { font-size: .82rem; color: var(--text-light); line-height: 1.4; }

/* Contact info side */
.contact-info-side h3 { margin-bottom: 1rem; }
.contact-info-block {
  background: var(--gris-clair);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.contact-info-block h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-info-block p { font-size: .88rem; color: var(--text-light); margin-bottom: .35rem; }
.map-placeholder {
  width: 100%;
  height: 220px;
  background: var(--gris-clair);
  border-radius: var(--radius);
  border: 2px dashed var(--gris-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  color: var(--gris);
  font-size: .88rem;
}

/* ============================================
   TEAM MEMBERS
   ============================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.team-avatar {
  width: 80px;
  height: 80px;
  background: var(--gris-clair);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gris);
  border: 3px solid var(--bleu);
}
.team-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.team-card .role { font-family: 'Poppins', sans-serif; font-size: .8rem; color: var(--bleu); font-weight: 500; margin-bottom: .75rem; }
.team-card p { font-size: .85rem; color: var(--text-light); }

/* ============================================
   BENEFITS LIST
   ============================================ */
.benefits-list { list-style: none; padding: 0; }
.benefits-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  font-size: .95rem;
  color: var(--text);
  border-bottom: 1px solid var(--gris-clair);
}
.benefits-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--vert);
  font-weight: 700;
  font-size: 1.1rem;
}
.benefits-list li:last-child { border-bottom: none; }

/* ============================================
   MSS / PRESCRIPTEUR BADGE
   ============================================ */
.badge-dispositif {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(129,184,68,.1);
  color: var(--vert);
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #2c3e50;
  color: rgba(255,255,255,.75);
  padding: 48px 0 0;
}
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col p { font-size: .85rem; line-height: 1.65; margin-bottom: .5rem; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col a { color: rgba(255,255,255,.7); font-size: .85rem; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo img { height: 42px; }
.footer-social { display: flex; gap: 12px; margin-top: 1rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: var(--white);
  font-size: .9rem;
  transition: background .2s;
}
.footer-social a:hover { background: var(--bleu); }
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 18px 24px;
  box-shadow: 0 -2px 16px rgba(0,0,0,.1);
  z-index: 2000;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cookie-inner p { font-size: .85rem; color: var(--text-light); margin: 0; }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-buttons button {
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  border: 1px solid var(--gris-border);
  background: var(--white);
  color: var(--text);
  transition: all .2s;
}
.cookie-buttons .accept { background: var(--vert); color: var(--white); border-color: var(--vert); }
.cookie-buttons .refuse { background: transparent; }

/* ============================================
   CALLBACK MODAL
   ============================================ */
.callback-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}
.callback-modal-overlay.show { display: flex; }
.callback-modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  position: relative;
}
.callback-modal h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.callback-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gris);
  cursor: pointer;
  line-height: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-visual { flex: none; width: 100%; max-width: 400px; }
  .btn-group { justify-content: center; }
  .public-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .prog-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .events-list { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .hero-content h1 { font-size: 1.8rem; }
  .section { padding: 48px 0; }

  /* Nav mobile */
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 16px; font-size: 1rem; width: 100%; }
  .nav-toggle { display: block; }

  .public-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; gap: 20px; }
  .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
  .content-blocks { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .prog-cards { grid-template-columns: 1fr; }
  .events-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .hero-permanence { text-align: center; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .site-header, .site-footer, .cookie-banner, .callback-modal-overlay, .newsletter-section { display: none; }
  .section { padding: 20px 0; }
  body { font-size: 12pt; }
}
