/* =========================================================================
   Weezem — site unifié
   Couleurs & police issues de la marque (assets/) :
   bleu #282863 · corail/rose #F0666E · beige #F9F4EC · police GT Walsheim Pro
   ========================================================================= */

@font-face {
  font-family: 'GT Walsheim';
  src: url('fonts/GTWalsheimPro-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('fonts/GTWalsheimPro-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('fonts/GTWalsheimPro-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('fonts/GTWalsheimPro-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'GT Walsheim';
  src: url('fonts/GTWalsheimPro-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --blue:        #282863;
  --blue-700:    #1b1b47;
  --blue-soft:   #ECECF5;
  --blue-tint:   #F3F3F9;
  --coral:       #F0666E;
  --coral-700:   #d94c55;
  --coral-soft:  #FBE4E6;
  --rose:        #F6A9AE;
  --beige:       #F9F4EC;
  --beige-deep:  #F1E8D8;
  --cream:       #FFFDF9;
  --white:       #ffffff;
  --ink:         #21214a;
  --muted:       #5d5d77;
  --line:        #e8e2d6;

  --radius:      22px;
  --radius-lg:   30px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 10px rgba(40,40,99,.06);
  --shadow:      0 18px 50px -18px rgba(40,40,99,.22);
  --shadow-coral:0 18px 40px -16px rgba(240,102,110,.45);
  --maxw:        1180px;
  --gutter:      clamp(18px, 4vw, 40px);
  --grad:        linear-gradient(120deg, var(--blue) 0%, #4a3f8a 45%, var(--coral) 110%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: 'GT Walsheim', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.center { text-align: center; }
.tac { text-align: center; }

/* ---------- Helpers : eyebrow, titres ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.h-xl { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 900; }
.h-lg { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 900; margin-bottom: 20px; }
.h-md { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.lead.center { margin-inline: auto; }
.accent { color: var(--coral); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: 1rem; font-weight: 700; cursor: pointer;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn-primary:hover { background: var(--coral-700); transform: translateY(-2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--blue); border-color: rgba(40,40,99,.2); }
.btn-ghost:hover { border-color: var(--blue); background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Badge / pill ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--blue);
  padding: 8px 15px; border-radius: var(--radius-pill); font-weight: 500; font-size: .9rem;
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
/* Cartouche cliquable (lien) */
a.pill { text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s, color .15s; }
a.pill:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: var(--coral); color: var(--coral-700); }
a.pill:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
.pill .pill-ext { color: var(--coral); font-weight: 700; font-size: .95em; }

/* ============================ HEADER ============================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(249,244,236,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(40,40,99,.07);
}
.nav { display: flex; align-items: center; gap: 14px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.4rem; color: var(--blue); letter-spacing: -.03em; white-space: nowrap; flex: none; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1rem;
  box-shadow: var(--shadow-coral);
}
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav-links a, .nav-item > button {
  font-family: inherit; font-size: .94rem; font-weight: 500; color: var(--ink); white-space: nowrap;
  padding: 9px 11px; border-radius: 12px; background: none; border: none; cursor: pointer;
  transition: background .15s, color .15s;
}
/* Laptops un peu étroits : on resserre encore pour garder les onglets horizontaux */
@media (max-width: 1120px) {
  .nav { gap: 7px; }
  .logo { font-size: 1.22rem; }
  .nav-links a, .nav-item > button { font-size: .85rem; padding: 8px 7px; }
  .nav-cta { font-size: .82rem !important; padding: 9px 12px !important; }
}
.nav-links a:hover, .nav-item > button:hover { background: rgba(40,40,99,.06); color: var(--blue); }
.nav-cta { margin-left: 6px; }

/* Bascule d'audience "Organisations" : séparée à droite, style plus discret */
.nav-org-switch { margin-left: 12px; padding-left: 14px; border-left: 1px solid var(--line); }
.nav-org-switch > .nav-org { color: var(--blue); font-weight: 700; }

/* dropdown BtoB */
.nav-item { position: relative; }
.nav-item > button::after, .nav-item > .nav-org::after { content: "▾"; margin-left: 5px; font-size: .8em; opacity: .7; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px;
  box-shadow: var(--shadow); width: 280px; opacity: 0; visibility: hidden; transition: .18s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a { display: flex; gap: 11px; padding: 10px 12px; border-radius: 12px; align-items: flex-start; }
.dropdown a:hover { background: var(--beige); }
.dropdown .ic { font-size: 1.25rem; line-height: 1.3; }
.dropdown a > span:last-child { min-width: 0; }
.dropdown .t { display: block; font-weight: 700; color: var(--blue); font-size: .95rem; white-space: normal; }
/* Les sous-titres héritent du white-space:nowrap des onglets de nav : on les
   laisse revenir à la ligne pour qu'ils ne débordent pas du menu déroulant. */
.dropdown .s { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; white-space: normal; }

.burger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--blue); border-radius: 2px; margin: 5px 0; transition: .2s; }

/* ============================ HERO ============================ */
.hero { position: relative; padding-top: clamp(40px, 6vw, 70px); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; }
.blob.b1 { width: 480px; height: 480px; background: var(--rose); top: -160px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: #c9c7ef; bottom: -180px; left: -140px; opacity: .55; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 60px); align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 900; margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-proof { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span, .avatars .ava-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--beige); margin-left: -12px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem;
}
.avatars span:first-child, .avatars .ava-btn:first-child { margin-left: 0; }
.avatars .ava-btn { padding: 0; font-family: inherit; cursor: pointer; transition: transform .15s, box-shadow .2s; position: relative; }
.avatars .ava-btn:hover, .avatars .ava-btn:focus-visible { transform: translateY(-3px) scale(1.08); z-index: 3; box-shadow: 0 6px 16px rgba(40,40,99,.3); outline: none; }
.stars { color: var(--coral); font-weight: 700; }
.hero-proof small { color: var(--muted); display: block; }

/* Badges stores (App Store / Google Play) */
.store-badge { display: inline-flex; align-items: center; gap: 11px; background: #111; color: #fff; border-radius: 12px; padding: 9px 18px; text-decoration: none; transition: transform .15s, box-shadow .2s; border: 1px solid rgba(255,255,255,.12); }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .sb-apple { width: 31px; height: 31px; margin: -3px -2px -3px 0; }
.store-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge .sb-txt small { font-size: .68rem; opacity: .85; text-transform: none; }
.store-badge .sb-txt b { font-size: 1.12rem; font-weight: 700; }

/* Hero visual : carte vitrine */
.hero-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.hero-card .photo {
  border-radius: 20px; aspect-ratio: 4/3; background:
    linear-gradient(135deg, rgba(40,40,99,.85), rgba(240,102,110,.7)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px);
  display: grid; place-items: center; color: #fff; text-align: center; padding: 24px;
}
.hero-card .photo .big { font-size: 2rem; font-weight: 900; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px; padding: 12px 15px;
  box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; gap: 10px; align-items: center;
  font-size: .85rem; font-weight: 500; max-width: 220px;
}
.float-card .em { font-size: 1.5rem; }
.float-card.fc1 { bottom: -18px; left: -22px; }
.float-card.fc2 { top: -18px; right: -16px; }
.float-card b { color: var(--blue); }

/* Photos */
.photo { position: relative; overflow: hidden; padding: 0; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px 22px 18px;
  background: linear-gradient(transparent, rgba(27,27,71,.82)); color: #fff; font-weight: 700; font-size: 1.05rem;
}
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Logo image (header + footer) */
.logo img { height: 34px; width: auto; display: block; }
.logo-mark { height: 34px; width: auto; border-radius: 9px; display: block; }
.logo-word { font-weight: 900; font-size: 1.4rem; color: var(--blue); letter-spacing: -.03em; }
.footer .logo img { height: 34px; width: auto; display: block; }
@media (max-width: 1120px) { .logo img, .logo-mark { height: 30px; } .logo-word { font-size: 1.22rem; } }
@media (max-width: 400px) { .logo img, .logo-mark { height: 27px; } .logo-word { font-size: 1.12rem; } }

/* Bandeau confiance : logos partenaires homogènes */
.trust .trust-items img { height: 62px; width: auto; max-width: 210px; object-fit: contain; display: block; }
.trust .trust-items img.tall { height: 80px; }

/* Hero : badges stables sous la photo (remplacent les cartouches flottants) */
.hero-badges { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.hero-badges .hb { flex: 1; min-width: 158px; display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 13px; font-size: .84rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); text-decoration: none; transition: border-color .15s, transform .15s; }
.hero-badges a.hb:hover { border-color: var(--coral); transform: translateY(-2px); }
.hero-badges .hb b { color: var(--blue); }
.hero-badges .hb .em { font-size: 1.35rem; }
.hero-proof small a { color: var(--muted); }
.hero-proof small a:hover { color: var(--coral); }
.modal.testi-modal { max-width: 400px; }
.testi-modal .modal-body { padding: 20px 24px 26px; }
.testi-modal .quote { text-wrap: pretty; }
.modal .who { display: flex; gap: 12px; align-items: center; }
.modal .who .ava { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.05rem; flex: none; }
.modal .who b { display: block; color: var(--blue); }
.modal .who span { font-size: .85rem; color: var(--muted); }

/* Bandeau communauté (section témoignages) */
.community-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 21/7; }
.community-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.community-banner .cb-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40,40,99,.82), rgba(40,40,99,.55) 45%, rgba(40,40,99,.05)); display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 4vw, 52px); }
.community-banner .cb-credit { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: .72rem; color: rgba(255,255,255,.92); background: rgba(27,27,71,.45); padding: 6px 11px; border-radius: 9px; max-width: 62%; text-align: right; line-height: 1.35; }
.community-banner .cb-overlay b { display: block; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1; }
@media (max-width: 620px) { .community-banner .cb-credit { max-width: 90%; font-size: .66rem; } }
.community-banner .cb-overlay span { color: rgba(255,255,255,.92); font-weight: 500; max-width: 30ch; }
@media (max-width: 620px) { .community-banner { aspect-ratio: 4/3; } .community-banner .cb-overlay { background: linear-gradient(rgba(40,40,99,.35), rgba(40,40,99,.85)); justify-content: flex-end; } }

