/* ============================================================
   RESET & VARIABLES
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font: inherit; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; }

:root {
  --beige:   #F3EDDA;
  --maroon:  #593137;
  --dark:    #2F2F2F;
  --border:  rgba(47,47,47,.13);
  --condensed: "Barlow Condensed", sans-serif;
  --body:    "DM Sans", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--beige);
  color: var(--dark);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   NAV
============================================================ */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 71px;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease;
}

#nav.solid {
  background: rgba(243,237,218,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

@media (max-width: 768px) {
  #nav.solid {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(243,237,218,.92);
  }
}

.nav-brand {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color .3s;
}
.nav-brand strong { color: var(--maroon); font-weight: 700; }

#nav:not(.solid) #nav-menu a {
  color: var(--beige);
  opacity: .85;
}
#nav:not(.solid) #nav-menu a:not(.nav-cta)::after {
  background: var(--beige);
}
#nav:not(.solid) #nav-menu a:hover { opacity: 1; }

#nav.solid #nav-menu a {
  color: var(--maroon);
  opacity: .75;
}
#nav.solid #nav-menu a:not(.nav-cta)::after {
  background: var(--maroon);
}
#nav.solid #nav-menu a:hover { opacity: 1; }
#nav.solid .nav-brand { color: var(--dark); }
#nav.solid .nav-brand strong { color: var(--maroon); }

#nav-menu {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
#nav-menu li { display: flex; }
#nav-menu a {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .3px;
  color: var(--dark);
  opacity: .65;
  transition: opacity .2s;
  position: relative;
}

/* Mobile menu — toujours dans le DOM, animé par clip-path */
@media (max-width: 1099px) {
  #nav-menu {
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    background: var(--beige);
    padding: 24px 32px;
    gap: 1.4rem;
    align-items: flex-start;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path .35s cubic-bezier(.76,0,.24,1), opacity .25s ease;
  }
  #nav.open #nav-menu {
    clip-path: inset(0 0 0% 0);
    opacity: 1;
    pointer-events: auto;
  }

  /* Menu ouvert sur fond transparent (maroon) → fond maroon, liens beige */
  #nav:not(.solid).open #nav-menu {
    background: var(--maroon);
    border-top-color: rgba(243,237,218,.15);
  }
  #nav:not(.solid).open #nav-menu a {
    color: var(--beige);
    opacity: .85;
  }
  #nav:not(.solid).open #nav-menu a:hover { opacity: 1; }
  #nav:not(.solid).open .nav-cta {
    border-color: var(--beige) !important;
    color: var(--beige) !important;
  }

  
}

/* Ajuste le top du menu selon la hauteur de la nav sur iPad */
@media (min-width: 768px) and (max-width: 830px) and (min-height: 1000px) {
  #nav-menu { top: 72px; padding: 28px 36px; font-size: 1.1rem; }
}
@media (min-width: 831px) and (max-width: 1099px) {
  #nav-menu { top: 76px; padding: 32px 40px; font-size: 1.15rem; }
  #nav-menu a { font-size: 1.1rem; }
}
#nav-menu a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.76,0,.24,1);
}
#nav-menu a:not(.nav-cta):hover::after { transform: scaleX(1); }
#nav-menu a:hover { opacity: 1; }
.nav-cta {
  opacity: 1 !important;
  padding: 10px 22px;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  position: relative;
  overflow: hidden;
  transition: color .3s !important;
  background: transparent !important;
  border: 1.5px solid var(--maroon);
  color: var(--maroon) !important;
  z-index: 0;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #2F2F2F;
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.76,0,.24,1);
  z-index: -1;
}
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta:hover { color: var(--beige) !important; }

#nav:not(.solid) .nav-cta {
  border-color: var(--beige) !important;
  color: var(--beige) !important;
  background: transparent !important;
}
#nav:not(.solid) .nav-cta::before {
  background: var(--beige);
}
#nav:not(.solid) .nav-cta:hover {
  color: var(--maroon) !important;
}

#nav.solid .nav-cta {
  border-color: var(--maroon) !important;
  color: var(--maroon) !important;
  background: transparent !important;
}
#nav.solid .nav-cta::before {
  background: var(--maroon);
}
#nav.solid .nav-cta:hover {
  color: var(--beige) !important;
}

#burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
#burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  transition: transform .28s ease, opacity .28s ease;
}
#burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger.open span:nth-child(2) { opacity: 0; }
#burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



