
/* Logo switching (light/dark) */
.logo-dark{ display:none; }
html[data-theme="dark"] .logo-light{ display:none; }
html[data-theme="dark"] .logo-dark{ display:block; }

/* Tech Talent Accelerator — Landing Page (Light/Dark) */
:root{
  --deep:#1F6F3A; --perf:#4FA646; --energy:#8BC53F; --black:#111111; --white:#FFFFFF;
  --grad: linear-gradient(90deg, var(--deep) 0%, var(--perf) 50%, var(--energy) 100%);
  --r-lg:22px; --r-md:16px; --r-sm:12px;
  --shadow:0 14px 34px rgba(0,0,0,.08);
  --shadow2:0 10px 24px rgba(0,0,0,.12);
  --bg:#FFFFFF; --surface:#FFFFFF; --surface-2:#F6F8F6;
  --text:#111111; --muted:rgba(17,17,17,.68);
  --border:rgba(17,17,17,.12); --chip:rgba(17,17,17,.04);
  --focus:rgba(79,166,70,.45);
  color-scheme: light;
}
html[data-theme="dark"]{
  --bg:#0B0D0B; --surface:#0F120F; --surface-2:#0D100D;
  --text:#FFFFFF; --muted:rgba(255,255,255,.72);
  --border:rgba(255,255,255,.14); --chip:rgba(255,255,255,.06);
  --shadow:0 16px 38px rgba(0,0,0,.55);
  --shadow2:0 10px 24px rgba(0,0,0,.65);
  color-scheme: dark;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,"Helvetica Neue",sans-serif;background:var(--bg);color:var(--text);line-height:1.5}
