/* ============================================================
   CLICAVIS MENU — Custom CSS
   Brand: #1E3D35 (forest green) | #F0A500 (amber) | #8A8A8A (gray)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --green: #1E3D35;
  --green-light: #2a5247;
  --green-dark: #162e28;
  --amber: #F0A500;
  --amber-dark: #d4920a;
  --amber-light: #f5b833;
  --gray: #8A8A8A;
  --gray-light: #f0eeeb;
  --cream: #F9F6F1;
  --white: #FFFFFF;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30,61,53,0.1);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--green); }

.btn-devis {
  background: var(--amber);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 20px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.btn-devis:hover {
  background: var(--amber-dark) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-amber {
  background: var(--amber);
  color: var(--white);
}
.btn-amber:hover { background: var(--amber-dark); box-shadow: 0 8px 24px rgba(240,165,0,0.4); }

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-light); box-shadow: 0 8px 24px rgba(30,61,53,0.4); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--green); }

.btn-outline-green {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline-green:hover { background: var(--green); color: var(--white); }

/* ============================================================
   SECTION SHARED
   ============================================================ */
section { position: relative; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(30,61,53,0.88) 0%,
    rgba(30,61,53,0.60) 55%,
    rgba(0,0,0,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 120px 24px 80px;
  margin-left: max(24px, calc((100vw - 1200px)/2));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(240,165,0,0.15);
  border: 1px solid rgba(240,165,0,0.4);
  color: var(--amber-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-title em {
  font-style: italic;
  color: var(--amber-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 56px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-trust-item {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust-item i {
  color: var(--amber);
  font-size: 1rem;
}

/* ============================================================
   SECTION 2 — LE PROBLÈME
   ============================================================ */
#probleme {
  background: var(--green);
  padding: 96px 0;
}

.probleme-header {
  text-align: center;
  margin-bottom: 60px;
}
.probleme-header h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.probleme-header p {
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
  font-size: 1.05rem;
}

.probleme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.problem-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}

.problem-card-img {
  height: 260px;
  overflow: hidden;
}
.problem-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.05);
  transition: transform 0.5s ease;
}
.problem-card:hover .problem-card-img img { transform: scale(1.04); }

.problem-card-body {
  padding: 32px;
}
.problem-card-body h3 {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 14px;
}
.problem-card-body p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}
.problem-icon {
  width: 48px; height: 48px;
  background: rgba(240,165,0,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: var(--amber);
}

/* ============================================================
   SECTION 3 — LA SOLUTION
   ============================================================ */
#solution {
  background: var(--white);
  padding: 96px 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.solution-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.solution-img-wrap img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.solution-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--amber);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.solution-content h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--green);
  margin-bottom: 8px;
}
.solution-content .solution-sub {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 36px;
  font-style: italic;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.feature-bee {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-text strong { color: var(--green); }

/* Phone row — how it works strip */
.solution-phone-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid rgba(30,61,53,0.08);
}
.solution-phone-img img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  margin: 0 auto;
}
.solution-phone-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  color: var(--green);
  margin-bottom: 16px;
}
.solution-phone-text > p {
  color: var(--text-mid);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.7;
}
.solution-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.solution-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.step-num {
  background: var(--green);
  color: var(--white);
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}
.solution-steps li strong { color: var(--green); }

@media (max-width: 1024px) {
  .solution-phone-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .solution-phone-img img { max-width: 280px; }
}

/* ============================================================
   SECTION 4 — FORMULES
   ============================================================ */
#formules {
  background: var(--cream);
  padding: 96px 0;
}

.formules-header {
  text-align: center;
  margin-bottom: 16px;
}
.formules-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green);
}
.formules-sub {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 56px;
}

.formules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}

.formule-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.formule-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.formule-card.premium {
  border: 2px solid var(--amber);
}
.formule-card.standard {
  border: 2px solid var(--green);
}

.formule-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
}
.premium .formule-badge { background: var(--amber); color: var(--white); }
.standard .formule-badge { background: var(--green); color: var(--white); }

.formule-img {
  height: 220px;
  overflow: hidden;
}
.formule-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.formule-card:hover .formule-img img { transform: scale(1.04); }

.formule-body {
  padding: 32px;
}

.formule-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.premium .formule-name { color: var(--amber-dark); }
.standard .formule-name { color: var(--green); }

.formule-price {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  line-height: 1;
  margin-bottom: 4px;
}
.premium .formule-price { color: var(--green); }
.standard .formule-price { color: var(--green); }

.formule-price-sub {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.formule-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.formule-features li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-mid);
  align-items: flex-start;
}
.formule-features li i {
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.formule-features li.check i { color: #22c55e; }
.formule-features li.info i { color: var(--amber); }

.formule-card .btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 15px;
}

.formule-extra {
  background: rgba(240,165,0,0.12);
  border: 1px solid rgba(240,165,0,0.35);
  border-radius: 12px;
  padding: 18px 28px;
  margin-top: 32px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.formule-extra i { color: var(--amber); font-size: 1.2rem; }
.formule-extra p { font-size: 0.92rem; color: var(--text-mid); }
.formule-extra strong { color: var(--green); }

/* Bande visuelle stands NFC */
.stands-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--white);
}
.stands-band-text .section-tag {
  background: rgba(240,165,0,0.2);
  color: var(--amber);
  border: 1px solid var(--amber);
}
.stands-band-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
}
.stands-band-text > p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.stands-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stands-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
.stands-band-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.stands-band-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .stands-band {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px;
  }
}

/* ============================================================
   SECTION 5 — EXEMPLE RÉEL
   ============================================================ */
#exemple {
  background: var(--white);
  padding: 96px 0;
}

