/* ============================================================
   SWISSTITUDE — Système de design
   Alpine · froide · lumineuse · haut de gamme
   ============================================================ */

/* ---------- Polices auto-hébergées ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Inter-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-500-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/InterTight-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/InterTight-700-latin.woff2') format('woff2');
}

/* ---------- Variables ---------- */
:root {
  --snow:      #FFFFFF;
  --glacier:   #F4F7FA;
  --mist:      #E3EAF0;
  --frost:     #C9D6E0;
  --alpine:    #4F6B7E;
  --granite:   #1C2731;
  --night:     #0F1820;
  --swiss-red: #D52B1E;

  --font-title: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;

  --radius:     14px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 2px rgba(28, 39, 49, 0.05), 0 2px 8px rgba(28, 39, 49, 0.05);
  --shadow-md:  0 4px 16px rgba(28, 39, 49, 0.08), 0 1px 3px rgba(28, 39, 49, 0.05);
  --shadow-lg:  0 12px 32px rgba(28, 39, 49, 0.12);
  --container:  1200px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--granite);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
::selection { background: var(--frost); color: var(--granite); }

/* Focus visible accessible */
:focus-visible {
  outline: 2px solid var(--alpine);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--granite);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { max-width: 68ch; }

/* Sur-titre MAJUSCULES espacées */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--alpine);
}

/* Mots-clés en gras + soulignement rouge fin décalé */
strong { font-weight: 600; }
.underline-red {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--swiss-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--glacier { background: var(--glacier); }
.section--night { background: var(--night); color: var(--snow); }
.section--night h1, .section--night h2, .section--night h3 { color: var(--snow); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-top: 0.75rem; }
.section-head .lead { margin-top: 1rem; color: var(--alpine); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* Séparateur crête de montagne (SVG fin) */
.ridge-divider {
  width: 100%;
  height: 60px;
  display: block;
  color: var(--frost);
}
.ridge-divider svg { width: 100%; height: 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--swiss-red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(213, 43, 30, 0.28);
}
.btn--primary:hover { background: #b82318; box-shadow: 0 4px 16px rgba(213, 43, 30, 0.36); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  background: transparent;
  color: var(--granite);
  box-shadow: inset 0 0 0 1.5px var(--frost);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--alpine); color: var(--alpine); }
.btn--light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn--light:hover { background: rgba(255,255,255,0.2); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--granite);
}
.brand img { width: 34px; height: 34px; object-fit: contain; transition: filter 0.35s var(--ease); }
.site-header--transparent .brand img { filter: invert(1); }
.site-header--transparent .brand { color: #fff; }
.site-header--scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--mist);
}
.site-header--scrolled .brand { color: var(--granite); }

.nav { display: flex; align-items: center; gap: 0.35rem; margin-left: auto; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--granite);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--alpine); background: var(--glacier); }
.site-header--transparent .nav__link { color: rgba(255,255,255,0.92); }
.site-header--transparent .nav__link:hover { color: #fff; background: rgba(255,255,255,0.12); }

/* Dropdown Solutions */
.has-dropdown { position: relative; }
.has-dropdown > .nav__link .caret { transition: transform 0.2s var(--ease); }
.has-dropdown:hover > .nav__link .caret,
.has-dropdown:focus-within > .nav__link .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 264px;
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--granite);
  transition: background 0.15s var(--ease);
}
.dropdown__item:hover { background: var(--glacier); }
.dropdown__item .num {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--alpine);
  letter-spacing: 0.06em;
  min-width: 22px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--alpine);
}
.lang-switch a { padding: 0.3rem 0.45rem; border-radius: 6px; }
.lang-switch a.is-active { color: var(--granite); }
.lang-switch a:not(.is-active) { opacity: 0.55; }
.lang-switch a:not(.is-active):hover { opacity: 1; }
.site-header--transparent .lang-switch { color: rgba(255,255,255,0.85); }
.site-header--transparent .lang-switch a.is-active { color: #fff; }

.header-cta { margin-left: 0.5rem; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  border-radius: 8px;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--granite);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header--transparent .burger span { background: #fff; }

/* ---------- Menu mobile plein écran ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--night);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mobile-menu__top .brand { color: #fff; }
.mobile-menu__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; }
.mobile-menu__close:hover { background: rgba(255,255,255,0.1); }
.mobile-menu__links { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-menu__links a {
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 600;
  padding: 0.7rem 0;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu__links .sub {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.3rem 0 0.3rem 1rem;
}
.mobile-menu__links .sub a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--frost);
  border: none;
  padding: 0.4rem 0;
}
.mobile-menu__foot { margin-top: auto; padding-bottom: 1.5rem; }
.mobile-menu__foot .lang-switch { color: var(--frost); font-size: 1rem; margin-bottom: 1.25rem; }
.mobile-menu__foot .lang-switch a.is-active { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #0F1820;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero.hero--kenburns .hero__media img {
  animation: kenburns 20s var(--ease) both;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(15,24,32,0.82) 0%, rgba(15,24,32,0.35) 40%, rgba(15,24,32,0.12) 70%, rgba(15,24,32,0.28) 100%);
}
.hero__content {
  width: 100%;
  padding-block: clamp(9rem, 16vh, 12rem) clamp(4.5rem, 9vh, 7rem);
}
.hero__content .eyebrow { color: rgba(255,255,255,0.85); }
.hero h1 { color: #fff; margin-top: 1rem; max-width: 16ch; text-wrap: balance; }
.hero .sub {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 52ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }
.hero--short { min-height: 62svh; align-items: flex-end; }
.hero--short .hero__content { padding-block: 8rem 3.5rem; }

/* Indicateur de scroll */
.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-hint .mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  background: #fff;
  border-radius: 2px;
  animation: scrollWheel 1.8s var(--ease) infinite;
}
@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Intro ---------- */
.intro .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--alpine); line-height: 1.6; max-width: 58ch; }

