@font-face {
  font-family: Mistral;
  src: url("../images/Mistral.woff") format("woff"), url("../images/Mistral-1.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --violet: #6B21A8;
  --violet-clair: #9333EA;
  --violet-pale: #F3E8FF;
  --violet-sombre: #3B0764;
  --rose: #EC4899;
  --blanc: #FFFFFF;
  --gris-clair: #F8F5FF;
  --gris: #6B7280;
  --texte: #1F1035;
  --nav-height: 72px;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, "Segoe UI", system-ui, sans-serif; color: var(--texte); background: var(--blanc); line-height: 1.7; overflow-x: hidden; }

nav { position: fixed; top: 0; left: 0; right: 0; height: 96px; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(107,33,168,0.12); z-index: 1000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 0 2rem; gap: 1rem; }

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 90px; width: auto; }
.nav-logo div { display: flex; flex-direction: column; gap: 2px; }
/* ✅ Titre Notre Monde A Nous × 3 */
.nav-logo span { font-family: Mistral, cursive; font-size: 2.64rem; color: var(--violet); line-height: 1.2; white-space: nowrap; }
/* ✅ Sous-titre plus lisible */
.nav-logo-sous { font-family: Inter, system-ui, sans-serif !important; font-weight: normal !important; font-size: 1rem !important; color: var(--gris) !important; font-style: normal !important; white-space: nowrap !important; letter-spacing: 0.02em !important; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 0.1rem; list-style: none; }
.nav-links li a { text-decoration: none; color: var(--texte); font-family: Inter, system-ui, sans-serif; font-size: 0.88rem; padding: 6px 12px; border-radius: 50px; transition: var(--transition); white-space: nowrap; display: flex; align-items: center; }
.nav-links li a .patte img { width: 16px; height: 16px; vertical-align: middle; }
.nav-links li a .patte { display: inline-block; font-size: 0.85rem; opacity: 0; max-width: 0; overflow: hidden; transform: translateX(-4px); transition: opacity 0.25s, max-width 0.25s, transform 0.25s, margin-right 0.25s; margin-right: 0; }
.nav-links li a:hover .patte, .nav-links li a.active .patte { opacity: 1; max-width: 1.2rem; transform: translateX(0); margin-right: 4px; }
.nav-links li a:hover, .nav-links li a.active { background: var(--violet-pale); color: var(--violet); }

.nav-dropdown { position: relative; cursor: pointer; }
.nav-dropdown > a::after { content: " ▾"; font-size: 0.7rem; }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: white; border: 1px solid rgba(107,33,168,0.15); border-radius: 12px; padding: 8px; min-width: 200px; box-shadow: 0 8px 32px rgba(107,33,168,0.12); pointer-events: auto; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu, .nav-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 14px; border-radius: 8px; font-size: 0.85rem; }

.nav-don-mobile { display: none; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--violet); border-radius: 2px; transition: var(--transition); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn-don-nav { display: inline-block; background: var(--violet); color: white; font-weight: 600; font-size: 0.85rem; padding: 8px 18px; border-radius: 50px; text-decoration: none; white-space: nowrap; transition: var(--transition); flex-shrink: 0; border: 2px solid var(--violet); }
.btn-don-nav:hover { background: var(--violet-sombre); border-color: var(--violet-sombre); }

