/* ==========================================================================
   AW@ TELECOM & BUSINESS SARL — feuille de style principale
   Style : Flat + Material Design
   Palette : #3171ae (bleu principal) · #245785 (bleu profond)
             #e8f1f9 (bleu très clair) · #ffbb00 (accent)
   Typographie : Montserrat (titres) · Roboto (texte)
   Sommaire : 1. Variables · 2. Réinitialisation · 3. Typographie & layout
              4. Boutons & pastilles · 5. En-tête & navigation
              6. Héros & bandeaux de page · 7. Cartes & contenus
              8. Partenaires · 9. Appel à l'action · 10. Galerie
              11. Pied de page · 12. Formulaire · 13. Feedback (snackbar, FAB)
              14. Pages spécifiques (404, crédits) · 15. Responsive · 16. Impression
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --white: #ffffff;
  --primary: #3171ae;
  --primary-bright: #3f86c9;
  --azure: #5aa7e0;
  --accent: #ffbb00;
  --grey: #4f5359;

  /* Déclinaisons dérivées de la palette */
  --navy: #16354d;
  --primary-dark: #245785;
  --primary-tint: #e8f1f9;
  --accent-tint: #fff6dd;
  --surface-muted: #f4f7fb;
  --border: #dbe6f1;
  --grey-soft: #767a80;

  /* États (formulaires uniquement) */
  --error: #b3261e;
  --success: #2e7d32;

  /* Typographie */
  --font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --font-display: "Montserrat", "Segoe UI", Arial, sans-serif;

  /* Rythme (grille de 8 px) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 40px;
  --sp-8: 48px;
  --sp-9: 64px;
  --sp-10: 88px;

  /* Formes & élévations Material */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 2px rgba(22, 53, 77, 0.08), 0 1px 3px rgba(22, 53, 77, 0.06);
  --shadow-2: 0 4px 12px rgba(22, 53, 77, 0.12), 0 2px 4px rgba(22, 53, 77, 0.08);
  --shadow-3: 0 12px 32px rgba(22, 53, 77, 0.18);

  /* Accents complémentaires (mise en couleur de l'interface) */
  --accent-strong: #f08c00;
  --teal: #0f9b8e;
  --violet: #6c5ce7;
  --teal-tint: #e2f6f3;

  /* Dégradés de marque */
  --grad-brand: linear-gradient(135deg, #3171ae 0%, #3f86c9 100%);
  --grad-deep: linear-gradient(135deg, #245785 0%, #3171ae 100%);
  --grad-soft: linear-gradient(180deg, #e8f1f9 0%, #ffffff 78%);
  --grad-accent: linear-gradient(135deg, #ffbb00 0%, #f08c00 100%);
  --grad-teal: linear-gradient(135deg, #0f9b8e 0%, #3f86c9 100%);
  --grad-night: linear-gradient(140deg, #16354d 0%, #245785 55%, #3171ae 100%);
  --grad-photo: linear-gradient(
    180deg,
    rgba(22, 53, 77, 0) 28%,
    rgba(15, 42, 62, 0.55) 62%,
    rgba(11, 32, 47, 0.9) 100%
  );
  --shadow-photo: 0 22px 48px rgba(36, 87, 133, 0.26);

  /* Gabarit */
  --container: 1160px;
  --app-bar-h: 76px;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
}

/* 2. Réinitialisation ----------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--app-bar-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--grey);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img,
svg { max-width: 100%; }

img { height: auto; }

ul, ol { margin: 0; padding: 0; }

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 3. Typographie & layout ------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 500; color: var(--primary-dark); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-7) 0; }
.section--muted { background: var(--surface-muted); }
.section--tint { background: linear-gradient(180deg, #e8f1f9 0%, #f7fbff 100%); }

.section-head {
  max-width: 720px;
  margin: 0 auto var(--sp-7);
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-head__text {
  font-size: 1.0625rem;
  margin: var(--sp-3) 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 var(--sp-3);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.75;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 500;
  transition: top 0.18s var(--ease);
}

.skip-link:focus {
  top: 0;
  text-decoration: none;
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 4. Boutons & pastilles -------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(49, 113, 174, 0.28);
}

.btn--primary:hover {
  background: var(--grad-deep);
  box-shadow: 0 12px 26px rgba(36, 87, 133, 0.36);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--primary-dark);
}

.btn--outline:hover {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.btn--on-dark {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: var(--shadow-2);
}

.btn--on-dark:hover { background: var(--primary-tint); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
}

.btn--text {
  background: transparent;
  color: var(--primary-dark);
  padding: 8px 0;
  min-height: 44px;
}

.btn--text:hover { color: var(--primary); }

.btn--sm { padding: 9px 18px; font-size: 0.875rem; }
.btn--lg { padding: 14px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn .icon { width: 20px; height: 20px; stroke-width: 2; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: var(--sp-5) 0 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--primary-tint);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

.chips .chip:nth-child(3n + 2) {
  background: var(--accent-tint);
  color: #7a5300;
}

.chips .chip:nth-child(3n + 3) {
  background: var(--teal-tint);
  color: #0b6b63;
}

.chip .icon { width: 16px; height: 16px; stroke-width: 2; }

.chip--outline {
  background: transparent;
  border: 1px solid var(--border);
}

.note {
  display: block;
  margin: var(--sp-4) 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--grey);
}

/* Effet d'onde Material (généré par main.js) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transform: scale(0);
  opacity: 0.65;
  pointer-events: none;
  animation: ripple 0.55s var(--ease) forwards;
}

.btn--outline .ripple,
.btn--text .ripple,
.btn--outline-light .ripple { background: rgba(49, 113, 174, 0.28); }

@keyframes ripple {
  to { transform: scale(2.6); opacity: 0; }
}
/* 5. En-tête & navigation ------------------------------------------------- */
.app-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--app-bar-h);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.app-bar.is-elevated {
  box-shadow: var(--shadow-2);
  border-bottom-color: var(--border);
}

.app-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand:hover { text-decoration: none; }

.brand__logo {
  display: block;
  width: auto;
  height: 46px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--grey);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link:hover {
  color: var(--primary-dark);
  background: var(--primary-tint);
  text-decoration: none;
}

.nav__link[aria-current="page"] {
  color: var(--primary-dark);
  background: var(--primary-tint);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.nav__cta { margin-left: var(--sp-3); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--primary-dark);
  cursor: pointer;
}

.nav-toggle .icon { width: 26px; height: 26px; }

/* Tiroir mobile */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(1, 44, 60, 0.45);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.scrim.is-visible { opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  display: flex;
  flex-direction: column;
  width: min(340px, 88vw);
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  background: var(--white);
  box-shadow: var(--shadow-3);
  transform: translateX(100%);
  transition: transform 0.28s var(--ease);
  overflow-y: auto;
}

.drawer.is-open { transform: translateX(0); }

.drawer[hidden] { display: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}

.drawer__title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-dark);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.icon-btn:hover {
  background: var(--primary-tint);
  border-color: var(--primary);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--sp-4) 0;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 48px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--grey);
  font-weight: 500;
  text-decoration: none;
}

.drawer__link:hover,
.drawer__link[aria-current="page"] {
  background: var(--primary-tint);
  color: var(--primary-dark);
  text-decoration: none;
}

.drawer__link .icon {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.drawer__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}

.drawer__foot a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--primary-dark);
  text-decoration: none;
}

