:root {
  --cms-green: #a7b28d;
  --cms-orange: #f57a34;
  --cms-white: #ffffff;
  --cms-dark: #1a1a1a;
  --cms-text: #333333;
  --cms-muted: #5b5b5b;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--cms-text);
  background: var(--cms-white);
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER ===== */
/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-wrapper {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.logo img {
  width: auto;
  height: 46px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cms-dark);
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--cms-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== NAV ===== */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  color: var(--cms-dark);
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: var(--cms-orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--cms-orange);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ===== ACTIONS ===== */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-nav {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  background: var(--cms-orange);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(245, 122, 52, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(245, 122, 52, 0.28);
  opacity: 0.96;
}

/* ===== BURGER ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--cms-dark);
}

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

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 900px) {
  .nav-wrapper {
    min-height: 76px;
    gap: 1rem;
  }

  .brand-subtitle {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .btn-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ===== MAIN ===== */
.main-wrapper {
  position: relative;
  min-height: calc(100vh - 160px);
  overflow: hidden;
  background: var(--cms-green);
}

/* dégradé global à gauche pour fondre la bobine */
.main-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 900px;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to right,
      rgba(167, 178, 141, 0) 0%,
      rgba(167, 178, 141, 0.05) 10%,
      rgba(167, 178, 141, 0.15) 20%,
      rgba(167, 178, 141, 0.35) 35%,
      rgba(167, 178, 141, 0.60) 50%,
      rgba(167, 178, 141, 0.80) 65%,
      rgba(167, 178, 141, 0.95) 80%,
      rgba(167, 178, 141, 1) 100%);
}

/* voile lumineux doux */
.main-wrapper::after {
  content: "";
  position: absolute;
  left: 180px;
  top: 80px;
  width: 760px;
  height: 760px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.08) 28%,
      rgba(255, 255, 255, 0.03) 50%,
      rgba(255, 255, 255, 0) 72%);
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

/* ===== TESLA ===== */
.tesla-sidebar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 560px;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.tesla-img {
  position: absolute;
  left: -10px;
  bottom: 0;
  width: 1750px;
  max-width: none;
  height: auto;
  opacity: 0.98;
  filter: brightness(1.05) contrast(1.1) saturate(1.05);
}

/* halo au sol */
.tesla-sidebar::before {
  content: "";
  position: absolute;
  left: 20px;
  bottom: -10px;
  width: 470px;
  height: 150px;
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.38) 0%,
      rgba(255, 255, 255, 0.18) 32%,
      rgba(255, 255, 255, 0.05) 58%,
      rgba(255, 255, 255, 0) 76%);
  filter: blur(12px);
}

/* brume latérale */
.tesla-sidebar::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  width: 220px;
  height: 100%;
  background: linear-gradient(to right,
      rgba(167, 178, 141, 0) 0%,
      rgba(167, 178, 141, 0.45) 55%,
      rgba(167, 178, 141, 0.88) 100%);
}

/* ===== LOGO DROITE ===== */
.logo-side {
  position: absolute;
  right: 60px;
  top: 200px;
  z-index: 2;
  pointer-events: none;
}

.logo-side::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.08) 30%,
      rgba(255, 255, 255, 0) 70%);
  filter: blur(25px);
}

.logo-side-img {
  width: 300px;
  opacity: 0.35;
  filter: blur(0.5px) contrast(1.1);
  transform: rotate(10deg);
}

/* ===== CONTENT ===== */
.content-area {
  position: relative;
  z-index: 5;
  padding: 1.6rem 2rem 4rem;
}

.content-container {
  max-width: 920px;
  margin: 0 auto;
  padding-left: 210px;
}

.content-container section {
  margin-bottom: 3rem;
}

