/* ============================================================
   We Trust Partners — Système visuel « Forêt & Crème »
   ============================================================ */

:root {
  --forest-deep: #143A2D;
  --forest: #1D5040;
  --forest-700: #173f32;
  --gold: #C2A35A;
  --gold-light: #DcC384;
  --gold-soft: #e9d9ad;
  --cream: #F4F0E6;
  --cream-2: #efe9da;
  --taupe: #6B6354;
  --taupe-light: #8A8270;
  --ink: #1c241f;
  --white: #ffffff;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --radius: 16px;
  --shadow: 0 18px 50px -20px rgba(20, 58, 45, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--forest-deep); color: var(--cream); padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typo helpers ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
.eyebrow-light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif); font-weight: 600; line-height: 1.08;
  font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--forest-deep); letter-spacing: -.01em;
}
.section-title.light { color: var(--cream); }
.section-title em { font-style: italic; color: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  letter-spacing: .01em; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--forest-deep); box-shadow: 0 10px 30px -10px rgba(194, 163, 90, .6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(194, 163, 90, .75); }
.btn-ghost { border-color: rgba(20, 58, 45, .25); color: var(--forest-deep); }
.btn-ghost:hover { background: var(--forest-deep); color: var(--cream); border-color: var(--forest-deep); transform: translateY(-2px); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 240, 230, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(20, 58, 45, .08);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(20, 58, 45, .4); background: rgba(244, 240, 230, .94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 600; font-size: 1.18rem; color: var(--forest-deep);
  letter-spacing: .01em;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  padding: 9px 14px; font-size: .92rem; font-weight: 500; color: var(--forest-700);
  border-radius: 999px; transition: color .25s, background .25s; position: relative;
}
.nav > a:not(.nav-cta):hover { color: var(--gold); }
.nav-cta {
  background: var(--forest-deep); color: var(--cream) !important; padding: 10px 20px; margin-left: 8px;
}
.nav-cta:hover { background: var(--forest); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--forest-deep); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--forest-deep); color: var(--cream); }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(194, 163, 90, .22), transparent 42%),
    radial-gradient(circle at 12% 88%, rgba(29, 80, 64, .9), transparent 55%),
    linear-gradient(160deg, #173f32 0%, #102e24 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("/assets/img/wtp-mono-light.png");
  background-repeat: no-repeat; background-position: right -120px center; background-size: 60% auto;
  opacity: .05;
}
.hero-inner { position: relative; padding: clamp(80px, 13vw, 150px) 24px clamp(90px, 11vw, 130px); max-width: 920px; }
.hero-eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 26px;
}
.hero-title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.015em; margin-bottom: 30px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 680px; color: rgba(244, 240, 230, .85); margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-actions .btn-ghost { color: var(--cream); border-color: rgba(244, 240, 230, .35); }
.hero-actions .btn-ghost:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }
.hero-baseline {
  position: relative; border-top: 1px solid rgba(244, 240, 230, .12);
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--gold-light); text-align: center; padding: 26px 24px;
}

/* ============================================================
   Bandeau piliers
   ============================================================ */
.strip { background: var(--forest); color: var(--cream); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { padding: 38px 28px; text-align: center; border-right: 1px solid rgba(244, 240, 230, .12); }
.strip-item:last-child { border-right: 0; }
.strip-k { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--gold-light); }
.strip-l { display: block; font-size: .9rem; color: rgba(244, 240, 230, .8); margin-top: 6px; }

/* ============================================================
   Sections génériques
   ============================================================ */
.section { padding: clamp(52px, 6vw, 84px) 0; }
.section-cream { background: var(--cream-2); }
.section-dark { background: var(--forest-deep); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.light-text { color: rgba(244, 240, 230, .82); }
.section p + p { margin-top: 18px; }
.section-dark p, .section-dark li { color: rgba(244, 240, 230, .82); }

.grid-2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 84px); align-items: center; }

/* Qui sommes-nous */
.about-media { position: relative; }
.about-media > img {
  width: 78%; margin: 0 auto; border-radius: 22px; box-shadow: var(--shadow);
}
.about-quote {
  margin-top: -36px; margin-left: auto; margin-right: 0; max-width: 88%;
  background: var(--white); border-left: 4px solid var(--gold); border-radius: 12px;
  padding: 24px 26px; box-shadow: var(--shadow); position: relative;
}
.about-quote span { font-family: var(--serif); font-style: italic; font-size: 1.18rem; color: var(--forest-deep); line-height: 1.4; }

/* Vision / Mission */
.vm { align-items: start; }
.mission-card {
  background: rgba(244, 240, 230, .05); border: 1px solid rgba(194, 163, 90, .25);
  border-radius: var(--radius); padding: 38px 34px;
}
.mission-list li { padding: 18px 0; border-bottom: 1px solid rgba(244, 240, 230, .12); position: relative; padding-left: 30px; }
.mission-list li:last-child { border-bottom: 0; }
.mission-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 10px; background: var(--gold); border-radius: 50%; }
.mission-list strong { color: var(--gold-light); font-weight: 600; }

