:root {
  --teal:        #0d7a6e;
  --teal-light:  #1aad9b;
  --teal-pale:   #e6f7f5;
  --green:       #3d9b6a;
  --green-light: #e8f5ee;
  --sand:        #f9f5f0;
  --charcoal:    #1c2b2a;
  --slate:       #3d5450;
  --muted:       #7a9490;
  --white:       #ffffff;
  --danger:      #d94f3d;
  --shadow:      0 8px 40px rgba(13,122,110,.12);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--sand); color: var(--charcoal); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 2.5%; gap: 12px;
  background: rgba(249,245,240,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13,122,110,.1);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(13,122,110,.1); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--green)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 16px; list-style: none; flex-wrap: nowrap; }
.nav-links a { text-decoration: none; color: var(--slate); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); font-weight: 600; border-bottom: 2px solid var(--teal); padding-bottom: 4px; }
.nav-cta { display: flex; gap: 12px; }
.btn-sos { background: var(--danger); color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: all .2s; }
.btn-sos:hover { background: #c0392b; transform: scale(1.03); }
.btn-nav-donate { background: linear-gradient(135deg,#e67e22,#f39c12); color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: all .2s; box-shadow: 0 3px 10px rgba(230,126,34,.3); }
.btn-nav-donate:hover { transform: scale(1.03); box-shadow: 0 5px 16px rgba(230,126,34,.4); }
.btn-nav-ghost { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); border-radius: 8px; padding: 8px 18px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .2s; }
.btn-nav-ghost:hover { background: var(--teal); color: #fff; }

/* ── PAGE HEADER ── */
.page-header {
  padding: 140px 6% 70px;
  background: linear-gradient(135deg, var(--charcoal), #2a3f3d);
  color: var(--white);
}
.page-header .label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-light); margin-bottom: 12px; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5vw, 54px); font-weight: 900; line-height: 1.15; margin-bottom: 18px; }
.page-header p { font-size: 16px; color: rgba(255,255,255,.65); max-width: 520px; line-height: 1.7; }

/* ── SECTIONS ── */
section { padding: 80px 6%; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 40px); font-weight: 700; color: var(--charcoal); margin-bottom: 14px; }
.section-desc { font-size: 15px; color: var(--muted); max-width: 520px; line-height: 1.7; margin-bottom: 40px; }

/* ── CARDS ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: 16px; padding: 28px; border: 1px solid rgba(13,122,110,.08); transition: all .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--teal-pale); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.card-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── BUTTONS ── */
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-light)); color: #fff; border: none; border-radius: 10px; padding: 13px 26px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; box-shadow: 0 6px 20px rgba(13,122,110,.3); text-decoration: none; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,122,110,.35); }
.btn-secondary { background: transparent; color: var(--teal); border: 2px solid var(--teal); border-radius: 10px; padding: 11px 24px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all .3s; text-decoration: none; }
.btn-secondary:hover { background: var(--teal); color: #fff; }

/* ── FOOTER ── */
footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 60px 6% 30px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.5); margin-top: 14px; max-width: 260px; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; flex-wrap: wrap; gap: 12px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--teal-light); }

/* ── SOS FLOATING ── */
.sos-floating { position: fixed; bottom: 28px; right: 28px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.sos-btn-float { width: 64px; height: 64px; border-radius: 50%; background: var(--danger); color: #fff; border: none; font-size: 22px; cursor: pointer; box-shadow: 0 6px 24px rgba(217,79,61,.45); display: flex; align-items: center; justify-content: center; animation: sos-pulse 2.5s ease-in-out infinite; }
@keyframes sos-pulse { 0%,100%{box-shadow:0 6px 24px rgba(217,79,61,.45);}50%{box-shadow:0 6px 40px rgba(217,79,61,.7),0 0 0 10px rgba(217,79,61,.12);} }
.sos-label { background: var(--charcoal); color: #fff; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .2s; pointer-events: none; }
.sos-floating:hover .sos-label { opacity: 1; transform: translateX(0); }

/* ── MODAL ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 500; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.modal-overlay.show { display: flex; }
.modal { background: #fff; border-radius: 20px; padding: 36px; max-width: 440px; width: 90%; }
.modal h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--danger); margin-bottom: 8px; }
.modal p { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.6; }
.modal-contacts { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.modal-contact-btn { display: flex; align-items: center; gap: 14px; background: var(--sand); border: 1.5px solid rgba(13,122,110,.15); border-radius: 10px; padding: 14px 18px; cursor: pointer; transition: all .2s; text-align: left; width: 100%; }
.modal-contact-btn:hover { border-color: var(--teal); background: var(--teal-pale); }
.modal-contact-btn .icon { font-size: 22px; }
.modal-contact-btn .info strong { display: block; font-size: 15px; color: var(--charcoal); }
.modal-contact-btn .info span { font-size: 12px; color: var(--muted); }
.modal-close { width: 100%; background: var(--sand); border: none; border-radius: 8px; padding: 11px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--muted); cursor: pointer; }
.modal-close:hover { background: #e8e4e0; }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── URGENCE BANNER ── */
.urgence-banner { background: linear-gradient(135deg, var(--danger), #c0392b); padding: 50px 6%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.urgence-banner h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: #fff; font-weight: 700; margin-bottom: 6px; }
.urgence-banner p { color: rgba(255,255,255,.8); font-size: 14px; }
.urgence-contacts { display: flex; gap: 14px; flex-wrap: wrap; }
.urgence-contact { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 10px; padding: 14px 20px; text-align: center; transition: all .2s; cursor: pointer; text-decoration: none; }
.urgence-contact:hover { background: rgba(255,255,255,.2); }
.urgence-contact .num { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: #fff; display: block; }
.urgence-contact .service { font-size: 12px; color: rgba(255,255,255,.7); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links, .btn-nav-ghost { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
}
