/* ============================================================
   RFD website UI kit — component styles
   Clean recreation derived from prototypes/shared/rfd-theme.css.
   Honours the Constitution (no uppercase headings, no glow,
   one accent, 8px grid, 4/2/999 radii, weights <= 700).
   Loads after colors_and_type.css.
   ============================================================ */

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

body {
  font-family:var(--font-body);
  font-size:var(--fs-body);
  line-height:var(--lh-body);
  color:var(--color-text);
  background:var(--color-white);
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}
a { color:inherit; text-decoration:none; }
img { display:block; max-width:100%; }
:focus-visible { outline:2px solid var(--color-rfd-red); outline-offset:3px; }

.container { width:100%; max-width:var(--container-max); margin-inline:auto; padding-inline:1.5rem; }

/* sections */
.section { padding:var(--section-pad) 0; }
.section--compact { padding:var(--section-pad-compact) 0; }
.section--alt { background:var(--color-grey-bg); }
.section--dark { background:var(--color-black); color:#fff; }

/* ── eyebrow / section header ───────────────────────────── */
.eyebrow {
  display:inline-flex; align-items:center; gap:.625rem;
  font-family:var(--font-display); font-weight:600; font-size:var(--fs-label);
  text-transform:uppercase; letter-spacing:var(--ls-label); color:var(--color-rfd-red);
  margin-bottom:.875rem; white-space:nowrap;
}
.eyebrow::before { content:""; width:45px; height:2px; background:var(--color-rfd-red); flex-shrink:0; }
.eyebrow--center { justify-content:center; }

.h2 { font-family:var(--font-display); font-weight:700; font-size:var(--fs-h2);
  letter-spacing:var(--ls-h2); line-height:1.12; color:var(--color-black); }
.section--dark .h2 { color:#fff; }
.h3 { font-family:var(--font-display); font-weight:700; font-size:var(--fs-h3);
  letter-spacing:var(--ls-h3); line-height:1.3; color:var(--color-black); }
.lead { font-size:var(--fs-body); color:var(--color-text-muted); line-height:1.65; max-width:54ch; }

.section-head { margin-bottom:3rem; }
.section-head--center { text-align:center; }
.section-head--center .eyebrow { justify-content:center; }
.section-head--center .lead { margin-inline:auto; }

/* ── buttons ────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-body); font-weight:600; font-size:.9375rem;
  min-height:44px; padding:.8125rem 1.625rem; border-radius:var(--radius-btn);
  border:1.5px solid transparent; cursor:pointer; white-space:nowrap; transition:background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width:14px; height:14px; stroke:currentColor; fill:none; stroke-width:2.5; }
.btn--primary { background:var(--color-rfd-red); color:#fff; }
.btn--primary:hover { background:var(--color-rfd-red-dark); box-shadow:0 8px 20px rgb(155 22 22 / .25); }
.btn--secondary { background:transparent; border-color:var(--color-rfd-red); color:var(--color-rfd-red); }
.btn--secondary:hover { background:var(--color-rfd-red-light); }
.btn--on-dark { background:transparent; border-color:#fff; color:#fff; }
.btn--on-dark:hover { background:rgb(255 255 255 / .12); }
.btn--ghost { background:rgb(255 255 255 / .06); border-color:rgb(255 255 255 / .55); color:#fff; border-radius:var(--radius-pill); padding-inline:1.5rem; }
.btn--ghost:hover { border-color:#fff; background:rgb(255 255 255 / .14); }
.btn--pill { border-radius:var(--radius-pill); padding-right:.4rem; }
.btn--pill .btn-ico {
  width:30px; height:30px; border-radius:50%; background:rgb(0 0 0 / .22);
  display:inline-flex; align-items:center; justify-content:center; margin-left:.25rem;
  transition:transform .35s var(--ease-out);
}
.btn--pill:hover .btn-ico { transform:rotate(45deg); }

/* ── header ─────────────────────────────────────────────── */
.hdr { position:fixed; top:0; left:0; right:0; z-index:200; background:var(--color-black);
  border-bottom:1px solid rgb(255 255 255 / .06);
  transition: background .35s ease, border-color .35s ease; }
.hdr--over { background:linear-gradient(180deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .38) 55%, transparent 100%); border-bottom-color:transparent; }
.hdr-inner { display:flex; align-items:stretch; gap:.5rem; min-height:var(--header-h); }
.hdr-logo { display:flex; align-items:center; gap:14px; padding-right:26px; }
.brand-emblem { display:flex; align-items:center; }
.brand-emblem img { height:42px; width:auto; }
.brand-rule { width:1px; height:38px; background:rgb(255 255 255 / .16); }
.brand-text { display:flex; flex-direction:column; justify-content:center; line-height:1.15; }
.brand-name { font-family:var(--font-display); font-weight:600; font-size:1rem; color:#fff; letter-spacing:-.01em; white-space:nowrap; }
.brand-tag { font-family:var(--font-body); font-size:.6875rem; font-weight:500; color:rgb(255 255 255 / .5); letter-spacing:.02em; }
@media (max-width:560px){
  .brand-text { display:flex }
  .brand-name { font-size:.875rem; }
  .brand-tag { display:none; }
  .brand-rule { display:none; }
  .brand-emblem img { height:34px; }
  .hdr-logo { gap:10px; padding-right:0; }
}
.hdr-nav { display:flex; flex:1; justify-content:center; align-items:stretch; }
.hdr-nav a { position:relative; display:flex; align-items:center; padding:0 1rem;
  font-size:.875rem; font-weight:500; color:rgb(255 255 255 / .72); white-space:nowrap; transition:color .22s; }
.hdr-nav a:hover { color:#fff; }
.hdr-nav a::after { content:""; position:absolute; left:1rem; right:1rem; bottom:1.375rem;
  height:2px; background:var(--color-rfd-red); border-radius:2px; transform:scaleX(0);
  transform-origin:center; transition:transform .28s var(--ease-out); }
.hdr-nav a:hover::after { transform:scaleX(.5); }
.hdr-nav a.active { color:#fff; font-weight:600; }
.hdr-nav a.active::after { transform:scaleX(1); bottom:1.25rem; }
.hdr-actions { display:flex; align-items:center; gap:.75rem; }
.hdr-call { width:40px; height:40px; border-radius:4px; border:1px solid rgb(255 255 255 / .14);
  display:flex; align-items:center; justify-content:center; transition:border-color .2s, background .2s; }
.hdr-call:hover { border-color:rgb(255 255 255 / .3); background:rgb(255 255 255 / .04); }
.hdr-call svg { width:16px; height:16px; stroke:var(--color-rfd-red); fill:none; stroke-width:2; }
.hdr-burger { display:none; width:44px; height:44px; flex-direction:column; justify-content:center;
  gap:5px; background:transparent; border:none; cursor:pointer; }
.hdr-burger span { width:22px; height:2px; background:#fff; margin-inline:auto; border-radius:1px; transition:transform .25s, opacity .25s; }

@media (max-width:900px) {
  .hdr-nav { display:none; }
  .hdr-burger { display:flex; }
  .hdr-call { display:none; }
  .hdr-actions .btn { display:none; }
}

/* burger → X */
.hdr-burger.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.hdr-burger.is-open span:nth-child(2){ opacity:0; }
.hdr-burger.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.hdr-mobile { position:fixed; top:var(--header-h); left:0; right:0; z-index:210;
  background:var(--color-black); border-top:1px solid rgb(255 255 255 / .08);
  transform:translateY(-12px); opacity:0; pointer-events:none; visibility:hidden;
  transition:transform .3s var(--ease-out), opacity .3s, visibility .3s;
  max-height:calc(100vh - var(--header-h)); overflow-y:auto; padding:.5rem 0 1.5rem; }
.hdr-mobile.show { transform:none; opacity:1; pointer-events:auto; visibility:visible; }
.hdr-mobile-nav { display:flex; flex-direction:column; }
.hdr-mobile-nav a { display:flex; align-items:center; justify-content:space-between;
  padding:1.1rem 1.5rem; color:rgb(255 255 255 / .8); font-family:var(--font-display);
  font-weight:500; font-size:1.0625rem; border-bottom:1px solid rgb(255 255 255 / .06); transition:color .2s, background .2s; }
.hdr-mobile-nav a svg { stroke:var(--color-rfd-red); fill:none; stroke-width:2.5; opacity:.6; }
.hdr-mobile-nav a:hover, .hdr-mobile-nav a.active { color:#fff; background:rgb(255 255 255 / .04); }
.hdr-mobile-nav a.active { font-weight:600; }
.hdr-mobile-foot { display:flex; flex-direction:column; gap:.875rem; padding:1.5rem 1.5rem 0; }
.hdr-mobile-foot .btn { justify-content:center; width:100%; }
.hdr-mobile-call { display:inline-flex; align-items:center; justify-content:center; gap:.625rem;
  color:#fff; font-family:var(--font-display); font-weight:600; font-size:.9375rem;
  padding:.875rem; border:1px solid rgb(255 255 255 / .2); border-radius:var(--radius-btn); }
.hdr-mobile-call svg { width:18px; height:18px; fill:var(--color-rfd-red); }
.hdr-scrim { position:fixed; inset:0; top:var(--header-h); z-index:205; background:rgb(0 0 0 / .5);
  opacity:0; pointer-events:none; transition:opacity .3s; }
.hdr-scrim.show { opacity:1; pointer-events:auto; }
@media (min-width:901px){ .hdr-mobile, .hdr-scrim { display:none; } }
/* keep header bar solid (not transparent) while drawer is open */
.hdr--over.hdr--open { background:var(--color-black); }

/* ── hero ───────────────────────────────────────────────── */
.hero { position:relative; min-height:100svh; display:flex; flex-direction:column;
  justify-content:flex-end; overflow:hidden; color:#fff; background:#0c0c0c; }
.hero-media { position:absolute; inset:0; z-index:0; }
.hero-media .ph { position:absolute; inset:0; }
.hero-media img { width:100%; height:100%; object-fit:cover; transform:scale(1.08);
  animation:kenburns 12s ease-out forwards; }
@keyframes kenburns { to { transform:scale(1); } }
.hero-shade { position:absolute; inset:0; z-index:1; background:
  linear-gradient(180deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .42) 28%, rgb(0 0 0 / .06) 52%, transparent 68%),
  linear-gradient(0deg, rgb(12 12 12) 0%, rgb(12 12 12 / .88) 22%, rgb(12 12 12 / 0) 58%); }
.hero-content { position:relative; z-index:3; width:100%; padding:calc(var(--header-h) + 2rem) 0 3.5rem; }
.hero-copy { max-width:46rem; }
.hero-eyebrow { display:flex; align-items:center; gap:1.25rem; margin-bottom:2rem; }
.hero-eyebrow span:first-child { width:25px; height:2px; background:var(--color-rfd-red); }
.hero-eyebrow p { font-family:var(--font-display); font-size:.8125rem; font-weight:600; color:var(--color-rfd-red); }
.hero h1 { font-family:var(--font-display); font-weight:700; font-size:var(--fs-h1);
  line-height:1.1; letter-spacing:var(--ls-h2); max-width:18ch; margin-bottom:1.375rem;
  text-shadow:0 2px 24px rgb(0 0 0 / .45); }
.hero-sub { font-size:1.0625rem; line-height:1.65; color:rgb(255 255 255 / .9); max-width:42ch;
  margin-bottom:1.75rem; text-shadow:0 1px 12px rgb(0 0 0 / .35); }
.hero-actions { display:flex; flex-wrap:wrap; gap:.875rem 1rem; align-items:center; }
.hero-proof { margin-top:2.5rem; padding-top:1.5rem; border-top:1px solid rgb(255 255 255 / .12); }
.hero-proof-label { font-size:.6875rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:rgb(255 255 255 / .55); margin-bottom:1rem; }
.hero-proof-logos { display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.25rem; }
.hero-proof-logos .chip { background:rgb(255 255 255 / .94); padding:.35rem .65rem; border-radius:3px;
  box-shadow:0 2px 8px rgb(0 0 0 / .2); display:flex; align-items:center; }
.hero-proof-logos img { height:30px; width:auto; max-width:104px; object-fit:contain; }

/* entrance anim, gated on body load */
.reveal-hero > * { opacity:0; transform:translateY(28px); animation:heroUp .65s var(--ease-out) forwards; }
.reveal-hero > *:nth-child(1){ animation-delay:.1s } .reveal-hero > *:nth-child(2){ animation-delay:.25s }
.reveal-hero > *:nth-child(3){ animation-delay:.4s } .reveal-hero > *:nth-child(4){ animation-delay:.55s }
.reveal-hero > *:nth-child(5){ animation-delay:.7s }
@keyframes heroUp { to { opacity:1; transform:none; } }

/* ── placeholder media (real photos dropped in later) ───── */
.ph { background:#e6e9ef; position:relative; overflow:hidden;
  background-image:
    linear-gradient(135deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,0) 55%),
    repeating-linear-gradient(135deg, #e9ecf2 0 12px, #e3e7ee 12px 24px); }
.ph--dark { background:#16181d; background-image:
    linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 55%),
    repeating-linear-gradient(135deg, #15171c 0 12px, #191c22 12px 24px); }
.ph-label { position:absolute; left:12px; bottom:12px; font-family:var(--font-display);
  font-size:10.5px; font-weight:600; letter-spacing:.04em; color:#8a909b;
  background:rgb(255 255 255 / .82); padding:5px 9px; border-radius:2px; z-index:2; }
.ph--dark .ph-label { color:rgb(255 255 255 / .6); background:rgb(0 0 0 / .35); }
.ph-gear { position:absolute; opacity:.06; pointer-events:none; }
/* beat the `.x img { width:100%;object-fit:cover }` rules + reset their transform/anim */
.ph .ph-gear { inset:auto; right:-26px; top:-26px; width:130px; height:auto; object-fit:contain; transform:none; animation:none; }

/* ── stats ──────────────────────────────────────────────── */
.stats { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid var(--color-grey-border); }
.stat { padding:1.5rem 1.75rem .25rem; border-right:1px solid #eef0f4; }
.stat:last-child { border-right:none; }
.stat-lbl { font-family:var(--font-display); font-size:.8125rem; font-weight:500; color:var(--color-text-muted);
  line-height:1.4; margin-bottom:1.125rem; min-height:2.2em; }
.stat-fig { display:flex; align-items:baseline; gap:2px; }
.stat-pre { font-family:var(--font-display); font-weight:700; font-size:1.875rem; color:var(--color-rfd-red); letter-spacing:-.02em; }
.stat-num { font-family:var(--font-display); font-weight:700; font-size:3.25rem; line-height:.95;
  letter-spacing:-.04em; color:var(--color-rfd-red); font-variant-numeric:tabular-nums; }
.stat-unit { font-family:var(--font-body); font-size:.8125rem; font-weight:600; color:var(--color-black); margin-top:.5rem; padding-bottom:1.25rem; }
.stat-unit .q { color:var(--color-text-muted); font-weight:400; }
@media (max-width:760px){ .stats{ grid-template-columns:repeat(2,1fr) } .stat{ border-bottom:1px solid #eef0f4 } }

/* ── about split ────────────────────────────────────────── */
.about { position:relative; min-height:600px; display:flex; align-items:flex-end; }
.about-bg { position:absolute; inset:0; z-index:0; }
.about-bg .ph, .about-bg img { width:100%; height:100%; object-fit:cover; }
.about-inner { position:relative; z-index:2; width:100%; display:flex; align-items:flex-end; min-height:520px; }
.about-panel { width:min(54%, 580px); background:#fff; padding:3rem 3.25rem 3.5rem; box-shadow:var(--shadow-panel); }
.about-panel p { color:var(--color-text-muted); font-size:1rem; line-height:1.7; margin-top:1rem; }
.about-panel .btn { margin-top:1.75rem; }
@media (max-width:860px){
  .about { flex-direction:column; min-height:0; }
  .about-inner{ flex-direction:column; min-height:0 }
  .about-bg{ position:relative; height:300px; }
  .about-panel{ width:auto; margin:-2rem 1.25rem 0; padding:2rem 1.5rem }
}

/* ── industry cards (photo + overlay) ───────────────────── */
.industries { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; }
@media (max-width:980px){ .industries{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:520px){ .industries{ grid-template-columns:1fr } }
.industry { position:relative; aspect-ratio:3/4; border-radius:var(--radius-img); overflow:hidden;
  transition:transform .45s var(--ease-out), box-shadow .45s; }
.industry:hover { transform:translateY(-6px); box-shadow:0 20px 44px rgb(0 0 0 / .18); }
.industry .ph, .industry img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out); }
.industry:hover img { transform:scale(1.06); }
.industry-grad { position:absolute; inset:0; background:linear-gradient(0deg, rgb(0 0 0 / .82) 0%, rgb(0 0 0 / .25) 42%, transparent 70%); }
.industry-cap { position:absolute; left:0; right:0; bottom:0; z-index:2; padding:1.5rem 1.375rem; color:#fff; }
.industry-cap h3 { font-family:var(--font-display); font-weight:700; font-size:1.125rem; margin-bottom:.35rem; }
.industry-cap p { font-size:.8125rem; color:rgb(255 255 255 / .82); line-height:1.5; }

/* ── service cards ──────────────────────────────────────── */
.services-head { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:1.5rem; margin-bottom:3rem; }
.services { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
@media (max-width:980px){ .services{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:560px){ .services{ grid-template-columns:1fr } }
.service { background:#fff; border:1px solid #eef0f4; border-top:3px solid transparent; border-radius:var(--radius-card); overflow:hidden;
  display:flex; flex-direction:column; transition:transform .45s var(--ease-out), box-shadow .45s, border-top-color .3s; }
.service:hover { transform:translateY(-6px); box-shadow:var(--shadow-card-hover); border-top-color:var(--color-rfd-red); }
.service-img { aspect-ratio:16/10; overflow:hidden; }
.service-img .ph, .service-img img { width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out); }
.service:hover .service-img img { transform:scale(1.06); }
.service-body { padding:1.5rem 1.5rem 1.625rem; display:flex; flex-direction:column; flex:1; }
.service-body .eyebrow { margin-bottom:.75rem; }
.service-body h3 { font-family:var(--font-display); font-weight:700; font-size:1.0625rem; line-height:1.32;
  letter-spacing:-.02em; color:var(--color-black); margin-bottom:.625rem; }
.service-body p { font-size:.875rem; color:var(--color-text-muted); line-height:1.6; flex:1; margin-bottom:1.25rem; }
.service-link { display:flex; align-items:center; justify-content:space-between; padding-top:1rem;
  border-top:1px solid #eef0f4; font-family:var(--font-display); font-weight:600; font-size:.8125rem; color:var(--color-black); }
.service-link .arr { width:34px; height:34px; border-radius:50%; background:var(--color-rfd-red);
  display:inline-flex; align-items:center; justify-content:center; transition:transform .35s var(--ease-out), background .3s; }
.service:hover .service-link .arr { transform:rotate(45deg); background:var(--color-rfd-red-dark); }
.service-link .arr svg { width:13px; height:13px; stroke:#fff; fill:none; stroke-width:2.5; }

/* ── value cards ────────────────────────────────────────── */
.values { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; padding-top:.875rem; }
@media (max-width:980px){ .values{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:520px){ .values{ grid-template-columns:1fr } }
.value { position:relative; padding:2.25rem 1.625rem 1.75rem; border:1px solid #e2e4e9;
  background:#fff; box-shadow:0 1px 4px rgb(0 0 0 / .04); transition:transform .4s var(--ease-out), box-shadow .4s, border-color .4s; }
.value:hover { transform:translateY(-6px); border-color:var(--color-black); box-shadow:0 14px 40px rgb(0 0 0 / .09); }
.value-num { position:absolute; top:-13px; left:1.625rem; font-family:var(--font-display); font-weight:700;
  font-size:.75rem; padding:.375rem .75rem; border:1px solid var(--color-grey-border); background:#fff; color:var(--color-black); transition:.4s; }
.value:hover .value-num { background:var(--color-rfd-red); color:#fff; border-color:var(--color-rfd-red); }
.value-icon { width:50px; height:50px; margin:.5rem 0 1.5rem; color:var(--color-black); transition:color .4s; }
.value:hover .value-icon { color:var(--color-rfd-red); }
.value-icon img { width:100%; height:100%; object-fit:contain; }
.value:hover .value-icon img { animation:floaty 3s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-5px) } }
.value h3 { font-family:var(--font-display); font-weight:700; font-size:1.125rem; letter-spacing:-.02em; margin-bottom:.625rem; }
.value p { font-size:.875rem; color:var(--color-text-muted); line-height:1.6; }

/* ── marquee ────────────────────────────────────────────── */
.marquee { padding:2.5rem 0; overflow:hidden; background:#fff; }
.marquee-track { display:flex; gap:.625rem; width:max-content; align-items:center; animation:scrollX 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state:paused; }
.marquee-track span { font-family:var(--font-display); font-size:1.75rem; font-weight:700;
  color:var(--color-black); text-transform:uppercase; letter-spacing:.02em; }
.marquee-track .dot { color:var(--color-rfd-red); }
@keyframes scrollX { to { transform:translateX(-50%); } }

/* ── testimonial ────────────────────────────────────────── */
.testimonial { position:relative; min-height:480px; display:flex; align-items:flex-end; }
.testimonial-bg { position:absolute; inset:0; }
.testimonial-bg .ph, .testimonial-bg img { width:100%; height:100%; object-fit:cover; filter:brightness(.7); }
.testimonial-inner { position:relative; z-index:2; width:100%; padding:4rem 0 0; }
.testimonial-card { background:#fff; padding:2.5rem 3rem 3rem; max-width:600px; box-shadow:var(--shadow-float); }
.testimonial-rule { width:300px; max-width:100%; height:4px; background:var(--color-rfd-red); margin-bottom:1.75rem; }
.testimonial-q { font-family:var(--font-display); font-weight:600; font-size:clamp(1.25rem, 2.2vw, 1.75rem);
  line-height:1.3; color:var(--color-black); margin-bottom:1.5rem; }
.testimonial-card cite { font-style:normal; font-size:.875rem; color:var(--color-text-muted); }
.testimonial-card cite strong { display:block; color:var(--color-black); font-weight:700; margin-bottom:.25rem; }

/* ── partners strip ─────────────────────────────────────── */
.partners { padding:4rem 0; background:var(--color-dark); overflow:hidden; }
.partners-wrap { overflow:hidden; margin-top:2.5rem;
  mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track { display:flex; align-items:center; gap:1.5rem; width:max-content; animation:scrollX 36s linear infinite; }
.partners:hover .partners-track { animation-play-state:paused; }
.partner-chip { flex:0 0 auto; background:#fff; padding:1rem 1.75rem; min-width:160px; min-height:76px;
  display:flex; align-items:center; justify-content:center; border-radius:2px; box-shadow:0 2px 8px rgb(0 0 0 / .15); }
.partner-chip img { height:46px; width:auto; max-width:150px; object-fit:contain; }
.partner-chip--cert img { height:60px; }

/* ── page hero (inner pages) ────────────────────────────── */
.page-hero { position:relative; background:var(--color-black); color:#fff; padding:calc(var(--header-h, 72px) + 4rem) 0 5rem; overflow:hidden; }
.page-hero-bg { position:absolute; inset:0; z-index:0; opacity:1; }
.page-hero-bg .ph, .page-hero-bg img { width:100%; height:100%; object-fit:cover; filter:grayscale(55%) brightness(.75); }
.page-hero::after { content:""; position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 40%),
    linear-gradient(to top,    rgba(0,0,0,.75) 0%, rgba(0,0,0,.3) 55%, transparent 100%); }
.page-hero .container { position:relative; z-index:2; }
.page-hero .crumb { font-size:.8125rem; color:rgb(255 255 255 / .55); margin-bottom:1.25rem; }
.page-hero h1 { font-family:var(--font-display); font-weight:700; font-size:var(--fs-h1);
  letter-spacing:var(--ls-h1); line-height:1.1; max-width:22ch; margin-bottom:1.25rem; }
.page-hero .lead { color:rgb(255 255 255 / .82); }

/* ── métier rows (kept for potential reuse) ─────────────── */
.metier { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
.metier--flip .metier-media { order:2; }
@media (max-width:860px){ .metier{ grid-template-columns:1fr; gap:1.5rem } .metier--flip .metier-media{ order:0 } }
.metier-media { aspect-ratio:4/3; border-radius:var(--radius-img); overflow:hidden; }
.metier-media .ph, .metier-media img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius-img); }

/* ══════════════════════════════════════════════════════════
   MÉTIER PAGE — redesigned
   ══════════════════════════════════════════════════════════ */

/* Intro ribbon */
.metier-intro { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:center; }
.metier-intro-text .eyebrow { margin-bottom:1rem; }
.metier-intro-text .h2 { line-height:1.12; }
.metier-intro-lead { font-size:1.0625rem; line-height:1.75; color:var(--color-text-muted); }
@media (max-width:860px) {
  .metier-intro { grid-template-columns:1fr; gap:2rem; }
}

/* Metier cards grid */
.metier-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; }
@media (max-width:900px) { .metier-grid { grid-template-columns:1fr; } }

.mc { display:grid; grid-template-columns:1fr 1fr; border-radius:var(--radius-card); overflow:hidden; box-shadow:var(--shadow-card); transition:box-shadow .3s; }
.mc:hover { box-shadow:var(--shadow-card-hover); }

/* Image side */
.mc-img { position:relative; overflow:hidden; min-height:380px; }
.mc-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; filter:grayscale(20%); }
.mc:hover .mc-img img { transform:scale(1.05); filter:grayscale(0%); }
.mc-img-overlay { position:absolute; inset:0; background:linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.18) 100%); }
.mc-num {
  position:absolute; bottom:1.25rem; left:1.25rem;
  font-family:var(--font-display); font-weight:700; font-size:3.5rem;
  line-height:1; letter-spacing:-.05em; color:rgba(255,255,255,.18);
  user-select:none; pointer-events:none;
}

/* Body side */
.mc-body {
  padding:2.25rem 2rem;
  display:flex; flex-direction:column; justify-content:center;
  background:#fff;
  border-top:3px solid var(--color-rfd-red);
}
.mc--dark .mc-body { background:var(--color-black); border-top-color:var(--color-rfd-red); }
.mc--dark .mc-title { color:#fff; }
.mc--dark .mc-desc { color:rgba(255,255,255,.6); }
.mc--dark .mc-list li { color:rgba(255,255,255,.85); }
.mc--dark .mc-list li svg { stroke:var(--color-rfd-red); }
.mc--dark .mc-stat { border-top-color:rgba(255,255,255,.1); }
.mc--dark .mc-stat-n { color:var(--color-rfd-red); }
.mc--dark .mc-stat-l { color:rgba(255,255,255,.45); }

.mc-body .eyebrow { margin-bottom:.875rem; }
.mc-title { font-family:var(--font-display); font-weight:700; font-size:1.25rem; letter-spacing:-.025em; line-height:1.22; margin-bottom:.875rem; color:var(--color-black); }
.mc-desc { font-size:.9375rem; line-height:1.65; color:var(--color-text-muted); margin-bottom:1.25rem; }
.mc-list { list-style:none; display:flex; flex-direction:column; gap:.5rem; margin-bottom:1.5rem; }
.mc-list li { display:flex; gap:.625rem; align-items:flex-start; font-size:.875rem; line-height:1.5; }
.mc-list li svg { flex-shrink:0; margin-top:.15rem; stroke:var(--color-rfd-red); }
.mc-stat { margin-top:auto; padding-top:1.25rem; border-top:1px solid var(--color-grey-border); display:flex; align-items:baseline; gap:.625rem; flex-wrap:wrap; }
.mc-stat-n { font-family:var(--font-display); font-weight:700; font-size:1.5rem; letter-spacing:-.03em; color:var(--color-rfd-red); }
.mc-stat-l { font-size:.8125rem; color:var(--color-text-muted); }

@media (max-width:680px) {
  .mc { grid-template-columns:1fr; }
  .mc-img { min-height:220px; }
  .mc-num { font-size:2.5rem; }
  .mc-body { padding:1.75rem 1.5rem; }
}

/* Process section */
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:3.5rem; }
@media (max-width:900px) { .process-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px) { .process-grid { grid-template-columns:1fr; } }

.process-step { padding:2rem 1.75rem; border-right:1px solid rgba(255,255,255,.08); }
.process-step:last-child { border-right:none; }
@media (max-width:900px) {
  .process-step:nth-child(2) { border-right:none; }
  .process-step:nth-child(3) { border-right:1px solid rgba(255,255,255,.08); border-top:1px solid rgba(255,255,255,.08); }
  .process-step:nth-child(4) { border-right:none; border-top:1px solid rgba(255,255,255,.08); }
}

.process-step-top { display:flex; align-items:center; gap:1rem; margin-bottom:1.5rem; }
.process-n {
  font-family:var(--font-display); font-weight:700; font-size:2rem;
  letter-spacing:-.04em; color:var(--color-rfd-red); line-height:1; flex-shrink:0;
}
.process-line { flex:1; height:1px; background:linear-gradient(to right, rgba(255,255,255,.15), transparent); }
.process-title { font-family:var(--font-display); font-weight:700; font-size:1.0625rem; color:#fff; margin-bottom:.75rem; }
.process-desc { font-size:.9rem; line-height:1.65; color:rgba(255,255,255,.55); }

/* Sectors grid */
.sector-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.25rem; margin-top:2.5rem; }
@media (max-width:900px) { .sector-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px) { .sector-grid { grid-template-columns:1fr; } }

.sector-card { border-radius:var(--radius-card); overflow:hidden; box-shadow:var(--shadow-card); transition:transform .3s, box-shadow .3s; }
.sector-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-card-hover); }
.sector-img { aspect-ratio:4/3; overflow:hidden; position:relative; }
.sector-img img { width:100%; height:100%; object-fit:cover; filter:grayscale(40%); transition:filter .4s, transform .5s; }
.sector-card:hover .sector-img img { filter:grayscale(0%); transform:scale(1.06); }
.sector-body { padding:1.125rem 1.25rem 1.25rem; background:#fff; border-top:2px solid var(--color-rfd-red); }
.sector-label { font-family:var(--font-display); font-weight:700; font-size:.9375rem; color:var(--color-black); margin-bottom:.3rem; }
.sector-desc { font-size:.8125rem; color:var(--color-text-muted); line-height:1.5; }

/* ── contact form ───────────────────────────────────────── */
.contact-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:3rem; }
@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr } }
.form-card { background:#fff; border:1px solid var(--color-grey-border); border-top:3px solid var(--color-rfd-red);
  border-radius:var(--radius-card); padding:2.5rem; }
.field { display:flex; flex-direction:column; gap:.4rem; margin-bottom:1.25rem; }
.field label { font-family:var(--font-display); font-weight:600; font-size:.8125rem; color:var(--color-black); }
.field input, .field select, .field textarea { font-family:var(--font-body); font-size:1rem; padding:.75rem .875rem;
  border:1px solid var(--color-grey-border); border-radius:4px; background:#fff; color:var(--color-black); }
.field input:focus, .field select:focus, .field textarea:focus { outline:2px solid var(--color-rfd-red); outline-offset:2px; border-color:var(--color-rfd-red); }
.field--err input { border-color:var(--color-rfd-red); }
.field-err { font-size:.75rem; color:var(--color-rfd-red); }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:520px){ .field-row{ grid-template-columns:1fr } }
.form-ok { background:var(--color-rfd-red-light); border:1px solid var(--color-rfd-red); border-radius:4px;
  padding:1rem 1.25rem; color:var(--color-rfd-red); font-weight:600; font-size:.9375rem; display:flex; gap:.625rem; align-items:center; }
.contact-aside .info-row { display:flex; gap:1rem; padding:1.25rem 0; border-bottom:1px solid var(--color-grey-border); }
.contact-aside .info-row:first-child { padding-top:0; }
.info-ico { width:44px; height:44px; flex-shrink:0; border-radius:4px; background:var(--color-grey-bg);
  display:flex; align-items:center; justify-content:center; }
.info-ico svg { width:20px; height:20px; stroke:var(--color-rfd-red); fill:none; stroke-width:1.8; }
.info-row h4 { font-family:var(--font-display); font-weight:600; font-size:.9375rem; margin-bottom:.2rem; }
.info-row p { font-size:.875rem; color:var(--color-text-muted); }

/* ── footer ─────────────────────────────────────────────── */
.foot-actions { background:var(--color-dark-2); color:rgb(255 255 255 / .85); padding:2.5rem 0; border-top:3px solid var(--color-rfd-red); }
.foot-actions-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
@media (max-width:760px){ .foot-actions-grid{ grid-template-columns:1fr; text-align:center } }
.foot-action { display:flex; align-items:center; gap:1rem; }
@media (max-width:760px){ .foot-action{ justify-content:center } }
.foot-action svg { width:34px; height:34px; stroke:rgb(255 255 255 / .5); fill:none; stroke-width:1.5; }
.foot-action strong { display:block; font-family:var(--font-display); font-size:.9375rem; color:#fff; }
.foot-action span { font-size:.8125rem; }
.foot-main { background:var(--color-black); color:rgb(255 255 255 / .72); padding:4rem 0 2rem; }
.foot-main-grid { display:grid; grid-template-columns:1.2fr 1.5fr 1fr; gap:2.5rem; }
@media (max-width:860px){ .foot-main-grid{ grid-template-columns:1fr; gap:2rem } }
.foot-logo img { height:64px; margin-bottom:1.25rem; }
.foot-links { display:grid; grid-template-columns:1fr 1fr; gap:.5rem 2rem; }
.foot-links a { font-size:.875rem; transition:color .2s; }
.foot-links a:hover { color:#fff; }
.foot-help h3 { font-family:var(--font-display); color:#fff; font-size:1.125rem; margin-bottom:.75rem; }
.foot-help p { font-size:.875rem; margin-bottom:1.25rem; line-height:1.6; }
.btn-wa { display:inline-flex; align-items:center; gap:.625rem; background:var(--color-rfd-red); color:#fff;
  padding:.875rem 1.5rem; border-radius:var(--radius-pill); font-family:var(--font-display); font-weight:600; font-size:.875rem;
  transition:transform .3s, box-shadow .3s; }
.btn-wa:hover { transform:scale(1.03); box-shadow:0 8px 24px rgb(155 22 22 / .4); }
.btn-wa svg { width:18px; height:18px; fill:#fff; }
.foot-social { display:flex; gap:.5rem; margin-top:1rem; }
.foot-social a { width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:rgb(255 255 255 / .08); border-radius:4px; transition:background .25s, transform .25s; }
.foot-social a:hover { background:var(--color-rfd-red); transform:translateY(-2px); }
.foot-social svg { width:18px; height:18px; fill:#fff; }
.foot-copy { background:var(--color-near-black); padding:1rem 0; font-size:.75rem; color:rgb(255 255 255 / .45); }
.foot-copy-inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:.75rem; }
.foot-copy a:hover { color:#fff; }

/* ── scroll reveal ──────────────────────────────────────── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1 { transition-delay:.08s } .reveal.d2 { transition-delay:.16s }
.reveal.d3 { transition-delay:.24s } .reveal.d4 { transition-delay:.32s }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.001s !important; animation-delay:0s !important; transition-duration:.001s !important; }
  .reveal { opacity:1; transform:none; }
  .reveal-hero > * { opacity:1; transform:none; }
}

/* ── faster hero entrance ───────────────────────────────── */
.reveal-hero > * { animation-duration:.5s; }
.reveal-hero > *:nth-child(1){ animation-delay:.05s }
.reveal-hero > *:nth-child(2){ animation-delay:.15s }
.reveal-hero > *:nth-child(3){ animation-delay:.25s }
.reveal-hero > *:nth-child(4){ animation-delay:.35s }
.reveal-hero > *:nth-child(5){ animation-delay:.45s }

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES
   ══════════════════════════════════════════════════════════ */

/* Bug 1 — Header: push burger to far right when nav collapses */
@media (max-width:900px) {
  .hdr-inner { justify-content:space-between; align-items:center; }
  .hdr-actions { margin-left:auto; display:flex; align-items:center; }
  .hdr-burger { display:flex; align-items:center; justify-content:center; }
}

/* Bug 4 — Section rhythm: reduce vertical spacing on small screens */
@media (max-width:720px) {
  :root {
    --section-pad: 3rem;
    --section-pad-compact: 2rem;
  }
}

/* Bug 8 — Page hero: reduce top/bottom padding on mobile */
@media (max-width:720px) {
  .page-hero { padding: calc(var(--header-h, 72px) + 2.5rem) 0 3rem; }
  .hero-content { padding-bottom: 2rem; }
}

/* Bug 5 — Testimonial card: loosen cramped horizontal padding */
@media (max-width:640px) {
  .testimonial-card { padding: 1.75rem 1.5rem 2rem; }
  .testimonial-inner { padding-top: 2rem; }
}

/* Bug 9 — Contact page: reduce form/panel padding on mobile */
@media (max-width:640px) {
  .contact-form-area { padding: 2rem 1.25rem 2rem; }
  .contact-panel { padding: 2rem 1.25rem; }
  .contact-panel-phone { font-size: 1.5rem; }
}

/* Reusable split grid — 2 col desktop, 1 col mobile
   Used in PartenairesPage value-props section (Bug 6) */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 1rem;
}
@media (max-width:760px) {
  .split-grid { grid-template-columns: 1fr; }
  .split-grid-hide-mobile { display: none !important; }
}

/* APropos intro photo collage — responsive (Bug 7) */
.intro-photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width:700px) {
  .intro-photo-collage { grid-template-columns: 1fr; }
  .intro-photo-collage .collage-sub { display: none; }
  .intro-photo-collage > :first-child { grid-row: span 1 !important; min-height: 220px; }
}

/* ── à propos: intro split ──────────────────────────────── */
.intro-grid { display:grid; grid-template-columns:1.4fr 1fr; gap:3rem; align-items:start; }
@media (max-width:860px){ .intro-grid{ grid-template-columns:1fr; gap:2rem } }
.intro-grid p { color:var(--color-text-muted); line-height:1.7; margin-bottom:1rem; }
.intro-stats { display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--color-grey-border); border:1px solid var(--color-grey-border); }
.intro-stat { background:var(--color-white); padding:1.5rem 1.25rem; }
.intro-stat .n { font-family:var(--font-display); font-weight:700; font-size:2.375rem; line-height:1; letter-spacing:-.03em; color:var(--color-rfd-red); margin-bottom:.375rem; }
.intro-stat .l { font-size:.8125rem; color:var(--color-text-muted); line-height:1.4; }

/* ── milestones / history ───────────────────────────────── */
.history { display:grid; grid-template-columns:1fr 1fr; gap:2rem 4rem; }
@media (max-width:760px){ .history{ grid-template-columns:1fr } }
.hitem { display:flex; gap:1.25rem; }
.hitem-badge { width:44px; height:44px; flex-shrink:0; border-radius:50%; border:2px solid var(--color-rfd-red); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:.6875rem; color:var(--color-rfd-red); }
.hitem-body h4 { font-family:var(--font-display); font-weight:700; font-size:1rem; letter-spacing:-.01em; margin-bottom:.375rem; }
.hitem-body p { font-size:.875rem; color:var(--color-text-muted); line-height:1.6; }

/* ── Frantecer group block ──────────────────────────────── */
.frantecer-block { display:grid; grid-template-columns:auto 1fr auto; gap:2.5rem; align-items:center;
  padding:2.5rem 3rem; background:var(--color-grey-bg); border:1px solid var(--color-grey-border); }
@media (max-width:860px){ .frantecer-block{ grid-template-columns:1fr; text-align:center; align-items:center } .frantecer-block img{ margin:0 auto } }
.frantecer-block img { height:52px; width:auto; object-fit:contain; }
.frantecer-block h3 { font-family:var(--font-display); font-weight:700; font-size:1.25rem; letter-spacing:-.02em; margin-bottom:.625rem; }
.frantecer-block p { font-size:.9375rem; color:var(--color-text-muted); line-height:1.65; }

/* ── partner cards (detailed) ───────────────────────────── */
.partner-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:1.25rem; }
.partner-card { background:var(--color-white); border:1px solid var(--color-grey-border); padding:2rem; display:flex; flex-direction:column; gap:1rem; transition:box-shadow .35s, transform .35s var(--ease-out); }
.partner-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-card-hover); }
.partner-card .pc-logo { height:72px; display:flex; align-items:center; border-bottom:1px solid var(--color-grey-border); padding-bottom:1rem; }
.partner-card .pc-logo img { max-height:52px; width:auto; max-width:160px; object-fit:contain; }
.partner-card h4 { font-family:var(--font-display); font-weight:700; font-size:1rem; letter-spacing:-.01em; }
.partner-card p { font-size:.875rem; color:var(--color-text-muted); line-height:1.6; flex:1; }

/* ── certifications showcase ────────────────────────────── */
.cert-center { text-align:center; max-width:640px; margin:0 auto; }
.cert-badge-wrap { display:inline-block; padding:1.5rem 2.5rem; background:var(--color-white); box-shadow:var(--shadow-panel); border-radius:var(--radius-img); margin-top:2rem; }
.cert-badge-wrap img { max-width:340px; width:100%; height:auto; }

/* ── value props (3-col) ────────────────────────────────── */
.vprop-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
@media (max-width:760px){ .vprop-grid{ grid-template-columns:1fr } }
.vprop { border-left:3px solid var(--color-rfd-red); padding-left:1.5rem; }
.vprop h4 { font-family:var(--font-display); font-weight:700; font-size:1.125rem; letter-spacing:-.02em; margin-bottom:.625rem; }
.vprop p { font-size:.9375rem; color:var(--color-text-muted); line-height:1.65; }

/* ── catalog categories ─────────────────────────────────── */
.catalog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem; }
@media (max-width:980px){ .catalog-grid{ grid-template-columns:repeat(2,1fr) } }
@media (max-width:520px){ .catalog-grid{ grid-template-columns:1fr } }
.cat-card { background:var(--color-white); border:1px solid var(--color-grey-border); border-top:3px solid var(--color-rfd-red); padding:0; overflow:hidden; display:flex; flex-direction:column; transition:box-shadow .35s, transform .35s var(--ease-out); }
.cat-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-card-hover); }
/* image zone */
.cat-card-media { position:relative; aspect-ratio:16/9; overflow:hidden; background:#111; flex-shrink:0; }
.cat-card-media img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s var(--ease-out); }
.cat-card--link:hover .cat-card-media img { transform:scale(1.06); }
.cat-card-media::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.45) 0%,transparent 55%); pointer-events:none; }
/* text body */
.cat-card-body { padding:1.5rem 1.75rem 1.75rem; display:flex; flex-direction:column; flex:1; }
.cat-ico { width:44px; height:44px; border-radius:var(--radius-btn); background:var(--color-rfd-red-light); display:flex; align-items:center; justify-content:center; margin-bottom:1rem; }
.cat-ico svg { width:22px; height:22px; stroke:var(--color-rfd-red); fill:none; stroke-width:2; }
.cat-card h3 { font-family:var(--font-display); font-weight:700; font-size:1.0625rem; letter-spacing:-.01em; margin-bottom:.625rem; }
.cat-card p { font-size:.875rem; color:var(--color-text-muted); line-height:1.6; flex:1; margin-bottom:1.25rem; }

/* ── how to order (3 steps) ─────────────────────────────── */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
@media (max-width:760px){ .steps{ grid-template-columns:1fr } }
.step { text-align:center; }
.step-num { width:60px; height:60px; border-radius:50%; background:var(--color-black); color:#fff; font-family:var(--font-display); font-weight:700; font-size:1.5rem; letter-spacing:-.02em; display:flex; align-items:center; justify-content:center; margin:0 auto 1.5rem; }
.step h4 { font-family:var(--font-display); font-weight:700; font-size:1.125rem; letter-spacing:-.02em; margin-bottom:.625rem; }
.step p { font-size:.9375rem; color:var(--color-text-muted); line-height:1.65; }

/* ── contact redesigned ─────────────────────────────────── */
.contact-layout { display:grid; grid-template-columns:1.15fr .85fr; gap:0; align-items:stretch; }
@media (max-width:960px){ .contact-layout{ grid-template-columns:1fr; gap:0 } }
.contact-form-area { padding:3.5rem 3rem 3.5rem; background:var(--color-white); }
.contact-form-area .h2 { margin-bottom:2rem; }
.contact-panel { background:var(--color-black); color:#fff; padding:3.5rem 2.75rem; display:flex; flex-direction:column; border-top:3px solid var(--color-rfd-red); }
.contact-panel-logo { height:60px; width:auto; max-width:200px; margin-bottom:2.5rem; object-fit:contain; }
.contact-panel-brand { margin-bottom:2.5rem; padding-right:0; gap:12px; }
.contact-panel-brand .brand-text { display:flex !important; }
.contact-panel-brand .brand-emblem img { height:38px; }
.contact-panel-kicker { font-family:var(--font-display); font-weight:600; font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; color:var(--color-rfd-red); margin-bottom:.625rem; }
.contact-panel-phone { font-family:var(--font-display); font-weight:700; font-size:2rem; letter-spacing:-.03em; color:#fff; line-height:1.1; margin-bottom:2.5rem; }
.contact-panel-rows { display:flex; flex-direction:column; gap:1.25rem; }
.cp-row { display:flex; gap:1rem; align-items:flex-start; }
.cp-ico { width:40px; height:40px; flex-shrink:0; border-radius:var(--radius-btn); background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.cp-ico svg { width:18px; height:18px; stroke:var(--color-rfd-red); fill:none; stroke-width:2; }
.cp-text strong { display:block; font-family:var(--font-display); font-weight:600; font-size:.875rem; color:#fff; margin-bottom:.2rem; }
.cp-text span { font-size:.875rem; color:rgba(255,255,255,.6); line-height:1.5; }
.contact-panel .btn-wa { margin-top:auto; padding-top:2.5rem; display:inline-flex; width:100%; justify-content:center; }

/* ── new form styles ────────────────────────────────────── */
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
@media (max-width:560px){ .form-grid{ grid-template-columns:1fr } }
.field textarea { resize:vertical; min-height:100px; }

/* ══════════════════════════════════════════════════════════
   BLOG TEASER — homepage live posts section
   ══════════════════════════════════════════════════════════ */
.blog-teaser { background:var(--color-black); color:#fff; padding:0; overflow:hidden; }

.blog-teaser-inner {
  display:grid;
  grid-template-columns:1fr 1.85fr;
  min-height:640px;
}

/* Left editorial column */
.blog-teaser-head {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:5rem 3.5rem 5rem 0;
  padding-left:max(1.5rem, calc((100vw - var(--container-max,1280px)) / 2));
  border-right:1px solid rgba(255,255,255,.08);
  position:relative;
}

.blog-teaser-head::after {
  content:"";
  position:absolute;
  right:0; top:15%; bottom:15%;
  width:1px;
  background:linear-gradient(to bottom, transparent, var(--color-rfd-red) 40%, var(--color-rfd-red) 60%, transparent);
}

.blog-teaser-label {
  display:flex;
  align-items:center;
  gap:.75rem;
  font-family:var(--font-display);
  font-size:.6875rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--color-rfd-red);
  margin-bottom:2rem;
}

.blog-teaser-line {
  display:block;
  width:32px;
  height:2px;
  background:var(--color-rfd-red);
  flex-shrink:0;
}

.blog-teaser-title {
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2rem, 3.5vw, 3rem);
  letter-spacing:-.035em;
  line-height:1.05;
  color:#fff;
  margin-bottom:1.5rem;
}

.blog-teaser-lead {
  font-size:.9375rem;
  line-height:1.7;
  color:rgba(255,255,255,.55);
  max-width:30ch;
  margin-bottom:2.5rem;
}

.blog-teaser-cta {
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-family:var(--font-display);
  font-weight:600;
  font-size:.9375rem;
  color:#fff;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.2);
  padding-bottom:.25rem;
  transition:color .2s, border-color .2s;
}
.blog-teaser-cta svg { transition:transform .2s; }
.blog-teaser-cta:hover { color:var(--color-rfd-red); border-color:var(--color-rfd-red); }
.blog-teaser-cta:hover svg { transform:translateX(4px); }

/* Right cards column */
.blog-teaser-cards {
  display:grid;
  grid-template-rows:1fr auto auto;
  gap:0;
}

/* Featured card (first post) */
.btc--featured {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  border-bottom:1px solid rgba(255,255,255,.07);
  text-decoration:none;
  color:inherit;
  transition:background .2s;
}
.btc--featured:hover { background:rgba(255,255,255,.03); }

.btc--featured .btc-img {
  position:relative;
  overflow:hidden;
}
.btc--featured .btc-img img {
  width:100%; height:100%;
  object-fit:cover;
  filter:grayscale(30%) brightness(.85);
  transition:transform .5s ease, filter .4s;
}
.btc--featured:hover .btc-img img {
  transform:scale(1.04);
  filter:grayscale(10%) brightness(.95);
}

.btc-badge {
  position:absolute;
  top:1.25rem; left:1.25rem;
  background:var(--color-rfd-red);
  color:#fff;
  font-family:var(--font-display);
  font-size:.6875rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.3rem .7rem;
  border-radius:2px;
}

.btc--featured .btc-body {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:2.5rem 2.5rem 2.5rem 2rem;
  border-left:1px solid rgba(255,255,255,.07);
}

/* Compact cards (posts 2 & 3) */
.btc--compact {
  display:grid;
  grid-template-columns:140px 1fr;
  border-bottom:1px solid rgba(255,255,255,.07);
  text-decoration:none;
  color:inherit;
  transition:background .2s;
}
.btc--compact:last-child { border-bottom:none; }
.btc--compact:hover { background:rgba(255,255,255,.03); }

.btc--compact .btc-img {
  overflow:hidden;
  aspect-ratio:1;
}
.btc--compact .btc-img img {
  width:100%; height:100%;
  object-fit:cover;
  filter:grayscale(40%) brightness(.8);
  transition:transform .4s ease, filter .3s;
}
.btc--compact:hover .btc-img img {
  transform:scale(1.06);
  filter:grayscale(10%) brightness(.95);
}

.btc--compact .btc-body {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:1.25rem 1.75rem;
  border-left:1px solid rgba(255,255,255,.07);
}

/* Shared card body tokens */
.btc-date {
  display:block;
  font-family:var(--font-display);
  font-size:.6875rem;
  font-weight:600;
  letter-spacing:.06em;
  color:var(--color-rfd-red);
  margin-bottom:.5rem;
}

.btc-title {
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:-.02em;
  line-height:1.22;
  color:#fff;
  margin-bottom:.625rem;
}
.btc--featured .btc-title { font-size:1.25rem; margin-bottom:.875rem; }
.btc--compact .btc-title { font-size:1rem; }

.btc-excerpt {
  font-size:.9rem;
  line-height:1.65;
  color:rgba(255,255,255,.55);
  margin-bottom:1.25rem;
}

.btc-read {
  font-family:var(--font-display);
  font-size:.8125rem;
  font-weight:600;
  color:rgba(255,255,255,.38);
  transition:color .2s;
}
.btc--featured:hover .btc-read,
.btc--compact:hover .btc-read { color:var(--color-rfd-red); }

/* Loading skeletons */
.blog-teaser-loading { display:contents; }
.blog-teaser-skeleton {
  background:rgba(255,255,255,.06);
  animation:btcPulse 1.4s ease-in-out infinite;
}
@keyframes btcPulse {
  0%,100% { opacity:.6; }
  50% { opacity:.25; }
}

.blog-teaser-err {
  padding:3rem;
  color:rgba(255,255,255,.4);
  font-size:.9rem;
}

/* Responsive */
@media (max-width:1100px) {
  .blog-teaser-inner { grid-template-columns:1fr; }
  .blog-teaser-head {
    padding:3.5rem 1.5rem 2.5rem;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .blog-teaser-head::after { display:none; }
  .blog-teaser-lead { max-width:54ch; }
}
@media (max-width:700px) {
  .btc--featured { grid-template-columns:1fr; }
  .btc--featured .btc-body { border-left:none; border-top:1px solid rgba(255,255,255,.07); }
  .btc--compact { grid-template-columns:100px 1fr; }
  .btc--compact .btc-img { aspect-ratio:1; }
}

/* ══════════════════════════════════════════════════════════
   NOS PARTENAIRES — redesign
   ══════════════════════════════════════════════════════════ */

/* Network stats ribbon */
.pnet-ribbon {
  background: var(--color-black);
  color: #fff;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pnet-ribbon-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.pnet-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.pnet-stat:last-child { border-right: none; }
.pnet-stat strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--color-rfd-red);
  line-height: 1;
}
.pnet-stat span {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .01em;
}
@media (max-width: 700px) {
  .pnet-ribbon-inner { grid-template-columns: repeat(2,1fr); }
  .pnet-stat:nth-child(2) { border-right: none; }
}

/* Partner panels section */
.pnl-section { display: flex; flex-direction: column; }

/* Single panel */
.pnl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.pnl--dark { background: var(--color-black); }
.pnl--rev .pnl-img { order: 2; }
.pnl--rev .pnl-body { order: 1; }

/* Panel image side */
.pnl-img {
  position: relative;
  overflow: hidden;
}
.pnl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease-out);
  filter: grayscale(20%) brightness(.9);
}
.pnl:hover .pnl-img img { transform: scale(1.04); }
.pnl-ghost-n {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(6rem, 12vw, 10rem);
  line-height: 1;
  color: rgba(255,255,255,.07);
  pointer-events: none;
  user-select: none;
  letter-spacing: -.05em;
}
.pnl--dark .pnl-ghost-n { color: rgba(255,255,255,.05); }

/* Panel body side */
.pnl-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4.5rem;
  background: var(--color-white);
}
.pnl--dark .pnl-body { background: var(--color-black); }

.pnl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.pnl-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-rfd-red);
}
.pnl-flag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.pnl--dark .pnl-flag { color: rgba(255,255,255,.45); }

.pnl-logo-wrap {
  margin-bottom: 1.5rem;
  height: 52px;
  display: flex;
  align-items: center;
}
.pnl-logo {
  max-height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
}
.pnl--dark .pnl-logo { filter: brightness(0) invert(1); }

.pnl-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: .875rem;
  color: var(--color-black);
}
.pnl--dark .pnl-name { color: #fff; }

.pnl-tagline {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 44ch;
  margin-bottom: 1.75rem;
}
.pnl--dark .pnl-tagline { color: rgba(255,255,255,.55); }

.pnl-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.pnl-facts li {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9375rem;
  color: var(--color-black);
}
.pnl--dark .pnl-facts li { color: rgba(255,255,255,.8); }
.pnl-facts li svg { stroke: var(--color-rfd-red); flex-shrink: 0; }

.pnl-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--color-rfd-red);
  transition: gap .25s;
  align-self: flex-start;
}
.pnl-cta:hover { gap: 1.1rem; }
.pnl-cta-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-rfd-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
}
.pnl-cta-arrow svg { stroke: #fff; }
.pnl-cta:hover .pnl-cta-arrow { background: var(--color-black); }
.pnl--dark .pnl-cta:hover .pnl-cta-arrow { background: #fff; }
.pnl--dark .pnl-cta:hover .pnl-cta-arrow svg { stroke: var(--color-black); }

@media (max-width: 900px) {
  .pnl { grid-template-columns: 1fr; min-height: unset; }
  .pnl--rev .pnl-img { order: 0; }
  .pnl--rev .pnl-body { order: 1; }
  .pnl-img { aspect-ratio: 16/9; }
  .pnl-body { padding: 2.5rem 2rem; }
  .pnl-ghost-n { font-size: 5rem; }
}

/* ISO certifications — dark section */
.iso-section {
  background: var(--color-black);
  color: #fff;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.iso-section::before {
  content: "ISO";
  position: absolute;
  top: -1.5rem;
  right: -2rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 18vw, 18rem);
  color: rgba(255,255,255,.03);
  pointer-events: none;
  user-select: none;
  letter-spacing: -.05em;
  line-height: 1;
}
.iso-head {
  max-width: 720px;
  margin-bottom: 4rem;
}
.iso-head .eyebrow--light { color: var(--color-rfd-red); }
.h2--light { color: #fff; }
.lead--light { color: rgba(255,255,255,.6); }
.iso-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.iso-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: background .3s, border-color .3s;
}
.iso-card:hover {
  background: rgba(154,22,22,.12);
  border-color: rgba(154,22,22,.3);
}
.iso-n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: baseline;
  gap: .375rem;
}
.iso-n span {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--color-rfd-red);
}
.iso-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  color: #fff;
  line-height: 1.3;
}
.iso-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
}
.iso-badge-row {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.iso-badge-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  opacity: .85;
  filter: brightness(.9) contrast(1.1);
  border-radius: var(--radius-img);
}
@media (max-width: 860px) {
  .iso-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .iso-grid { grid-template-columns: 1fr; }
}