/* ============================================================
   KEYFRAMES
============================================================ */
@keyframes lineUp {
  from { transform: translateY(105%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bgSlide {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes photoUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 36px 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-left h1 {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.6rem;
}
.lw {
  display: block;
  overflow: hidden;
  padding-bottom: .05em;
}
.l {
  display: block;
  font-style: normal;
  font-family: var(--condensed);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 4rem);
  line-height: .96;
  text-transform: uppercase;
  letter-spacing: -.5px;
  color: var(--dark);
  animation: lineUp .75s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--d, 0s);
}
.l.outline {
  -webkit-text-stroke: 2px var(--maroon);
  color: transparent;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  opacity: 0;
  margin-bottom: 2rem;
  animation: fadeUp .65s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--d, 0s);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.6rem;
  opacity: 0;
  animation: fadeUp .65s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--d, 0s);
}
.btn-fill {
  display: inline-block;
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  padding: 14px 28px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color .3s;
}
.btn-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--maroon);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.76,0,.24,1);
  z-index: -1;
}
.btn-fill:hover::before { transform: translateX(0); }
.btn-fill:hover { color: var(--beige); }
.btn-text {
  font-size: .9rem;
  font-weight: 400;
  opacity: .45;
  transition: opacity .2s;
}
.btn-text:hover { opacity: 1; }
.btn-audit {
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark);
  opacity: .85;
  letter-spacing: .3px;
  padding-left: 2px;
  border-bottom: 1px solid rgba(47,47,47,.3);
  padding-bottom: 2px;
  display: inline-block;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .65s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--d, 0s);
}
.hs { display: flex; flex-direction: column; gap: 3px; }
.hs-num {
  font-family: var(--condensed);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--maroon);
  display: flex;
  align-items: baseline;
}
.hs-plus {
  font-family: var(--condensed);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1;
}
.hs-lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: .45;
}
.hs-div {
  width: 1px;
  height: 42px;
  background: var(--border);
  align-self: center;
}

.hero-right { display: none; }

.hr-bg {
  position: absolute;
  inset: 0;
  background: var(--maroon);
  transform: translateX(100%);
  animation: bgSlide .9s cubic-bezier(.76,0,.24,1) .15s forwards;
}

.hr-photo {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  mix-blend-mode: multiply;
  filter: brightness(.92) contrast(1.04);
  animation: photoUp .85s cubic-bezier(.22,1,.36,1) .72s forwards;
}

.hr-name {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-family: var(--condensed);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243,237,218,.35);
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp .5s ease 1.1s forwards;
}
.hr-name strong {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(243,237,218,.55);
  font-weight: 900;
}

/* ---- Flèche mobile (cachée sur desktop) ---- */
.svc-mobile-arrow {
  display: none;
}

@media (max-width: 1099px) {
  /* Flèche en bas, centrée — tous formats avec burger */
  .svc-mobile-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: .4rem 0 0;
    margin-top: .2rem;
    color: var(--dark);
    opacity: .35;
    transition: opacity .25s, color .25s;
    pointer-events: none;
  }
  .svc-mobile-arrow svg {
    transition: transform .35s cubic-bezier(.76,0,.24,1);
  }

  /* Désactiver TOUT le hover */
  .svc-item:hover::before { transform: translateY(101%) !important; }
  .svc-item:hover .svc-title { color: var(--dark) !important; }
  .svc-item:hover .svc-title-outline { -webkit-text-stroke-color: var(--maroon) !important; }
  .svc-item:hover .svc-hook { opacity: 0 !important; max-height: 0 !important; margin-top: 0 !important; }
  .svc-item:hover .svc-tags { opacity: 0 !important; max-height: 0 !important; margin-top: 0 !important; }
  .svc-item:hover .svc-carousel-wrap { opacity: 0 !important; height: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }

  /* Forcer terracotta sur tous les items fermés */
  .svc-item:not(.active) .svc-title-outline { -webkit-text-stroke-color: var(--maroon) !important; }

  /* État actif uniquement via .active */
  .svc-item.active::before { transform: translateY(0) !important; }
  .svc-item.active .svc-title { color: var(--svc-accent, var(--beige)) !important; }
  .svc-item.active .svc-title-outline { -webkit-text-stroke-color: var(--beige) !important; }
  .svc-item.active .svc-hook {
    opacity: .75 !important; max-height: 60px !important; margin-top: .5rem !important;
    color: var(--svc-accent, var(--beige));
  }
  .svc-item.active .svc-tags { opacity: 1 !important; max-height: 80px !important; margin-top: .7rem !important; }
  /* Fades carrousel sur mobile — directement sur svc-item (overflow:hidden) */
  .svc-item.active .svc-carousel-wrap {
    opacity: 1 !important; height: 44px !important; margin-top: 1rem !important; margin-bottom: .6rem !important;
  }
  .svc-item.active .svc-mobile-arrow {
    opacity: 1;
    color: var(--svc-accent, var(--beige));
  }
  .svc-item.active .svc-mobile-arrow svg {
    transform: rotate(180deg);
  }
}
.trust-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 36px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--beige);
}
.trust-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: .4;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-logos img {
  height: 46px;
  width: auto;
  transition: opacity .25s;
}
.trust-logos img:hover { opacity: 1; }

/* ============================================================
   SECTION HEADERS — UNIFIED
============================================================ */
.sec-eyebrow {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--maroon);
  opacity: .6;
  margin-bottom: .8rem;
}
.sec-eyebrow.light { color: var(--beige); opacity: .5; }

.sec-title {
  font-family: var(--condensed);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.5px;
  color: var(--dark);
  margin-bottom: 3rem;
}
.sec-title.light { color: var(--beige); }

/* ============================================================
   SHARED SECTION STYLES
============================================================ */
section { padding: 80px 0; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 36px; }
.stitle {
  font-family: var(--condensed);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.ssub {
  font-size: 1rem;
  opacity: .55;
  margin-bottom: 3rem;
}
.stitle.light, .ssub.light { color: var(--beige); }
.ssub.light { opacity: .65; }

/* ============================================================
   SERVICES — LISTE ÉDITORIALE
============================================================ */
#services { background: var(--beige); overflow: hidden; }

.svc-header {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 3rem;
}

.svc-list {
  position: relative;
  border-top: 1px solid var(--border);
}

.svc-item {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 1.4rem;
  padding: 1.6rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.svc-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--svc-bg, var(--maroon));
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.76,0,.24,1);
  z-index: 0;
}
.svc-item:hover::before { transform: translateY(0); }

