/* ==========================================================
   AJES Group — thème lumineux
   ========================================================== */
:root {
  --bg: #FFFCF5;
  --bg-soft: #FBF5E8;
  --white: #FFFFFF;
  --ink: #10233A;
  --ink-2: #33475B;
  --muted: #5B6B7B;
  --line: #ECE3D0;

  --gold: #D99A2B;
  --gold-ink: #8A5A0E;
  --sun: #FFD27A;
  --sun-soft: #FFF3D6;

  --edu: #0E8A69;      /* AJES EduTech */
  --edu-soft: #E2F5EE;
  --poly: #18788F;     /* Polyglot */
  --poly-soft: #E1F1F5;
  --aka: #2E4E9F;      /* Akademia */
  --aka-soft: #E7ECFA;

  --ok: #12946F;
  --danger: #C2410C;

  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 35, 58, .04), 0 14px 36px -14px rgba(16, 35, 58, .14);
  --shadow-lg: 0 2px 4px rgba(16, 35, 58, .04), 0 28px 60px -20px rgba(16, 35, 58, .22);
  --container: 1160px;
  --nav-h: 72px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--font-title); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 16px; }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1 var(--font-body); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(16, 35, 58, .55); }
.btn-sun { background: linear-gradient(135deg, #FFD983, #F2B347); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(217, 154, 43, .7); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-edu { background: var(--edu); color: #fff; }

/* ===== Navigation ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 252, 245, .82);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(236, 227, 208, .8);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; }
.brand-name { font-family: var(--font-title); font-size: 1.25rem; font-weight: 700; line-height: 1; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--gold-ink); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { padding: 8px 12px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:not(.btn):hover { background: var(--sun-soft); color: var(--ink); }
.nav-links .btn { padding: 11px 20px; margin-left: 8px; }
.nav-tools { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font: 700 .78rem/1 var(--font-body); letter-spacing: .06em; color: var(--muted);
  padding: 8px 11px; border-radius: 999px; transition: background .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }

@media (max-width: 440px) { .site-header .brand-name small { display: none; } .site-header .brand-mark { width: 38px; height: 38px; } }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
  .nav-links .btn { margin: 8px 0 0; }
}

/* ===== Sections communes ===== */
.section { padding: 104px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 16px;
}
.eyebrow svg { width: 22px; height: 22px; }
.section-title { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-bottom: 18px; }
.section-title em { font-style: italic; color: var(--gold-ink); }
.section-sub { font-size: 1.1rem; color: var(--muted); line-height: 1.7; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 88px 0 96px; text-align: center;
  background:
    radial-gradient(60% 55% at 50% 0%, #FFE6AE 0%, rgba(255, 230, 174, 0) 70%),
    radial-gradient(35% 40% at 10% 70%, rgba(14, 138, 105, .10) 0%, transparent 70%),
    radial-gradient(35% 40% at 90% 65%, rgba(46, 78, 159, .10) 0%, transparent 70%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: -20% -10% 0; z-index: -1;
  background: repeating-conic-gradient(from -90deg at 50% 0%, rgba(255, 196, 84, .16) 0deg 5deg, transparent 5deg 13deg);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(70% 70% at 50% 0%, #000 0%, transparent 75%);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE7A8, var(--gold)); box-shadow: 0 0 0 4px rgba(255, 210, 122, .35); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 920px; margin: 0 auto 24px; }
.hero h1 em {
  font-style: italic;
  background: linear-gradient(100deg, #B9781A 0%, #E7A93A 45%, #C47F14 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; margin-bottom: 64px; }
.branch {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .86); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.branch:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.branch-top { display: flex; align-items: center; justify-content: space-between; }
.branch-logo { width: 52px; height: 52px; }
.branch-num { font-family: var(--font-title); font-size: .95rem; font-style: italic; color: var(--muted); }
.branch h3 { font-family: var(--font-title); font-size: 1.45rem; font-weight: 600; }
.branch p { font-size: .94rem; color: var(--muted); }
.branch-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .9rem; font-weight: 700; }
.branch-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.branch:hover .branch-link .icon { transform: translateX(4px); }
.branch.edu { border-top: 4px solid var(--edu); } .branch.edu .branch-link { color: var(--edu); }
.branch.poly { border-top: 4px solid var(--poly); } .branch.poly .branch-link { color: var(--poly); }
.branch.aka { border-top: 4px solid var(--aka); } .branch.aka .branch-link { color: var(--aka); }
.badge-new { position: absolute; top: -12px; right: 20px; background: var(--edu); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 860px; margin: 0 auto; }
.stat { padding: 0 12px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat-n { display: block; font-family: var(--font-title); font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; color: var(--gold-ink); line-height: 1.1; }
.stat-l { font-size: .85rem; color: var(--muted); font-weight: 500; }

@media (max-width: 860px) {
  .branches { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* ===== EduTech ===== */
.edutech { background: linear-gradient(180deg, var(--bg) 0%, #F2FAF6 100%); }
.edutech .eyebrow { color: var(--edu); }
.edutech .section-title em { color: var(--edu); }
.pillar { margin-bottom: 56px; }
.pillar-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.pillar-head h3 { font-family: var(--font-title); font-size: 1.7rem; font-weight: 600; }
.pillar-head p { color: var(--muted); font-size: .98rem; }
.pillar-tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--edu); background: var(--edu-soft); padding: 5px 12px; border-radius: 999px; }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.product {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(14, 138, 105, .35); }
.product-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--edu-soft); color: var(--edu); margin-bottom: 18px; }
.product-ico .icon { width: 26px; height: 26px; }
.product h4 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.product p { font-size: .92rem; color: var(--muted); line-height: 1.6; }
.products.create .product-ico { background: var(--sun-soft); color: var(--gold-ink); }
.products.create .product:hover { border-color: rgba(217, 154, 43, .45); }
.more-note { margin-top: 18px; font-size: .95rem; color: var(--muted); font-style: italic; }

.audience {
  display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 40px; align-items: center;
  padding: 40px; border-radius: 28px; color: #fff;
  background: radial-gradient(80% 120% at 100% 0%, #1FB58A 0%, transparent 60%), linear-gradient(135deg, #0C7A5D, #0A5C47);
  box-shadow: var(--shadow-lg);
}
.audience h3 { font-family: var(--font-title); font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 600; margin-bottom: 12px; }
.audience > div > p { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.audience-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.audience-list li { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); font-weight: 600; font-size: .95rem; }
.audience-list .icon { color: var(--sun); }
.audience .btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.audience .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
@media (max-width: 860px) {
  .audience { grid-template-columns: 1fr; padding: 28px 22px; }
  .audience-list { grid-template-columns: 1fr; }
}

/* ===== Parcours ===== */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--edu), var(--poly), var(--aka), var(--gold)); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 36px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot { position: absolute; left: -39px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); display: grid; place-items: center; }
.tl-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.tl-tag { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
.tl-title { font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; margin-bottom: 6px; }
.tl-body { font-size: .96rem; color: var(--muted); }
.chip { display: inline-block; margin-top: 12px; font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.chip-edu { background: var(--edu-soft); color: var(--edu); }
.chip-poly { background: var(--poly-soft); color: var(--poly); }
.chip-aka { background: var(--aka-soft); color: var(--aka); }

/* ===== Polyglot ===== */
.polyglot .eyebrow { color: var(--poly); }
.polyglot .section-title em { color: var(--poly); }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.lang-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.lang-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(24, 120, 143, .4); }
.lang-code { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--poly-soft); color: var(--poly); font-weight: 800; letter-spacing: .04em; margin-bottom: 16px; }
.lang-name { font-family: var(--font-title); font-size: 1.35rem; font-weight: 600; margin-bottom: 4px; }
.lang-certs { font-size: .9rem; color: var(--muted); }
.cert-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cert-badge { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--poly-soft); color: var(--poly); }

/* ===== Akademia ===== */
.akademia .eyebrow { color: var(--aka); }
.akademia .section-title em { color: var(--aka); }
.levels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-bottom: 32px; }
.level { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 10px; text-align: center; transition: border-color .2s, transform .2s; }
.level:hover { border-color: var(--aka); transform: translateY(-2px); }
.level-num { font-family: var(--font-title); font-size: 1.6rem; font-weight: 600; color: var(--aka); line-height: 1; margin-bottom: 8px; }
.level-name { font-size: .82rem; font-weight: 700; }
.level-age { font-size: .76rem; color: var(--muted); }
.level.exam { background: var(--aka); border-color: var(--aka); color: #fff; }
.level.exam .level-num, .level.exam .level-age { color: #fff; }
.level.exam .level-age { opacity: .8; }
@media (max-width: 960px) { .levels { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .levels { grid-template-columns: repeat(2, 1fr); } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--aka-soft); }
.feature-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--aka); display: grid; place-items: center; flex-shrink: 0; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--ink-2); }

/* ===== Pourquoi AJES ===== */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.diff-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; transition: transform .25s, box-shadow .25s; }
.diff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.diff-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--sun-soft); color: var(--gold-ink); }
.diff-card h3 { margin-bottom: 8px; }
.diff-card p { font-size: .93rem; color: var(--muted); }

