/* =========================================================
   Séné Réfugiés Solidarité — feuille de style
   Charte : chaleureuse & solidaire. Orange dominant (#FF9F00)
   + palette multicolore issue de l'illustration « visages ».
   One-page, tuiles, scroll. Style léger, élégant, sérieux.
   ========================================================= */

:root {
  /* Couleur de marque (issue des nouveaux visuels) */
  --orange: #ff9f00;
  --orange-deep: #ec8a00;
  --orange-soft: #fff3dc;

  /* Accents multicolores (illustration des visages) */
  --indigo: #2f348e;
  --violet: #6b57a5;
  --teal: #1aa17e;
  --green: #1f9e5a;
  --pink: #e85a9b;
  --red: #e22619; /* rouge du logo */

  /* Neutres */
  --ink: #221c14;        /* brun très sombre, plus doux qu'un noir pur */
  --slate: #4f463b;
  --muted: #8a7f72;
  --line: #efe7da;
  --cream: #fdf9f2;
  --white: #ffffff;

  --shadow: 0 18px 50px -22px rgba(60, 40, 10, 0.32);
  --shadow-soft: 0 10px 30px -16px rgba(60, 40, 10, 0.25);
  --radius: 18px;
  --max: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.2px;
  color: var(--ink);
}
h2 { font-size: clamp(1.95rem, 4vw, 3.05rem); }
h3 { font-size: 1.42rem; }
p { color: var(--slate); }

a { color: var(--orange-deep); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--red); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--orange-deep);
  margin-bottom: 14px;
}
.eyebrow--center { text-align: center; }

.lead { font-size: 1.18rem; color: var(--slate); max-width: 760px; margin-top: 18px; }
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: all 0.3s var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--orange-deep); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section--intro { background: var(--white); text-align: center; }
.section--intro .container { display: flex; flex-direction: column; align-items: center; }
.section--values { background: var(--cream); }
.section__head { text-align: center; margin-bottom: 56px; }

/* ---------- HERO (orange, identité de marque) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--orange);
  padding: 90px 24px 0;
  overflow: hidden;
}
.hero__content { position: relative; z-index: 2; max-width: 800px; margin: auto; }
.hero__logo { width: min(560px, 88vw); height: auto; margin-bottom: 30px; }
.hero__baseline {
  color: var(--ink);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 34px;
  line-height: 1.55;
}
/* bandeau de visages (illustration officielle) */
.hero__faces {
  position: relative; z-index: 1;
  width: 100%;
  height: clamp(96px, 13vw, 150px);
  margin-top: clamp(40px, 6vw, 70px);
  background: var(--orange) url("../img/faces.png") repeat-x center / auto 100%;
}
.hero__scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px;
  border: 2px solid rgba(34, 28, 20, 0.5); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--ink); border-radius: 2px;
  animation: scroll 1.8s infinite var(--ease);
}
@keyframes scroll { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ---------- TUILES (actions) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tile__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 22px;
}
.tile__icon svg { width: 28px; height: 28px; }
.tile:nth-child(1) .tile__icon { background: var(--indigo); }
.tile:nth-child(2) .tile__icon { background: var(--teal); }
.tile:nth-child(3) .tile__icon { background: var(--pink); }
.tile:nth-child(4) .tile__icon { background: var(--green); }
.tile h3 { margin-bottom: 10px; }
.tile p { font-size: 0.98rem; }

/* ---------- 100 POUR UN TOIT (dispositif phare) ---------- */
.section--toit { background: var(--orange-soft); }
.toit {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
  background: var(--white);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 56px);
  box-shadow: var(--shadow-soft);
}
.toit__visual {
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-soft);
  border-radius: 18px;
  padding: 30px;
}
.toit__visual img { width: 100%; max-width: 260px; height: auto; }
.toit__body h2 { margin-bottom: 8px; }
.toit__body .lead { margin-top: 10px; margin-bottom: 26px; }
.toit__tag {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--orange-deep); margin-bottom: 6px;
}

/* ---------- CITATION / IMAGE ---------- */
.section--quote {
  position: relative;
  background: url("../img/foule.jpg") center / cover fixed no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: clamp(90px, 14vw, 160px) 24px;
}
.quote__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34,28,20,0.78), rgba(236,138,0,0.72));
}
.quote__text { position: relative; z-index: 2; max-width: 820px; }
.quote__text p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  font-weight: 500; font-style: italic; color: #fff; line-height: 1.35;
}

/* ---------- VALEURS ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px 30px; }
.value { padding-left: 18px; border-left: 3px solid var(--orange); }
.value:nth-child(2) { border-color: var(--teal); }
.value:nth-child(3) { border-color: var(--violet); }
.value:nth-child(4) { border-color: var(--green); }
.value h3 { margin-bottom: 8px; }
.value p { font-size: 0.98rem; }

/* ---------- SOUTENIR ---------- */
.section--support { background: var(--white); text-align: center; }
.support__cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px; margin-top: 56px; text-align: left;
}
.support__card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; background: var(--cream);
  display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.support__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.support__card h3 { margin-bottom: 12px; }
.support__card p { font-size: 0.98rem; flex: 1; margin-bottom: 24px; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.8); padding-top: 70px; }
.footer__faces {
  width: 100%; height: 84px;
  background: var(--orange) url("../img/faces.png") repeat-x center / auto 100%;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  padding: 56px 0 50px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand img { width: 300px; max-width: 80%; height: auto; margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,0.62); font-size: 0.95rem; }
.footer__contact h3 { color: #fff; margin-bottom: 14px; }
.footer__contact a { color: var(--orange); }
.footer__contact a:hover { color: #fff; }
.footer__bottom { text-align: center; padding: 26px 24px; font-size: 0.85rem; color: rgba(255,255,255,0.45); }

/* ---------- Révélation au scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; }
  .section--quote { background-attachment: scroll; }
  .toit { grid-template-columns: 1fr; text-align: center; }
  .toit__body .lead { margin-left: auto; margin-right: auto; }
}