.svc-num, .svc-body, .svc-arrow { position: relative; z-index: 1; }

.svc-body { padding-left: 3.5rem; }

@media (max-width: 1099px) {
  .svc-body { padding-left: 1.2rem; }
}

/* ---- Span outline sur la 2ème ligne des titres ---- */
.svc-title-outline {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--maroon);
  transition: -webkit-text-stroke-color .3s;
}
.svc-item:hover .svc-title-outline {
  -webkit-text-stroke-color: var(--beige);
}
.svc-item.active .svc-title-outline {
  -webkit-text-stroke-color: var(--beige);
}

.svc-title {
  font-family: var(--condensed);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 0;
  line-height: 1;
  transition: color .3s;
}
.svc-item:hover .svc-title { color: var(--svc-accent, var(--beige)); }

.svc-hook {
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: opacity .25s ease .08s, max-height .3s ease, margin .3s ease, color .3s;
}
.svc-item:hover .svc-hook {
  opacity: .75;
  max-height: 60px;
  margin-top: .5rem;
  color: var(--svc-accent, var(--beige));
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: opacity .25s ease .12s, max-height .3s ease, margin .3s ease;
}
.svc-item:hover .svc-tags { opacity: 1; max-height: 80px; margin-top: .7rem; }

.svc-tags li {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border: 1px solid rgba(243,237,218,.3);
  color: var(--svc-accent, var(--beige));
  white-space: nowrap;
}

.svc-arrow {
  font-size: 1.3rem;
  opacity: .25;
  justify-self: end;
  transition: opacity .3s, transform .3s, color .3s;
}
.svc-item:hover .svc-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
  color: var(--svc-accent, var(--beige));
}

/* ============================================================
   ABOUT
============================================================ */
#about { background: rgba(89,49,55,.06); }
.about-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.about-photo-wrap {
  position: relative;
  align-self: flex-start;
}
.about-photo-wrap img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--maroon);
}
.about-badge {
  position: absolute;
  bottom: -8px; right: -8px;
  background: var(--maroon);
  color: var(--beige);
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 12px;
  white-space: nowrap;
}
.about-content .stitle { margin-bottom: 1.4rem; }
.about-lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-body {
  font-size: .97rem;
  font-weight: 300;
  line-height: 1.8;
  opacity: .8;
  margin-bottom: 2rem;
}
.about-kpis { display: flex; gap: 2rem; flex-wrap: wrap; }
.kpi {
  display: flex;
  flex-direction: column;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  opacity: .55;
}
.kpi span {
  font-family: var(--condensed);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--maroon);
  opacity: 1;
  line-height: 1;
  margin-bottom: 2px;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
#testimonials { background: rgba(89,49,55,.06); padding-bottom: 220px; }
.tgrid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.tcard {
  border: 1.5px solid var(--border);
  padding: 28px;
  transition: border-color .25s, transform .25s;
}
.tcard:hover { border-color: var(--maroon); transform: translateY(-3px); }
.tq {
  font-family: var(--condensed);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--maroon);
  opacity: .2;
  line-height: .5;
  margin-bottom: 1rem;
}
.tcard p {
  font-size: .97rem;
  font-weight: 300;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.4rem;
}
.tcard footer {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.tav {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.tcard footer strong {
  display: block;
  font-size: .92rem;
  font-weight: 600;
}
.tcard footer span {
  font-size: .8rem;
  opacity: .55;
}

/* ============================================================
   CONTACT
============================================================ */
#contact {
  background: var(--maroon);
  position: relative;
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  margin-top: -60px;
  padding-top: calc(80px + 100px);
}
.contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}
.contact-left .stitle { margin-bottom: .4rem; }
.cdetails { display: flex; flex-direction: column; gap: 1.2rem; margin: 2rem 0; }
.cd {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.cd > span { font-size: 1.2rem; margin-top: 2px; }
.cd div { display: flex; flex-direction: column; gap: 1px; }
.cd strong {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(243,237,218,.55);
}
.cd a, .cd em {
  font-style: normal;
  color: var(--beige);
  font-size: 1rem;
}
.cd a:hover { text-decoration: underline; text-underline-offset: 3px; }

.audit-cta {
  border: 1.5px solid rgba(243,237,218,.25);
  padding: 22px;
  margin-top: .5rem;
}
.audit-tag {
  font-size: .68rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(243,237,218,.45);
  margin-bottom: .5rem;
}
.audit-name {
  font-family: var(--condensed);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--beige);
  margin-bottom: .3rem;
}
.audit-desc { font-size: .9rem; color: rgba(243,237,218,.6); line-height: 1.5; }