.exemple-header {
  text-align: center;
  margin-bottom: 56px;
}
.exemple-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--green);
}
.exemple-header p {
  color: var(--gray);
  margin-top: 10px;
  font-size: 1rem;
}

.exemple-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.exemple-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.exemple-img img {
  width: 100%; height: 380px;
  object-fit: cover;
}

.exemple-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-left: 4px solid var(--amber);
}
.exemple-card-top {
  margin-bottom: 20px;
}
.exemple-card h3 {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 4px;
}
.exemple-card .etablissement {
  font-size: 0.95rem;
  color: var(--amber-dark);
  font-weight: 600;
  margin-bottom: 0;
}
.exemple-infos {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(30,61,53,0.1);
}
.exemple-card .adresse {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 8px;
}
.exemple-card .adresse i { color: var(--green); margin-top: 2px; flex-shrink: 0; }
.exemple-horaires {
  font-size: 0.875rem;
  color: var(--text-mid);
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 4px;
}
.exemple-horaires i { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Section deployed features grid */
.exemple-deployed {
  margin-bottom: 28px;
}
.deployed-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 16px;
}
.deployed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.deployed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.deployed-item i {
  color: var(--amber);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}
.deployed-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.deployed-item strong {
  font-size: 0.82rem;
  color: var(--green);
  font-weight: 700;
}
.deployed-item span {
  font-size: 0.77rem;
  color: var(--gray);
  line-height: 1.4;
}

.exemple-disclaimer {
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--gray);
  text-align: center;
  font-style: italic;
}

.exemple-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.exemple-tag {
  background: rgba(30,61,53,0.08);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
}

/* ============================================================
   SECTION 6 — CONTACT
   ============================================================ */
#contact {
  background: var(--cream);
  padding: 96px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-left-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 400px;
}
.contact-left-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h2 {
  font-size: 2rem;
  color: var(--green);
  margin-bottom: 8px;
}
.contact-form-wrap .contact-sub {
  color: var(--gray);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
}
.form-group label span { color: var(--amber); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  padding: 12px 16px;
  border: 1.5px solid #e0ddd8;
  border-radius: 8px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30,61,53,0.08);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  pointer-events: none;
  font-size: 0.75rem;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  justify-content: center;
  border-radius: 10px;
  margin-top: 8px;
}

.form-rgpd {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.5;
  display: flex;
  gap: 8px;
}
.form-rgpd i { color: var(--green); flex-shrink: 0; margin-top: 2px; }

.form-garantie {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-mid);
  font-style: italic;
}
.form-garantie i { color: var(--amber); }

.form-success {
  display: none;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #15803d;
  font-weight: 600;
  margin-top: 16px;
}

.form-error-global {
  display: none;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 10px;
  padding: 16px;
  color: #b91c1c;
  font-size: 0.875rem;
  margin-top: 8px;
}

/* ============================================================
   SECTION 7 — FOOTER
   ============================================================ */
#footer {
  background: var(--green);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}
.footer-tagline {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-style: italic;
  margin-bottom: 20px;
}

.footer-bee {
  font-size: 2.5rem;
  line-height: 1;
}

/* Social links footer */
.footer-links-social {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}
.footer-social-link:hover {
  background: var(--amber);
  color: var(--white);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--amber); }

.footer-col .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  margin-bottom: 10px;
}
.footer-col .contact-item i {
  color: var(--amber);
  flex-shrink: 0;
  margin-top: 2px;
  width: 14px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 0.78rem;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--green-dark);
  color: var(--white);
  padding: 20px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
#cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 280px; }
.cookie-text p { font-size: 0.875rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.cookie-text strong { color: var(--amber); }
.cookie-text a { color: var(--amber-light); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-actions button {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  border: none;
  transition: all 0.2s;
}
.btn-cookie-accept {
  background: var(--amber);
  color: var(--white);
}
.btn-cookie-accept:hover { background: var(--amber-dark); }
.btn-cookie-essential {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25) !important;
}
.btn-cookie-essential:hover { background: rgba(255,255,255,0.1); }

/* Cookie modal */
#cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#cookie-modal.open { display: flex; }
.cookie-modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.cookie-modal-box h3 {
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 20px;
}
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}
.cookie-option:last-of-type { border: none; }
.cookie-option-label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.cookie-option-desc { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

.toggle-switch {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--green); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.cookie-modal-actions button {
  flex: 1;
  padding: 12px;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  min-width: 120px;
}
.btn-save-prefs { background: var(--green); color: var(--white); }
.btn-save-prefs:hover { background: var(--green-light); }
.btn-accept-all { background: var(--amber); color: var(--white); }
.btn-accept-all:hover { background: var(--amber-dark); }

/* ============================================================
   MODALS LÉGAUX
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9000;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 24px;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 760px;
  width: 100%;
  margin: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-box h2 {
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: 24px;
  padding-right: 40px;
}
.modal-box h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin: 20px 0 8px;
}
.modal-box p, .modal-box li {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 8px;
}
.modal-box ul { padding-left: 20px; margin-bottom: 12px; }
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  transition: color 0.2s;
  line-height: 1;
  padding: 4px;
}
.modal-close:hover { color: var(--green); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .solution-grid,
  .exemple-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .solution-img-badge { bottom: -12px; right: 12px; }
  .deployed-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(30,61,53,0.1);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav-toggle { display: flex; }
  .btn-devis { display: none; }

  .probleme-grid,
  .formules-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 100px 24px 60px;
    margin-left: 0;
  }

  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

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

  .contact-form-wrap { padding: 28px; }
  .modal-box { padding: 28px; }

  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .formule-body { padding: 24px; }
  .exemple-card { padding: 28px; }
}
