/* ============================================================
   Ecoboost — landing page temporaire
   Palette reprise du site ecoboost.world :
   vert #9ac000 · anthracite #4d4d4d · gris-vert #6b7770
   neutres #e7eae8 / #f2f5f3
   ============================================================ */

:root {
  --green: #9ac000;
  --green-dark: #698300;
  --anthracite: #4d4d4d;
  --anthracite-deep: #3f4441;
  --grey-green: #6b7770;
  --neutral-light: #f2f5f3;
  --neutral: #e7eae8;
  --white: #ffffff;

  --font-title: 'Open Sans Condensed', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--anthracite);
  background: var(--neutral-light);
  line-height: 1.7;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1.5rem;
  border-top: 4px solid var(--green);
  background: var(--neutral-light);
  overflow: hidden;
}

/* Halos décoratifs très subtils, en écho au vert de la marque */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 44rem;
  height: 44rem;
  top: -18rem;
  left: -14rem;
  background: radial-gradient(circle, rgba(154, 192, 0, 0.10) 0%, rgba(154, 192, 0, 0) 65%);
}

.hero::after {
  width: 38rem;
  height: 38rem;
  bottom: -16rem;
  right: -12rem;
  background: radial-gradient(circle, rgba(107, 119, 112, 0.12) 0%, rgba(107, 119, 112, 0) 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  padding: 3.75rem 3.5rem 3rem;
  text-align: center;
  background: var(--white);
  border-radius: 14px;
  box-shadow:
    0 1px 2px rgba(63, 68, 65, 0.05),
    0 18px 50px rgba(63, 68, 65, 0.10);
}

/* Apparition en cascade des éléments du hero */
.hero-inner > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-inner.visible > * {
  opacity: 1;
  transform: none;
}

.hero-inner > *:nth-child(2) { transition-delay: 0.1s; }
.hero-inner > *:nth-child(3) { transition-delay: 0.18s; }
.hero-inner > *:nth-child(4) { transition-delay: 0.26s; }
.hero-inner > *:nth-child(5) { transition-delay: 0.34s; }
.hero-inner > *:nth-child(6) { transition-delay: 0.42s; }

.logo {
  width: 100%;
  max-width: 22rem;
  height: auto;
}

.slogan {
  margin-top: 2.25rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--anthracite);
}

.slogan-green {
  color: var(--green);
}

.divider {
  width: 4.5rem;
  height: 4px;
  margin: 1.6rem auto;
  background: var(--green);
  border-radius: 2px;
}

.intro {
  max-width: 38rem;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--grey-green);
}

.intro p + p {
  margin-top: 1.1rem;
}

.intro strong {
  font-weight: 600;
  color: var(--anthracite);
}

.intro a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  transition: color 0.2s ease;
}

.intro a:hover,
.intro a:focus {
  color: var(--green);
}

.btn-agenda {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 1rem 3rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--green);
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(154, 192, 0, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-agenda .btn-arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 0.2s ease;
}

.btn-agenda:hover,
.btn-agenda:focus {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(105, 131, 0, 0.4);
}

.btn-agenda:hover .btn-arrow,
.btn-agenda:focus .btn-arrow {
  transform: translateX(4px);
}

.notice {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: var(--green-dark);
  background: rgba(154, 192, 0, 0.10);
  border: 1px solid rgba(154, 192, 0, 0.4);
  border-radius: 12px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--anthracite-deep);
  border-top: 4px solid var(--green);
  color: var(--neutral);
}

.footer-inner {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2.75rem 1.5rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-align: left;
}

.footer-logo {
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-logo:hover,
.footer-logo:focus {
  transform: translateY(-2px);
  opacity: 0.85;
}

.footer-logo img {
  height: 3.25rem;
  width: auto;
  display: block;
}

.footer-carried {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #c1cac5;
}

.footer-carried a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--green);
  transition: color 0.2s ease;
}

.footer-carried a:hover,
.footer-carried a:focus {
  color: var(--green);
}

.footer-contact {
  font-style: normal;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.35;
}

.contact-label {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.footer-contact a {
  color: var(--white);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-contact a:focus {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: #a1aaa5;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .hero {
    padding: 2rem 1rem;
  }

  .hero-inner {
    padding: 2.5rem 1.5rem 2rem;
  }

  .logo {
    max-width: 16.5rem;
  }

  .slogan {
    margin-top: 1.75rem;
    font-size: 1.8rem;
  }

  .intro {
    font-size: 0.98rem;
  }

  .btn-agenda {
    display: block;
    margin-top: 2rem;
    padding: 0.95rem 1rem;
  }

  .footer-inner {
    flex-direction: column;
    padding: 2.25rem 1.25rem 1.75rem;
    gap: 1.75rem;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

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

  .contact-row {
    align-items: center;
  }
}

/* Respecter la préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .hero-inner > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