#cform { display: flex; flex-direction: column; gap: 1.1rem; }
.fr { display: flex; flex-direction: column; gap: .35rem; }
.fr label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(243,237,218,.55);
  font-weight: 500;
}
.fr input, .fr select, .fr textarea {
  background: rgba(243,237,218,.08);
  border: 1px solid rgba(243,237,218,.22);
  color: var(--beige);
  padding: 13px 16px;
  font-size: .97rem;
  font-family: var(--body);
  border-radius: 0;
  appearance: none;
  outline: none;
  transition: border-color .2s, background .2s;
}
.fr input::placeholder, .fr textarea::placeholder { color: rgba(243,237,218,.3); }
.fr select option { background: var(--maroon); color: var(--beige); }
.fr input:focus, .fr select:focus, .fr textarea:focus {
  border-color: rgba(243,237,218,.7);
  background: rgba(243,237,218,.12);
}
.fr input.err, .fr textarea.err, .fr select.err {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, .08);
  animation: shake .35s cubic-bezier(.36,.07,.19,.97) both;
}
.fr-err-msg {
  display: block;
  font-size: .72rem;
  color: #ff8a8a;
  letter-spacing: .3px;
  margin-top: .18rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.fr-err-msg.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(3px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}
.fr textarea { resize: vertical; min-height: 120px; }

.csend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--beige);
  border: 1.5px solid var(--beige);
  padding: 16px 40px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--body);
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  transition: color .3s;
}
.csend::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--beige);
  transform: translateX(-101%);
  transition: transform .45s cubic-bezier(.76,0,.24,1);
  z-index: 0;
}
.csend:hover::before { transform: translateX(0); }
.csend:hover { color: var(--maroon); }
.csend-txt, .csend-spin { position: relative; z-index: 1; }
.csend:disabled { opacity: .5; cursor: not-allowed; }
.csend-spin {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid var(--maroon);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.csend.loading .csend-txt { display: none; }
.csend.loading .csend-spin { display: block; }
.cmsg { font-size: .9rem; min-height: 20px; margin-top: .2rem; transition: color .2s; }
.cmsg-ok  { color: #7dd88a; }
.cmsg-err { color: #ff8a8a; }

/* ============================================================
   FOOTER
============================================================ */
#footer { background: var(--dark); padding: 36px 0; }
.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.fbrand {
  font-family: var(--body);
  font-size: .88rem;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--beige);
  opacity: .6;
}
.fbrand strong { color: #c08090; font-weight: 700; opacity: 1; }
#footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
#footer nav a { font-size: .85rem; color: var(--beige); opacity: .45; transition: opacity .2s; }
#footer nav a:hover { opacity: .9; }
.fcopy { font-size: .75rem; color: var(--beige); opacity: .25; }

/* ============================================================
   CYBERSTAT
============================================================ */
#cyberstat { background: rgba(89,49,55,.06); padding: 80px 0; }
.cs-header { margin-bottom: 3.5rem; }
.csgrid { display: flex; flex-direction: column; }
.cscard {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.cscard-left {
  flex-shrink: 0;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .1rem;
}
.cscard-right { flex: 1; }
.cscard-num {
  font-family: var(--condensed);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--maroon);
  line-height: 1;
}
.cscard-unit {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: .45;
}
.cscard-label {
  font-family: var(--condensed);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: .3rem;
}
.cscard-desc {
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.65;
  opacity: .75;
}

/* ============================================================
   SCROLL REVEAL
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — DESKTOP ≥ 1100px
============================================================ */
@media (min-width: 1100px) {

  #burger { display: none; }
  #nav-menu {
    position: static !important;
    flex-direction: row !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;
  }
  .nav-brand { font-size: 1.1rem; letter-spacing: 2px; }
  #nav-menu a { font-size: 1rem; }
  .nav-cta { padding: 12px 26px !important; font-size: 1.1rem !important; }

  #hero {
    display: block;
    position: relative;
    height: 100vh;
    overflow: hidden;
  }

  .hero-left {
    position: relative;
    z-index: 2;
    width: 58%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 5vw 48px;
  }

  .l { font-size: clamp(4rem, 6.5vw, 6.2rem); }
  .hero-sub { font-size: 1.25rem; max-width: 480px; }
  .btn-fill { padding: 18px 40px; font-size: 1rem; }
  .btn-text { font-size: 1rem; }
  .hs-num { font-size: 4.8rem; }
  .hs-plus { font-size: 3rem; }
  .hs-lbl { font-size: .75rem; }
  .hs-div { height: 52px; }

  .hero-right {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    max-width: 860px;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
  }

  .hr-bg {
    position: absolute;
    inset: 0;
    background: var(--maroon);
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    transform: translateX(100%);
    animation: bgSlide .9s cubic-bezier(.76,0,.24,1) .15s forwards;
  }

  .hr-photo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    mix-blend-mode: multiply;
    filter: brightness(.92) contrast(1.04);
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    animation: photoUp .85s cubic-bezier(.22,1,.36,1) 1.1s forwards;
  }

  .hr-name {
    display: block;
    top: 50%;
    right: 24px;
    left: auto;
    transform: translateY(-50%);
    opacity: 0;
    animation: fadeUp .5s ease 1.1s forwards;
  }

  .trust-label { font-size: 1.44rem; letter-spacing: 5px; }
  .trust-logos img { height: 92px; }
  .trust-logos { gap: 6rem; }

  #services .wrap,
  #about .wrap,
  #cyberstat .wrap,
  #testimonials .wrap,
  #contact .wrap { max-width: 80vw; }

  .svc-item { padding: 2rem 2rem; }
  .svc-title { font-size: clamp(2rem, 3vw, 3rem); line-height: .92; }

  #cyberstat { padding: 80px 0; }
  .csgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-top: 0;
  }
  .cscard {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 2.4rem 2.4rem 2.4rem 0;
    border-bottom: 1px solid var(--border);
  }
  .cscard:nth-child(odd) { border-right: 1px solid var(--border); }
  .cscard:nth-child(even) { padding-left: 2.4rem; padding-right: 0; }
  .cscard:nth-child(3), .cscard:nth-child(4) { border-bottom: none; }
  .cscard-left { width: 100%; align-items: center; text-align: center; }
  .cscard-right { text-align: center; }
  .cscard-num { font-size: 4rem; }
  .cscard-unit { font-size: .88rem; }
  .cscard-label { font-size: 1.5rem; }
  .cscard-desc { font-size: 1.12rem; }

  #services .sec-title,
  #cyberstat .sec-title,
  #testimonials .sec-title,
  #contact .sec-title { font-size: clamp(3rem, 5vw, 5rem); }

  .tgrid { flex-direction: row; }
  .tcard { flex: 1; }

  .contact-wrap { flex-direction: row; align-items: flex-start; gap: 5rem; }
  .contact-left { flex: 1; }
  #cform { flex: 1; }

  .footer-wrap { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (max-width: 1099px) {
  .hr-name { display: none; }

  /* Navbar maroon quand non scrollée + logo/burger beige — tous formats avec burger */
  #nav:not(.solid) { background: var(--maroon); }
  #nav:not(.solid) .nav-brand { color: var(--beige); }
  #nav:not(.solid) .nav-brand strong { color: var(--beige); }
  #nav:not(.solid) #burger span { background: var(--beige); }
}

/* ============================================================
   BACK TO TOP
============================================================ */
#btt {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 300;
  width: 52px;
  height: 52px;
  background: #ffffff;
  border: 1.5px solid rgba(89,49,55,.2);
  border-radius: 50%;
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s ease, transform .4s ease, background .2s, border-color .2s, box-shadow .2s;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
#btt.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#btt:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(89,49,55,.3);
}
#btt svg {
  width: 22px;
  height: 22px;
  transition: transform .25s ease;
}
#btt:hover svg { transform: translateY(-3px); }