/* ===== HERO ===== */
.hero { padding-top: var(--nav-height); min-height: 82vh; display: flex; flex-direction: column; background: linear-gradient(135deg, rgb(45,10,107) 0%, rgb(107,33,168) 45%, rgb(192,38,211) 75%, rgb(190,24,93) 100%); position: relative; overflow: hidden; }
.hero-inner { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 0; gap: 2rem; width: 100%; }
.hero-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); font-size: 0.82rem; padding: 5px 14px; border-radius: 50px; letter-spacing: 0.05em; }
.hero-titre { font-family: 'Outfit', sans-serif !important; font-weight: 800 !important; font-size: clamp(2rem, 3.5vw, 3.2rem); color: white; line-height: 1.2; margin: 0; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.85); max-width: 520px; line-height: 1.8; margin: 0; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-btn-primary { display: inline-block; background: white; color: var(--violet); font-weight: 700; font-size: 0.95rem; padding: 12px 26px; border-radius: 50px; text-decoration: none; transition: var(--transition); }
.hero-btn-primary:hover { background: var(--violet-pale); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.hero-btn-outline { display: inline-block; background: transparent; color: white; font-weight: 600; font-size: 0.95rem; padding: 12px 26px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.5); text-decoration: none; transition: var(--transition); }
.hero-btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }
.hero-img { display: flex; align-items: flex-end; justify-content: center; }
.hero-img img { width: 100%; max-width: 420px; height: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35)); animation: float 4s ease-in-out infinite; }
.hero-wave { line-height: 0; margin-top: auto; }
.hero-wave svg { width: 100%; height: 60px; display: block; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== BOUTONS ===== */
.btn { display: inline-block; padding: 14px 32px; border-radius: 50px; font-family: Inter, system-ui, sans-serif; font-size: 1rem; text-decoration: none; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: white; color: var(--violet); font-weight: bold; }
.btn-primary:hover { background: var(--violet-pale); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-violet { background: var(--violet); color: white; }
.btn-violet:hover { background: var(--violet-sombre); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,33,168,0.3); }
.btn-outline { background: transparent; color: var(--violet); border: 2px solid var(--violet); }
.btn-outline:hover { background: var(--violet); color: white; }
.btn-helloasso { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--violet); color: white; font-weight: 600; font-size: 1rem; padding: 12px 28px; border-radius: 50px; text-decoration: none; transition: var(--transition); width: 100%; text-align: center; }
.btn-helloasso img { height: 20px; }
.btn-helloasso:hover { background: var(--violet-sombre); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,33,168,0.3); }

/* ===== SECTIONS ===== */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--gris-clair); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-family: Mistral, cursive; font-size: clamp(2rem, 4vw, 3rem); color: var(--violet); text-align: center; margin-bottom: 0.75rem; }
.section-subtitle { text-align: center; color: var(--gris); font-size: 1.05rem; margin-bottom: 3rem; }

/* ===== PRÉSENTATION ===== */
.presentation-grid { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.presentation-texte p { font-size: 1.05rem; line-height: 1.9; color: var(--texte); margin-bottom: 2rem; }
.pills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.pill { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; background: var(--violet-pale); border-radius: 12px; font-size: 0.88rem; color: var(--texte); }
.presentation-img { flex-shrink: 0; }
.container-img { width: 320px; border-radius: 40px; overflow: hidden; position: relative; cursor: pointer; }
.container-img img { width: 320px; height: auto; display: block; border-radius: 40px; }
.infos-hover { position: absolute; inset: 0; background: rgba(80,10,130,0.75); border-radius: 40px; transform: translateY(100%); transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); display: flex; align-items: flex-start; justify-content: center; padding: 1.5rem; text-align: center; backdrop-filter: blur(3px); }
.container-img:hover .infos-hover { transform: translateY(0); }
.infos-hover-inner { margin-top: 50px; }

/* Vague transition sections */
.section-wave-down { display: block; line-height: 0; margin-bottom: -2px; background: white; }
.section-wave-down svg { width: 100%; height: 60px; display: block; }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 24px rgba(107,33,168,0.08); transition: var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(107,33,168,0.16); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { font-family: Mistral, cursive; font-size: 1.5rem; color: var(--violet); margin-bottom: 0.5rem; }
.card-body p { color: var(--gris); font-size: 0.95rem; }
.card-tag { display: inline-block; background: var(--violet-pale); color: var(--violet); font-size: 0.78rem; padding: 3px 12px; border-radius: 50px; margin-bottom: 0.75rem; }

/* ===== LOUPINOUS ===== */
.loupinous-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.loupinou-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: 0 4px 24px rgba(107,33,168,0.1); }
.loupinou-card img { width: 100%; height: 300px; object-fit: cover; display: block; transition: transform 0.4s; }
.loupinou-card:hover img { transform: scale(1.05); }
.loupinou-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(59,7,100,0.9) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; opacity: 0; transition: var(--transition); }
.loupinou-card:hover .loupinou-overlay { opacity: 1; }
.loupinou-overlay h3 { font-family: Mistral, cursive; color: white; font-size: 1.6rem; }
.loupinou-overlay a { color: rgba(255,255,255,0.8); font-size: 0.85rem; text-decoration: none; margin-top: 0.25rem; }
.loupinou-name { position: absolute; bottom: 1rem; left: 1.5rem; font-family: Mistral, cursive; font-size: 1.4rem; color: white; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }

