:root {
  --bg: linear-gradient(180deg, #0a0a0a 0%, #11271d 30%, #000 100%);
  --panel: #0b3b25;
  --text: #eafff4;
  --muted: #c6e7d6;
  --border: rgba(255, 255, 255, 0.16);
  --brand: #22c55e;
  --brand-700: #16a34a;
  --card: rgba(255, 255, 255, 0.04);
  --container: 72rem;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

*,
*:before,
*:after {
  box-sizing: border-box;
}


/* Masquer TOUS les éléments de Google Traduction */
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-ftab-frame,
#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Masquer le formulaire d'évaluation après le footer */
div[style*="position: fixed"][style*="bottom"],
iframe[style*="position: fixed"][style*="bottom"] {
    display: none !important;
}

/* Cibler les iframes de Google Traduction */
iframe[src*="translate.goog"],
iframe[src*="translate.google.com"] {
    display: none !important;
}

/* Réinitialiser le body */
body {
    top: 0 !important;
    position: static !important;
}

body.translated-ltr,
body.translated-rtl {
    margin-top: 0 !important;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell,
    Helvetica, Arial;
  color: var(--text);
  background: var(--bg);
  height: 100%;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center {
  text-align: center;
}

/* Header responsive */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  color: #9ae6b4;
}

.brand svg {
  filter: drop-shadow(0 6px 24px rgba(34, 197, 94, 0.35));
}

/* Nav */
.nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #062c1a;
}

.btn-primary:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-ghost {
  background: transparent;
  color: #d7ffea;
}

/* Mobile menu (checkbox hack, no JS) */
#nav-toggle {
  display: none;
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #d7ffea;
  display: block;
}

.nav-links {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid var(--border);
}

.nav-links .container {
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
}

#nav-toggle:checked + label + .nav-links {
  display: block;
}

@media (min-width: 860px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: block;
    position: static;
    background: transparent;
    border: none;
  }

  .nav-links .container {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0;
  }
}

/* Layout */
.grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 920px) {
  .grid-2 {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: saturate(140%) blur(6px);
}

/* HERO */
.hero {
  padding: 4.5rem 0 3rem;
}

.title {
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  color: #d9ffe9;
  font-weight: 1000;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-visual .lead {
  margin: .75rem 0 0;
  position: absolute;
  top: 10%;
}


.hero-visual {
  aspect-ratio: 16/10;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: radial-gradient(
      1200px 800px at -10% -10%,
      rgba(34, 197, 94, 0.35),
      transparent 70%
    ),
    radial-gradient(
      1200px 800px at 110% 120%,
      rgba(20, 184, 166, 0.35),
      transparent 70%
    ),
    radial-gradient(
      900px 600px at 60% 20%,
      rgba(132, 204, 22, 0.2),
      transparent 70%
    );
  overflow: hidden;
  padding: 1rem;
}

.ring {
  background: linear-gradient(90deg, #22c55e, #14b8a6, #84cc16);
  padding: 2px;
  border-radius: 9999px;
  display: inline-flex;
}

.medallion {
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
}

.grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.center {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
}

.badges {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(6, 44, 26, 0.6);
  padding: 0.3rem 0.65rem;
  color: #c7ffdd;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.h2 {
  font-size: 1.6rem;
  margin: 0 0 1rem;
  color: #d9ffe9;
}

.muted {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.band {
  background: linear-gradient(
    90deg,
    rgba(34, 197, 94, 0.12),
    rgba(20, 184, 166, 0.12)
  );
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .band {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  display: grid;
  gap: 0.25rem;
  place-items: center;
}

.stat b {
  font-size: 1.5rem;
  color: #a7f3d0;
}

.stat small {
  color: var(--muted);
}

details {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.04);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: #d9ffe9;
}

summary::-webkit-details-marker {
  display: none;
}

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  color: #cdeedd;
}

.f-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer nav {
  display:flex;
  flex-direction: column;
  gap: 0 !important;
  padding:1rem;
  border-left:2px solid var(--brand);
}

footer .f-small {
    display: block;
    margin-top: 1rem;
    color: var(--muted);
    text-align: center;
    width:100%;
}

footer .greenweb {
    margin:1rem 0;
}


.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  background: #0d1712;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 60;
}

/* Dropdown minimal, accessible */
.dropdown-toggle {
  position: relative;
}

.dropdown-menu {
  background: #0a0a0a;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  overflow: hidden;
}

.dropdown-item {
  display: block;
  padding: 0.6rem 0.8rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-item:last-child {
  border-bottom: 0;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
  .dropdown-menu {
    position: static;
    display: block !important;
  }
}

.crumbs {
  font-size: 0.9rem;
  color: #bfe8d1;
  opacity: 0.9;
}

.toc {
  display: grid;
  gap: 0.25rem;
}

.calc {
  display: grid;
  gap: 0.5rem;
}

.calc input {
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.calc small {
  color: var(--muted);
}

.kpi {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kpi div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.6rem;
}

.kpi b {
  font-size: 1.2rem;
  color: #a7f3d0;
}
.flow {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