/* Network value split section */
.pnet-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.pnet-value-left { display: flex; flex-direction: column; gap: 1.25rem; }
.pnet-value-left .h2 { margin: 0; }
.pnet-value-left .lead { margin: 0; }
.pnet-value-props {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: .75rem;
}
.pnet-vprop {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: flex-start;
}
.pnet-vprop-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-btn);
  background: var(--color-rfd-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-rfd-red);
}
.pnet-vprop h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.01em;
  margin-bottom: .375rem;
}
.pnet-vprop p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.pnet-value-right {}
.pnet-value-photo {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.pnet-value-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pnet-value-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--color-black);
  color: #fff;
  padding: 1.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  border-left: 3px solid var(--color-rfd-red);
}
.pnet-value-badge strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--color-rfd-red);
}
.pnet-value-badge span {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  font-family: var(--font-display);
  font-weight: 500;
  max-width: 16ch;
  line-height: 1.4;
}
@media (max-width: 980px) {
  .pnet-value-grid { grid-template-columns: 1fr; gap: 3rem; }
  .pnet-value-photo { aspect-ratio: 16/9; }
}

/* ══════════════════════════════════════════════════════════
   À PROPOS — redesign
   ══════════════════════════════════════════════════════════ */

/* Intro grid */
.ap-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.ap-intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ap-intro-text p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}
.ap-intro-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

