/* ============================================
   VARIABLES
   ============================================ */
:root {
  --snow:       #f8f9fb;
  --white:      #ffffff;
  --grey-50:    #f0f2f5;
  --grey-100:   #e4e8ee;
  --grey-200:   #cdd3dc;
  --grey-400:   #8a96a8;
  --ink:        #0d1420;
  --ink2:       #1e2a3a;
  --green:      #B4E724;
  --green2:     #96c41a;
  --green-bg:   #f4fcd4;
  --green-text: #5a7a0a;
  --card:       #ffffff;
  --border:     #e2e7ef;
  --radius:     14px;
  --shadow:     0 2px 16px rgba(13,20,32,.07);
  --shadow-lg:  0 8px 40px rgba(13,20,32,.11);
  --input-font-size: 1rem;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--snow);
  color: var(--ink2);
  overflow-x: hidden;
  line-height: 1.7;
  max-width: 100vw;
}
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; }

/* ============================================
   CURSEUR CUSTOM — galerie desktop
   ============================================ */
#gallery-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 52px; height: 52px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .2s ease, transform .15s ease;
  will-change: left, top;
}
#gallery-cursor.visible {
  opacity: 1;
}
#gallery-cursor.over-link {
  transform: translate(-50%, -50%) scale(1.15);
}

/* ============================================
   ANCRES DE SCROLL
   ============================================ */
.scroll-anchor { display: block; height: 0; pointer-events: none; }
#services, #avantages, #galerie, #contact { scroll-margin-top: 80px; }

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--grey-50);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: .70rem 0;
  transition: all .35s ease;
}
#navbar.scrolled { padding: .30rem 0; box-shadow: 0 6px 18px rgba(0,0,0,.08); }

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

.brand {
  display: flex; align-items: center; gap: .8rem;
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.1rem;
  letter-spacing: .4px; color: var(--green); text-decoration: none; white-space: nowrap;
}
.logo { height: 38px; }

.nav-links {
  display: flex; gap: 1.6rem; list-style: none;
  margin-left: auto; margin-right: 1rem;
}
.nav-links a {
  display: inline-block; width: auto; padding: 0.75rem 0;
  text-decoration: none; font-size: .9rem; font-weight: 500;
  color: var(--grey-400); position: relative; transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 8px;
  width: 0; height: 2px; background: var(--green);
  border-radius: 2px; transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--green); color: var(--ink);
  padding: .55rem 1.3rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; text-decoration: none; transition: all .25s;
}
.nav-cta:hover { background: var(--green2); transform: translateY(-1px); }

.burger { display: none; font-size: 1.6rem; border: none; background: none; cursor: pointer; }