/* ============================================================
   SERVICE CAROUSEL
============================================================ */
.svc-carousel-wrap {
  position: relative;
  width: 100%;
  padding-left: 3.5rem;
  overflow: hidden;
  opacity: 0;
  height: 0;
  margin-top: 0;
  transition: opacity .3s ease, height .3s ease, margin .3s ease;
}

.svc-item:hover .svc-carousel-wrap {
  opacity: 1;
  height: 56px;
  margin-top: 1.6rem;
  margin-bottom: 1rem;
  transition: height .3s ease, margin .3s ease, opacity .3s ease .3s;
}

.svc-carousel {
  overflow: hidden;
  width: 100%;
}

.svc-carousel-wrap::before,
.svc-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.svc-carousel-wrap::before {
  left: 2rem;
  background: linear-gradient(to right, var(--svc-bg, #593137) 40%, transparent);
}
.svc-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--svc-bg, #593137) 40%, transparent);
}

@media (max-width: 1099px) {
  .svc-carousel-wrap::before,
  .svc-carousel-wrap::after { display: none !important; }
  .svc-carousel-wrap { padding: 0 1.2rem; }
  .svc-item.active .svc-carousel-wrap { margin-top: 1.4rem !important; }
}

.svc-carousel-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  will-change: transform;
}