.drawer__foot .icon { width: 20px; height: 20px; }
/* 6. Héros & bandeaux de page --------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--app-bar-h) + 56px) 0 var(--sp-9);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 187, 0, 0.22), transparent 44%),
    radial-gradient(circle at 4% 88%, rgba(15, 155, 142, 0.14), transparent 42%),
    radial-gradient(circle at 72% 82%, rgba(90, 167, 224, 0.28), transparent 52%),
    linear-gradient(180deg, #eaf4fd 0%, #ffffff 78%);
  overflow: hidden;
}

/* Halo décoratif qui prolonge la photo du héros */
.hero::after {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 167, 224, 0.32), rgba(90, 167, 224, 0) 70%);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--sp-8);
  align-items: stretch;
}

.hero__copy { max-width: 60ch; }

.hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--sp-3);
  color: var(--primary-dark);
}

/* Surlignage jaune sur un mot clé du titre */
.hero__title .hl {
  background: linear-gradient(transparent 60%, rgba(255, 187, 0, 0.55) 60%);
  padding: 0 2px;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--primary);
  margin-bottom: var(--sp-4);
}

.hero__text {
  font-size: 1rem;
  max-width: 56ch;
  color: var(--grey);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero__media {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

/* Halo jaune derrière la photo du héros */
.hero__media::before {
  content: "";
  position: absolute;
  top: 16%;
  right: -9%;
  z-index: -1;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 187, 0, 0.4), rgba(255, 187, 0, 0) 68%);
  pointer-events: none;
}