/* Weezem Plus (rubrique Comment ça marche) */
.plus-card { background: linear-gradient(130deg, var(--blue), #4a3f8a 58%, var(--coral)); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); margin-top: clamp(44px, 6vw, 72px); }
.plus-card h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; margin-bottom: 12px; }
.plus-card p { color: rgba(255,255,255,.9); }
.plus-card .free-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); padding: 7px 15px; border-radius: var(--radius-pill); font-weight: 700; font-size: .9rem; }
.plus-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 24px; }
.plus-perks li { display: flex; gap: 10px; align-items: flex-start; list-style: none; color: #fff; font-size: .96rem; }
.plus-perks .ck { color: var(--rose); font-weight: 900; flex: none; }
.plus-card ul.plus-perks { padding: 0; margin-left: 0; }
.plus-price { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 6px; }
.plus-price b { font-size: 2rem; font-weight: 900; color: #fff; }
.plus-note { font-size: .82rem; color: rgba(255,255,255,.72); margin-top: 12px; }
@media (max-width: 700px) { .plus-perks { grid-template-columns: 1fr; } }

/* Bandeau confiance : titre au-dessus, logos/mentions centrés en dessous */
.trust .wrap { flex-direction: column; gap: 6px; padding-block: 22px; }
.trust .trust-items { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 4vw, 44px); flex-wrap: wrap; }
.trust .trust-items img { opacity: .95; }
.trust .trust-items a { display: inline-flex; align-items: center; transition: transform .15s ease, opacity .15s ease; }
.trust .trust-items a:hover { transform: translateY(-2px); opacity: .78; }

/* Bande "communauté en images" */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.gallery .g-main, .gallery .g-side { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.gallery .g-main { aspect-ratio: 16/10; }
.gallery .g-side { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.gallery .g-side > div { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.party-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; max-width: 320px; margin-inline: auto; }
.party-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) { .gallery { grid-template-columns: 1fr; } }

/* Comment ça marche — grille 3 colonnes (téléphone + titre + texte) */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: 46px; align-items: stretch; }
.how-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.phone {
  width: 240px; max-width: 82%; aspect-ratio: 356 / 720; margin: 0 auto 24px;
  border-radius: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.how-num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; box-shadow: var(--shadow-coral); flex: none; }
.how-head { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; }
.how-head h3 { margin: 0; }
.how-card h3 { color: var(--blue); font-size: clamp(1.3rem, 2vw, 1.7rem); }
.how-card p { color: var(--muted); font-size: 1rem; max-width: 34ch; margin: 0; }
.how-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: auto; padding-top: 16px; }
.how-chips span { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px 13px; font-size: .85rem; font-weight: 500; color: var(--blue); box-shadow: var(--shadow-sm); }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; max-width: 400px; margin-inline: auto; } .how-chips { margin-top: 16px; } }