img{max-width:100%;display:block}
.container{width:min(1120px,calc(100% - 48px));margin-inline:auto}
.skip-link{position:absolute;left:-999px;top:12px;background:var(--surface);color:var(--text);padding:10px 12px;border-radius:10px;border:1px solid var(--border);z-index:1000}
.skip-link:focus{left:12px;outline:3px solid var(--focus)}
a{color:inherit;text-decoration:none}
a:hover{opacity:.92}
a:focus-visible,button:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:12px}
/* Header */
.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:18px}
.brand-logo{height:42px;width:auto}
.nav{display:flex;gap:18px;align-items:center}
.nav a{font-size:14px;color:var(--muted);padding:8px 10px;border-radius:12px
  font-weight: bolder;
}
.nav a:hover{background:var(--chip);color:var(--text)}
.header-actions{display:flex;align-items:center;gap:12px}
/* Theme toggle */
.theme-toggle{display:flex;align-items:center;gap:10px;background:var(--chip);border:1px solid var(--border);border-radius:999px;padding:8px 10px;cursor:pointer}
.toggle-track{width:54px;height:32px;border-radius:999px;background:var(--surface);border:1px solid var(--border);position:relative;display:inline-block}
.toggle-thumb{width:24px;height:24px;border-radius:999px;background:var(--white);border:1px solid var(--border);position:absolute;top:3px;left:3px;transition:transform .25s ease}
html[data-theme="dark"] .toggle-thumb{transform:translateX(22px);background:var(--black)}
.toggle-label{font-size:13px;color:var(--muted)
  font-weight: bolder;
}
/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;border-radius:14px;border:1px solid transparent;font-weight:700;font-size:14px;transition:transform .15s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease;white-space:nowrap}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--grad);color:#fff;box-shadow:var(--shadow2)}
.btn-primary:hover{box-shadow:var(--shadow)}
.btn-secondary{background:var(--surface);border-color:var(--border);color:var(--text)}
.btn-secondary:hover{background:var(--surface-2)}
/* Hero */
.hero{position:relative;overflow:hidden;padding:54px 0 34px;background:radial-gradient(1200px 500px at 20% 0%,color-mix(in srgb,var(--energy) 14%,transparent),transparent),radial-gradient(900px 420px at 80% 10%,color-mix(in srgb,var(--deep) 12%,transparent),transparent)}
.hero-circuit{position:absolute;inset:-10%;background:url("../images/tta-circuit-premium.svg") center/contain no-repeat;opacity:.55;pointer-events:none;transform:rotate(-2deg)}
html[data-theme="dark"] .hero-circuit{opacity:.70;mix-blend-mode:screen;filter:saturate(1.15) contrast(1.05)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center}
.hero-left h1{font-size:clamp(34px,3.3vw,52px);line-height:1.08;margin:0 0 14px}
.hero-subtitle{margin:0 0 18px;font-size:16px;color:var(--muted);max-width:56ch}
.hero-chips{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 18px}
.chip{background:color-mix(in srgb,var(--surface) 80%,transparent);border:1px solid var(--border);border-radius:999px;padding:10px 12px;display:flex;gap:10px;align-items:baseline}
.chip-k{font-size:12px;color:var(--muted)}
.chip-v{font-size:13px;font-weight:800}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0 18px}
.trust-row{font-size:13px;color:var(--muted);padding-top:8px}
.hero-card{background:color-mix(in srgb,var(--surface) 86%,transparent);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow);overflow:hidden}
.hero-card-top{padding:14px 14px 0}
.badge{display:inline-flex;align-items:center;border:1px solid var(--border);background:var(--surface);border-radius:999px;padding:7px 10px;font-size:12px;color:var(--muted)}
/* Sections */
.section{padding:54px 0}
.section-head{margin-bottom:18px}
.section-head h2{margin:0 0 10px;font-size:30px;line-height:1.15}
.section-head p{margin:0;color:var(--muted);max-width:68ch}
/* Cards */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);padding:18px 18px 16px;box-shadow:var(--shadow);min-height:140px}
.card-bar{height:8px;width:100%;border-radius:999px;background:var(--grad);margin-bottom:12px}
.card h3{margin:0 0 6px;font-size:18px}
.card p{margin:0;color:var(--muted);font-size:14px}
/* Pills */
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{border-radius:999px;padding:10px 12px;border:1px solid var(--border);background:var(--surface);color:var(--text);font-weight:700;font-size:13px}
/* Timeline */
.timeline{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:16px;position:relative;overflow:hidden}
.timeline-bar{height:8px;border-radius:999px;background:var(--grad);margin-bottom:14px}
.timeline-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.tstep{border-radius:18px;border:1px solid var(--border);background:var(--surface-2);padding:12px}
.tlabel{display:block;font-weight:800;font-size:12px}
.ttext{display:block;color:var(--muted);font-size:12px;margin-top:3px}
/* Split panels */
.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:18px}
.panel-bar{height:8px;border-radius:999px;background:var(--grad);margin-bottom:12px}
.panel h3{margin:0 0 8px}
.panel ul,.panel ol{margin:0;padding-left:18px;color:var(--muted)}
.panel li{margin:8px 0}
/* CTA */
.cta{padding:38px 0}
.cta-inner{background:var(--black);color:#fff;border-radius:28px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid color-mix(in srgb,var(--white) 12%,transparent);position:relative;overflow:hidden}
.cta-inner::before{content:"";position:absolute;inset:0;background:var(--grad);opacity:.12;pointer-events:none}
.cta-inner h2{margin:0 0 6px;font-size:26px;position:relative}
.cta-inner p{margin:0;opacity:.86;position:relative}
/* FAQ */
.faq{display:grid;gap:12px}
details{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:14px 16px;box-shadow:var(--shadow)}
summary{cursor:pointer;font-weight:800;list-style:none}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";float:right;font-weight:900;color:var(--muted)}
details[open] summary::after{content:"–"}
details p{margin:10px 0 0;color:var(--muted)}
/* Prefooter */
.prefooter{
  padding: 46px 0;
}
.prefooter-inner h3{margin:0 0 14px}
.prefooter-banner{border-radius:22px;overflow:hidden;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow)}
/* Footer */
.site-footer{padding:26px 0 14px;background:var(--black);color:#fff}
.footer-inner{display:flex;justify-content:space-between;gap:18px;padding:10px 0 18px;border-bottom:1px solid rgba(255,255,255,.12)}
.footer-logo{height:40px;width:auto;filter:drop-shadow(0 4px 10px rgba(0,0,0,.25))}
.muted{color:rgba(255,255,255,.75);margin:8px 0 0;font-size:13px}
.footer-cols{display:flex;gap:38px}
.footer-cols h4{margin:0 0 10px;font-size:14px}
.footer-cols a{display:block;color:rgba(255,255,255,.78);font-size:13px;padding:6px 0}
.footer-cols a:hover{color:#fff}
.footer-bottom{padding-top:12px}
.footer-bottom p{margin:0;font-size:13px;color:rgba(255,255,255,.75)}
/* Reveal animation */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
.reveal.is-visible{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
}
/* Responsive */
@media (max-width:980px){
  .nav{display:none}
  .hero-grid{grid-template-columns:1fr}
  .cta-inner{flex-direction:column;align-items:flex-start}
  .timeline-grid{grid-template-columns:1fr 1fr}
  .grid-3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .footer-inner{flex-direction:column;align-items:flex-start}
}
@media (max-width:520px){
  .container{width:min(1120px,calc(100% - 32px))}
  .brand-logo{height:38px}
  .theme-toggle .toggle-label{display:none}
  .btn{width:100%}
  .hero-ctas{flex-direction:column;align-items:stretch}
  .chip{width:100%;justify-content:space-between}
}



/* HERO (v3) */
.hero{
  position: relative;
  overflow: hidden;
  padding: 58px 0 0; /* let the image touch bottom */
  background:
    radial-gradient(1200px 520px at 10% 10%, color-mix(in srgb, var(--energy) 16%, transparent), transparent 60%),
    radial-gradient(900px 520px at 75% 0%, color-mix(in srgb, var(--perf) 14%, transparent), transparent 62%),
    linear-gradient(180deg, color-mix(in srgb, var(--deep) 8%, var(--bg)), var(--bg) 70%);
  border-bottom: 1px solid var(--border);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: stretch;
}
.hero-right{
  position: relative;
  display:flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 420px;
}
.hero-visual{
  position: relative;
  width: 100%;
  height: 100%;
  display:flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.hero-visual .hero-circuit{
  position:absolute;
  right: -6%;
  bottom: -10%;
  width: min(760px, 120%);
  height: min(520px, 90%);
  background: url("../images/tta-circuit-premium.svg") right bottom / contain no-repeat;
  opacity: .55;
  pointer-events: none;
  filter: saturate(1.1);
}
html[data-theme="dark"] .hero-visual .hero-circuit{
  opacity: .70;
  mix-blend-mode: screen;
  filter: saturate(1.2) contrast(1.05);
}
.hero-image{
  position: relative;
  width: min(560px, 100%);
  height: auto;
  margin: 0;
  transform: translateY(10px); /* ensures it touches bottom visually */
}

/* Remove unused hero card/badge styles if present */
.hero-card, .hero-card-top, .badge{ display:none !important; }


@media (max-width: 980px){
  .hero{ padding: 44px 0 0; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-right{ min-height: 360px; }
  .hero-image{ width: min(520px, 100%); transform: translateY(8px); }
  .hero-visual .hero-circuit{ right: -10%; bottom: -18%; width: min(820px, 140%); height: 520px; opacity: .45; }
}



/* Buttons — premium hover (v4) */
.btn{
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(120px 120px at 20% 10%, rgba(255,255,255,.45), transparent 55%),
    radial-gradient(160px 160px at 80% 30%, rgba(255,255,255,.25), transparent 60%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events:none;
}
.btn:hover{
  transform: translateY(-1px);
}
.btn:hover::before{
  opacity: 1;
  transform: translateY(0);
}
.btn-primary:hover{
  box-shadow: 0 18px 46px rgba(0,0,0,.18);
  filter: saturate(1.06);
}
html[data-theme="dark"] .btn-primary:hover{
  box-shadow: 0 18px 46px rgba(0,0,0,.70);
}
.btn-secondary:hover{
  border-color: color-mix(in srgb, var(--perf) 55%, var(--border));
  box-shadow: 0 14px 34px rgba(0,0,0,.10);
}
html[data-theme="dark"] .btn-secondary:hover{
  box-shadow: 0 14px 34px rgba(0,0,0,.60);
}
@media (prefers-reduced-motion: reduce){
  .btn, .btn:hover{ transform:none !important; }
  .btn::before{ display:none !important; }
}



/* ===== Ajustement 3 (fix) — menu bold + hover gradient inversion + remove right border line ===== */

/* Force nav + toggle label bold (avoid being overridden) */
.nav a{ font-weight: 800 !important; }
.toggle-label{ font-weight: 800 !important; }

/* Buttons: no movement, no shadow, no pseudo sheen; only gradient inversion */
.btn{
  transform: none !important;
  box-shadow: none !important;
}
.btn:active{ transform: none !important; }

/* Remove any prior hover visuals */
.btn::before{ display:none !important; }

/* Primary button: animate gradient direction (no shadow, no move) */
:root{
  --grad-rev: linear-gradient(90deg, var(--energy) 0%, var(--perf) 50%, var(--deep) 100%);
}
.btn-primary{
  background-image: var(--grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  transition: background-position .25s ease, filter .2s ease;
  border: none !important;
  box-shadow: none !important;
}
.btn-primary:hover,
.btn-primary:focus-visible{
  background-image: var(--grad-rev);
  background-position: 100% 50%;
  box-shadow: none !important;
  filter: none !important;
}

/* Secondary: keep clean, no shadow, no move, subtle gradient border on hover */
.btn-secondary{
  box-shadow: none !important;
  transform: none !important;
}
.btn-secondary:hover{
  background: var(--surface-2);
  border-color: color-mix(in srgb, var(--perf) 55%, var(--border));
  box-shadow: none !important;
}

/* Remove black right edge artifacts on buttons (subpixel/border) */
.btn, .btn-primary, .btn-secondary{
  -webkit-tap-highlight-color: transparent;
  backface-visibility: hidden;
  outline-color: var(--focus);
}




/* Technologies — badges style stack (v7) */
:root{
  --techicon-filter: none;
}
html[data-theme="dark"]{
  --techicon-filter: invert(1) saturate(0) brightness(1.2);
}

.tech-badges{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  padding:0;
  margin: 12px 0 0;
  list-style:none;
}
.tech-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.tech-badge img{
  width:20px;
  height:20px;
  display:block;
  filter: var(--techicon-filter);
}
.tech-badge span{
  font-size:13px;
  font-weight:800;
  letter-spacing:.2px;
}


/* Banner partners */
.banner-partners img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 10px;
}



/* ===== Toggle premium (Ajustement 6) ===== */
:root{
  --toggle-bg: color-mix(in srgb, var(--surface) 90%, transparent);
  --toggle-border: color-mix(in srgb, var(--border) 80%, transparent);
  --toggle-ico: rgba(17,17,17,.70);
  --toggle-ico-dim: rgba(17,17,17,.38);
  --toggle-thumb: #FFFFFF;
}
html[data-theme="dark"]{
  --toggle-bg: rgba(255,255,255,.06);
  --toggle-border: rgba(255,255,255,.14);
  --toggle-ico: rgba(255,255,255,.78);
  --toggle-ico-dim: rgba(255,255,255,.40);
  --toggle-thumb: #111111;
}

/* Smooth theme transition (only when toggling) */
html.theme-anim, html.theme-anim *{
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, opacity .35s ease, filter .35s ease;
}

/* Toggle button */
.theme-toggle{
  position: relative;
  display:flex;
  align-items:center;
  gap:10px;
  background: var(--toggle-bg);
  border: 1px solid var(--toggle-border);
  border-radius: 999px;
  padding: 8px 10px;
  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle:hover{
  border-color: color-mix(in srgb, var(--perf) 45%, var(--toggle-border));
}

/* Icons */
.toggle-icons{
  display:flex;
  align-items:center;
  gap:8px;
  padding-left:2px;
}
.toggle-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;height:18px;
  color: var(--toggle-ico-dim);
  transition: color .25s ease, opacity .25s ease;
}
html[data-theme="light"] .toggle-sun{ color: var(--toggle-ico); }
html[data-theme="dark"] .toggle-moon{ color: var(--toggle-ico); }

/* Track with animated TTA gradient */
.toggle-track{
  width:56px;
  height:32px;
  border-radius:999px;
  position:relative;
  display:inline-block;
  border: 1px solid var(--toggle-border);
  background: linear-gradient(90deg, var(--deep) 0%, var(--perf) 50%, var(--energy) 100%);
  background-size: 200% 100%;
  background-position: 0% 50%;
  overflow:hidden;
}
html[data-theme="dark"] .toggle-track{
  background-position: 100% 50%;
}

/* Thumb */
.toggle-thumb{
  width:24px;
  height:24px;
  border-radius:999px;
  background: var(--toggle-thumb);
  border: 1px solid color-mix(in srgb, var(--toggle-border) 90%, transparent);
  position:absolute;
  top:3px;
  left:3px;
  transition: transform .30s cubic-bezier(.2,.9,.2,1), background-color .35s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
html[data-theme="dark"] .toggle-thumb{
  transform: translateX(24px);
  box-shadow: 0 8px 18px rgba(0,0,0,.55);
}

/* Micro interaction */
.theme-toggle.is-pop .toggle-thumb{
  animation: ttaPop .24s ease-out;
}
@keyframes ttaPop{
  0%{ transform: translateX(var(--x,0)) scale(1); }
  60%{ transform: translateX(var(--x,0)) scale(1.10); }
  100%{ transform: translateX(var(--x,0)) scale(1); }
}
html[data-theme="dark"] .theme-toggle.is-pop .toggle-thumb{ --x: 24px; }

/* Label */
.toggle-label{
  font-size:13px;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width:520px){
  .theme-toggle .toggle-label{ display:none; }
}


/* Toggle layout v2 */
.theme-toggle{
  display:flex;
  align-items:center;
  gap:10px;
}

.toggle-side{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  font-size:13px;
  color:var(--muted);
}

.toggle-icon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.toggle-track{
  width:56px;
  height:32px;
  border-radius:999px;
  position:relative;
  border:1px solid var(--border);
  background: linear-gradient(90deg, var(--deep), var(--perf), var(--energy));
  background-size:200% 100%;
  transition:background-position .35s ease;
}

html[data-theme="dark"] .toggle-track{
  background-position:100% 0;
}

.toggle-thumb{
  width:24px;
  height:24px;
  border-radius:50%;
  background:#fff;
  position:absolute;
  top:3px;
  left:3px;
  transition:transform .3s ease;
}

html[data-theme="dark"] .toggle-thumb{
  transform:translateX(24px);
}




/* ===== Footer redesign (final) ===== */
.footer{
  background:#111111;
  color: rgba(255,255,255,.86);
  position: relative;
  overflow: hidden;
}
.footer-shell{ position: relative; }

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 28px;
  padding: 44px 0 34px;
  max-width: 1100px;
  margin: 0 auto;
}  align-items: start;
}
.footer-brand{ max-width: 520px; }
.footer-logo{
  width: 180px;
  height: auto;
  display:block;
}
.footer-tagline{
  margin-top: 12px;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
.footer-social{
  display:flex;
  gap: 10px;
  margin-top: 16px;
}
.social-ico{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.social-ico:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.35);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.footer-links h3,
.footer-info h3{
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.70);
  margin: 6px 0 12px;
}
.footer-links ul,
.footer-info ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.footer-links a{
  color: rgba(255,255,255,.78);
  text-decoration:none;
}
.footer-links a:hover{ color: #ffffff; }

.footer-contact p{
  color: rgba(255,255,255,.72);
  line-height: 1.55;
  margin: 0 0 12px;
}
.footer-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
  color: #ffffff;
  text-decoration:none;
  font-weight: 800;
}
.footer-cta:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.30);
}
.footer-note{
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-top: 12px;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 14px 0;
}
.footer-bottom-inner{
  display:flex;
  justify-content:center;
  text-align:center;
  color: rgba(255,255,255,.62);
  font-size: 12px;
}

@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr;
    padding: 38px 0 26px;
  }
  .footer-logo{ width: 170px; }
}