/* Collage */
.ap-collage {
  position: relative;
}
.ap-collage-main {
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.ap-collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ap-collage-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: .75rem;
}
.ap-collage-img {
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.ap-collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ap-collage-badge {
  position: absolute;
  bottom: 5.5rem;
  left: -1.5rem;
  background: var(--color-rfd-red);
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  box-shadow: 0 8px 32px rgba(154,22,22,.35);
}
.ap-collage-badge strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.04em;
  line-height: 1;
}
.ap-collage-badge span {
  font-size: .75rem;
  font-family: var(--font-display);
  font-weight: 500;
  opacity: .85;
}

@media (max-width: 900px) {
  .ap-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .ap-collage-badge { left: 0; bottom: 5rem; }
  .ap-collage-main { aspect-ratio: 16/9; }
}

/* Stats ribbon */
.ap-stats-ribbon {
  background: var(--color-black);
  color: #fff;
  padding: 3.5rem 0;
}
.ap-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.ap-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .5rem;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.ap-stat:last-child { border-right: none; }
.ap-stat strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--color-rfd-red);
}
.ap-stat span {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-family: var(--font-display);
  font-weight: 500;
  text-align: center;
  max-width: 14ch;
}
@media (max-width: 700px) {
  .ap-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .ap-stat:nth-child(2) { border-right: none; }
}