.svc-carousel-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .7;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE — BASE MOBILE (styles communs à tous mobiles)
============================================================ */
@media (max-width: 768px) {

  /* ── Nav ── */
  #nav { padding: 0 20px; height: 60px; }
  .nav-brand { font-size: 1rem; letter-spacing: 1.2px; }

  /* ── Hero — base ── */
  #hero { height: 100vh; height: 100svh; min-height: 0; align-items: center; overflow-y: auto; }
  .hero-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 75px 24px 20px;
  }
  .hero-left h1 { margin-bottom: .8rem; }
  .l { font-size: clamp(2.8rem, 11vw, 3.6rem); }
  .hero-sub { font-size: .95rem; margin-bottom: 1rem; line-height: 1.6; }
  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: 1.2rem;
  }
  .btn-fill { padding: 14px 24px; font-size: .88rem; width: 100%; text-align: center; }
  .btn-audit { font-size: .86rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0;
    column-gap: 1rem;
    row-gap: .9rem;
  }
  .hero-stats .hs:nth-child(1) { grid-column: 1; grid-row: 1; text-align: center; align-items: center; }
  .hero-stats .hs-div:nth-child(2) { grid-column: 2; grid-row: 1; }
  .hero-stats .hs:nth-child(3) { grid-column: 3; grid-row: 1; text-align: center; align-items: center; }
  .hero-stats .hs-div:nth-child(4) { display: none; }
  .hero-stats .hs:nth-child(5) {
    grid-column: 1 / -1; grid-row: 2;
    text-align: center; align-items: center;
    border-top: 1px solid var(--border);
    padding-top: .9rem;
  }
  .hs { display: flex; flex-direction: column; align-items: center; }
  .hs-num { font-size: 2.8rem; justify-content: center; }
  .hs-plus { font-size: 1.9rem; }
  .hs-lbl { font-size: .64rem; text-align: center; }
  .hs-div { height: 34px; }

  /* ── Cyberstat ── */
  #cyberstat { padding: 60px 0; }
  .cs-header { margin-bottom: 2rem; }
  .cscard { flex-direction: column; align-items: center; text-align: center; gap: .6rem; padding: 1.4rem 0; }
  .cscard-left { width: 100%; align-items: center; }
  .cscard-right { text-align: center; }
  .cscard-num { font-size: 3rem; }
  .cscard-unit { font-size: .7rem; }
  .cscard-label { font-size: 1rem; }
  .cscard-desc { font-size: .88rem; }

  /* ── Services ── */
  #services { padding: 60px 0; }
  .svc-header { margin-bottom: 2rem; }
  .svc-item { padding: 1.4rem .5rem; gap: 0; }
  .svc-item.active { padding-bottom: 1.2rem; }
  .svc-mobile-arrow { margin-top: .15rem; padding: .2rem 0 0; }
  .svc-title { font-size: clamp(1.6rem, 6.5vw, 2rem); white-space: normal; line-height: 1.05; }
  .svc-hook { font-size: .9rem; }
  .svc-tags li { font-size: .63rem; padding: 3px 8px; }
  .svc-carousel-track img { height: 28px; }
  .svc-item:hover .svc-carousel-wrap { height: 44px; margin-top: 1rem; }

  /* ── Trust band ── */
  .trust-band { padding: 32px 20px; gap: 1.2rem; }
  .trust-label { font-size: 1rem; letter-spacing: 2px; }
  .trust-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; justify-items: center;
    gap: 1.6rem; width: 100%;
  }
  .trust-logos img:last-child { grid-column: 1 / -1; }
  .trust-logos img { height: 52px; }

  /* ── Témoignages ── */
  #testimonials { padding: 60px 0; padding-bottom: 140px; }
  .tcard { padding: 20px; }
  .tq { font-size: 3.5rem; }
  .tcard p { font-size: .9rem; }

  /* ── Contact ── */
  #contact {
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
    margin-top: -40px;
    padding-top: calc(60px + 60px);
    padding-bottom: 60px;
  }
  .contact-wrap { gap: 2.5rem; }
  .cdetails { gap: .9rem; margin: 1.4rem 0; }
  .audit-cta { padding: 16px; }
  .audit-name { font-size: 1.4rem; }
  .csend { padding: 14px 28px; font-size: .85rem; }

  /* ── Section titles ── */
  .sec-title { font-size: clamp(2.8rem, 10.5vw, 3.8rem); margin-bottom: 2rem; }
  .sec-eyebrow { font-size: .68rem; }
  .stitle { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .wrap { padding: 0 20px; }

  /* ── Footer ── */
  #footer { padding: 28px 0; }
  .fcopy { font-size: .7rem; }
  #footer nav { gap: 1rem; }
  #footer nav a { font-size: .8rem; }
  #btt { bottom: 1.2rem; right: 1.2rem; width: 44px; height: 44px; }
  #btt svg { width: 18px; height: 18px; }
}

/* ============================================================
   DEVICE — iPhone SE (375×667)
============================================================ */
@media (max-width: 375px) and (max-height: 667px) {
  .l { font-size: 2.5rem; }
  .hero-sub { font-size: .88rem; margin-bottom: .8rem; }
  .hero-left h1 { margin-bottom: .6rem; }
  .hero-btns { gap: .5rem; margin-bottom: .9rem; }
  .btn-fill { padding: 11px 20px; font-size: .82rem; }
  .hs-num { font-size: 2.4rem; }
  .hs-plus { font-size: 1.6rem; }
  .hero-stats { row-gap: .65rem; }
  .hero-stats .hs:nth-child(5) { padding-top: .65rem; }
  .hero-left { padding-top: 68px; }
}

/* ============================================================
   DEVICE — Samsung Galaxy S8+ (360×740)
============================================================ */
@media (max-width: 360px) and (min-height: 700px) and (max-height: 780px) {
  .l { font-size: 2.7rem; }
  .hero-sub { font-size: .9rem; margin-bottom: .9rem; }
  .hero-left h1 { margin-bottom: .7rem; }
  .hero-btns { margin-bottom: 1rem; }
  .hs-num { font-size: 2.6rem; }
  .hs-plus { font-size: 1.75rem; }
  .hero-stats { row-gap: .8rem; }
  .hero-stats .hs:nth-child(5) { padding-top: .8rem; }
}

/* ============================================================
   DEVICE — Galaxy Z Fold 5 fermé (344×882)
============================================================ */
@media (max-width: 350px) and (min-height: 850px) {
  .l { font-size: 2.6rem; }
  .hero-sub { font-size: .92rem; margin-bottom: 1.1rem; }
  .hero-left h1 { margin-bottom: .9rem; }
  .hero-btns { margin-bottom: 1.3rem; }
  .hs-num { font-size: 2.7rem; }
  .hs-plus { font-size: 1.8rem; }
  .hero-stats { row-gap: 1rem; }
  .hero-stats .hs:nth-child(5) { padding-top: 1rem; }
}