/* Photo du héros : même hauteur que le texte, cadre blanc et ombre colorée */
.hero .media-frame {
  flex: 1 1 auto;
  min-height: 300px;
  aspect-ratio: auto;
  border: 6px solid var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-photo);
}

.hero .media-frame img { object-position: center 32%; }

/* Encart métier qui chevauche le bas de la photo */
.hero__panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: -38px auto 0;
  max-width: 92%;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
}

.hero__panel .icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 12px;
  background: var(--accent-tint);
  color: var(--accent-strong);
}

.hero__panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--primary-dark);
}

.hero__panel span {
  display: block;
  font-size: 0.8125rem;
  color: var(--grey-soft);
}

/* Cadres photo réutilisables */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--primary-tint);
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 3;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 16 / 9; }

.media-caption {
  display: block;
  margin-top: var(--sp-2);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--grey-soft);
}

/* Bandeau des pages intérieures */
.page-hero {
  position: relative;
  padding: calc(var(--app-bar-h) + 48px) 0 var(--sp-7);
  background:
    radial-gradient(circle at 88% 6%, rgba(255, 187, 0, 0.2), transparent 42%),
    radial-gradient(circle at 4% 96%, rgba(15, 155, 142, 0.14), transparent 44%),
    linear-gradient(120deg, #eaf4fd 0%, #f8fbfe 55%, #eaf4fd 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero__inner {
  max-width: 860px;
}

/* Variante avec grande photo à droite (pages intérieures) */
.page-hero--photo {
  padding-bottom: var(--sp-8);
  border-bottom: 0;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: var(--sp-8);
  align-items: center;
}

.page-hero--photo .page-hero__inner { max-width: 60ch; }

.page-hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 5px solid var(--white);
  border-radius: 24px;
  background: var(--primary-tint);
  box-shadow: var(--shadow-photo);
}

.page-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero h1 { margin-bottom: var(--sp-3); }

.page-hero__subtitle {
  font-size: 1.0625rem;
  margin: 0;
  max-width: 68ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--sp-4);
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a { color: var(--primary-dark); }

.breadcrumb [aria-current="page"] { color: var(--grey); }

.breadcrumb__sep { color: var(--primary); opacity: 0.6; }

/* Sous-navigation d'ancrage (page Services) */
.anchor-nav {
  position: sticky;
  top: var(--app-bar-h);
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

.anchor-nav__inner {
  display: flex;
  gap: var(--sp-2);
  padding: 10px var(--sp-5);
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.anchor-nav__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--surface-muted);
  color: var(--primary-dark);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.anchor-nav__link:hover {
  background: var(--primary-tint);
  text-decoration: none;
}

.anchor-nav__link.is-active {
  background: var(--primary);
  color: var(--white);
}
/* 7. Cartes & contenus ---------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

/* Filet coloré en haut de chaque carte (couleurs alternées) */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-brand);
}

.card:nth-child(4n + 2)::before { background: var(--grad-accent); }
.card:nth-child(4n + 3)::before { background: var(--grad-teal); }
.card:nth-child(4n + 4)::before {
  background: linear-gradient(135deg, var(--violet) 0%, #3f86c9 100%);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(36, 87, 133, 0.18);
  border-color: transparent;
}

.card--static:hover {
  transform: none;
  box-shadow: var(--shadow-1);
  border-color: var(--border);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-4);
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
}

.card__icon .icon { width: 26px; height: 26px; }

/* Couleur d'icône assortie au filet de la carte */
.card:nth-child(4n + 2) .card__icon {
  background: var(--accent-tint);
  color: #b57f00;
}

.card:nth-child(4n + 3) .card__icon {
  background: var(--teal-tint);
  color: #0b7d73;
}

.card:nth-child(4n + 4) .card__icon {
  background: #eeecfd;
  color: #5a4bd6;
}

.card__title { margin-bottom: var(--sp-2); }

.card__text {
  font-size: 0.9375rem;
  margin: 0;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-dark);
}

.card__link .icon { width: 18px; height: 18px; }

.card__link:hover { color: var(--primary); }