/* DNA section */
.ap-dna-section {
  background: var(--color-black);
  color: #fff;
  padding: 6rem 0;
}
.ap-dna-head { max-width: 640px; margin-bottom: 4rem; }
.ap-dna-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.ap-dna-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 1.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .3s, border-color .3s;
}
.ap-dna-card:hover {
  background: rgba(154,22,22,.1);
  border-color: rgba(154,22,22,.25);
}
.ap-dna-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-btn);
  background: rgba(154,22,22,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-rfd-red);
}
.ap-dna-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -.01em;
}
.ap-dna-card p {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}
@media (max-width: 860px) { .ap-dna-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ap-dna-grid { grid-template-columns: 1fr; } }

/* Timeline */
.ap-timeline {
  position: relative;
  margin-top: 4rem;
  padding: 2rem 0;
}
.ap-tl-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-grey-border);
  transform: translateX(-50%);
}
.ap-tl-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}
.ap-tl-item--left .ap-tl-year { text-align: right; order: 0; }
.ap-tl-item--left .ap-tl-dot  { order: 1; }
.ap-tl-item--left .ap-tl-body { order: 2; }
.ap-tl-item--right .ap-tl-year { order: 2; text-align: left; }
.ap-tl-item--right .ap-tl-dot  { order: 1; }
.ap-tl-item--right .ap-tl-body { order: 0; text-align: right; }

