/* ===========================================================
   CENTRE DE FORMATION LA VAUCOULEURS — feuille de style
   Charte : bleu marine #0A1F4F · or #D49A1F
   =========================================================== */

:root {
  --navy: #0A1F4F;
  --navy-2: #102a63;
  --navy-deep: #061334;
  --gold: #D49A1F;
  --gold-soft: #e7b94e;
  --ink: #1c2540;
  --muted: #5b6478;
  --line: #e6e9f0;
  --bg: #f6f7fb;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 31, 79, .08);
  --shadow-lg: 0 20px 50px rgba(10, 31, 79, .14);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Marcellus', 'Playfair Display', Georgia, serif; line-height: 1.15; color: var(--navy); font-weight: 400; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tint { background: var(--bg); }
.section--navy { background: var(--navy); color: #dfe5f3; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px;
}
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section--navy .section-head p { color: #aeb9d6; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: .2s ease; white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-txt strong { font-family: 'Marcellus', serif; font-size: 1.05rem; color: var(--navy); letter-spacing: .04em; }
.brand .brand-txt span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, var(--navy-2));
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 400px at 80% -10%, rgba(212,154,31,.22), transparent 60%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding-top: 76px; padding-bottom: 76px; }
.hero-stars { color: var(--gold); letter-spacing: .3em; font-size: .9rem; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.hero h1 .accent { color: var(--gold); }
.hero p.lead { color: #c4cee8; font-size: 1.15rem; margin: 22px 0 30px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 38px; flex-wrap: wrap; }
.hero-badges div { font-size: .85rem; color: #aeb9d6; }
.hero-badges strong { display: block; font-family: 'Marcellus', serif; font-size: 1.7rem; color: var(--gold); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.hero-qualiopi {
  position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--navy);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-lg); font-size: .8rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.hero-qualiopi b { color: var(--gold); }

/* Carte hero (présentation des domaines, remplace la photo) */
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px; padding: 28px 28px 24px; backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.hero-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hc-stars { color: var(--gold); letter-spacing: .28em; font-size: .85rem; }
.hc-qualiopi { background: #fff; color: var(--navy); font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 999px; }
.hero-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
.hc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.hc-list li {
  display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  color: #e7ecf8; font-size: .98rem; font-weight: 500; transition: .2s;
}
.hc-list li:hover { background: rgba(212,154,31,.14); border-color: rgba(212,154,31,.4); transform: translateX(4px); }
.hc-ic { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; font-size: 1.15rem; background: rgba(255,255,255,.08); border-radius: 10px; }
.hc-list li em { margin-left: auto; font-style: normal; font-family: 'Marcellus', serif; font-size: 1.25rem; color: var(--gold); }
.hc-list li a { display: flex; align-items: center; gap: 14px; width: 100%; color: inherit; text-decoration: none; }
.hc-foot { text-align: center; margin-top: 18px; font-size: .82rem; letter-spacing: .04em; color: #aeb9d6; }

/* ---------- Bandeau de confiance ---------- */
.trust { background: var(--navy-deep); color: #c4cee8; padding: 18px 0; }
.trust .container { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; font-size: .92rem; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .dot { color: var(--gold); }

/* ---------- Valeurs ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  text-align: center; transition: .22s; box-shadow: var(--shadow);
}
.value:hover { transform: translateY(-5px); border-color: var(--gold); }
.value .ic { width: 52px; height: 52px; border-radius: 50%; background: rgba(212,154,31,.12); color: var(--gold);
  display: grid; place-items: center; margin: 0 auto 16px; font-size: 1.4rem; }
.value h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .94rem; }

/* ---------- Domaines (cartes) ---------- */
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.domain-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: .25s; overflow: hidden; display: flex; flex-direction: column;
}
.domain-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.domain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.domain-card:hover::before { transform: scaleX(1); }
.domain-ic { width: 58px; height: 58px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 18px; }
.domain-card h3 { font-size: 1.42rem; margin-bottom: 6px; }
.domain-card .count { font-size: .8rem; color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.domain-card ul { list-style: none; margin: 16px 0 22px; }
.domain-card ul li { font-size: .93rem; color: var(--muted); padding: 5px 0 5px 22px; position: relative; }
.domain-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.domain-card .more { margin-top: auto; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.domain-card .more::after { content: "→"; transition: transform .2s; }
.domain-card:hover .more::after { transform: translateX(4px); }
.domain-card:hover .more { color: var(--gold); }

/* ---------- Page domaine : en-tête ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-deep), var(--navy)); color: #fff; padding: 64px 0; }
.page-hero .crumb { font-size: .85rem; color: #aeb9d6; margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: #c4cee8; margin-top: 14px; max-width: 640px; font-size: 1.08rem; }
.page-hero .chip { display: inline-block; background: rgba(212,154,31,.16); color: var(--gold-soft); border: 1px solid rgba(212,154,31,.4); padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-top: 18px; }

/* ---------- Fiche formation ---------- */
.formations { display: flex; flex-direction: column; gap: 30px; }
.fiche {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 300px 1fr;
}
.fiche-side { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; padding: 30px 26px; display: flex; flex-direction: column; }
.fiche-side h2 { color: #fff; font-size: 1.45rem; }
.fiche-side .tag { color: var(--gold-soft); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.fiche-side .meta { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.fiche-side .meta div { font-size: .9rem; color: #c4cee8; }
.fiche-side .meta div b { display: block; color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 2px; }
.fiche-price { margin-top: auto; padding-top: 22px; }
.fiche-price .pr { background: rgba(212,154,31,.14); border: 1px solid rgba(212,154,31,.35); border-radius: 12px; padding: 14px 16px; }
.fiche-price .pr span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); display: block; }
.fiche-price .pr strong { font-family: 'Marcellus', serif; font-size: 1.25rem; color: #fff; }
.fiche-price .pr small { color: #aeb9d6; font-size: .8rem; display: block; }
.fiche-body { padding: 32px 32px; }
.fiche-body .block { margin-bottom: 22px; }
.fiche-body .block:last-child { margin-bottom: 0; }
.fiche-body h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-family: 'Inter', sans-serif; font-weight: 700; }
.fiche-body ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; }
.fiche-body ul.one { grid-template-columns: 1fr; }
.fiche-body li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--ink); }
.fiche-body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.fiche-body .enjeu { background: var(--bg); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 14px 18px; color: var(--muted); font-size: .95rem; }
.fiche-cta { margin-top: 24px; }

/* ---------- Engagements qualité ---------- */
.quality-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px; }
.quality-grid li { list-style: none; position: relative; padding: 6px 0 6px 40px; font-size: .96rem; color: #c4cee8; }
.quality-grid li .n { position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: rgba(212,154,31,.16); color: var(--gold); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about img { border-radius: 18px; box-shadow: var(--shadow-lg); }
.about .formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.about .formats span { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .85rem; color: var(--navy); font-weight: 500; }

/* ---------- CTA bande ---------- */
.cta-band { background: linear-gradient(120deg, var(--gold), var(--gold-soft)); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 54px 24px; }
.cta-band h2 { color: var(--navy); font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.cta-band p { color: #5a4410; margin-top: 6px; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); transform: translateY(-2px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 46px; }
.contact-info .ci { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info .ci b { display: block; color: var(--navy); }
.contact-info .ci span { color: var(--muted); font-size: .95rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fcfcfe; transition: border .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* ---------- Pages légales (texte) ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal .upd { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); display: inline-block; }
.legal h3 { font-size: 1.12rem; margin: 22px 0 8px; color: var(--navy); }
.legal p { color: var(--ink); margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 4px; padding-left: 20px; }
.legal ul li { margin-bottom: 7px; color: var(--ink); }
.legal a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.legal a:hover { color: var(--gold); }
.legal .note { background: var(--bg); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; padding: 14px 18px; color: var(--muted); font-size: .95rem; margin: 16px 0; }
.legal .todo { background: #fff7e6; border: 1px dashed var(--gold); border-radius: 10px; padding: 12px 16px; color: #8a6310; font-size: .92rem; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font-size: .93rem; }
.legal table th, .legal table td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); }
.legal table th { background: var(--bg); color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aeb9d6; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand-txt strong { color: #fff; }
.site-footer p { font-size: .92rem; margin-top: 14px; max-width: 320px; }
.site-footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; font-size: .93rem; }
.site-footer ul li a:hover { color: var(--gold); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .8rem; color: #7e8aab; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container, .about, .contact-grid { grid-template-columns: 1fr; }
  .hero-text, .hero-visual { min-width: 0; }
  .hero-visual { order: -1; }
  .values, .domains { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fiche { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .nav-links { position: fixed; inset: 78px 0 auto 0; background: #fff; flex-direction: column; padding: 20px 24px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-150%); transition: transform .3s; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
  .values, .domains, .footer-grid, .fiche-body ul { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
}