/* Footer info column (matches footer-links) */
.footer-info ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 10px;
}
.footer-info p{
  margin:0;
  color: rgba(255,255,255,.72);
  line-height: 1.55;
}
.footer-domain{
  font-weight: 800;
  color: rgba(255,255,255,.82);
  text-decoration:none;
}
.footer-domain:hover{ color:#ffffff; }


/* Footer info text styled like quick links */
.footer-info-text{
  color: rgba(255,255,255,.78);
  text-decoration:none;
}
.footer-info-text:hover{
  color:#ffffff;
}


/* ===== Micro-optimisations premium (final) ===== */
/* A) Focus visible (accessibilité + look premium) */
:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--perf) 70%, white);
  outline-offset: 3px;
  border-radius: 10px;
}

/* B) Soft text rendering */
body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* C) Subtle link underline animation (footer quick links + info) */
.footer-links a,
.footer-info a{
  position: relative;
}
.footer-links a::after,
.footer-info a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-3px;
  width:0;
  height:2px;
  background: linear-gradient(90deg, var(--deep), var(--perf), var(--energy));
  transition: width .22s ease;
}
.footer-links a:hover::after,
.footer-info a:hover::after{
  width:100%;
}


/* ===== Mobile header fix (Ajustement mobile) ===== */
@media (max-width: 820px){
  .site-header{
    padding-top: 14px;
    padding-bottom: 12px;
  }
  .header-inner{
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Logo as its own centered row */
  .brand{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding: 6px 0 2px;
  }
  .brand-logo{
    height: 44px;
    width: auto;
  }

  /* Show ONE logo depending on theme (mobile only) */
  .logo-light, .logo-dark{ display:none !important; }
  html[data-theme="light"] .logo-light{ display:block !important; }
  html[data-theme="dark"] .logo-dark{ display:block !important; }

  /* Center nav links + reduce spacing */
  .nav{
    width:100%;
    display:flex;
    flex-wrap: wrap;
    justify-content:center;
    gap: 8px 14px;
    padding: 2px 0;
  }
  .nav a{
    padding: 6px 0px;
    font-size: 13px;
    line-height: 1.1;
  }

  /* Center toggle + actions */
  .header-actions{
    width:100%;
    display:flex;
    flex-direction: column;
    align-items:center;
    gap: 10px;
  }
  .theme-toggle{
    margin: 0 auto;
  }
}



/* ===== Contact section (TTA) ===== */
.contact-section .section-head{ max-width: 820px; }

.contact-card{
  margin-top: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(1200px 420px at 10% 0%, rgba(31,111,58,.18), transparent 55%),
    radial-gradient(1000px 420px at 80% 0%, rgba(139,197,63,.14), transparent 58%),
    var(--surface);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
}

html[data-theme="dark"] .contact-card{
  background:
    radial-gradient(1200px 420px at 10% 0%, rgba(31,111,58,.22), transparent 55%),
    radial-gradient(1000px 420px at 80% 0%, rgba(139,197,63,.16), transparent 58%),
    rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.14);
}