.ap-tl-year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -.04em;
  color: var(--color-rfd-red);
  line-height: 1;
  padding-top: .1rem;
}
.ap-tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-rfd-red);
  margin: .3rem auto 0;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-rfd-red);
  flex-shrink: 0;
}
.ap-tl-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.015em;
  margin-bottom: .5rem;
}
.ap-tl-body p {
  font-size: .9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

@media (max-width: 780px) {
  .ap-tl-line { left: 20px; }
  .ap-tl-item { grid-template-columns: 40px 1fr; gap: 1rem; }
  .ap-tl-item--left .ap-tl-year,
  .ap-tl-item--right .ap-tl-year { order: 0; grid-column: 2; text-align: left; font-size: 1.5rem; margin-bottom: .25rem; }
  .ap-tl-item--left .ap-tl-dot,
  .ap-tl-item--right .ap-tl-dot  { order: -1; grid-row: span 2; margin-top: .3rem; }
  .ap-tl-item--left .ap-tl-body,
  .ap-tl-item--right .ap-tl-body { order: 1; grid-column: 2; text-align: left; }
}

/* Frantecer dark split */
.ap-frantecer {
  background: var(--color-black);
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.ap-frantecer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.ap-frantecer-img {
  overflow: hidden;
  position: relative;
}
.ap-frantecer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(25%) brightness(.8);
}
.ap-frantecer-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4.5rem;
  gap: 1.25rem;
}
.ap-frantecer-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,.6);
}
.ap-frantecer-logo-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.ap-frantecer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.ap-frantecer-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--color-rfd-red);
  text-decoration: none;
  transition: gap .2s;
}
.ap-frantecer-link:hover { gap: .8rem; }
@media (max-width: 860px) {
  .ap-frantecer-inner { grid-template-columns: 1fr; }
  .ap-frantecer-img { aspect-ratio: 16/9; }
  .ap-frantecer-body { padding: 3rem 2rem; }
}