/* ===== Tarifs ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px; }
.price-card.featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #FFF8E6 0%, var(--white) 40%); }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.price-name { font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.price { font-family: var(--font-title); font-size: 2.6rem; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.price sup { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--muted); vertical-align: super; margin-left: 4px; }
.price-per { font-size: .86rem; color: var(--muted); margin: 8px 0 22px; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.price-features li { display: flex; gap: 10px; font-size: .94rem; }
.price-features .icon { width: 20px; height: 20px; color: var(--ok); stroke-width: 2.2; }
.price-card .btn { margin-top: auto; width: 100%; }
.pricing-note { text-align: center; margin-top: 28px; color: var(--muted); font-size: .92rem; }

/* ===== Vision (à venir) ===== */
.vision {
  background:
    radial-gradient(50% 80% at 0% 0%, rgba(255, 210, 122, .35) 0%, transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(14, 138, 105, .10) 0%, transparent 70%),
    var(--bg-soft);
}
.vision-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.vision-card { position: relative; padding: 28px 24px; border-radius: var(--radius); background: rgba(255, 255, 255, .7); border: 1px dashed #D9C7A0; }
.vision-card .diff-ico { background: var(--white); }
.vision-card h3 { margin-bottom: 8px; }
.vision-card p { font-size: .93rem; color: var(--muted); }
.soon { position: absolute; top: 22px; right: 20px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); background: var(--sun-soft); padding: 4px 10px; border-radius: 999px; }

