/*
 * eznovation.com — styles communs (base, en-tête, pied de page, 404).
 * Les sections de marques ont leur propre feuille isolée :
 * clipnsleep.css et vtiny-showcase.css.
 */

:root{
  --ezn-orange:#bd6128;
  --ezn-ink:#2b2f33;
  --ezn-muted:#6b7178;
  --ezn-line:#e3e6ea;
  --ezn-soft:#f6f7f9;
  --cns-blue:#009fe3;
  --vth-blue:#0e5077;
  --ezn-font:'IBM Plex Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ezn-wrap:1170px;
}

*, *::before, *::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  font-family:var(--ezn-font);
  color:var(--ezn-ink);
  background:#fff;
  line-height:1.5;
}

img, svg{ max-width:100%; }

/* Même gabarit que l'ancien site : 1170px max, gouttières de 15px. */
main{ flex:1 0 auto; width:100%; }

.wrap{
  max-width:var(--ezn-wrap);
  margin:0 auto;
  padding:0 15px;
}

.skip-link{
  position:absolute;
  left:15px;
  top:-100px;
  z-index:10;
  padding:8px 14px;
  border-radius:6px;
  background:var(--ezn-ink);
  color:#fff;
  font-size:.9rem;
  text-decoration:none;
}
.skip-link:focus{ top:10px; }

:focus-visible{ outline:2px solid var(--ezn-orange); outline-offset:2px; }

/* ---------- Sélecteur de langue ---------- */
.lang-switch{
  display:inline-flex;
  gap:2px;
  padding:3px;
  border:1px solid var(--ezn-line);
  border-radius:999px;
  background:#fff;
  font-size:.82rem;
}
.lang-switch a{
  padding:4px 12px;
  border-radius:999px;
  color:var(--ezn-muted);
  font-weight:500;
  text-decoration:none;
  transition:color .15s ease, background-color .15s ease;
}
.lang-switch a:hover{ color:var(--ezn-ink); }
.lang-switch a[aria-current="page"]{ background:var(--ezn-ink); color:#fff; }

/* ---------- En-tête ---------- */
.site-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:16px;
}
.site-logo{ margin:0; line-height:0; }
.site-logo a{ display:inline-block; padding-left:10px; }
.site-logo img{ height:44px; width:auto; }
@media (max-width:420px){
  .site-logo a{ padding-left:0; }
  .site-logo img{ height:36px; }
}

/* ---------- Sections de marques ---------- */
.vth-showcase{ margin:30px 0 20px; }

/* ---------- Pied de page ---------- */
.site-footer{
  position:relative;
  margin-top:50px;
  background:var(--ezn-soft);
  border-top:1px solid var(--ezn-line);
}
/* Filet aux couleurs d'EZNovation et de ses deux marques. */
.site-footer::before{
  content:"";
  position:absolute;
  top:-1px;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg,
    var(--ezn-orange) 0 33.34%,
    var(--cns-blue) 33.34% 66.67%,
    var(--vth-blue) 66.67% 100%);
}
.site-footer-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:20px;
  padding-top:40px;
  padding-bottom:28px;
}
.footer-brand a{ display:inline-block; line-height:0; }
.footer-brand img{ height:36px; width:auto; }
.footer-tagline{
  margin:10px 0 0;
  color:var(--ezn-muted);
  font-size:.95rem;
}
.site-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px 24px;
  padding-top:18px;
  padding-bottom:30px;
  /* Filet limité à la largeur du contenu (sans les gouttières). */
  background:linear-gradient(var(--ezn-line), var(--ezn-line)) center top / calc(100% - 30px) 1px no-repeat;
  color:var(--ezn-muted);
  font-size:.85rem;
}
.footer-copyright{ margin:0; }
.hosted-by{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 14px 6px 12px;
  border:1px solid var(--ezn-line);
  border-radius:999px;
  background:#fff;
  color:var(--ezn-muted);
  text-decoration:none;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.hosted-by img{ height:18px; width:auto; }
.hosted-by strong{ color:var(--vth-blue); font-weight:600; }
.hosted-by:hover{ border-color:var(--vth-blue); box-shadow:0 2px 10px rgba(14,80,119,.12); }
@media (max-width:560px){
  .site-footer-top, .site-footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ---------- Page 404 ---------- */
.error-page{
  margin:30px 0 20px;
  padding:70px 24px;
  border:1px solid var(--ezn-line);
  border-radius:10px;
  text-align:center;
}
.error-code{
  margin:0;
  font-size:4.5rem;
  font-weight:600;
  line-height:1;
  color:var(--ezn-orange);
}
.error-page h2{ margin:14px 0 8px; font-size:1.6rem; }
.error-page p{ margin:0; color:var(--ezn-muted); }
.error-cta{
  display:inline-block;
  margin-top:26px;
  padding:11px 22px;
  border-radius:6px;
  background:var(--ezn-ink);
  color:#fff;
  font-weight:500;
  text-decoration:none;
}
.error-cta:hover{ background:#000; }