/* ══════════════════════════════════════════════════════════
   CONTACT — redesign
   ══════════════════════════════════════════════════════════ */

.ct-section {
  padding: 5rem 0;
}
.ct-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: flex-start;
}
@media (max-width: 980px) {
  .ct-layout { grid-template-columns: 1fr; }
}

.ct-form-col .h2 { margin-bottom: .5rem; }
.ct-form-col .lead { color: var(--color-text-muted); }

/* Info panel */
.ct-info-panel {
  background: var(--color-black);
  color: #fff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 90px;
}

/* brand in panel */
.ct-panel-brand { pointer-events: none; }
.ct-panel-brand .brand-text { display: flex !important; }

/* Phone highlight */
.ct-phone-block {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  padding: 1.5rem;
  background: rgba(154,22,22,.15);
  border-left: 3px solid var(--color-rfd-red);
}
.ct-phone-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.ct-phone-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}
.ct-phone-num:hover { color: var(--color-rfd-red); }
.ct-phone-avail {
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-display);
  font-weight: 500;
}

/* Info rows */
.ct-info-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ct-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ct-info-row:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.ct-info-ico {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(154,22,22,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .125rem;
}
.ct-info-row strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8125rem;
  color: rgba(255,255,255,.9);
  margin-bottom: .2rem;
}
.ct-info-row span {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
}