/* ===== Téléchargement ===== */
.download {
  position: relative; overflow: hidden; text-align: center; padding: 96px 0;
  background: radial-gradient(60% 90% at 50% 0%, #FFF1C9 0%, transparent 70%), linear-gradient(135deg, #FFE09A 0%, #F7B955 100%);
}
.download h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.download p { font-size: 1.12rem; color: var(--ink-2); max-width: 560px; margin: 0 auto 36px; }
.store-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 16px; background: var(--ink); color: #fff; text-align: left; transition: transform .2s; }
.store-btn:hover { transform: translateY(-2px); }
.store-btn small { display: block; font-size: .7rem; opacity: .75; }
.store-btn strong { display: block; font-size: 1.05rem; }

/* ===== Témoignages ===== */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.testi { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.testi-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; }
.testi blockquote { margin: 0 0 22px; font-family: var(--font-title); font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; }
.testi-name { font-weight: 700; font-size: .95rem; }
.testi-role { font-size: .82rem; color: var(--muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-intro { color: var(--muted); margin-bottom: 28px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.contact-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sun-soft); color: var(--gold-ink); flex-shrink: 0; }
.contact-label { font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.contact-value { font-weight: 600; }
.contact-form { display: grid; gap: 14px; padding: 32px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 700; }
.input {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  font: 500 .98rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 210, 122, .35); }
textarea.input { min-height: 130px; resize: vertical; }
.form-status { min-height: 1.4em; font-size: .9rem; font-weight: 600; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
.form-alt { margin-top: -4px; font-size: .9rem; color: var(--muted); text-align: center; }
.form-alt a { color: #128C4A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } .contact-form { padding: 24px 20px; } }

/* ===== Pied de page ===== */
.site-footer { background: var(--ink); color: #C9D3DD; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: var(--sun); }
.footer-desc { margin-top: 18px; font-size: .92rem; max-width: 300px; }
.footer-title { color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: .92rem; transition: color .2s; }
.footer-links a:hover { color: var(--sun); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--sun); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Photos ===== */
.media { display: grid; gap: 14px; margin-bottom: 48px; }
.media figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--line); box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.media figure:hover img { transform: scale(1.03); }
.media-duo { grid-template-columns: 2fr 1fr; height: 380px; }
.media-trio { grid-template-columns: 1fr 1fr 1fr; height: 420px; }
.media figcaption, .contact-photo figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: .8rem; font-weight: 700; color: var(--ink);
}
@media (max-width: 760px) {
  .media-duo, .media-trio { height: auto; grid-template-columns: 1fr 1fr; }
  .media figure { height: 210px; }
  .media figure:first-child, .media-duo figure { grid-column: 1 / -1; height: 250px; }
}
.contact-photo { position: relative; margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 2 / 1; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Bouton WhatsApp flottant ===== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 26px -8px rgba(18, 140, 70, .65);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ===== Pages légales ===== */
.legal { padding: 64px 0 96px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .todo { background: var(--sun-soft); border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--ink-2); margin-bottom: 32px; }
.back-link .icon { width: 18px; height: 18px; transform: rotate(180deg); }

/* ===== Apparition au défilement ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media print { .js .reveal { opacity: 1; transform: none; } }

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; }
  .section-head { margin-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