.card__meta {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: var(--sp-4) 0 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.check-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--primary);
  stroke-width: 2.2;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.split--media-first .split__media { order: -1; }

.split__body > :last-child { margin-bottom: 0; }

.panel {
  padding: var(--sp-6);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-2);
}

.panel--tint { background: var(--primary-tint); box-shadow: none; }

.service-block {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--sp-5);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border);
}

.service-block:first-of-type { padding-top: 0; }
.service-block:last-of-type { border-bottom: 0; padding-bottom: 0; }

.service-block__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(49, 113, 174, 0.26);
}

.service-block:nth-of-type(even) .service-block__icon {
  background: var(--grad-teal);
  box-shadow: 0 10px 20px rgba(15, 155, 142, 0.24);
}

.service-block:nth-of-type(3n) .service-block__icon {
  background: var(--grad-accent);
  color: #3d2a00;
  box-shadow: 0 10px 20px rgba(240, 140, 0, 0.26);
}

.service-block__icon .icon { width: 28px; height: 28px; }

.service-block__body > p { max-width: 72ch; }

.service-block__num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 4px;
}

.service-block h3 { margin-bottom: var(--sp-2); }

.subhead {
  margin: var(--sp-5) 0 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.callout {
  padding: var(--sp-4) var(--sp-5);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--primary-tint);
  font-size: 0.9375rem;
}

.callout p { margin: 0; }

.callout .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: -4px;
  color: var(--primary);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--sp-4);
}

.stat {
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

.stat__label {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
}

.pillar {
  --pillar-accent: var(--primary);
  padding: var(--sp-5);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--pillar-accent);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.pillar:nth-child(3n + 2) { --pillar-accent: var(--accent); }
.pillar:nth-child(3n + 3) { --pillar-accent: var(--teal); }

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(36, 87, 133, 0.16);
}

.pillar .icon {
  width: 46px;
  height: 46px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: var(--sp-3);
}

.pillar:nth-child(3n + 2) .icon {
  background: var(--accent-tint);
  color: #b57f00;
}

.pillar:nth-child(3n + 3) .icon {
  background: var(--teal-tint);
  color: #0b7d73;
}

.pillar h3 { font-size: 1.05rem; }
.pillar p { font-size: 0.9375rem; margin: 0; }

.reveal {
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* L'état masqué n'est appliqué que si JavaScript est disponible */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
/* 8. Partenaires ---------------------------------------------------------- */
.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.partner {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.partner:hover {
  box-shadow: var(--shadow-2);
  border-color: transparent;
}

.partner img {
  width: auto;
  max-width: 140px;
  max-height: 56px;
  object-fit: contain;
  transition: transform 0.25s var(--ease);
}

.partner:hover img {
  transform: scale(1.04);
}

/* 9. Appel à l'action ----------------------------------------------------- */
.cta-band {
  position: relative;
  padding: var(--sp-9) 0;
  background: var(--grad-night);
  color: var(--white);
  overflow: hidden;
}

/* Halo jaune décoratif dans l'angle */
.cta-band::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -70px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 187, 0, 0.45), rgba(255, 187, 0, 0) 68%);
  pointer-events: none;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.16) 1px,
    transparent 0
  );
  background-size: 26px 26px;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--sp-6);
  align-items: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.cta-band p {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* 10. Galerie & visionneuse ---------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
}

.gallery__figure {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery__figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(36, 87, 133, 0.18);
}

.gallery__trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--primary-tint);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery__trigger img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery__trigger:hover img { transform: scale(1.05); }

.gallery__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease);
}

.gallery__trigger:hover .gallery__zoom { transform: scale(1.08); }

.gallery__zoom .icon { width: 18px; height: 18px; }

.gallery__figcaption {
  padding: var(--sp-4) var(--sp-5);
  font-size: 0.875rem;
  line-height: 1.55;
}

.gallery__figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--primary-dark);
}

/* Mosaïque photo « Sur le terrain » ---------------------------------------- */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-auto-rows: minmax(0, 1fr);
  gap: var(--sp-4);
  height: clamp(420px, 50vw, 580px);
}

.photo-tile {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--primary-dark);
  box-shadow: var(--shadow-2);
}

.photo-tile--lead { grid-row: span 2; }

.photo-tile__btn {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  border: 0;
  background: none;
}

.photo-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.photo-tile:hover img { transform: scale(1.05); }