/* WhatsApp */
.ct-wa-block {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ct-wa-label {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.ct-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.ct-wa-btn:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
}

/* FAQ section */
.ct-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: flex-start;
}
@media (max-width: 860px) {
  .ct-faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.ct-faq-left { display: flex; flex-direction: column; gap: 1rem; }
.ct-faq-left .h2 { margin: 0; }
.ct-faq-left .lead { margin: 0; }
.ct-faq-right { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--color-grey-border);
  cursor: pointer;
  user-select: none;
}
.faq-item:first-child { border-top: 1px solid var(--color-grey-border); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-black);
  transition: color .2s;
}
.faq-item:hover .faq-q { color: var(--color-rfd-red); }
.faq-item--open .faq-q { color: var(--color-rfd-red); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform .25s;
  color: var(--color-text-muted);
}
.faq-item--open .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-rfd-red);
}
.faq-a {
  padding-bottom: 1.25rem;
  font-size: .9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* contact-layout / contact-panel compat (keep old classes working) */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 0;
}
@media (max-width:980px){ .contact-layout { grid-template-columns:1fr; } }
.contact-form-area { padding:4rem 3.5rem; }
.contact-panel {
  background: var(--color-black);
  color: #fff;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-panel-brand .brand-text { display: flex !important; }
.contact-panel-kicker { font-family:var(--font-display); font-size:.6875rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:.375rem; }
.contact-panel-phone { font-family:var(--font-display); font-weight:800; font-size:2.25rem; letter-spacing:-.03em; color:#fff; margin:0; }
.contact-panel-rows { display:flex; flex-direction:column; gap:0; }
.cp-row { display:flex; align-items:flex-start; gap:1rem; padding:1rem 0; border-bottom:1px solid rgba(255,255,255,.07); }
.cp-ico { width:36px; height:36px; border-radius:4px; background:rgba(154,22,22,.15); display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:.125rem; }
.cp-text strong { display:block; font-family:var(--font-display); font-weight:600; font-size:.8125rem; color:rgba(255,255,255,.9); margin-bottom:.2rem; }
.cp-text span { font-size:.8125rem; color:rgba(255,255,255,.5); line-height:1.55; }

/* form-grid for 2-col layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
@media (max-width:520px){ .form-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE ENHANCEMENTS
   ══════════════════════════════════════════════════════════ */

/* Hero — tighten h1 on very small screens */
@media (max-width:480px) {
  .hero h1 { font-size: clamp(2rem, 8vw, 3.5rem); }
  .hero-sub { font-size: .9375rem; }
  .hero-proof-logos { gap: .625rem .875rem; }
  .hero-proof-logos img { height: 24px; }
  .hero-actions { gap: .75rem; }
}

/* Stats — scale numbers on very small screens */
@media (max-width:480px) {
  .stat-num { font-size: 2.25rem; }
  .stat-pre { font-size: 1.375rem; }
  .stat { padding: 1.25rem 1rem .25rem; }
}

/* Services head — stack cleanly on mobile */
@media (max-width:640px) {
  .services-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* Testimonial — full redesign CSS */
.testimonial { position:relative; min-height:560px; display:flex; align-items:center; overflow:hidden; }
.testimonial-bg { position:absolute; inset:0; }
.testimonial-bg img { width:100%; height:100%; object-fit:cover; filter:grayscale(40%) brightness(.55); }
.testimonial-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.2) 100%);
}
.testimonial-inner { position:relative; z-index:2; width:100%; padding: 5rem 0; }
.testimonial-content { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; max-width: 900px; }
.testimonial-quote-mark {
  position: absolute;
  top: 2rem;
  left: -1rem;
  font-family: var(--font-display);
  font-size: 12rem;
  line-height: 1;
  color: var(--color-rfd-red);
  opacity: .15;
  pointer-events: none;
  user-select: none;
  font-weight: 900;
}
.testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--color-rfd-red);
  padding: 2.5rem 2.75rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: relative;
}
.testimonial-card .eyebrow--light { color: var(--color-rfd-red); margin-bottom: 1.25rem; }
.testimonial-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: #fff;
  margin-bottom: 2rem;
}
.testimonial-card cite { font-style: normal; display: flex; flex-direction: column; gap: .375rem; }
.cite-rule { width: 40px; height: 2px; background: var(--color-rfd-red); margin-bottom: .75rem; }
.testimonial-card cite strong { font-family: var(--font-display); font-weight: 700; font-size: .9375rem; color: #fff; }
.testimonial-card cite span { font-size: .8125rem; color: rgba(255,255,255,.5); }
.testimonial-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 140px;
}
.tstat {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(255,255,255,.12);
}
.tstat:first-child { border-left-color: var(--color-rfd-red); }
.tstat strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
}
.tstat span {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .07em;
}
@media (max-width: 760px) {
  .testimonial-content { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-stats { flex-direction: row; min-width: 0; }
  .tstat { padding-left: 1rem; padding-bottom: 1rem; border-left: none; border-bottom: 1px solid rgba(255,255,255,.1); flex: 1; }
  .testimonial-card { padding: 2rem 1.5rem; }
  .testimonial-quote-mark { font-size: 7rem; left: 0; }
}

/* CTA band — enhanced with background image */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 6rem 0;
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(60%) brightness(.4);
}
.cta-band-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(154,22,22,.92) 0%, rgba(100,10,10,.85) 45%, rgba(0,0,0,.7) 100%);
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 5rem;
  align-items: center;
  max-width: 860px;
}
.cta-band-copy { display: flex; flex-direction: column; gap: 1rem; }
.cta-band-copy .eyebrow--light { color: rgba(255,255,255,.7); }
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}
.cta-band-lead {
  color: rgba(255,255,255,.82);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}