/* ============================================================
   DEVICE — iPhone 12 Pro (390×844) / iPhone XR (414×896)
           Samsung Galaxy A51/71 (412×914) / Pixel 7 (412×915)
           Samsung S20 Ultra (412×915)
============================================================ */
@media (min-width: 375px) and (max-width: 430px) and (min-height: 820px) {
  .l { font-size: clamp(3.2rem, 10vw, 3.8rem); }
  .hero-sub { font-size: 1.05rem; margin-bottom: 1.4rem; }
  .hero-left h1 { margin-bottom: 1.1rem; }
  .hero-btns { gap: .8rem; margin-bottom: 1.6rem; }
  .btn-fill { padding: 15px 28px; }
  .hs-num { font-size: 3.2rem; }
  .hs-plus { font-size: 2.1rem; }
  .hero-stats { row-gap: 1.1rem; }
  .hero-stats .hs:nth-child(5) { padding-top: 1.1rem; }
}

/* ============================================================
   DEVICE — iPhone 14 Pro Max (430×932)
============================================================ */
@media (min-width: 428px) and (max-width: 432px) and (min-height: 920px) {
  .l { font-size: 3.9rem; }
  .hero-sub { font-size: 1.1rem; margin-bottom: 1.6rem; }
  .hero-left h1 { margin-bottom: 1.2rem; }
  .hero-btns { gap: .85rem; margin-bottom: 1.8rem; }
  .btn-fill { padding: 16px 30px; }
  .hs-num { font-size: 3.4rem; }
  .hs-plus { font-size: 2.2rem; }
  .hero-stats { row-gap: 1.2rem; }
  .hero-stats .hs:nth-child(5) { padding-top: 1.2rem; }
}

/* ============================================================
   DEVICE — Surface Duo (540×720)
============================================================ */
@media (min-width: 530px) and (max-width: 550px) and (min-height: 700px) and (max-height: 740px) {
  .l { font-size: 3.2rem; }
  .hero-sub { font-size: .98rem; margin-bottom: 1rem; }
  .hero-left h1 { margin-bottom: .8rem; }
  .hero-btns { margin-bottom: 1.2rem; }
  .hs-num { font-size: 2.9rem; }
  .hs-plus { font-size: 1.95rem; }
  .hero-stats { row-gap: .9rem; }
  .hero-stats .hs:nth-child(5) { padding-top: .9rem; }
}

/* ============================================================
   DEVICE — iPad Mini (768×1024) / iPad Air (820×1180)
============================================================ */
@media (min-width: 768px) and (max-width: 830px) and (min-height: 1000px) {
  #nav { padding: 0 36px; height: 72px; }
  .nav-brand { font-size: 1.25rem; letter-spacing: 2px; }
  .hero-left { padding: 100px 6vw 48px; width: 100%; }
  .l { font-size: clamp(4.2rem, 8vw, 6rem); }
  .hero-sub { font-size: 1.3rem; line-height: 1.7; }
  .hero-btns { gap: 1.2rem; margin-bottom: 2.4rem; }
  .btn-fill { padding: 18px 36px; font-size: 1rem; width: auto; }
  .btn-audit { font-size: 1rem; }
  .hero-stats { display: flex; gap: 2.8rem; }
  .hero-stats .hs:nth-child(1),
  .hero-stats .hs:nth-child(3),
  .hero-stats .hs:nth-child(5) { align-items: flex-start; }
  .hero-stats .hs-div:nth-child(4) { display: block; }
  .hero-stats .hs:nth-child(5) { border-top: none; padding-top: 0; grid-column: auto; }
  .hs-num { font-size: 5rem; }
  .hs-plus { font-size: 3.2rem; }
  .hs-lbl { font-size: .82rem; }
  .hs-div { height: 56px; }
  .sec-title { font-size: clamp(3.2rem, 7vw, 5rem); }
  .sec-eyebrow { font-size: .8rem; letter-spacing: 3px; }
  .stitle { font-size: clamp(2.4rem, 5vw, 3.5rem); }
  .ssub { font-size: 1.1rem; }
  #cyberstat .csgrid { display: grid; grid-template-columns: 1fr 1fr; }
  .cscard { flex-direction: column; padding: 2.2rem 2.2rem 2.2rem 0; }
  .cscard:nth-child(odd) { border-right: 1px solid var(--border); }
  .cscard:nth-child(even) { padding-left: 2.2rem; padding-right: 0; }
  .cscard:nth-child(3), .cscard:nth-child(4) { border-bottom: none; }
  .cscard-left { width: 100%; align-items: center; }
  .cscard-right { text-align: center; }
  .cscard-num { font-size: 4rem; }
  .cscard-unit { font-size: .9rem; }
  .cscard-label { font-size: 1.4rem; }
  .cscard-desc { font-size: 1.05rem; }
  .svc-item { padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 0; }
  .svc-title { font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: .95; }
  .svc-hook { font-size: 1.1rem; }
  .svc-tags li { font-size: .78rem; padding: 5px 14px; }
  .svc-mobile-arrow { display: flex !important; padding: .6rem 0 .2rem; }
  .svc-mobile-arrow svg { width: 28px; height: 28px; }
  .tgrid { flex-direction: row; flex-wrap: wrap; }
  .tcard { flex: 1 1 calc(50% - .7rem); padding: 32px; }
  .tcard p { font-size: 1.05rem; }
  .tav { width: 52px; height: 52px; font-size: .9rem; }
  .contact-wrap { flex-direction: row; gap: 3.5rem; }
  .contact-left { flex: 1; }
  #cform { flex: 1; }
  .fr input, .fr select, .fr textarea { font-size: 1.05rem; padding: 15px 18px; }
  .fr label { font-size: .85rem; }
  .csend { padding: 18px 44px; font-size: 1rem; }
  .trust-logos img { height: 76px; }
  .trust-logos { gap: 5rem; }
  .trust-label { font-size: .85rem; letter-spacing: 3px; }
  #footer nav a { font-size: 1rem; }
  .fcopy { font-size: .85rem; }
}