@media (max-width: 900px) {
  .burger { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 50%; width: 100%;
    transform: translateX(-50%) translateY(0);
    display: none; flex-direction: column; gap: 0;
    background-color: #fff; padding: 0.25rem 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.4s ease;
    opacity: 1; z-index: 999;
  }
  .nav-links.open   { display: flex; transform: translateX(-50%) translateY(0); opacity: 1; }
  .nav-links.closing { transform: translateX(-50%) translateY(-120%); opacity: 0; }
  .nav-cta { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 1.5rem 4rem; position: relative; overflow: hidden;
  background-image:
    linear-gradient(135deg, rgba(248,249,251,.97) 0%, rgba(244,252,212,.7) 60%),
    url('c3861b8d-941e-4702-b70f-c2f9d531e290.jpg');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, scroll;
}
@media (min-width: 1200px) {
  .hero { background-position: center center, 0% 95%; background-attachment: fixed; }
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(180,231,36,.18), transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(180,231,36,.10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(180,231,36,.06) 0%, transparent 70%);
  top: -100px; right: -100px; border-radius: 50%; pointer-events: none;
}

.hero-inner {
  max-width: 1100px; margin: auto; width: 100%; position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
}
.hero-text { flex: 1; min-width: 0; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800;
  line-height: 1.12; letter-spacing: 0.2px;
  max-width: 680px; margin-bottom: 1.25rem; color: var(--ink);
}
.hero-sub {
  font-size: 1.05rem; max-width: 500px; margin-bottom: 2.5rem;
  line-height: 1.75; color: var(--ink2);
  font-style: italic; font-weight: 300; letter-spacing: 0.15px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-pills   { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pill {
  display: flex; align-items: center; gap: .55rem;
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: .5rem 1.1rem; font-size: .82rem; font-weight: 500; color: var(--ink2); box-shadow: var(--shadow);
}
.pill i { color: var(--green-text); font-size: .95rem; }
.hero-zone { font-size: .84rem; color: var(--ink2); font-style: italic; font-weight: 300; letter-spacing: 0.15px; }
.hero-zone strong { color: var(--green-text); font-weight: 700; font-style: normal; letter-spacing: 0.5px; }

.hero-logo-block { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.hero-logo-ring {
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--white); border: 3px solid rgba(180,231,36,.3);
  box-shadow: 0 0 0 16px rgba(180,231,36,.08), var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  animation: floatLogo 3s ease-in-out infinite; will-change: transform;
}
@keyframes floatLogo {
  0%   { transform: translateY(15px); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(15px); }
}
.hero-logo-ring:hover .hero-logo-img { transform: rotate(-12deg) scale(1.05); }
.hero-logo-img { width: 200px; height: 200px; object-fit: contain; transition: transform .4s ease; }

@media (max-width: 900px) {
  .hero { padding: 6rem 1.25rem 3rem; }
  .hero-inner { flex-direction: column-reverse; gap: 2rem; text-align: center; }
  .hero-text  { display: flex; flex-direction: column; align-items: center; }
  .hero h1, .hero-sub { max-width: 100%; }
  .hero-actions, .hero-pills { justify-content: center; }
  .hero-logo-ring { width: 200px; height: 200px; }
  .hero-logo-img  { width: 130px; height: 130px; }
}
@media (max-width: 480px) {
  .hero { padding: 5.5rem 1rem 3rem; background-position: center center, center top; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.4rem); }
  .hero-sub { font-size: .95rem; }
  .hero-logo-ring { width: 150px; height: 150px; }
  .hero-logo-img  { width: 95px; height: 95px; }
  .hero-pills { flex-direction: column; align-items: center; }
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-main {
  background: var(--green); color: var(--ink);
  padding: .85rem 2rem; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: all .2s; border: none; cursor: pointer; display: inline-block;
  box-shadow: 0 4px 16px rgba(180,231,36,.35);
}
.btn-main:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(180,231,36,.4); }
.contact-form .btn-main { padding: 1rem 2rem; }

.btn-ghost {
  border: 1.5px solid var(--grey-200); color: var(--ink2);
  padding: .85rem 2rem; border-radius: 999px;
  font-weight: 500; font-size: .95rem; text-decoration: none;
  transition: all .2s; display: inline-block; background: var(--white);
}
.btn-ghost:hover { border-color: var(--green-text); color: var(--green-text); }

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-main,
  .hero-actions .btn-ghost { width: 100%; text-align: center; }
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
section, .comparatif { padding: 5rem 1.5rem; }
@media (max-width: 768px) { section, .comparatif { padding: 3.5rem 1rem; } }
@media (max-width: 480px) { section, .comparatif { padding: 2.75rem 1rem; } }

.wrap { max-width: 1100px; margin: auto; }

.section-label {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--green-text);
  margin-bottom: .75rem; background: var(--green-bg);
  padding: .2rem .75rem; border-radius: 999px;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800;
  letter-spacing: 0.3px; margin-bottom: 1rem; line-height: 1.18; color: var(--ink);
}
.section-sub {
  color: var(--grey-400); font-size: 1rem; max-width: 520px;
  margin-bottom: 3rem; line-height: 1.75;
}
@media (max-width: 480px) { .section-sub { margin-bottom: 2rem; } }

/* ============================================
   SERVICES
   ============================================ */
#services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--snow); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.service-card:hover { border-color: rgba(180,231,36,.5); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon {
  width: 50px; height: 50px; background: var(--green-bg); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
}
.service-icon i { font-size: 1.4rem; color: var(--green-text); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--ink); }
.service-card p  { font-size: .9rem; color: var(--grey-400); line-height: 1.65; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================
   AVANTAGES
   ============================================ */
#avantages { background: var(--grey-50); }
.avantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.av-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; text-align: center;
  transition: border-color .3s, transform .3s, box-shadow .3s; box-shadow: var(--shadow);
}
.av-card:hover { border-color: rgba(180,231,36,.45); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.av-card i  { font-size: 1.9rem; color: var(--green-text); margin-bottom: .75rem; display: block; }
.av-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--ink); }
.av-card p  { font-size: .85rem; color: var(--grey-400); line-height: 1.65; }
@media (max-width: 992px) { .avantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .avantages-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }

/* ============================================
   COMPARATIF
   ============================================ */
.comparatif { background: var(--white); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.cmp-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); font-weight: 500; letter-spacing: 0.2px;
}
.cmp-table th {
  padding: 1rem 1.25rem; font-family: 'Syne', sans-serif; font-size: .85rem;
  font-weight: 700; text-align: left; background: var(--grey-50); color: var(--ink);
}
.cmp-table th:nth-child(2) { color: #c0392b !important; background: #fef2f2; }
.cmp-table th:nth-child(3) { color: var(--green-text); background: var(--green-bg); }
.cmp-table td {
  padding: .9rem 1.25rem; font-size: .88rem; border-top: 1px solid var(--border);
  color: var(--ink2); vertical-align: middle;
}
.cmp-table td:first-child { color: var(--grey-400); }
.cmp-table td:nth-child(2) { background: #fef2f2; color: #c0392b !important; }
.cmp-table td:nth-child(2) i { color: #c0392b !important; }
.cmp-table td:nth-child(3) { background: rgba(180,231,36,.12); color: var(--green-text); }
.cmp-table td:nth-child(3) i { color: var(--green-text) !important; }
.cmp-table tbody tr:hover td { background: var(--grey-50); }
.cmp-table i { margin-right: .4rem; font-size: 1.1rem; vertical-align: middle; }
.text-danger  { color: #c0392b !important; }
.text-success { color: var(--green-text) !important; }
.text-warning { color: #d97706 !important; }

.cmp-cards { display: none; }
@media (max-width: 640px) {
  .table-scroll { display: none; }
  .cmp-cards { display: flex; flex-direction: column; gap: 1rem; }
  .cmp-card { border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
  .cmp-card-header {
    background: var(--grey-50); padding: .75rem 1rem;
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: .88rem;
    color: var(--ink); display: flex; align-items: center; gap: .5rem;
    border-bottom: 1px solid var(--border);
  }
  .cmp-card-header i { color: var(--green-text); font-size: 1rem; }
  .cmp-card-body { display: grid; grid-template-columns: 1fr 1fr; }
  .cmp-col { padding: 1rem; }
  .cmp-col + .cmp-col { border-left: 1px solid var(--border); }
  .cmp-col-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; display: block; }
  .cmp-col-label.traditional { color: #c0392b; }
  .cmp-col-label.drone       { color: var(--green-text); }
  .cmp-col.traditional { background: #fef7f7; }
  .cmp-col.drone       { background: rgba(180,231,36,.06); }
  .cmp-col-value { font-size: .88rem; font-weight: 500; color: var(--ink2); display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
  .cmp-col.traditional .cmp-col-value,
  .cmp-col.traditional .cmp-col-value i { color: #c0392b; }
  .cmp-col.drone .cmp-col-value,
  .cmp-col.drone .cmp-col-value i { color: var(--green-text); }
  .cmp-col-value i { font-size: 1rem; }
}

/* ============================================
   GALERIE — ÉLÉMENTS COMMUNS
   ============================================ */
#galerie { background: var(--grey-50); }

.media-box {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 3.5; background: var(--grey-100);
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.media-box img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }

.gallery-video-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: var(--ink); aspect-ratio: 3 / 3.5;
}
.gallery-video-wrap video { display: block; width: 100%; height: 100%; object-fit: contain; }

/* ============================================
   GALERIE — DESKTOP (≥ 900px)
   Grille 2 lignes + lightbox + curseur custom
   ============================================ */
.gallery-desktop { display: none; }
.gallery-tablet  { display: none; }
.gallery-mobile  { display: none; }

@media (min-width: 900px) {
  .gallery-desktop { display: flex; flex-direction: column; gap: 1rem; }
  .gallery-tablet  { display: none; }
  .gallery-mobile  { display: none; }
}

.gallery-layout { flex-direction: column; gap: 1rem; }
.gallery-row { display: grid; gap: 1rem; }
.gallery-row--2 { grid-template-columns: 1fr 1fr; }

/* Lien lightbox desktop */
.gallery-link {
  display: block;
  cursor: none; /* Remplacé par le curseur custom */
}
.gallery-link:hover .media-box img { transform: scale(1.05); }

/* ============================================
   GALERIE — TABLETTE (480px – 899px)
   Slider swipeable horizontal
   ============================================ */
@media (min-width: 480px) and (max-width: 899px) {
  .gallery-desktop { display: none !important; }
  .gallery-tablet  { display: block; }
  .gallery-mobile  { display: none !important; }
}

.gallery-slider-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-slider {
  display: flex;
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  padding: 0 .25rem;
  box-sizing: border-box;
}

.gallery-slide .media-box,
.gallery-slide .gallery-video-wrap {
  aspect-ratio: 3 / 4;
  width: 100%;
}

/* Points de navigation du slider */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--grey-200);
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.slider-dot.active {
  background: var(--green);
  transform: scale(1.3);
}
.slider-dot:hover { background: var(--green2); }

/* ============================================
   GALERIE — MOBILE (< 480px)
   Images empilées, pas de zoom, pas de lightbox
   ============================================ */
@media (max-width: 479px) {
  .gallery-desktop { display: none !important; }
  .gallery-tablet  { display: none !important; }
  .gallery-mobile  {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

.gallery-mobile .media-box    { aspect-ratio: 3 / 4; }
.gallery-mobile .gallery-video-wrap { aspect-ratio: 16 / 9; }

/* ============================================
   CONTACT
   ============================================ */
#contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-form {
  background: var(--snow); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; height: 100%;
}
.contact-form textarea { flex: 1; }
.contact-form input,
.contact-form textarea {
  width: 100%; background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: .75rem 1rem; color: var(--ink);
  font-family: 'DM Sans', sans-serif; font-size: var(--input-font-size);
  margin-bottom: 1rem; transition: border-color .2s, box-shadow .2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--grey-200); }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(180,231,36,.15); }
.contact-form textarea { resize: vertical; min-height: 130px; }

.contact-info { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; }
.info-item {
  background: var(--snow); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; display: flex; align-items: flex-start; gap: 1rem;
  box-shadow: var(--shadow); transition: border-color .2s;
}
.info-item:hover { border-color: rgba(180,231,36,.4); }
.info-item > div { flex: 1; min-width: 0; }
.info-item i      { font-size: 1.2rem; color: var(--green-text); margin-top: .15rem; flex-shrink: 0; }
.info-item span   { font-size: .78rem; color: var(--grey-400); display: block; margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .5px; }
.info-item strong { font-size: .95rem; color: var(--ink); }
.info-item a      { color: var(--green-text); text-decoration: none; font-size: .9rem; font-weight: 500; }
.info-item a:hover { color: var(--green2); }

.qr-box {
  background: var(--snow); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; display: flex; align-items: center; gap: 1.1rem; box-shadow: var(--shadow);
}
.qr-box img { width: 110px; height: 110px; border-radius: 8px; background: #fff; padding: 4px; border: 1px solid var(--border); flex-shrink: 0; }
.qr-box p   { font-size: .83rem; color: var(--grey-400); line-height: 1.55; }

.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .75rem; width: 100%; }
.social-links a {
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  padding: .65rem 1rem; font-size: .82rem; color: var(--ink2); text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  display: flex; align-items: center; justify-content: center; gap: .4rem; font-weight: 500; width: 100%;
}
.social-links a:hover { background: var(--green-bg); border-color: rgba(180,231,36,.4); color: var(--green-text); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } .contact-form, .contact-info { height: auto; } }
@media (max-width: 480px) {
  .contact-form { padding: 1.5rem 1.25rem; }
  .qr-box { flex-direction: column; text-align: center; }
  .qr-box img { width: 90px; height: 90px; }
}

/* ============================================
   UTILITAIRES
   ============================================ */
.btn-full { width: 100%; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--grey-50); border-top: 1px solid var(--border);
  padding: 1.5rem; text-align: center; font-size: .82rem; color: var(--grey-400);
}
.footer-inner { display: flex; flex-direction: column; gap: .35rem; align-items: center; }
footer span { color: var(--green); font-weight: 700; }
.footer-legal { display: flex; align-items: center; gap: .6rem; margin-top: .25rem; }
.footer-legal a { color: var(--grey-400); text-decoration: none; font-size: .78rem; transition: color .2s; }
.footer-legal a:hover { color: var(--green-text); }

/* ============================================
   TOAST
   ============================================ */
.form-toast {
  position: fixed; inset: 0; display: flex;
  align-items: center; justify-content: center; pointer-events: none; z-index: 3000;
}
.toast-box {
  background: white; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  border-radius: 14px; padding: 1rem 1.6rem; display: flex; align-items: center; gap: .6rem;
  font-size: .9rem; font-weight: 600;
  transform: translateY(30px) scale(.95); opacity: 0;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
}
.toast-box i { color: var(--green-text); font-size: 1.2rem; }
.form-toast.show .toast-box { transform: translateY(0) scale(1); opacity: 1; }

/* ============================================
   BANDEAU COOKIE
   ============================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 2500;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 30px rgba(13,20,32,.12); padding: 1.25rem 1.5rem;
  transform: translateY(100%); opacity: 0;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease; pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner-inner { max-width: 1100px; margin: auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-text { flex: 1; min-width: 280px; display: flex; align-items: flex-start; gap: .75rem; }
.cookie-text > i { font-size: 1.6rem; color: var(--green-text); flex-shrink: 0; margin-top: .15rem; }
.cookie-text strong { display: block; font-family: 'Syne', sans-serif; font-size: .95rem; color: var(--ink); margin-bottom: .25rem; }
.cookie-text p { font-size: .84rem; color: var(--grey-400); line-height: 1.55; margin: 0; }
.cookie-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.btn-cookie { padding: .6rem 1.2rem !important; font-size: .82rem !important; white-space: nowrap; }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions button { flex: 1; text-align: center; }
}

/* ============================================
   MODALE
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(13,20,32,.45); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 520px; max-height: 85vh;
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-box--large { max-width: 680px; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--ink); display: flex; align-items: center; gap: .5rem;
}
.modal-header h3 i { color: var(--green-text); font-size: 1.15rem; }
.modal-close { background: none; border: none; font-size: 1.6rem; color: var(--grey-400); cursor: pointer; line-height: 1; transition: color .2s; }
.modal-close:hover { color: var(--ink); }
.modal-body { padding: 1.5rem; overflow-y: auto; flex: 1; }

/* ============================================
   POLITIQUE DE CONFIDENTIALITÉ
   ============================================ */
.privacy-content h4 { font-family: 'Syne', sans-serif; font-size: .95rem; font-weight: 700; color: var(--ink); margin: 1.5rem 0 .5rem; }
.privacy-content h4:first-child { margin-top: 0; }
.privacy-content p  { font-size: .85rem; color: var(--ink2); line-height: 1.7; margin-bottom: .5rem; }
.privacy-content ul { padding-left: 1.25rem; margin-bottom: .75rem; }
.privacy-content li { font-size: .85rem; color: var(--ink2); line-height: 1.7; margin-bottom: .25rem; }
.privacy-content a  { color: var(--green-text); text-decoration: underline; font-weight: 500; }

.privacy-highlight {
  background: var(--green-bg); border: 1px solid rgba(180,231,36,.3); border-radius: 10px;
  padding: 1rem 1.25rem; display: flex; align-items: flex-start; gap: .75rem; margin: .75rem 0 1rem;
}
.privacy-highlight > i { font-size: 1.3rem; color: var(--green-text); flex-shrink: 0; margin-top: .1rem; }
.privacy-highlight strong { display: block; font-size: .88rem; color: var(--green-text); margin-bottom: .2rem; }
.privacy-highlight p { font-size: .82rem; color: var(--green-text); margin: 0; }