/* YF Gestion – feuille de style du site vitrine */

@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/jost-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #070d59;        /* couleur logo : titres, boutons */
  --navy-hover: #1a2373;
  --sky: #ceddef;         /* couleur logo : fonds doux, étiquettes */
  --mist: #f3f7fc;        /* fonds de section alternés */
  --text: #2b3163;        /* texte courant */
  --muted: #565c86;       /* texte secondaire */
  --line: #dbe5f1;        /* bordures */
  --line-soft: #e3eaf4;
  --white: #ffffff;
  --radius: 20px;
  --font-title: "Jost", "Futura", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-title); color: var(--navy); margin: 0; line-height: 1.15; }
h1 { font-weight: 500; font-size: clamp(36px, 5vw, 54px); line-height: 1.1; }
h2 { font-weight: 500; font-size: clamp(30px, 3.6vw, 40px); }
h3 { font-weight: 600; font-size: 20px; }
p { margin: 0; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; color: var(--white); }

.container { max-width: 1180px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section--tint { background: var(--mist); }
.section-intro { margin-top: 12px; font-size: 18px; max-width: 680px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.todo { background: #fff3c4; color: #5a4300; padding: 0 4px; border-radius: 4px; } /* contenu à compléter : à retirer avant mise en ligne */

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; text-align: center; transition: background-color .15s ease, color .15s ease; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-hover); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--navy); border: 1px solid #c3d3e9; }
.btn--ghost:hover { background: var(--mist); }
.btn--small { min-height: 44px; padding: 10px 22px; font-size: 15px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line-soft); }
.site-header .container { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.site-header .logo img { height: 46px; width: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; font-weight: 500; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { text-decoration: underline; }

/* Accroche */
.hero { background: var(--mist); }
.hero .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero-text .eyebrow { margin-bottom: 18px; }
.hero-text h1 { margin-bottom: 22px; max-width: 680px; }
.hero-lead { font-size: 19px; max-width: 580px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; font-weight: 500; }
.chips li { background: var(--sky); color: var(--navy); padding: 7px 16px; border-radius: 999px; }
.hero-portrait { flex: 0 1 260px; min-width: 0; max-width: 260px; position: relative; padding-bottom: 88px; margin: 0 0 0 auto; }
.hero-portrait img { width: 100%; aspect-ratio: 10 / 11; object-fit: cover; object-position: 50% 40%; background: var(--sky); border-radius: 140px 140px 24px 24px; }
.hero-portrait figcaption { position: absolute; left: -32px; right: 24px; bottom: 0; background: var(--white); border-radius: 18px; padding: 18px 22px; box-shadow: 0 10px 30px rgba(7, 13, 89, .10); }
.hero-portrait .name { font-family: var(--font-title); font-weight: 600; font-size: 19px; color: var(--navy); }
.hero-portrait .role { font-size: 15px; color: var(--muted); }

/* Grilles de cartes */
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--sol { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 8px; font-size: 21px; }
.card p { font-size: 16px; }
.card--tint { background: var(--mist); }
.card--outline { border: 1px solid var(--line); }
.card--white { background: var(--white); border-radius: 18px; padding: 26px; }
.card--white h3 { font-size: 20px; margin-bottom: 6px; }
.quote-card .quote { font-family: var(--font-title); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--navy); margin-bottom: 8px; }
.quote-card p:last-child { color: var(--muted); }
.disclaimer { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Étapes */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.steps li { border-top: 2px solid var(--sky); padding-top: 20px; }
.steps .num { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; background: var(--sky); color: var(--navy); font-family: var(--font-title); font-weight: 600; align-items: center; justify-content: center; }
.steps h3 { margin: 14px 0 6px; }
.steps p { font-size: 16px; }

/* Où se rencontrer */
.meet { background: var(--sky); border-radius: 28px; padding: 56px; display: flex; flex-wrap: wrap; gap: 40px; }
.meet-intro { flex: 1 1 300px; min-width: 0; }
.meet-intro h2 { margin-bottom: 14px; }
.meet-places { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.meet-places .place { background: var(--white); border-radius: 18px; padding: 22px; }
.meet-places h3 { font-size: 19px; margin-bottom: 6px; }
.meet-places p { font-size: 15px; }

/* Citation */
.about { max-width: 920px; text-align: center; }
.about blockquote { margin: 0 0 20px; font-family: var(--font-title); font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.3; color: var(--navy); }
.about .signature { font-weight: 600; color: var(--navy); margin-bottom: 20px; }
.about .bio { color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.faq details { background: var(--white); border-radius: 16px; padding: 20px 24px; }
.faq summary { font-weight: 600; font-size: 18px; color: var(--navy); cursor: pointer; }
.faq details p { margin-top: 12px; font-size: 16px; }

/* Contact */
.contact-box { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 28px; padding: 48px 56px; }
.contact-text { flex: 999 1 420px; min-width: 0; }
.contact-text h2 { margin-bottom: 10px; }
.contact-text p { font-size: 18px; }
.contact-actions { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.contact-actions .coords { text-align: center; font-size: 15px; color: var(--muted); }
.contact-actions .coords a { white-space: nowrap; }

/* Pied de page */
.site-footer { background: var(--mist); border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; line-height: 1.6; }
.site-footer .container { display: flex; flex-direction: column; gap: 10px; padding-top: 36px; padding-bottom: 36px; }
.site-footer img { height: 34px; width: auto; margin-bottom: 6px; align-self: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Pages secondaires (mentions légales, 404) */
.page { max-width: 820px; padding-top: 64px; padding-bottom: 88px; }
.page h1 { margin-bottom: 32px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { margin-bottom: 10px; }

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero .container { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .hero-portrait { flex-basis: 220px; max-width: 220px; margin: 0 auto; }
  .hero-portrait figcaption { left: -24px; right: -24px; }
  .main-nav { display: none; }
  .meet, .contact-box { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