/* ============================================================
   DEVICE — iPad Pro (1024×1366) / Asus Zenbook Fold (853×1280)
           Surface Pro 7 (912×1368)
============================================================ */
@media (min-width: 831px) and (max-width: 1099px) {
  #nav { padding: 0 40px; height: 76px; }
  .nav-brand { font-size: 1.35rem; letter-spacing: 2.2px; }
  .hero-left { padding: 110px 6vw 52px; width: 100%; }
  .l { font-size: clamp(4.8rem, 7.5vw, 7rem); }
  .hero-sub { font-size: 1.4rem; line-height: 1.75; }
  .hero-btns { gap: 1.4rem; margin-bottom: 2.8rem; }
  .btn-fill { padding: 20px 42px; font-size: 1.05rem; width: auto; }
  .btn-audit { font-size: 1.05rem; }
  .hero-stats { display: flex; gap: 3rem; }
  .hero-stats .hs-div:nth-child(4) { display: block; }
  .hero-stats .hs:nth-child(5) { border-top: none; padding-top: 0; grid-column: auto; }
  .hs-num { font-size: 5.6rem; }
  .hs-plus { font-size: 3.6rem; }
  .hs-lbl { font-size: .9rem; }
  .hs-div { height: 64px; }
  .sec-title { font-size: clamp(3.8rem, 7vw, 6rem); }
  .sec-eyebrow { font-size: .85rem; letter-spacing: 3.5px; }
  .stitle { font-size: clamp(2.8rem, 5vw, 4rem); }
  .ssub { font-size: 1.2rem; }
  #cyberstat .csgrid { display: grid; grid-template-columns: 1fr 1fr; }
  .cscard { flex-direction: column; padding: 2.6rem 2.6rem 2.6rem 0; }
  .cscard:nth-child(odd) { border-right: 1px solid var(--border); }
  .cscard:nth-child(even) { padding-left: 2.6rem; padding-right: 0; }
  .cscard:nth-child(3), .cscard:nth-child(4) { border-bottom: none; }
  .cscard-left { width: 100%; align-items: center; }
  .cscard-right { text-align: center; }
  .cscard-num { font-size: 5rem; }
  .cscard-unit { font-size: 1rem; }
  .cscard-label { font-size: 1.7rem; }
  .cscard-desc { font-size: 1.15rem; }
  .svc-item { padding: 2.4rem 2rem; display: flex; flex-direction: column; gap: 0; }
  .svc-title { font-size: clamp(3rem, 5.5vw, 4.5rem); line-height: .92; }
  .svc-hook { font-size: 1.2rem; }
  .svc-tags li { font-size: .85rem; padding: 6px 16px; }
  .svc-mobile-arrow { display: flex !important; padding: .6rem 0 .2rem; }
  .svc-mobile-arrow svg { width: 32px; height: 32px; }
  .tgrid { flex-direction: row; }
  .tcard { flex: 1; padding: 36px; }
  .tcard p { font-size: 1.1rem; }
  .tav { width: 56px; height: 56px; font-size: .95rem; }
  .contact-wrap { flex-direction: row; gap: 4.5rem; }
  .contact-left { flex: 1; }
  #cform { flex: 1; }
  .fr input, .fr select, .fr textarea { font-size: 1.1rem; padding: 16px 20px; }
  .fr label { font-size: .9rem; }
  .csend { padding: 20px 48px; font-size: 1.05rem; }
  .trust-logos img { height: 88px; }
  .trust-logos { gap: 6rem; display: flex; flex-wrap: wrap; justify-content: center; }
  .trust-logos img:last-child { grid-column: auto; }
  .trust-label { font-size: .9rem; letter-spacing: 3.5px; }
  #footer nav a { font-size: 1.05rem; }
  .fcopy { font-size: .9rem; }
}

/* ============================================================
   DEVICE — Nest Hub (1024×600) / Nest Hub Max (1280×800)
   Paysage court — desktop layout mais compressé en hauteur
============================================================ */
@media (min-width: 1024px) and (max-height: 800px) {
  #hero { height: 100vh; height: 100svh; }
  .hero-left { padding-top: 72px; padding-bottom: 24px; }
  .l { font-size: clamp(3rem, 5vw, 4.5rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 1rem; }
  .hero-btns { margin-bottom: 1.2rem; }
  .hs-num { font-size: 3.8rem; }
  .hs-plus { font-size: 2.4rem; }
}

.grecaptcha-badge { visibility: hidden; }
.recaptcha-notice{
  color: var(--beige);
  text-align: center;
}