/* ============================================================
   Du cœur à l'emploi — charte inspirée de la plaquette
   Orange chaleureux, texte sombre, cœur rouge.
   ============================================================ */
:root {
  --orange:      #F39200;   /* orange principal de la plaquette */
  --orange-deep: #E07B00;
  --amber:       #FDB913;
  --heart:       #E2001A;   /* rouge du cœur */
  --ink:         #2B2622;   /* texte */
  --ink-soft:    #5b524a;
  --cream:       #FFF9F0;
  --white:       #ffffff;
  --shadow:      0 12px 30px rgba(180, 110, 0, .18);
  --radius:      18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .footer-brand {
  font-family: "Poppins", system-ui, sans-serif;
  line-height: 1.15;
}

.container { width: min(1140px, 92%); margin-inline: auto; }

a { color: inherit; }

/* ---------- Marque (logo texte) ---------- */
.brand, .footer-brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .2px;
  text-decoration: none;
  color: var(--ink);
}
.brand-script { color: var(--orange-deep); font-weight: 800; }
.brand-heart  { color: var(--heart); }

/* Logo image (remplace le texte) */
.brand-logo {
  display: block;
  width: min(540px, 82%);
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
}
.nav .brand-logo { box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.footer-logo-main {
  width: 230px;
  height: auto;
  border-radius: 12px;
  margin: 0 auto;
}

/* ---------- HERO ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--amber), transparent 60%),
    linear-gradient(160deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--white);
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: var(--cream);
  clip-path: ellipse(75% 100% at 50% 100%);
}

.nav {
  width: min(1140px, 92%);
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem;
  padding: 1.3rem 0 0;
}

/* Onglets de navigation (ancres de la page) */
.nav-links {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .5rem;
}
.nav-links a {
  display: inline-block;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.14);
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, transform .12s;
}
.nav-links a:hover { background: rgba(255,255,255,.3); transform: translateY(-1px); }
.nav .brand { color: var(--white); }
.nav .brand .brand-script { color: #fff3d6; }
.nav-cta {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  transition: background .2s;
}
.nav-cta:hover { background: rgba(255,255,255,.28); }

.hero-inner {
  width: min(1140px, 92%);
  margin: 2.5rem auto 0;
  text-align: center;
}
.hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.12);
}
.hero-baseline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  max-width: 640px; margin: 0 auto 2rem;
  color: #fff6e8;
}
.hero-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s, background .2s;
  font-family: "Poppins", sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: var(--orange-deep); box-shadow: var(--shadow); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: #fff; }

.eyebrow {
  display: inline-block;
  color: var(--orange-deep);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .8rem;
  margin-bottom: .5rem;
}
.section h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Grille 2 colonnes (présentation) ---------- */
.grid-2 { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.media img {
  width: 100%; height: 100%; max-height: 560px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.text p { margin-bottom: 1rem; color: var(--ink-soft); }
.text p strong { color: var(--ink); }

/* Photo partagée, centrée et agrandie (on doit voir la devanture) */
.media-center {
  max-width: 680px;
  margin: 0 auto 3.2rem;
}
.media-center img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Fiches des co-fondateurs */
.profiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  align-items: start;
}
.profile-card {
  background: #fff;
  border: 1px solid #f2e4d0;
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: 0 6px 18px rgba(180,110,0,.08);
}
.profile-name {
  font-size: 1.35rem;
  margin-bottom: .25rem;
  color: var(--ink);
}
.profile-role {
  display: block;
  color: var(--orange-deep);
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 1.1rem;
}
.profile-card p { margin-bottom: 1rem; color: var(--ink-soft); }
.profile-card p strong { color: var(--ink); }
.placeholder-text {
  background: var(--cream);
  border: 1px dashed #e2b877;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-style: italic;
  color: var(--ink-soft) !important;
}

/* ---------- Cartes mission ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: var(--cream);
  border: 1px solid #f2e4d0;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: 0 6px 18px rgba(180,110,0,.08);
  transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-ico { font-size: 2rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Partenaires ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}
.partner-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid #f2e4d0;
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: 0 6px 18px rgba(180,110,0,.08);
  transition: transform .15s, box-shadow .2s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card-featured { border-color: #cfe0f5; box-shadow: 0 6px 18px rgba(40,90,170,.10); }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 120px;
  margin-bottom: 1.2rem;
}
.partner-logo img {
  max-width: 100%; max-height: 110px; width: auto; height: auto;
  object-fit: contain;
  border-radius: 10px;
}
.partner-card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.partner-tag {
  display: block;
  color: var(--orange-deep);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: .9rem;
}
.partner-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: .8rem; }
.partner-card p strong { color: var(--ink); }
.partner-address { font-weight: 600; color: var(--ink) !important; }
.partner-amount {
  margin-top: auto;
  display: inline-flex; flex-direction: column; align-items: center;
  background: #eef4fc;
  border: 1px solid #cfe0f5;
  border-radius: 14px;
  padding: .7rem 1.4rem;
  color: #1f4e8c !important;
}
.partner-amount-label {
  text-transform: uppercase; letter-spacing: 1.2px;
  font-size: .72rem; font-weight: 700;
}
.partner-amount-value {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem; font-weight: 800;
  line-height: 1.2;
}
.partner-link {
  margin-top: auto;
  display: inline-block;
  color: var(--orange-deep);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.partner-link:hover { border-color: var(--orange-deep); }

/* ---------- Bandeau CTA plaquette ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
}
.cta-inner h2 { margin-bottom: .3rem; }
.cta-inner p { color: #fff5e6; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem; max-width: 900px; margin: 0 auto;
}
.contact-item {
  display: flex; align-items: center; gap: .9rem;
  background: #fff; border: 1px solid #f2e4d0; border-radius: var(--radius);
  padding: 1.2rem 1.4rem; text-decoration: none; color: var(--ink);
  font-weight: 600; transition: transform .12s, box-shadow .2s;
}
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-ico { font-size: 1.5rem; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #e9e2da; padding: 3rem 0; text-align: center; }
.footer-brand { color: #fff; margin-bottom: 1.8rem; }
.footer-brand .brand-script { color: var(--amber); }
.footer-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 2.2rem; flex-wrap: wrap; margin-bottom: 1.6rem;
}
.footer-logos img {
  height: 70px; width: auto;
  background: #fff; padding: 8px 12px; border-radius: 10px;
  object-fit: contain;
}
.footer-legal { font-size: .9rem; color: #b7ada3; margin-bottom: .5rem; }
.footer-copy { font-size: .85rem; color: #9a9088; }
.footer-copy a { color: var(--amber); text-decoration: none; }

/* ---------- Page mentions légales ---------- */
.hero-slim { padding-bottom: 2rem; }
.hero-slim::after { display: none; }
.brand-logo-slim { width: min(300px, 70%); }
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 1rem 0 1.5rem; }
.legal h2 {
  font-size: 1.25rem;
  color: var(--orange-deep);
  margin: 1.8rem 0 .5rem;
}
.legal p { color: var(--ink-soft); margin-bottom: .6rem; }
.legal p strong { color: var(--ink); }
.legal a { color: var(--orange-deep); }
.back-link {
  display: inline-block;
  color: var(--orange-deep);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 1rem;
}
.back-link:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; gap: 1.8rem; }
  .cards { grid-template-columns: 1fr; }
  .profiles { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .nav-cta { display: none; }
}