/* dual entry */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 52px; position: relative; z-index: 1; }
.entry {
  display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .2s; cursor: pointer;
}
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.entry .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; flex: none; }
.entry.p .ico { background: var(--coral-soft); }
.entry.b .ico { background: var(--blue-soft); }
.entry h3 { font-size: 1.2rem; margin-bottom: 3px; color: var(--blue); }
.entry p { margin: 0; color: var(--muted); font-size: .94rem; }
.entry .arrow { margin-left: auto; font-size: 1.3rem; color: var(--coral); }

/* logos / agréments bar */
.trust { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding-block: 22px; }
.trust .lbl { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.trust b { color: var(--blue); font-weight: 700; }

/* ============================ SECTIONS GÉNÉRIQUES ============================ */
.bg-cream { background: var(--cream); }
.bg-beige { background: var(--beige); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-blue .lead, .bg-blue .muted { color: rgba(255,255,255,.78); }
.bg-blue .eyebrow { color: var(--rose); }
.bg-blue .eyebrow::before { background: var(--rose); }

.head-block { max-width: 720px; }
.head-block.center { margin-inline: auto; }

/* grilles cartes */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2,1fr); }
.g3 { grid-template-columns: repeat(3,1fr); }
.g4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--coral-soft); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; color: var(--blue); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* persona cards (pour vous ?) */
.persona { position: relative; overflow: hidden; }
.persona .tag { font-size: .78rem; font-weight: 700; color: var(--coral); text-transform: uppercase; letter-spacing: .08em; }
.persona h3 { margin: 6px 0 8px; }