.content-container h2 {
  font-size: 2.2rem;
  color: var(--cms-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.content-container h3 {
  font-size: 1.6rem;
  color: var(--cms-dark);
  margin-bottom: 0.8rem;
}

.content-container p {
  color: var(--cms-muted);
}

/* ===== HERO ===== */
.hero {
  background: rgba(112, 123, 96, 0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  padding: 3.2rem 2.5rem;
  border-radius: 24px;
  text-align: center;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-soft);
}

.hero h2 {
  color: #fff;
  font-size: clamp(2.8rem, 4.8vw, 4.4rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
  font-weight: 800;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.btn {
  display: inline-block;
  margin-top: 1.6rem;
  background: var(--cms-orange);
  color: white;
  padding: 1rem 2.1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(245, 122, 52, 0.28);
}

/* ===== ARTICLES ===== */
article,
.card {
  background: rgba(255, 255, 255, 0.96);
  padding: 2rem;
  border-left: 5px solid var(--cms-orange);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

article h3,
.card h3 {
  margin-bottom: 0.8rem;
}

article ul,
.content-container ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}

article li,
.content-container li {
  margin-bottom: 0.7rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* ===== FOOTER ===== */
/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #121212 0%, #0b0b0b 100%);
  color: #ffffff;
  padding: 60px 20px 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
}

/* TITRES */
.footer-section h3 {
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #ffd700;
}

/* TEXTE */
.footer-section p {
  color: #cfcfcf;
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* LIENS */
.footer-section a {
  color: #f2f2f2;
  transition: color 0.25s ease;
}

.footer-section a:hover {
  color: var(--cms-orange);
}

/* BOUTON */
.footer-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  background: var(--cms-orange);
  color: white !important;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(245, 122, 52, 0.25);
}

.footer-cta:hover {
  opacity: 0.9;
}

/* BAS FOOTER */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #9e9e9e;
}

/* LIENS LÉGAUX */
.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: #9e9e9e;
}

.footer-legal a:hover {
  color: var(--cms-orange);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .tesla-sidebar {
    width: 500px;
  }

  .tesla-img {
    width: 1550px;
  }

  .content-container {
    padding-left: 170px;
  }

  .main-wrapper::before {
    width: 760px;
  }

  .logo-side {
    right: 30px;
  }

  .logo-side-img {
    width: 240px;
  }
}

@media (max-width: 980px) {

  .tesla-sidebar,
  .main-wrapper::before,
  .main-wrapper::after,
  .logo-side {
    display: none;
  }

  .content-area {
    padding: 2rem 1rem 3rem;
  }

  .content-container {
    padding-left: 0;
  }

  .hero {
    padding: 2.4rem 1.4rem;
  }

  .hero h2 {
    font-size: 2.3rem;
  }

  .nav-wrapper {
    flex-wrap: wrap;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

:root {
  --cms-green: #a7b28d;
  --cms-orange: #f57a34;
  --cms-white: #ffffff;
  --cms-dark: #1a1a1a;
  --cms-text: #333333;
  --cms-muted: #5b5b5b;
}

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

body {
  font-family: "Segoe UI", sans-serif;
  color: var(--cms-text);
}

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.btn-nav {
  background: var(--cms-orange);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
}

/* ===== MAIN ===== */
.main-wrapper {
  position: relative;
  min-height: 100vh;
  background: var(--cms-green);
  overflow: hidden;
}

/* ===== TESLA ===== */
.tesla-sidebar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 640px;
  height: 100%;
  z-index: 2;
  pointer-events: none;

  /* MASQUE ULTRA IMPORTANT */
  mask-image: linear-gradient(to right,
      black 0%,
      black 60%,
      rgba(0, 0, 0, 0.8) 70%,
      rgba(0, 0, 0, 0.4) 85%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to right,
      black 0%,
      black 60%,
      rgba(0, 0, 0, 0.8) 70%,
      rgba(0, 0, 0, 0.4) 85%,
      transparent 100%);
}

.tesla-img {
  position: absolute;
  left: -20px;
  bottom: 0;
  width: 1800px;
  max-width: none;
  opacity: 0.98;
  filter: brightness(1.05) contrast(1.08);
}

/* ===== FONDU GLOBAL ===== */
.main-wrapper::before {
  content: "";
  position: absolute;
  left: 250px;
  top: 0;
  width: 600px;
  height: 100%;
  z-index: 3;
  pointer-events: none;

  background: linear-gradient(to right,
      rgba(167, 178, 141, 0) 0%,
      rgba(167, 178, 141, 0.1) 20%,
      rgba(167, 178, 141, 0.3) 40%,
      rgba(167, 178, 141, 0.6) 60%,
      rgba(167, 178, 141, 0.9) 80%,
      rgba(167, 178, 141, 1) 100%);

  filter: blur(18px);
}

/* ===== LOGO DROITE ===== */
.logo-side {
  position: absolute;
  right: 60px;
  top: 200px;
  z-index: 2;
  pointer-events: none;
}

.logo-side::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0) 70%);
  filter: blur(25px);
}

.logo-side-img {
  width: 280px;
  opacity: 0.4;
  transform: rotate(8deg);
}

/* ===== CONTENT ===== */
.content-area {
  position: relative;
  z-index: 5;
  padding: 40px;
}

.content-container {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 240px;
}

/* ===== HERO ===== */
.hero {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(6px);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.hero h2 {
  font-size: 3rem;
}

.btn {
  margin-top: 20px;
  display: inline-block;
  background: var(--cms-orange);
  padding: 12px 25px;
  border-radius: 30px;
  color: white;
}

/* ===== ARTICLES ===== */
article {
  background: white;
  padding: 25px;
  border-left: 5px solid var(--cms-orange);
  border-radius: 12px;
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: white;
  padding: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {

  .tesla-sidebar,
  .logo-side,
  .main-wrapper::before {
    display: none;
  }

  .content-container {
    padding-left: 0;
  }
}

/* ===== PAGE CONTACT ===== */
.contact-page {
  min-height: 100vh;
  padding: 140px 20px 80px;
  background:
    linear-gradient(180deg, rgba(167, 178, 141, 0.18) 0%, rgba(167, 178, 141, 0.08) 100%),
    #f7f7f4;
}

.contact-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-intro {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.contact-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--cms-orange);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-intro h1 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08;
  color: var(--cms-dark);
}

.contact-intro p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--cms-muted);
}

.contact-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  color: var(--cms-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;
  background: #fff;
  color: var(--cms-text);
  font: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8d8d8d;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(245, 122, 52, 0.65);
  box-shadow: 0 0 0 4px rgba(245, 122, 52, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 180px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--cms-muted);
  font-size: 0.95rem;
}

.form-check input {
  margin-top: 4px;
  accent-color: var(--cms-orange);
}

.form-actions {
  padding-top: 6px;
}

.btn-submit {
  border: 0;
  cursor: pointer;
  display: inline-block;
  padding: 14px 24px;
  background: var(--cms-orange);
  color: #fff;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(245, 122, 52, 0.24);
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  opacity: 0.97;
  box-shadow: 0 14px 28px rgba(245, 122, 52, 0.28);
}

/* ===== RESPONSIVE CONTACT ===== */
@media (max-width: 820px) {
  .contact-page {
    padding: 120px 16px 60px;
  }

  .contact-card {
    padding: 22px;
    border-radius: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro h1 {
    font-size: 2.2rem;
  }
}