/* ---------- Grille Solutions (2×2) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.pole-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glacier);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.pole-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.pole-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.pole-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.pole-card:hover .pole-card__media img { transform: scale(1.04); }
.pole-card__body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pole-card__num {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--alpine);
}
.pole-card h3 { font-size: 1.35rem; }
.pole-card p { color: var(--alpine); font-size: 0.98rem; line-height: 1.6; flex: 1; }
.pole-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--granite);
  margin-top: 0.5rem;
}
.pole-card__link .arrow { transition: transform 0.25s var(--ease); }
.pole-card:hover .pole-card__link .arrow { transform: translateX(5px); }

/* ---------- Valeurs (icônes fines) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
}
.value-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius);
  background: var(--snow);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
}
.value-card .icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--glacier);
  color: var(--alpine);
  margin-bottom: 1.1rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.value-card p { color: var(--alpine); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Étapes (sentier) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  position: relative;
}
.step { position: relative; padding-top: 0.25rem; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--swiss-red);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { color: var(--alpine); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  padding: clamp(2.5rem, 6vw, 5rem);
}
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(15,24,32,0.8), rgba(15,24,32,0.45));
}
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band .sub { color: rgba(255,255,255,0.9); margin-top: 0.9rem; max-width: 46ch; }
.cta-band .btn { margin-top: 1.75rem; }

/* ---------- Encadrés ---------- */
.callout {
  border-left: 3px solid var(--alpine);
  background: var(--glacier);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  font-size: 1.05rem;
  line-height: 1.7;
}
.callout .cite {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--granite);
}

/* ---------- Situation type ---------- */
.situation {
  background: var(--glacier);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.situation__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--alpine);
  margin-bottom: 1.25rem;
}
.situation__flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: start; }
.situation__block h4 { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.situation__block h4.avant { color: var(--swiss-red); }
.situation__block h4.apres { color: var(--alpine); }
.situation__block p { font-size: 0.95rem; line-height: 1.6; color: var(--granite); }
.situation__arrow { color: var(--frost); font-size: 1.3rem; padding-top: 1.2rem; }

/* ---------- Badge "Bon à savoir" ---------- */
.tip {
  border-left: 3px solid var(--swiss-red);
  background: var(--snow);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.tip h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--swiss-red);
  margin-bottom: 0.5rem;
}
.tip p { color: var(--granite); }

/* ---------- Cartes "ce que nous prenons en charge" ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.feature-card {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius);
  background: var(--snow);
  border: 1px solid var(--mist);
  box-shadow: var(--shadow-sm);
}
.feature-card .icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--glacier);
  color: var(--alpine);
  margin-bottom: 0.9rem;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-card p { color: var(--alpine); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Autres pôles ---------- */
.other-poles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.other-pole {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--mist);
  background: var(--snow);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.other-pole:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.other-pole__media { aspect-ratio: 16 / 9; overflow: hidden; }
.other-pole__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.other-pole:hover .other-pole__media img { transform: scale(1.05); }
.other-pole__body { padding: 1rem 1.2rem 1.2rem; }
.other-pole__body h3 { font-size: 1.02rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--night);
  color: var(--frost);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .tagline { color: var(--frost); max-width: 34ch; line-height: 1.65; font-size: 0.95rem; }