/* ============================ +40 explication ============================ */
.why40 .note { background: var(--coral-soft); border-radius: var(--radius); padding: 22px 24px; border: 1px solid #f3cdd0; }

/* Mise en page "titre à gauche + bloc à droite" : le titre occupe la 1re rangée
   dans la colonne gauche ; le bloc de droite démarre à la rangée du texte, donc
   il s'aligne sur le texte sous le titre (au lieu de flotter en haut avec un vide). */
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px,1.6vw,20px) clamp(28px,4vw,56px); grid-template-areas: "head ." "body side"; align-items: start; }
.split2 .s2-head { grid-area: head; }
.split2 .s2-body { grid-area: body; }
.split2 .s2-side { grid-area: side; align-self: start; }
.why40 .note strong { color: var(--coral-700); }
.stat-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; flex: 1; min-width: 150px; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.8rem; font-weight: 900; color: var(--blue); }
.stat span { font-size: .85rem; color: var(--muted); }

/* ============================ SORTIES INCONTOURNABLES ============================ */
.outing {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: #fff;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.outing .visual {
  position: relative; min-height: 340px; color: #fff; padding: 30px;
  background: linear-gradient(150deg, rgba(40,40,99,.92), rgba(240,102,110,.78));
  display: flex; flex-direction: column; justify-content: space-between;
}
.outing .visual .badge-week {
  align-self: flex-start; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35);
  padding: 7px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: .82rem; backdrop-filter: blur(4px);
}
.outing .visual h3 { font-size: clamp(1.5rem,2.6vw,2.1rem); font-weight: 900; }
.outing .meta { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; font-weight: 500; }
.outing .meta div { display: flex; gap: 9px; align-items: center; }
.outing .body { padding: clamp(24px,3vw,38px); display: flex; flex-direction: column; }
.outing .body p { color: var(--muted); }
.outing .price-tag { display: inline-flex; align-items: baseline; gap: 6px; margin: 6px 0 18px; }
.outing .price-tag b { font-size: 1.6rem; color: var(--blue); font-weight: 900; }
.outing .price-tag small { color: var(--muted); }
.outing .actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.outing .reassure { font-size: .85rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }

/* ============================ DIFFÉRENCE / VERSUS ============================ */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vs-card { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.vs-card .vs-tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 10px; }
.vs-them .vs-tag { color: var(--muted); }
.vs-us .vs-tag { color: var(--rose); }
.vs-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 1.2rem; }
.vs-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 13px; }
.vs-card li { display: flex; gap: 11px; align-items: flex-start; font-size: .96rem; }
.vs-card .mk { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 900; margin-top: 1px; }
.vs-them { background: #fff; }
.vs-them h3 { color: var(--muted); }
.vs-them .mk { background: #f1e4e4; color: var(--coral-700); }
.vs-them li { color: var(--muted); }
.vs-us { background: var(--blue); color: #fff; border-color: var(--blue); }
.vs-us .mk { background: rgba(246,169,174,.25); color: #fff; }
.vs-us li { color: rgba(255,255,255,.92); }

/* ============================ TÉMOIGNAGES ============================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testi .quote { font-size: 1.02rem; color: var(--ink); margin-bottom: 18px; }
.testi .who { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.testi .who .ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.testi .who b { display: block; color: var(--blue); }
.testi .who span { font-size: .85rem; color: var(--muted); }
.testi .stars { margin-bottom: 12px; }

/* ============================ PREMIER PAS / WEEZEM PARTY ============================ */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 14px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step .n { position: absolute; top: -16px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 900; box-shadow: var(--shadow-coral); }
.step h4 { color: var(--blue); margin: 8px 0; font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

.party {
  margin-top: 40px; border-radius: var(--radius-lg); padding: clamp(28px,4vw,48px); color: #fff;
  background: linear-gradient(130deg, var(--blue), #5a3f8f 60%, var(--coral));
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; position: relative; overflow: hidden;
}
.party h3 { font-size: clamp(1.6rem,3vw,2.3rem); font-weight: 900; margin-bottom: 12px; }
.party p { color: rgba(255,255,255,.85); }
.party .chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 22px; }
.party .chips span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 7px 14px; border-radius: var(--radius-pill); font-size: .85rem; font-weight: 500; }

/* ============================ ESUS / MISSION + DONS ============================ */
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.value { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 18px; }
.value .v { width: 38px; height: 38px; border-radius: 11px; background: rgba(246,169,174,.22); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.value b { color: #fff; display: block; }
.value span { font-size: .88rem; color: rgba(255,255,255,.72); }

.don-card {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(26px,3vw,40px);
  box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.don-card .ribbon { position: absolute; top: 18px; right: -38px; transform: rotate(45deg); background: var(--coral); color: #fff; padding: 6px 50px; font-size: .78rem; font-weight: 700; text-align: center; min-width: 160px; }
.don-card h3 { color: var(--blue); font-size: 1.5rem; margin-bottom: 10px; }
.don-amounts { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.don-amounts button {
  flex: 1; min-width: 80px; font-family: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
  padding: 14px 8px; border-radius: 14px; border: 2px solid var(--line); background: var(--beige); color: var(--blue); transition: .15s;
}
.don-amounts button:hover, .don-amounts button.active { border-color: var(--coral); background: var(--coral-soft); }
.don-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* ============================ BtoB ============================ */
.btob-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 30px 0 34px; }
.btob-tabs button {
  font-family: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; color: var(--blue);
  background: #fff; border: 1px solid var(--line); padding: 11px 20px; border-radius: var(--radius-pill); transition: .15s;
  display: inline-flex; gap: 8px; align-items: center;
}
.btob-tabs button:hover { border-color: var(--coral); }
.btob-tabs button.active { background: var(--blue); color: #fff; border-color: var(--blue); }
.btob-panel { display: none; }
.btob-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,52px); align-items: center; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity:1; transform: none;} }
.btob-panel .panel-visual {
  border-radius: var(--radius-lg); min-height: 320px; color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(150deg, rgba(40,40,99,.92), rgba(240,102,110,.7));
}
.btob-panel .panel-visual .em { font-size: 3rem; }
.btob-panel ul { list-style: none; padding: 0; margin: 18px 0 24px; display: flex; flex-direction: column; gap: 12px; }
.btob-panel li { display: flex; gap: 11px; align-items: flex-start; }
.btob-panel li .ck { color: var(--coral); font-weight: 900; flex: none; }
.btob-awards { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; justify-content: center; }
.award { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow-sm); display: flex; gap: 12px; align-items: center; max-width: 320px; }
.award .em { font-size: 1.6rem; }
.award b { color: var(--blue); display: block; font-size: .95rem; }
.award span { font-size: .8rem; color: var(--muted); }

/* ============================ AMBASSADEUR ============================ */
.amb { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,52px); align-items: start; }
.amb-perks { display: grid; gap: 12px; margin-top: 18px; }
.perk { display: flex; gap: 13px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.perk .pi { width: 40px; height: 40px; border-radius: 12px; background: var(--coral-soft); display: grid; place-items: center; font-size: 1.25rem; flex: none; }
.perk b { color: var(--blue); display: block; }
.perk span { font-size: .88rem; color: var(--muted); }
.profile-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.profile-list li { position: relative; padding-left: 26px; color: var(--muted); line-height: 1.6; }
.profile-list .ck { position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 900; }

/* ============================ FORMULAIRES ============================ */
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--blue); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--beige); color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.form .hint { font-size: .8rem; color: var(--muted); }

/* ============================ FOOTER ============================ */
.footer { background: var(--blue); color: rgba(255,255,255,.78); padding: 64px 0 32px; }
.footer a { color: rgba(255,255,255,.78); }
.footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.foot-brand .foot-logo { font-weight: 900; font-size: .95rem; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot-social { margin: 18px 0; }
.foot-social-label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); margin-bottom: 9px; }
.foot-social-icons { display: flex; gap: 12px; }
.fs-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; transition: background .15s, transform .15s; }
.fs-icon:hover { background: var(--coral); transform: translateY(-2px); }
.fs-icon svg { width: 21px; height: 21px; fill: #fff; }

/* Pages légales (prose) */
.legal { max-width: 820px; margin: 0 auto; }
.legal .lead { margin-bottom: 18px; }
.legal-body { margin-top: 6px; }
.legal-body h2 { color: var(--blue); font-size: 1.35rem; margin: 32px 0 10px; }
.legal-body h3 { color: var(--blue); font-size: 1.1rem; margin: 24px 0 8px; }
.legal-body h4 { color: var(--blue); font-size: 1rem; margin: 18px 0 6px; }
.legal-body p, .legal-body li { color: var(--ink); line-height: 1.7; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { padding-left: 22px; margin: 0 0 14px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--coral-700); text-decoration: underline; word-break: break-word; }
.legal-body strong, .legal-body b { color: var(--ink); }
.legal-body table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: .92rem; }
.legal-body th, .legal-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal-body th { background: var(--beige-deep); color: var(--blue); }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer h5 { color: #fff; font-size: .95rem; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .92rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.foot-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.foot-badges span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 5px 12px; border-radius: var(--radius-pill); font-size: .78rem; }

/* ============================ MODAL ============================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(27,27,71,.55); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-overlay.open { display: flex; animation: fade .25s ease; }
.modal {
  background: var(--beige); border-radius: var(--radius-lg); max-width: 540px; width: 100%;
  max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow); position: relative;
}
.modal-head { padding: 26px 28px 0; }
.modal .close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: none; background: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--blue); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.modal .close:hover { background: var(--coral); color: #fff; }
.modal-body { padding: 18px 28px 28px; }
.modal h3 { color: var(--blue); font-size: 1.4rem; margin-bottom: 6px; }
.modal .sub { color: var(--muted); font-size: .95rem; }
.step-screen { display: none; }
.step-screen.active { display: block; animation: fade .25s ease; }
.choice {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 14px;
  font-family: inherit; transition: .15s;
}
.choice:hover { border-color: var(--coral); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.choice .ce { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; flex: none; background: var(--coral-soft); }
.choice b { display: block; color: var(--blue); font-size: 1.05rem; }
.choice span { font-size: .88rem; color: var(--muted); }
.info-box { background: var(--blue-tint); border: 1px solid var(--blue-soft); border-radius: 16px; padding: 16px 18px; font-size: .92rem; margin: 14px 0; }
.info-box.free { background: #eaf6ee; border-color: #cce8d5; }
.info-box.free b { color: #2e7d4f; }
.modal-actions { display: grid; gap: 10px; margin-top: 16px; }
.back-link { background: none; border: none; color: var(--muted); cursor: pointer; font-family: inherit; font-size: .9rem; margin-top: 14px; }
.back-link:hover { color: var(--blue); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */

/* Navigation : onglets horizontaux sur ordinateur, burger uniquement sur mobile/tablette */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--beige); border-bottom: 1px solid var(--line); padding: 14px var(--gutter); gap: 4px; box-shadow: var(--shadow);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-links.open a, .nav-links.open .nav-item > button { width: 100%; text-align: left; font-size: 1rem; padding: 12px 12px; }
  .nav-links.open .nav-cta { margin: 6px 0 0; text-align: center; }
  /* En menu déroulant mobile, on remplace le séparateur vertical par un filet horizontal */
  .nav-links.open .nav-org-switch { margin: 6px 0 0; padding: 6px 0 0; border-left: none; border-top: 1px solid var(--line); }
  .nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; width: 100%; box-shadow: none; border: none; padding: 4px 0 4px 12px; }
}

/* Mise en page : empilement des grilles sur petits écrans */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; margin-inline: auto; }
  .dual, .g4, .g3, .g2, .why40, .mission, .amb, .versus, .testi-grid, .steps, .party, .btob-panel.active, .outing { grid-template-columns: 1fr; }
  .split2 { grid-template-columns: 1fr; grid-template-areas: "head" "body" "side"; }
  .party, .outing { gap: 22px; }
}
@media (max-width: 620px) {
  .form .row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .hero-proof { gap: 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding-inline: 18px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .h-xl { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .h-lg { font-size: clamp(1.55rem, 6.2vw, 2.1rem); }
  .btn { padding: 13px 20px; }
  .hero-cta .btn, .sector-cta .btn { width: 100%; }
}
@media (max-width: 400px) {
  .logo { font-size: 1.2rem; }
  .float-card { display: none; }
  .don-amounts button { min-width: 64px; }
}