.photo-tile__badge {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.photo-tile__btn .gallery__zoom {
  top: var(--sp-4);
  bottom: auto;
}

.photo-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-6) var(--sp-5) var(--sp-4);
  background: var(--grad-photo);
  color: rgba(255, 255, 255, 0.88);
  pointer-events: none;
}

.photo-tile__caption strong {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--white);
}

.photo-tile__caption span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: rgba(1, 44, 60, 0.94);
  animation: fade-in 0.2s var(--ease);
}

.lightbox[hidden] { display: none; }

.lightbox img {
  width: auto;
  max-width: min(1100px, 92vw);
  max-height: 74vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
}

.lightbox__caption {
  max-width: 70ch;
  margin: 0;
  color: var(--white);
  font-size: 0.875rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* 11. Pied de page -------------------------------------------------------- */
.site-footer {
  background: var(--grad-night);
  border-top: 4px solid var(--accent);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: var(--sp-7);
  padding-top: var(--sp-8);
  padding-bottom: var(--sp-8);
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer__lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.2;
}

.site-footer__lockup span { color: rgba(255, 255, 255, 0.6); }

.site-footer__tagline {
  max-width: 36ch;
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__title {
  margin-bottom: var(--sp-3);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
}

.site-footer__address {
  font-style: normal;
  line-height: 1.9;
}

.site-footer__address a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}

.site-footer__address .icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  padding-bottom: var(--sp-4);
}

.site-footer__bottom p { margin: 0; }

.site-footer__bottom a { color: rgba(255, 255, 255, 0.9); }

/* 12. Formulaire --------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--sp-5);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 18px 15px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field__textarea {
  min-height: 148px;
  resize: vertical;
}

.field__select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23245785' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}

.field__label {
  position: absolute;
  left: 12px;
  top: 15px;
  padding: 0 4px;
  background: var(--white);
  color: var(--grey);
  font-size: 0.9375rem;
  line-height: 1.4;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.18s var(--ease), font-size 0.18s var(--ease),
    color 0.18s var(--ease);
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(3, 86, 174, 0.16);
}

.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field__textarea:focus + .field__label,
.field__textarea:not(:placeholder-shown) + .field__label,
.field__select:focus + .field__label,
.field__select:valid + .field__label {
  transform: translateY(-26px);
  font-size: 0.75rem;
  color: var(--primary);
}

.field__hint {
  margin: 6px 0 0;
  font-size: 0.75rem;
  color: var(--grey);
}

.field__error {
  display: none;
  margin: 6px 0 0;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--error);
}

.field.has-error .field__input,
.field.has-error .field__select,
.field.has-error .field__textarea {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}

.field.has-error .field__error { display: block; }

.field.has-error .field__label { color: var(--error); }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
}

.form__status {
  font-size: 0.8125rem;
  color: var(--grey);
}

.form__status.is-error { color: var(--error); font-weight: 500; }

.form__notice {
  display: flex;
  gap: 10px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--grey);
}

.form__notice .icon {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  color: var(--primary);
}

.form__notice p { margin: 0; }
/* 13. Feedback : snackbar & bouton flottant ------------------------------- */
.snackbar {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: min(560px, calc(100vw - 32px));
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.5;
  box-shadow: var(--shadow-3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 24px);
  transition: opacity 0.25s var(--ease), transform 0.32s var(--ease),
    visibility 0.25s var(--ease);
}

.snackbar.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.snackbar .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.fab {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 95;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-3);
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    background-color 0.2s var(--ease);
}

.fab:hover { background: var(--primary-dark); }

.fab.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.fab .icon { width: 24px; height: 24px; stroke-width: 2; }

/* 14. Pages spécifiques --------------------------------------------------- */
.error-page {
  padding: calc(var(--app-bar-h) + var(--sp-10)) 0 var(--sp-10);
  text-align: center;
}

.error-page__code {
  display: block;
  margin-bottom: var(--sp-2);
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.error-page__title { margin-bottom: var(--sp-3); }

.error-page__text {
  max-width: 54ch;
  margin: 0 auto var(--sp-6);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-7);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.contact-card__row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-3);
  align-items: start;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
}

.contact-card__icon .icon { width: 22px; height: 22px; }

.contact-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.contact-card__value {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--primary-dark);
}

.contact-card__value a { color: var(--primary-dark); }

.contact-card__value a:hover { color: var(--primary); }