/* ===== MODAL ===== */
.modal-backdrop { display: none; position: fixed; inset: 0; background: rgba(59,7,100,0.7); z-index: 2000; align-items: center; justify-content: center; padding: 2rem; }
.modal-backdrop.open { display: flex; }
.modal { background: white; border-radius: 24px; max-width: 720px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 2.5rem; position: relative; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: var(--violet-pale); border: none; border-radius: 50%; width: 36px; height: 36px; font-size: 1.2rem; cursor: pointer; color: var(--violet); display: flex; align-items: center; justify-content: center; }
.modal h2 { font-family: 'Outfit', sans-serif !important; font-weight: 800 !important; color: var(--violet); font-size: 2rem; margin-bottom: 1rem; }
.modal ul { padding-left: 1.5rem; margin: 0.75rem 0; }
.modal ul li { margin-bottom: 0.4rem; color: var(--gris); }

/* ===== DON ===== */
.don-section { text-align: left; background: linear-gradient(135deg, rgb(124,58,237), rgb(147,51,234)); }
.don-grid { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.don-section h2 { font-family: 'Outfit', sans-serif !important; font-weight: 800 !important; }
.don-gauche h2 { font-family: 'Outfit', sans-serif !important; font-weight: 800 !important; font-size: 2.4rem; color: white; margin-bottom: 1.25rem; text-align: left; }
.don-gauche p { color: rgba(255,255,255,0.9); line-height: 1.8; font-size: 1rem; }
.don-sous-titre { font-family: Mistral, cursive; font-size: 1.7rem; color: white; margin-top: 2rem; text-align: left; }
.don-droite { flex-shrink: 0; }
.don-card { background: white; border-radius: 24px; padding: 2rem 1.75rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; box-shadow: 0 16px 48px rgba(0,0,0,0.18); min-width: 220px; }
.don-qr-img { width: 150px; height: 150px; object-fit: contain; border-radius: 8px; }
.don-qr-label { font-size: 0.82rem; color: var(--gris); text-align: center; }
.don-separateur { font-size: 0.8rem; color: var(--gris); text-transform: uppercase; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.75rem; width: 100%; }
.don-separateur::before, .don-separateur::after { content: ""; flex: 1; height: 1px; background: rgba(107,33,168,0.15); }
.don-logo-ha { height: 20px; opacity: 0.55; margin-top: 0.25rem; }
.qr-don { display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.qr-don img { width: 140px; border-radius: 12px; background: white; padding: 8px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 18px; border: 1.5px solid rgba(107,33,168,0.2); border-radius: 12px; font-family: Inter, system-ui, sans-serif; font-size: 1rem; outline: none; transition: var(--transition); background: white; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(107,33,168,0.1); }
.contact-form textarea { height: 160px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--texte); transition: var(--transition); }
.contact-item:hover { color: var(--violet); }
.contact-item img { width: 40px; height: 40px; object-fit: contain; }

/* ===== PAGE HEADER ===== */
.page-header { padding: calc(var(--nav-height) + 3rem) 2rem 3rem; background: linear-gradient(135deg, rgb(124,58,237), rgb(147,51,234)); text-align: center; color: white; }
.page-header h1 { font-family: Mistral, cursive; font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 0.75rem; }
.page-header p { opacity: 0.88; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.agenda-img { width: 100%; border-radius: var(--radius); margin-bottom: 2rem; box-shadow: 0 8px 32px rgba(107,33,168,0.1); }

/* ===== VAGUE FOOTER ===== */
.footer-wave { display: block; line-height: 0; margin-bottom: -2px; background: linear-gradient(135deg, rgb(124,58,237), rgb(147,51,234)); }
.footer-wave svg { width: 100%; height: 80px; display: block; }

/* ===== FOOTER ===== */
footer { background: var(--violet-sombre); color: rgba(255,255,255,0.7); padding: 0 0 0; }

/* Colonnes */
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding: 3rem 2rem 2.5rem; }
.footer-col-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-logo-link img { height: 72px; width: auto; flex-shrink: 0; object-fit: contain; }
.footer-logo-titre { display: block; font-family: Mistral, cursive; font-size: 1.6rem; color: white; line-height: 1.2; }
.footer-logo-sous { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.55); font-style: italic; }
.footer-description { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 300px; }

/* Icônes réseaux sociaux */
.footer-socials { display: flex; flex-direction: row; gap: 0.75rem; margin-top: 0.5rem; }
.footer-social-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: rgba(255,255,255,0.12); border-radius: 50%; transition: var(--transition); overflow: hidden; flex-shrink: 0; }
.footer-social-btn:hover { background: rgba(255,255,255,0.25); transform: translateY(-3px); }
.footer-social-btn img,
.footer-social-btn svg { width: 22px; height: 22px; min-width: 22px; max-width: 22px; object-fit: contain; display: block; }