.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer__col a { color: var(--frost); font-size: 0.95rem; transition: color 0.2s var(--ease); }
.site-footer__col a:hover { color: #fff; }
.site-footer__contact a { color: #fff; font-weight: 500; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__contact .item { display: flex; align-items: center; gap: 0.55rem; color: var(--frost); font-size: 0.95rem; margin-bottom: 0.7rem; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--frost);
}
.site-footer__bottom .lang-switch { color: var(--frost); }
.site-footer__bottom .lang-switch a.is-active { color: #fff; }

/* ---------- Formulaire de contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form__field { display: flex; flex-direction: column; gap: 0.45rem; }
.form__field label { font-weight: 600; font-size: 0.92rem; }
.form__field label .req { color: var(--swiss-red); }
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--mist);
  border-radius: 10px;
  background: var(--snow);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  min-height: 48px;
}
.form__field textarea { min-height: 150px; resize: vertical; }
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--alpine);
  box-shadow: 0 0 0 3px rgba(79, 107, 126, 0.15);
}
.form__consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--alpine); }
.form__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--alpine); }
.form__consent a { color: var(--alpine); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__note { font-size: 0.88rem; color: var(--alpine); }
.form-msg { padding: 1rem 1.25rem; border-radius: 10px; font-weight: 500; display: none; }
.form-msg.is-success { display: block; background: #e8f5ec; color: #1e6b3a; border: 1px solid #bfe3cc; }
.form-msg.is-error { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }

.contact-aside { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-aside__block h4 {
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--alpine); margin-bottom: 0.6rem;
}
.contact-aside__block a { font-weight: 500; }
.contact-aside__block a:hover { text-decoration: underline; }
.contact-aside__block p { color: var(--alpine); font-size: 0.95rem; }

/* ---------- Pages légales ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
.legal p, .legal li { color: var(--granite); line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin: 0.75rem 0; }
.legal li { margin-bottom: 0.4rem; }

/* ---------- Bouton contact collant mobile ---------- */
.sticky-contact {
  position: fixed;
  left: 1rem; right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: none;
}
.sticky-contact .btn { width: 100%; box-shadow: var(--shadow-lg); }

/* ---------- Animations au scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .values-grid, .steps, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .other-poles { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .other-poles { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .situation__flow { grid-template-columns: 1fr; }
  .situation__arrow { transform: rotate(90deg); padding-top: 0; text-align: center; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero.hero--kenburns .hero__media img { animation: none; }
  .sticky-contact { display: block; }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; }
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   HERO ACCUEIL — glassmorphism (retouche)
   ============================================================ */
.hero--home .hero__overlay {
  background: linear-gradient(180deg,
    rgba(15,24,32,.35) 0%,
    rgba(15,24,32,0) 30%,
    rgba(15,24,32,0) 45%,
    rgba(15,24,32,.7) 100%);
}
@media (max-width: 768px) {
  .hero--home .hero__media img { object-position: 50% 30%; }
}
.hero--home .hero__content {
  padding: 0 16px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 769px) {
  .hero--home .hero__content {
    padding: 0 clamp(24px, 4vw, 40px);
    padding-bottom: clamp(40px, 6vh, 56px);
  }
}

/* Conteneur texte du hero (transparent, sans panneau gris) */
.hero-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  animation: heroCardIn .7s var(--ease) both;
}

/* Boutons pilule */
.hero-card .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}
.hero-card .btn {
  border-radius: 999px;
  min-height: 50px;
  padding: 0.7rem 1.5rem;
  font-size: 16px;
  font-weight: 600;
  width: auto;
}
.hero-card .btn--primary {
  box-shadow: 0 4px 22px rgba(213,43,30,.5);
}
.hero-card .btn--primary:hover { background: #b82318; box-shadow: 0 6px 26px rgba(213,43,30,.55); }
.hero-card .btn--primary:active { background: #9c1c13; }

/* Animation d'entrée */
@keyframes heroCardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroItemIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-card .hero-anim { animation: heroItemIn .6s var(--ease) both; }
.hero-card .hero-anim--1 { animation-delay: .10s; }
.hero-card .hero-anim--2 { animation-delay: .20s; }
.hero-card .hero-anim--3 { animation-delay: .30s; }
.hero-card .hero-anim--4 { animation-delay: .40s; }

/* ---------- Blocs alternés texte / image ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__media img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.split__body .section-head { margin-bottom: 1.25rem; }
.split__body p { color: var(--alpine); line-height: 1.7; }
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- État actif du menu ---------- */
.nav__link[aria-current="page"] { color: var(--alpine); }
.site-header--transparent .nav__link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.mobile-menu__links a[aria-current="page"] { color: var(--swiss-red); }

/* ---------- Liens des pages légales ---------- */
.legal a { color: var(--alpine); text-decoration: underline; }
.legal a:hover { color: var(--granite); }