/* Valeurs */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid rgba(20, 58, 45, .07); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(194, 163, 90, .4); }
.card h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--forest-deep); margin-bottom: 12px; }
.card h3::before { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); border-radius: 3px; margin-bottom: 16px; }
.card p { color: var(--taupe); font-size: .98rem; }
.card-tag { display: inline-block; margin-top: 10px; font-family: var(--serif); font-style: italic; color: var(--gold); }

/* Domaines */
.domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.domain {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  border-top: 3px solid var(--gold); box-shadow: 0 12px 40px -28px rgba(20, 58, 45, .5);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.domain:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.domain-num { font-family: var(--serif); font-size: 1rem; color: var(--gold); font-weight: 600; letter-spacing: .1em; }
.domain h3 { font-family: var(--serif); font-size: 1.75rem; color: var(--forest-deep); margin: 14px 0 10px; font-weight: 600; }
.domain p { color: var(--taupe); font-size: .96rem; }

/* Activités */
.activities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(20, 58, 45, .1); border: 1px solid rgba(20, 58, 45, .1); border-radius: var(--radius); overflow: hidden; }
.activity { background: var(--cream); padding: 36px 30px; transition: background .3s; }
.activity:hover { background: var(--white); }
.activity h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--forest-deep); margin-bottom: 8px; font-weight: 600; }
.activity p { color: var(--taupe); font-size: .96rem; }

/* Ancrage */
.anchor-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.anchor-step { position: relative; padding-top: 30px; border-top: 1px solid rgba(194, 163, 90, .3); }
.anchor-dot { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-light); margin-bottom: 14px; }
.anchor-step h3 { font-family: var(--serif); font-size: 1.7rem; color: var(--cream); font-weight: 600; margin-bottom: 10px; }

/* CTA */
.cta-section { background: linear-gradient(150deg, var(--forest) 0%, var(--forest-deep) 100%); color: var(--cream); text-align: center; position: relative; overflow: hidden; }
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta-inner .eyebrow { justify-content: center; }
.cta-inner .section-title { color: var(--cream); }
.cta-badge { width: 110px; margin: 0 auto 28px; opacity: .95; }
.cta-text { color: rgba(244, 240, 230, .85); font-size: 1.1rem; margin: 22px auto 36px; max-width: 640px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cta-actions .btn-ghost { color: var(--cream); border-color: rgba(244, 240, 230, .35); }
.cta-actions .btn-ghost:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }

/* Partenaires */
.partners-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.partner-card {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid rgba(20, 58, 45, .07); border-radius: var(--radius);
  padding: 32px 28px; min-height: 150px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(194, 163, 90, .4); }
.partner-card img { max-width: 100%; max-height: 54px; width: auto; height: auto; object-fit: contain; }
/* Logo en hauteur : une hauteur égale le ferait paraître plus petit que les
   logos horizontaux. On l'agrandit pour l'équilibrer optiquement. */
.partner-card img.is-square { max-height: 84px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--forest-deep); color: var(--cream); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(244, 240, 230, .12); }
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-family: var(--serif); font-style: italic; color: var(--gold-light); font-size: 1.1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(244, 240, 230, .8); font-size: .95rem; transition: color .25s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-heading {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 18px;
}
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; flex-direction: column; gap: 3px; }
.footer-contact-label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(244, 240, 230, .5);
}
.footer-contact-value { color: rgba(244, 240, 230, .9); font-size: .98rem; }
a.footer-contact-value { color: var(--gold-light); transition: color .25s; }
a.footer-contact-value:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 26px 24px; font-size: .85rem; color: rgba(244, 240, 230, .55); }

/* ============================================================
   Animations « reveal »
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .activities { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(1), .strip-item:nth-child(2) { border-bottom: 1px solid rgba(244, 240, 230, .12); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-media > img { width: 60%; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); padding: 12px 24px 24px; border-bottom: 1px solid rgba(20, 58, 45, .1);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .4s var(--ease); z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav > a { padding: 14px 6px; border-bottom: 1px solid rgba(20, 58, 45, .07); border-radius: 0; }
  .nav-cta { margin: 12px 0 0; text-align: center; border-radius: 999px; }
  .nav-toggle { display: flex; }
  .cards { grid-template-columns: 1fr; }
  .domains { grid-template-columns: 1fr; }
  .activities { grid-template-columns: 1fr; }
  .anchor-steps { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item { border-right: 0 !important; border-bottom: 1px solid rgba(244, 240, 230, .12); }
  .footer-inner { grid-template-columns: 1fr; }
  .about-quote { max-width: 100%; margin-left: 0; }
  .about-media > img { width: 70%; }
}
