/* FEN Educational Resources : site vitrine. Palette sobre : blanc, bleu nuit, or. */
:root {
  --navy: #0f1f3d; --navy-2: #182c52; --ink: #1c2230; --muted: #5f6675; --line: #e4e7ee; --bg: #ffffff; --soft: #f5f6f9;
  --gold: #b8962e; --gold-soft: #f6efd9; --red: #b12024;
  --serif: "Playfair Display", Georgia, serif; --sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px; --shadow: 0 10px 40px rgba(15,31,61,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); } .small { font-size: .9rem; }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--navy); color: var(--navy); background: transparent; transition: background .15s, color .15s, transform .15s; cursor: pointer; font-family: inherit; white-space: nowrap; }
.btn:hover { background: var(--navy); color: #fff; }
.btn.primary { background: var(--navy); color: #fff; } .btn.primary:hover { background: var(--navy-2); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; } .btn.gold:hover { background: #a3841f; border-color: #a3841f; }
.btn.light { border-color: rgba(255,255,255,.6); color: #fff; } .btn.light:hover { background: #fff; color: var(--navy); }
.btn.sm { padding: .6rem 1.1rem; font-size: .92rem; }

/* en-tete */
.site-head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand b { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.1; display: block; }
.brand span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--ink); font-size: .98rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a.active { border-bottom-color: var(--gold); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 28px 1rem; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: .8rem; }
}

/* hero */
.hero { padding: 5.5rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-note { margin-top: 1rem; font-size: .9rem; color: var(--muted); }
.frame { position: relative; border-radius: 16px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.frame::before { content: ""; display: block; height: 30px; background: var(--soft); border-bottom: 1px solid var(--line); background-image: radial-gradient(circle, #d3d7e0 4px, transparent 5px), radial-gradient(circle, #d3d7e0 4px, transparent 5px), radial-gradient(circle, #d3d7e0 4px, transparent 5px); background-size: 20px 20px; background-position: 12px 5px, 30px 5px, 48px 5px; background-repeat: no-repeat; }
.frame img { width: 100%; }
.frame.tilt { transform: rotate(-1.5deg); }
@media (max-width: 860px) { .hero { padding: 3.5rem 0 3rem; } .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

/* bandes */
.section { padding: 5rem 0; }
.section.soft { background: var(--soft); }
.section.navy { background: var(--navy); color: #d9deea; }
.section.navy h2, .section.navy h3 { color: #fff; } .section.navy .eyebrow { color: #e3c76b; } .section.navy .lead, .section.navy .muted { color: #b7c0d4; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.center { text-align: center; }
.rule { width: 56px; height: 3px; background: var(--gold); border: 0; margin: 1.2rem 0 1.6rem; } .center .rule { margin-left: auto; margin-right: auto; }

/* produits */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 10px rgba(15,31,61,.04); transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 16 / 9; background: var(--soft); overflow: hidden; border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.product-media.soon { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.product-media.soon span { font-family: var(--serif); font-size: 2rem; font-style: italic; color: #e3c76b; }
.product-body { padding: 1.8rem 2rem 2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.product-body .tag { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--gold-soft); color: #7d6415; }
.product-body .tag.soon { background: #e9ecf3; color: var(--navy); }
.product-body p { color: var(--muted); }
.product-body .actions { margin-top: auto; padding-top: 1rem; display: flex; gap: .7rem; flex-wrap: wrap; }
@media (max-width: 860px) { .products { grid-template-columns: 1fr; } }

/* chiffres, colonnes */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: .4rem; }
.stats span { color: #b7c0d4; font-size: .95rem; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.col { padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.col .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 1.2rem; }
.col p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .cols { grid-template-columns: 1fr; } }

/* tarifs */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 900px; margin: 0 auto; }
.plan { padding: 2.4rem 2.2rem; border: 1px solid var(--line); border-radius: 20px; background: #fff; display: flex; flex-direction: column; gap: .6rem; }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.plan .price { font-family: var(--serif); font-size: 3rem; color: var(--navy); line-height: 1; margin: .5rem 0; } .plan .price small { font-family: var(--sans); font-size: 1rem; color: var(--muted); }
.plan ul { margin: .5rem 0 1.2rem; padding: 0; list-style: none; } .plan li { padding: .4rem 0 .4rem 1.6rem; position: relative; color: var(--ink); border-top: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan .btn { margin-top: auto; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* citation, contact */
.quote { max-width: 760px; margin: 0 auto; text-align: center; font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1.5; color: var(--navy); }
.quote cite { display: block; margin-top: 1.2rem; font-family: var(--sans); font-style: normal; font-size: .95rem; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
form.card { padding: 2rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; display: flex; flex-direction: column; gap: 1rem; }
label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--navy); }
input, textarea, select { font: inherit; padding: .75rem .9rem; border: 1px solid #cfd4de; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.inline-form { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 520px; }
.inline-form input { flex: 1 1 240px; }
.list-check { list-style: none; padding: 0; margin: 1rem 0; } .list-check li { padding: .45rem 0 .45rem 1.8rem; position: relative; } .list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* pied de page */
.site-foot { background: var(--navy); color: #b7c0d4; padding: 3.5rem 0 2rem; font-size: .93rem; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-foot h4 { color: #fff; font-family: var(--serif); font-weight: 600; margin: 0 0 .8rem; font-size: 1.05rem; }
.site-foot a { color: #d9deea; text-decoration: none; } .site-foot a:hover { color: #fff; text-decoration: underline; }
.site-foot ul { list-style: none; padding: 0; margin: 0; } .site-foot li { margin: .35rem 0; }
.foot-brand { display: flex; align-items: center; gap: .8rem; color: #fff; margin-bottom: 1rem; } .foot-brand img { width: 44px; height: 44px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .85rem; color: #8f9ab3; }
@media (max-width: 860px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* page interieure */
.page-head { padding: 4.5rem 0 3rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.page-head .wrap { max-width: 800px; }
.soon-hero { padding: 6rem 0; text-align: center; }
.soon-hero .eyebrow { margin-bottom: 1.5rem; }
.soon-hero h1 { max-width: 760px; margin: 0 auto .8rem; }
.soon-hero .lead { margin: 0 auto 2rem; }
.soon-hero .inline-form { margin: 0 auto; justify-content: center; }
.ok-msg { display: none; padding: 1rem; border-radius: 10px; background: var(--gold-soft); color: #7d6415; font-weight: 600; }

/* ajustements */
.site-nav a { white-space: nowrap; } .site-nav { gap: 1.3rem; }
.brand span { white-space: nowrap; }
@media (max-width: 1100px) { .brand span { display: none; } }
.hero .frame img, .two .frame img { height: 440px; object-fit: cover; object-position: left top; }
@media (max-width: 860px) { .hero .frame img, .two .frame img { height: 300px; } }