.contact-left{ padding: 26px 26px 24px; }

.contact-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--deep) 28%, var(--border));
  background: color-mix(in srgb, var(--deep) 10%, transparent);
  font-weight: 800;
  font-size: 12px;
  color: var(--text);
}
.contact-badge .dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--deep), var(--perf), var(--energy));
}

.contact-left h3{ margin: 14px 0 6px; font-size: 22px; }
.contact-sub{ margin: 0 0 16px; color: var(--muted); line-height: 1.55; }

.contact-form label span{
  display:block;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin: 0 0 6px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  padding: 12px 12px;
  outline: none;
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea{
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.14);
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: color-mix(in srgb, var(--perf) 60%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--perf) 18%, transparent);
}

.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-full{ margin-top: 12px; display:block; }

.hp-field{ position:absolute; left:-9999px; opacity:0; }

.form-actions{
  margin-top: 14px;
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}
.form-note{ margin: 0; font-size: 12px; color: var(--muted); }
.form-status{ margin: 10px 0 0; font-size: 12px; color: var(--muted); }

.contact-right{
  position: relative;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding: 18px 18px 0;
}
.contact-visual{ position: relative; width: 100%; max-width: 720px; }
.contact-visual img{
  width: 100%;
  height: auto;
  display:block;
  transform: translateY(12px);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.18));

  transform: translateY(20px) scale(1.25);
}
html[data-theme="dark"] .contact-visual img{
  filter: drop-shadow(0 26px 46px rgba(0,0,0,.55));

  transform: translateY(20px) scale(1.25);
}
.contact-glow{
  position:absolute;
  inset: auto 0 0 0;
  height: 220px;
  border-radius: 22px;
  background: radial-gradient(220px 220px at 50% 60%, rgba(79,166,70,.26), transparent 65%);
  filter: blur(6px);
  pointer-events:none;
}

@media (max-width: 980px){
  .contact-card{ grid-template-columns: 1fr; }
  .contact-right{ padding: 8px 18px 0; }
  .contact-visual{ max-width: 420px; }
}
@media (max-width: 520px){
  .form-row{ grid-template-columns: 1fr; }
  .contact-left{ padding: 22px 18px 18px; }
}

/* Turnstile */
.turnstile-wrap{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
html[data-theme="dark"] .turnstile-wrap{
  filter: saturate(1.02);
}
@media (max-width: 520px){
  .turnstile-wrap{ justify-content:center; }
}