.cta-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-top: .5rem; }
.cta-band .btn--primary { background:#fff; color:var(--color-rfd-red); border-color:#fff; }
.cta-band .btn--primary:hover { background:rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.cta-band .btn--on-dark { border-color:rgba(255,255,255,.5); }
.cta-band-proof {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 3rem;
  border-left: 1px solid rgba(255,255,255,.15);
}
.cta-proof-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.cta-proof-item strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.875rem;
  letter-spacing: -.04em;
  line-height: 1;
  color: #fff;
}
.cta-proof-item span {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .07em;
}
@media (max-width: 860px) {
  .cta-band-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-band-proof { flex-direction: row; padding-left: 0; border-left: none; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); }
  .cta-proof-item { flex: 1; }
}
@media (max-width: 480px) {
  .cta-band { padding: 4rem 0; }
  .cta-band h2 { font-size: 1.875rem; }
}

/* ══════════════════════════════════════════════════════════
   GLOBAL MOBILE RESPONSIVE — comprehensive fixes
   ══════════════════════════════════════════════════════════ */

/* ── Container padding on small screens ── */
@media (max-width: 480px) {
  .container { padding-inline: 1rem; }
}

/* ── H2 font size clamp across all sections ── */
.h2 { font-size: clamp(1.625rem, 4vw, var(--fs-h2)); }

/* ── About split mobile ── */
@media (max-width: 640px) {
  .about-bg { height: 240px; }
  .about-panel { padding: 1.75rem 1.25rem; }
}

/* ── Industry cards mobile ── */
@media (max-width: 480px) {
  .industries { grid-template-columns: 1fr; }
  .industry { aspect-ratio: 16/9; }
}

/* ── Values mobile ── */
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr; }
}

/* ── Blog teaser mobile ── */
@media (max-width: 860px) {
  .blog-teaser-inner { grid-template-columns: 1fr; }
  .blog-teaser-head::after { display: none; }
  .blog-teaser-head { padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 560px) {
  .btc--featured { grid-template-columns: 1fr; }
  .btc--featured .btc-body { border-left: none; border-top: 1px solid rgba(255,255,255,.07); }
  .btc--compact { grid-template-columns: 90px 1fr; }
}

/* ── Partner panels mobile padding ── */
@media (max-width: 640px) {
  .pnl-body { padding: 2rem 1.5rem; }
  .pnl-name { font-size: 1.375rem; }
}

/* ── APropos timeline mobile ── */
@media (max-width: 520px) {
  .ap-tl-year { font-size: 1.25rem !important; }
  .ap-tl-body h4 { font-size: 1rem; }
  .ap-tl-body p { font-size: .875rem; }
}

/* ── APropos collage badge mobile ── */
@media (max-width: 640px) {
  .ap-collage-badge { left: .5rem; bottom: 4.5rem; padding: .75rem 1rem; }
  .ap-collage-badge strong { font-size: 1.5rem; }
}

/* ── Frantecer section mobile ── */
@media (max-width: 640px) {
  .ap-frantecer-body { padding: 2.5rem 1.5rem; }
}

/* ── Contact layout mobile ── */
@media (max-width: 640px) {
  .ct-section { padding: 3rem 0; }
  .ct-info-panel { padding: 2rem 1.5rem; }
  .ct-phone-num { font-size: 1.375rem; }
}

/* ── FAQ mobile ── */
@media (max-width: 640px) {
  .faq-q { font-size: .9375rem; }
}

/* ── Partenaires ribbon mobile ── */
@media (max-width: 480px) {
  .pnet-ribbon-inner { grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
  .pnet-stat strong { font-size: 1.75rem; }
}

/* ── ISO grid mobile ── */
@media (max-width: 480px) {
  .iso-grid { grid-template-columns: 1fr; }
  .iso-section { padding: 4rem 0; }
}

/* ── Metier cards mobile ── */
@media (max-width: 520px) {
  .mc-body { padding: 1.5rem 1.25rem; }
  .mc-title { font-size: 1.25rem; }
}

/* ── Process steps mobile ── */
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .process-step:last-child { border-bottom: none; }
}

/* ── Sector grid mobile ── */
@media (max-width: 480px) {
  .sector-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Footer mobile ── */
@media (max-width: 540px) {
  .foot-main-grid { gap: 1.5rem; }
  .foot-logo img { height: 48px; }
  .foot-copy-inner { flex-direction: column; align-items: center; text-align: center; gap: .375rem; }
}

/* ── Partners strip mobile ── */
@media (max-width: 480px) {
  .partners { padding: 3rem 0; }
  .partner-chip { min-width: 120px; padding: .75rem 1.25rem; }
  .partner-chip img { height: 36px; }
}

/* ── Blog featured section mobile ── */
@media (max-width: 640px) {
  .blog-featured-body { padding: 0; }
  .blog-featured-title { font-size: 1.375rem; }
}

/* ── Section head mobile ── */
@media (max-width: 640px) {
  .section-head { margin-bottom: 2rem; }
  .section-head .lead { font-size: .9375rem; }
}

