/* ==========================================================================
   BN 3D AIRSOFT — style.css
   Design system : noir profond + bronze/or, Anton (titres) + Montserrat (texte)
   Inspiration : Apple / DJI / Nothing / Porsche / Razer — minimaliste, luxueux.
   ========================================================================== */

/* ----------------------------- 1. TOKENS -------------------------------- */
:root{
  /* Couleurs */
  --c-bg: #05070d;
  --c-bg-alt: #0a0d16;
  --c-surface: #0e121c;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-text: #f5f5f2;
  --c-text-muted: #9a9ba5;
  --c-accent: #b6903f;      /* bronze / or — identique au logo */
  --c-accent-light: #e0bd76;
  --c-accent-dim: rgba(182, 144, 63, 0.15);

  /* Typo */
  --f-display: 'Anton', 'Arial Narrow', sans-serif;
  --f-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rythme */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container-w: 1240px;
  --radius: 4px;

  /* Timing */
  --ease: cubic-bezier(.16,.84,.44,1);
  --t-fast: .25s;
  --t-med: .6s;
  --t-slow: .9s;
}

/* ----------------------------- 2. RESET --------------------------------- */
*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }

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

body{
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol{ list-style: none; }
svg{ display: block; }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible{
  outline: 2px solid var(--c-accent-light);
  outline-offset: 3px;
}

/* ----------------------------- 3. LAYOUT -------------------------------- */
.container{
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow{ max-width: 780px; }

section{ position: relative; padding-block: var(--section-pad); }

.eyebrow{
  display: block;
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.section-title{
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.section-subtitle{
  color: var(--c-text-muted);
  max-width: 46ch;
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.text-accent{ color: var(--c-accent-light); }

/* ----------------------------- 4. BOUTONS ------------------------------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 2.4rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  will-change: transform;
}

.btn--primary{
  background: linear-gradient(135deg, var(--c-accent-light), var(--c-accent));
  color: #0a0a0a;
  box-shadow: 0 8px 24px -8px rgba(182,144,63,.55);
}
.btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(182,144,63,.7);
}
.btn--primary:active{ transform: translateY(0); }

.btn--ghost{
  border: 1px solid rgba(255,255,255,.25);
  color: var(--c-text);
  background: rgba(255,255,255,.02);
}
.btn--ghost:hover{
  border-color: var(--c-accent-light);
  color: var(--c-accent-light);
  transform: translateY(-2px);
}

.btn--xl{ padding: 1.3rem 3.2rem; font-size: .9rem; }

/* ----------------------------- 5. HEADER / NAV -------------------------- */
.scroll-progress{
  position: fixed; top:0; left:0; width:100%; height:2px; z-index: 999;
  background: transparent;
}
.scroll-progress span{
  display:block; height:100%; width:0%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-accent-light));
  transition: width .1s linear;
}

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding-block: 1.1rem;
  transition: background var(--t-med) var(--ease), padding var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(5,7,13,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding-block: .7rem;
  border-color: var(--c-border);
}

.nav{ display: flex; align-items: center; justify-content: space-between; }
.nav__logo img{ height: 34px; width: auto; }

.nav__menu{
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2.2rem);
}
.nav__link{
  position: relative;
  font-size: .82rem;
  letter-spacing: .04em;
  font-weight: 500;
  color: var(--c-text-muted);
  padding-block: .3rem;
  transition: color var(--t-fast) var(--ease);
}
.nav__link::after{
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-accent-light);
  transition: width var(--t-fast) var(--ease);
}
.nav__link:hover{ color: var(--c-text); }
.nav__link:hover::after{ width: 100%; }

.nav__link--cta{
  color: var(--c-accent-light);
  border: 1px solid rgba(182,144,63,.4);
  padding: .55rem 1.2rem;
  border-radius: var(--radius);
}
.nav__link--cta::after{ display: none; }
.nav__link--cta:hover{ background: var(--c-accent-dim); color: var(--c-accent-light); }

.nav__burger{
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 501;
}
.nav__burger span{
  height: 2px; width: 100%;
  background: var(--c-text);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- 6. HERO ---------------------------------- */
.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero__media{ position: absolute; inset: 0; z-index: 0; }
.hero__img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(.85) contrast(1.05);
  transform: scale(1.08);
}
.hero__overlay{
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(5,7,13,0) 0%, rgba(5,7,13,.55) 55%, rgba(5,7,13,.97) 100%),
    linear-gradient(180deg, rgba(5,7,13,.55) 0%, rgba(5,7,13,.35) 40%, rgba(5,7,13,.9) 100%);
}
.hero__grain{
  position: absolute; inset: 0;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content{ position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }

.hero__logo-wrap{
  position: relative;
  width: clamp(90px, 11vw, 132px);
  height: clamp(90px, 11vw, 132px);
  margin-bottom: 2rem;
}
.hero__logo-ring{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* le tracé démarre en haut du cercle */
  transition: opacity .5s var(--ease) 1.5s;
}
.hero__logo-ring circle{
  fill: none;
  stroke: var(--c-accent-light);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 390; /* ≈ circonférence du cercle (2 × π × 62) */
  stroke-dashoffset: 390;
  transition: stroke-dashoffset 1.3s var(--ease) .2s;
}
.hero__logo{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(.9);
  transition: opacity .7s var(--ease) 1.1s, transform .7s var(--ease) 1.1s;
}
/* Déclenché en JS peu après le chargement de la page */
.hero__logo-wrap.is-drawn .hero__logo-ring circle{ stroke-dashoffset: 0; }
.hero__logo-wrap.is-drawn .hero__logo{ opacity: 1; transform: scale(1); }
.hero__logo-wrap.is-drawn .hero__logo-ring{ opacity: 0; }

.hero__title{
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 1.02;
  letter-spacing: .01em;
}

.hero__subtitle{
  margin-top: 1.6rem;
  max-width: 42ch;
  color: rgba(245,245,242,.78);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
}

.hero__cta{
  margin-top: 2.6rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Scroll indicator */
.scroll-indicator{
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: rgba(245,245,242,.6);
}
.scroll-indicator__label{ font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; }
.scroll-indicator__mouse{
  width: 24px; height: 38px;
  border: 1.5px solid rgba(245,245,242,.5);
  border-radius: 20px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-indicator__dot{
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--c-accent-light);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot{
  0%{ transform: translateY(0); opacity: 1; }
  70%{ transform: translateY(14px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 0; }
}

/* ----------------------------- 7. À PROPOS ------------------------------ */
.about{ background: var(--c-bg); }

.about__ghost{
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -18%);
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 16rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.about__wrap{ position: relative; z-index: 1; }

.about__text{
  max-width: 62ch;
  color: var(--c-text-muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

.about__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
}
.about__item{
  background: var(--c-bg);
  padding: 2.4rem 2rem;
  transition: background var(--t-med) var(--ease);
}
.about__item:hover{ background: var(--c-bg-alt); }
.about__number{
  font-family: var(--f-display);
  color: var(--c-accent);
  font-size: 1rem;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 1rem;
}
.about__item h3{
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .7rem;
  letter-spacing: .01em;
}
.about__item p{ color: var(--c-text-muted); font-size: .92rem; }

/* ----------------------------- 8. SERVICES ------------------------------ */
.services{ background: var(--c-bg-alt); }

.services__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 1rem;
}

.card{
  position: relative;
  padding: 2.4rem 1.8rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
  overflow: hidden;
}
.card::before{
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), var(--c-accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
  pointer-events: none;
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(182,144,63,.4);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
}
.card:hover::before{ opacity: 1; }

.card__icon{
  width: 52px; height: 52px;
  color: var(--c-accent);
  margin-bottom: 1.6rem;
  position: relative; z-index: 1;
  transition: transform var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.card:hover .card__icon{ transform: scale(1.08) rotate(-4deg); color: var(--c-accent-light); }

.card__title{
  position: relative; z-index: 1;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .8rem;
  letter-spacing: .01em;
}
.card__text{ position: relative; z-index: 1; color: var(--c-text-muted); font-size: .92rem; }

/* ----------------------------- 9. GALERIE ------------------------------- */
.gallery{ background: var(--c-bg); }

.gallery__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.gallery__item{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
  width: 100%;
}
.gallery__item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--ease), filter var(--t-med) var(--ease);
  filter: saturate(.9) brightness(.92);
}
.gallery__item::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,7,13,.75) 100%);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.gallery__item:hover img{ transform: scale(1.08); filter: saturate(1) brightness(1); }
.gallery__item:hover::after{ opacity: 1; }

.gallery__zoom{
  position: absolute;
  bottom: 1rem; right: 1rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: var(--c-text);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  z-index: 1;
}
.gallery__item:hover .gallery__zoom{ opacity: 1; transform: translateY(0); border-color: var(--c-accent-light); }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0;
  background: rgba(5,7,13,.96);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
.lightbox.is-open{ opacity: 1; visibility: visible; }
.lightbox__figure{ max-width: 88vw; max-height: 84vh; text-align: center; }
.lightbox__figure img{
  max-width: 88vw; max-height: 76vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(.96);
  transition: transform var(--t-med) var(--ease);
}
.lightbox.is-open .lightbox__figure img{ transform: scale(1); }
.lightbox__close{
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: var(--c-text);
  width: 48px; height: 48px;
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.lightbox__close:hover{ color: var(--c-accent-light); transform: rotate(90deg); }
.lightbox__nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 2.6rem; color: rgba(245,245,242,.6);
  padding: 1rem;
  transition: color var(--t-fast) var(--ease);
}
.lightbox__nav:hover{ color: var(--c-accent-light); }
.lightbox__nav--prev{ left: .5rem; }
.lightbox__nav--next{ right: .5rem; }

/* ----------------------------- 10. PROCESS ------------------------------ */
.process{ background: var(--c-bg-alt); }

.timeline{
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding-left: 2.6rem;
}
.timeline::before{
  content: '';
  position: absolute; left: 11px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-accent), rgba(182,144,63,.1));
}
.timeline__item{
  position: relative;
  padding-bottom: 3rem;
}
.timeline__item:last-child{ padding-bottom: 0; }
.timeline__index{
  position: absolute;
  left: -2.6rem; top: 0;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-accent);
  color: var(--c-accent-light);
  font-family: var(--f-display);
  font-size: .68rem;
}
.timeline__body h3{
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.timeline__body p{ color: var(--c-text-muted); font-size: .92rem; }

/* ----------------------------- 11. AVIS --------------------------------- */
.reviews{ background: var(--c-bg); }

.reviews__slider{ position: relative; overflow: hidden; }
.reviews__track{
  display: flex;
  transition: transform var(--t-slow) var(--ease);
}
.review-card{
  flex: 0 0 100%;
  max-width: 100%;
  padding: 2.6rem;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  text-align: center;
}
.review-card__stars{ color: var(--c-accent); letter-spacing: .3em; font-size: 1rem; margin-bottom: 1.4rem; }
.review-card blockquote{
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 1.4rem;
}
.review-card figcaption{ color: var(--c-text-muted); font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }

.reviews__dots{
  display: flex; justify-content: center; gap: .6rem;
  margin-top: 2rem;
}
.reviews__dots button{
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.reviews__dots button.is-active{ background: var(--c-accent-light); transform: scale(1.3); }

/* ----------------------------- 12. FAQ ----------------------------------*/
.faq{ background: var(--c-bg-alt); }

.accordion__item{
  border-bottom: 1px solid var(--c-border);
}
.accordion__trigger{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
}
.accordion__trigger:hover span:first-child{ color: var(--c-accent-light); }
.accordion__icon{
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-left: 1rem;
}
.accordion__icon::before, .accordion__icon::after{
  content: '';
  position: absolute; top: 50%; left: 50%;
  background: var(--c-text);
  transition: transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.accordion__icon::before{ width: 100%; height: 1px; transform: translate(-50%,-50%); }
.accordion__icon::after{ width: 1px; height: 100%; transform: translate(-50%,-50%); }
.accordion__trigger[aria-expanded="true"] .accordion__icon::after{ transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.accordion__trigger[aria-expanded="true"] .accordion__icon::before{ background: var(--c-accent-light); }

.accordion__panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.accordion__panel p{
  color: var(--c-text-muted);
  padding-bottom: 1.6rem;
  max-width: 62ch;
  font-size: .95rem;
}

/* ----------------------------- 13. CONTACT ------------------------------ */
.contact{ background: var(--c-bg); text-align: center; }
.contact__wrap{ display: flex; flex-direction: column; align-items: center; }
.contact .section-title{ margin-bottom: 1rem; }
.contact .section-subtitle{ margin-inline: auto; }

.contact__links{
  margin-top: 2.6rem;
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.contact__link{
  display: flex; align-items: center; gap: .6rem;
  color: var(--c-text-muted);
  font-size: .9rem;
  transition: color var(--t-fast) var(--ease);
}
.contact__link:hover{ color: var(--c-accent-light); }

/* ----------------------------- 13bis. ESTIMATION RAPIDE ----------------- */
.estimate{ background: var(--c-bg-alt); text-align: center; }

.estimate__card{
  margin-top: 1rem;
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  text-align: left;
}

.estimate__fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.estimate__field label{
  display: block;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: .6rem;
}

.estimate__field select{
  width: 100%;
  padding: .9rem 1rem;
  background: var(--c-bg);
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: .92rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23e0bd76' stroke-width='1.6' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color var(--t-fast) var(--ease);
}
.estimate__field select:hover,
.estimate__field select:focus-visible{ border-color: var(--c-accent); }

.estimate__result{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.estimate__result-item{
  background: var(--c-bg);
  padding: 1.4rem 1.2rem;
  text-align: center;
}
.estimate__result-label{
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: .5rem;
}
.estimate__result-value{
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--c-accent-light);
  letter-spacing: .01em;
  transition: opacity .2s var(--ease);
}

.estimate__disclaimer{
  font-size: .8rem;
  color: var(--c-text-muted);
  margin-bottom: 1.6rem;
}

.estimate__cta{ width: 100%; text-align: center; }

@media (max-width: 560px){
  .estimate__fields{ grid-template-columns: 1fr; }
  .estimate__result{ grid-template-columns: 1fr; }
}

/* ----------------------------- 14. FOOTER ------------------------------- */
.site-footer{
  border-top: 1px solid var(--c-border);
  padding-block: 2.4rem;
  background: var(--c-bg);
}
.site-footer__wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.site-footer__logo{ height: 28px; width: auto; opacity: .85; }
.site-footer__copy{ color: var(--c-text-muted); font-size: .8rem; }
.site-footer__links{ display: flex; gap: 1.6rem; }
.site-footer__links a{
  color: var(--c-text-muted);
  font-size: .8rem;
  transition: color var(--t-fast) var(--ease);
}
.site-footer__links a:hover{ color: var(--c-accent-light); }

/* ----------------------------- 15. REVEAL ANIMATIONS --------------------*/
.reveal{
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal[data-reveal="up"]{ transform: translateY(32px); }
.reveal[data-reveal="fade"]{ transform: translateY(0); }
.reveal.is-visible{ opacity: 1; transform: translateY(0) translateX(0); }

/* ----------------------------- 17. BANDEAU COOKIES ---------------------- */
.cookie-banner{
  position: fixed;
  left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  z-index: 900;
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding: 1.2rem 1.5rem;
  background: rgba(10, 13, 22, .92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility var(--t-med) var(--ease);
}
.cookie-banner.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cookie-banner p{
  flex: 1 1 320px;
  color: var(--c-text-muted);
  font-size: .85rem;
  line-height: 1.55;
  margin: 0;
}
.cookie-banner a{ color: var(--c-accent-light); }
.cookie-banner a:hover{ text-decoration: underline; }
.cookie-banner__btn{
  padding: .75rem 1.6rem;
  font-size: .78rem;
  flex-shrink: 0;
}

@media (max-width: 480px){
  .cookie-banner{ left: .75rem; right: .75rem; bottom: .75rem; padding: 1.1rem 1.2rem; }
  .cookie-banner__btn{ width: 100%; }
}

/* ----------------------------- 16. RESPONSIVE --------------------------- */
@media (max-width: 1024px){
  .services__grid{ grid-template-columns: repeat(2, 1fr); }
  .about__grid{ grid-template-columns: 1fr; }
  .gallery__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px){
  .nav__burger{ display: flex; }
  .nav__menu{
    position: fixed;
    inset: 0 0 0 30%;
    background: rgba(5,7,13,.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.2rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease);
  }
  .nav__menu.is-open{ transform: translateX(0); }
  .nav__link{ font-size: 1.05rem; }
}

@media (max-width: 640px){
  .services__grid{ grid-template-columns: 1fr; }
  .gallery__grid{ grid-template-columns: repeat(2, 1fr); }
  .hero__cta{ flex-direction: column; width: 100%; }
  .hero__cta .btn{ width: 100%; }
  .contact__links{ flex-direction: column; gap: 1.2rem; }
  .site-footer__wrap{ flex-direction: column; text-align: center; }
  .about__ghost{ font-size: 5rem; }
}

@media (max-width: 420px){
  .gallery__grid{ grid-template-columns: repeat(2, 1fr); gap: .6rem; }
}