.footer-heading { color: white; margin-bottom: 1rem; font-family: Mistral, cursive; font-size: 1.2rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: white; padding-left: 4px; }
.footer-icon { font-size: 0.9rem; }

/* Barre du bas */
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; align-items: center; gap: 0.75rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); text-decoration: none; transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom-links span { color: rgba(255,255,255,0.25); }

/* ===== ALERTES ===== */
.alert { padding: 14px 20px; border-radius: 12px; font-size: 0.95rem; display: none; }
.alert.success { background: rgb(209,250,229); color: rgb(6,95,70); display: block; }
.alert.error { background: rgb(254,226,226); color: rgb(153,27,27); display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding-bottom: 1rem; }
  .hero-texte { align-items: center; }
  .hero-img img { max-width: 280px; }
  .presentation-grid { grid-template-columns: 1fr; }
  .container-img, .container-img img { width: 100%; }
  .pills-grid { grid-template-columns: 1fr; }
  .btn-don-nav { display: none; }
  .don-grid { grid-template-columns: 1fr; }
  .don-gauche h2, .don-sous-titre { text-align: center; }
  .don-card { width: 100%; max-width: 280px; margin: 0 auto; }
  .nav-logo-sous { font-size: 0.62rem !important; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: white; padding: 1rem; border-bottom: 1px solid rgba(107,33,168,0.1); gap: 0; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; border-radius: 8px; }
  .nav-burger { display: flex; }
  .nav-don-mobile { display: block; margin-top: 0.5rem; padding: 0 4px; }
  .nav-don-mobile a { background: var(--violet) !important; color: white !important; font-weight: 700 !important; text-align: center; justify-content: center; border-radius: 50px !important; padding: 12px 16px !important; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-img { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ✅ h2 global Outfit */
h2 { font-family: 'Outfit', sans-serif !important; font-weight: 800 !important; }

/* ===== OPTIMISATION MOBILE ===== */
@media (max-width: 600px) {
  :root { --nav-height: 64px; }

  /* Navigation */
  nav { height: 64px; padding: 0 1rem; }
  .nav-logo img { height: 50px; }
  .nav-logo span { font-size: 1.5rem; }
  .nav-logo-sous { display: none !important; }
  .btn-don-nav { display: none; }

  /* Sections */
  .section { padding: 2.5rem 1rem; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner { padding: 2rem 1rem 0; gap: 1rem; }
  .hero-titre { font-size: 1.8rem !important; }
  .hero-sub { font-size: 0.92rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; }
  .hero-btn-primary, .hero-btn-outline { text-align: center; padding: 13px 20px; }
  .hero-img { display: none; }

  /* Page headers */
  .page-header { padding: calc(64px + 1.5rem) 1rem 1.5rem; }
  .page-header h1 { font-size: 1.9rem; }
  .page-header p { font-size: 0.92rem; }

  /* Grilles et cards */
  .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .loupinous-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .loupinou-card img { height: 180px; }
  .loupinou-name { font-size: 1.1rem; bottom: 0.5rem; left: 0.75rem; }
  .presentation-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pills-grid { grid-template-columns: 1fr; }
  .container-img { width: 100%; }
  .container-img img { width: 100%; }

  /* Modal */
  .modal-backdrop { padding: 0.5rem; align-items: flex-end; }
  .modal { padding: 1.5rem 1rem 2rem; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .modal h2 { font-size: 1.4rem; }

  /* Don */
  .don-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .don-gauche h2 { font-size: 1.7rem; }
  .don-sous-titre { font-size: 1.3rem; }
  .don-card { width: 100%; max-width: 100%; }
  .qr-don { gap: 1.25rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-form input, .contact-form textarea { font-size: 1rem; padding: 12px 14px; }

  /* Boutons pleine largeur sur mobile */
  .hero-btns .btn, .section .btn { display: block; text-align: center; }

  /* Footer */
  .footer-content { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.25rem 1.25rem; }
  .footer-description { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 1.25rem 1rem; gap: 0.5rem; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  /* Protection overflow global */
  body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }
  pre, code { white-space: pre-wrap; word-break: break-word; }

  /* Boutons tactiles : taille minimum 44px */
  .btn, .btn-violet, .btn-outline, .btn-primary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  a[class*="btn"] { min-height: 44px; }
}

/* ===== IMAGES DANS LES FICHES LOUPINOUS ET MODALS ===== */
.fiche-desc img,
.fiche-content img,
.modal img,
.modal-body img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  max-height: 420px !important;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0.75rem auto;
}