.contact-hours {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  font-size: 0.875rem;
}

.contact-hours strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 4px;
}

.map-embed {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--primary-tint);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.map-embed__body {
  display: grid;
  justify-items: center;
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-5);
  text-align: center;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(3, 86, 174, 0.16) 1px,
    transparent 0
  );
  background-size: 22px 22px;
}

.map-embed__body > .icon {
  width: 34px;
  height: 34px;
  color: var(--primary);
}

.map-embed__body p {
  margin: 0;
  font-size: 0.875rem;
  max-width: 44ch;
}

.map-embed__body strong {
  display: block;
  margin-bottom: 4px;
}

.credits-list {
  display: grid;
  gap: var(--sp-4);
  list-style: none;
}

.credit {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
}

.credit img {
  width: 132px;
  height: 92px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.credit h3 {
  margin-bottom: 4px;
  font-size: 0.9375rem;
}

.credit p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.credit a { text-decoration: underline; }

/* Fiche de crédit sans vignette (attribution seule) */
.credit--text {
  grid-template-columns: 1fr;
}

.credit code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--grey);
  word-break: break-word;
}

.text-center { text-align: center; }

.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
/* Étiquette des listes déroulantes : toujours en position haute */
.field--select .field__label {
  transform: translateY(-26px);
  font-size: 0.75rem;
  color: var(--primary);
}

/* 15. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav__link { padding: 0 10px; font-size: 0.875rem; }
  .nav__cta { margin-left: var(--sp-2); }
  .hero__grid { gap: var(--sp-7); }
  .site-footer__grid { gap: var(--sp-6); }
}

@media (max-width: 960px) {
  :root { --app-bar-h: 64px; }

  .nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .brand__logo { height: 34px; }

  .hero { padding-top: calc(var(--app-bar-h) + 40px); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { display: block; }
  .hero .media-frame { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .hero__panel { display: none; }
  .hero__text { max-width: 68ch; }

  .page-hero__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .page-hero__media { aspect-ratio: 16 / 9; }

  .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split--media-first .split__media { order: 0; }

  .contact-grid { grid-template-columns: 1fr; }

  .cta-band__inner { grid-template-columns: 1fr; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }

  .service-block {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .service-block__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
}

@media (max-width: 760px) {
  .container { padding: 0 20px; }

  .section { padding: var(--sp-8) 0; }
  .section--tight { padding: var(--sp-6) 0; }

  .section-head { margin-bottom: var(--sp-6); }

  .page-hero { padding-top: calc(var(--app-bar-h) + 32px); }

  .hero { padding-bottom: var(--sp-8); }

  .form__row { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: 1fr; }

  .photo-mosaic {
    grid-template-columns: 1fr;
    height: auto;
  }

  .photo-tile,
  .photo-tile--lead {
    grid-row: auto;
    aspect-ratio: 16 / 11;
  }

  .credit { grid-template-columns: 1fr; }
  .credit img { width: 100%; height: auto; aspect-ratio: 16 / 9; }

  .cta-band { padding: var(--sp-8) 0; }

  .stats { grid-template-columns: 1fr 1fr; }

  .partners { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .partner { min-height: 88px; }
  .partner img { max-height: 44px; max-width: 110px; }

  .site-footer__grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }

  .map-embed iframe { height: 220px; }

  .fab { right: var(--sp-4); bottom: var(--sp-4); }

  .snackbar { bottom: 80px; }
}

@media (max-width: 420px) {
  .hero__actions .btn,
  .cta-band__actions .btn,
  .error-page__actions .btn { width: 100%; }

  .stats { grid-template-columns: 1fr; }

  .chips { gap: 6px; }
  .chip { font-size: 0.75rem; padding: 6px 12px; }

  .form__foot { align-items: stretch; }
  .form__foot .btn { width: 100%; }
}

/* Accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .partner:hover img,
  .gallery__trigger:hover img { transform: none; }
}

/* 16. Impression ---------------------------------------------------------- */
@media print {
  .app-bar,
  .drawer,
  .scrim,
  .fab,
  .snackbar,
  .anchor-nav,
  .cta-band__actions,
  .skip-link { display: none !important; }

  body { color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero,
  .page-hero { padding-top: var(--sp-5); background: none; }
  .card,
  .feature,
  .panel { box-shadow: none; border: 1px solid #999; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
}
/* == FIN DU FICHIER == */
