/* ========================================
   VARIABLES CSS - COULEURS
   ======================================== */

:root {
  /* Couleurs principales */
  --color-corail: #ff8155;
  --color-sapin: #073535;
  --color-charbon: #121212;
  --color-creme: #fffcfe;

  /* Couleurs secondaires */
  --color-corail-light-1: #FFA88A;
  --color-corail-light-2: #FFCEBD;
  --color-corail-light-3: #FFF4F0;
  --color-sapin-light-1: #5EF3AE;
  --color-sapin-light-2: #BCFADE;
  --color-sapin-light-3: #ECFEF6;
  --color-charbon-light-1: #454545;
  --color-charbon-light-2: #787878;
  --color-charbon-light-3: #ABABAB;
  --color-white: #ffffff;

  /* Variables de grille */
  --grid-columns: 12;
  --gutter: 40px;

  /* Easings premium */
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --ease-snappy: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   RESET ET STYLES GLOBAUX
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: auto; /* Lenis gère le smooth scroll — évite le double-lissage */
}

body {
  background-color: var(--color-creme);
  color: var(--color-charbon);
  font-family: "Parkinsans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: url('../images/Cursor.svg') 16 12, auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  animation: pageFadeIn 0.45s var(--ease-expo) both;
  text-transform: lowercase !important;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

:focus-visible {
  outline: 2px solid var(--color-corail);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&family=Parkinsans:wght@300..800&display=swap");

/* Classes de police */
.hanken-grotesk {
  font-family: "Hanken Grotesk", sans-serif;
}

.parkinsans {
  font-family: "Parkinsans", sans-serif;
}

/* Titres */
h1 {
  font-family: "Parkinsans", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-sapin);
  line-height: 1.12;
}

h2 {
  font-family: "Parkinsans", sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--color-sapin);
  line-height: 1.18;
}

h3 {
  font-family: "Parkinsans", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-sapin);
  line-height: 1.22;
}

h4 {
  font-family: "Parkinsans", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-sapin);
  line-height: 1.28;
}

h5 {
  font-family: "Parkinsans", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-charbon-light-1);
  line-height: 1.35;
}

/* Paragraphes */
p {
  font-family: "Parkinsans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-charbon);
  line-height: 1.72;
}

p small {
  font-family: "Parkinsans", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-charbon-light-1);
}

/* Liens */
a {
  font-family: "Parkinsans", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-creme);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-sapin);
}

.unselectable {
  -webkit-user-select: none; /* Safari, Chrome */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Standard */
  -webkit-touch-callout: none; /* Empêche le glissement sur iOS */
}

/* Etiquette */
.projet-subtitle-a, .projet-subtitle-b, .projet-subtitle-c, .projet-subtitle-d {
  background-color: rgba(255, 129, 85, 0.07);
  border: 1px solid rgba(255, 129, 85, 0.22);
}


/* ========================================
   GRILLE CSS - 12 COLONNES
   ======================================== */

/* Conteneur grille principal */
.grid-container {
  display: grid;
  grid-template-columns: repeat(var(--grid-columns), 1fr);
  column-gap: var(--gutter);
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Classes utilitaires de grille */
.grid-1 { grid-column: span 1; }
.grid-2 { grid-column: span 2; }
.grid-3 { grid-column: span 3; }
.grid-4 { grid-column: span 4; }
.grid-5 { grid-column: span 5; }
.grid-6 { grid-column: span 6; }
.grid-7 { grid-column: span 7; }
.grid-8 { grid-column: span 8; }
.grid-9 { grid-column: span 9; }
.grid-10 { grid-column: span 10; }
.grid-11 { grid-column: span 11; }
.grid-12 { grid-column: span 12; }

/* ========================================
   HEADER GLOBAL
   ======================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 0 var(--gutter);
  backdrop-filter: blur(0px);
  border-bottom: none;
  transition: 0.8s ease;
}

header.scrolled{
backdrop-filter: blur(14px);
background: rgba(255, 255, 255, 0.72);
box-shadow: 0 1px 24px rgba(7, 53, 53, 0.05);
transition: 0.8s ease;
}

/* Conteneur du header */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo a:hover {
  transform: scale(1.08);
}

.logo img {
  height: 50px;
  width: auto;
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}

nav a {
  position: relative;
  color: var(--color-sapin);
  font-family: "Parkinsans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

/* Effet hover sur les liens de navigation */
nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sapin);
  transition: width 0.35s var(--ease-expo);
}

nav a:hover::after {
  width: 100%;
}

/* Lien actif - page courante */
nav a.nav-active {
  font-weight: 600;
}

nav a.nav-active::after {
  width: 100%;
}

/* Icônes sociales */
.social-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-icons a {
  color: var(--color-sapin);
  font-size: 1rem;
  display: flex;
  align-items: center;
  transition: color 0.25s var(--ease-snappy), transform 0.25s var(--ease-snappy);
}

.social-icons a:hover {
  transform: scale(1.1);
}

/* ========================================
   CONTENU PRINCIPAL
   ======================================== */

main {
  margin-top: 100vh;
  width: 100%;
}

/* Hero Section */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding-bottom: 0;
  z-index: 100;
}

/* Canvas en arrière-plan */
.hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Contenu du hero */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
  padding: 0;
  grid-column: 2 / span 6;
}

.hero-content h1 {
  grid-column: 2 / span 5;
  margin-bottom: 1.5rem;
}

.hero-content p {
  grid-column: 2 / span 5;
}

/* Banneau défilant */
.hero-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background-color: var(--color-sapin);
  color: var(--color-white);
  padding: 1.5rem 0;
  overflow-x: hidden;
  white-space: nowrap;
}

.banner-content {
  display: inline-flex;
  gap: 2rem;
  animation: scroll-horizontal 60s linear infinite;
  font-family: "Parkinsans", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  padding-right: 0;
}

.banner-content span.bullet {
  color: var(--color-white);
  margin: 0 0.5rem;
}

@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Scroll Down */
.scroll-down {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  animation: scrollDownBounce 1.8s ease-in-out infinite;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.scroll-down p {
  color: var(--color-sapin);
  font-family: "Parkinsans", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: 1px;
  text-transform: lowercase;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--color-sapin);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.scroll-down:hover .scroll-arrow {
  background-color: var(--color-corail);
  transition: 0.3s ease;
}

.scroll-arrow img {
  height: 18px;
  width: 18px;
  transform: rotate(180deg);
  filter: brightness(0) invert(1);
}

/* Scroll Up Button */
.scroll-up {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-sapin);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Masquer scroll-up quand le menu mobile est ouvert */
body.nav-is-open .scroll-up {
  opacity: 0 !important;
  pointer-events: none;
}

.scroll-up.visible {
  opacity: 1;
  visibility: visible;
  transition: 0.3s ease;
}

.scroll-up:hover {
  transform: translateY(-4px) scale(1.06);
  transition: transform 0.3s var(--ease-snappy), background-color 0.3s ease;
  background-color: var(--color-corail) !important;
}

.scroll-up img {
  height: 24px;
  width: 24px;
  filter: brightness(0) invert(1);
}

@keyframes scrollDownBounce {
  0%, 100% { opacity: 1;    transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.45; transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollArrowDown {
  0%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0.5;
    transform: translateY(8px);
  }
}

/* Barre de progression du scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sapin-light-1) 0%, var(--color-corail) 100%);
  z-index: 99999;
  will-change: width;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scroll-progress.visible {
  opacity: 1;
}

/* Reveal d'en-têtes au scroll */
.heading-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}

.heading-reveal.heading-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section générique */
section {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* ========================================
   SECTION À PROPOS
   ======================================== */

.section-apropos {
  width: 100%;
  background-color: var(--color-creme);
  padding: 200px 0 75px 0;
  position: relative;
  z-index: 500;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
  position: relative;
}

/* Partie gauche - Contenu */
.apropos-left {
  grid-column: 2 / span 5;
  display: grid;
  gap: 1.5rem;
}

.apropos-left h2 {
  display: flex;
  flex-direction: column;
  grid-column: 1 / span 11;
}

.apropos-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  grid-column: 3 / span 9;
}

.apropos-content p {
  color: var(--color-charbon);
}

.apropos-content p strong {
  font-weight: 700;
}

.apropos-content a:hover {
  color: var(--color-sapin-light-2);
}

/* CTA Button */
.cta-button {
  grid-column: 2 / span 4;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
  background-color: var(--color-sapin-light-1);
  color: var(--color-charbon);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0 20px;
  transition: background-color 0.35s var(--ease-expo), transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
  width: fit-content;
  margin-top: 2rem;
}

.cta-button:hover {
  background-color: var(--color-corail-light-2);
  color: var(--color-charbon) !important;
}

.cta-button img {
  height: 20px;
  width: auto;
  transition: transform 0.35s var(--ease-expo);
}

.cta-button:hover img {
  transform: translateX(6px);
}

/* Partie droite - Images */
.apropos-right {
  grid-column: 8 / span 6;
  position: relative;
  height: fit-content;
}

.apropos-main-image {
  max-width: 100%;
  height: 100%;
  z-index: 1;
  will-change: transform;
}

.apropos-main-image.observe-animation {
  opacity: 0;
}

.apropos-main-image.animate-in {
  animation: slideInRight 0.9s var(--ease-expo) 0s forwards;
}

.apropos-virgule {
  position: absolute;
  left: calc((100% / 12) * 5);
  top: -50px;
  width: calc((100% / 12) * 6);
  height: auto;
  z-index: 2;
  will-change: transform;
}

.apropos-virgule.observe-animation {
  opacity: 0;
}

.apropos-virgule.animate-in {
  animation: slideInUp 0.9s var(--ease-expo) 0.1s forwards;
}

.apropos-isotype {
  position: absolute;
  left: 50px;
  bottom: 100px;
  width: calc((100% / 12) * 2);
  height: auto;
  z-index: 3;
  will-change: transform;
}

.apropos-isotype.observe-animation {
  opacity: 0;
}

.apropos-isotype.animate-in {
  animation: fadeIn 0.9s var(--ease-expo) 0.2s forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========================================
   SECTION EXPERTISE
   ======================================== */

.section-expertise {
  width: 100%;
  background-color: var(--color-creme);
  padding: 0;
  padding-bottom: 100vh;
  position: relative;
  z-index: 500;
}

/* Titre principal centré */
.expertise-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 150px 0 100px 0;
  width: 100%;
}

.expertise-header h3 {
  text-align: center;
  max-width: 60%;
}

/* Items expertise */
.expertise-item {
  width: 100%;
  padding: 100px var(--gutter);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
  position: sticky;
  top: 80px;
  overflow: hidden;
}

.expertise-item.expertise-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Z-index croissants pour l'empilement visuel des cartes sticky */
.expertise-item-1 { z-index: 1; }
.expertise-item-2 { z-index: 2; }
.expertise-item-3 { z-index: 3; }
.expertise-item-4 { z-index: 4; }

.expertise-item-1,
.expertise-item-3 {
  background: linear-gradient(180deg, var(--color-creme) 0%, var(--color-corail-light-2) 100%);
}

.expertise-item-2,
.expertise-item-4 {
  background: linear-gradient(180deg, var(--color-creme) 0%, var(--color-sapin-light-2) 100%);
}

/* Watermark typographique */
.expertise-item::before {
  position: absolute;
  bottom: -0.2em;
  right: -0.04em;
  font-family: "Parkinsans", sans-serif;
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 0;
}

.expertise-item-1::before { content: "branding";  color: var(--color-corail); opacity: 0.1; }
.expertise-item-2::before { content: "graphisme"; color: var(--color-sapin);  opacity: 0.05; }
.expertise-item-3::before { content: "motion";    color: var(--color-corail); opacity: 0.1; }
.expertise-item-4::before { content: "webdesign"; color: var(--color-sapin);  opacity: 0.05; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
  position: relative;
  z-index: 1;
}

.expertise-left {
  grid-column: 3 / span 3;
}

.expertise-left h3 {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-charbon);
  line-height: 1.3;
}

.expertise-right {
  grid-column: 7 / span 4;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expertise-right p {
  color: var(--color-charbon);
  line-height: 1.6;
}

.expertise-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-sapin);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  width: fit-content;
  transition: transform 0.35s var(--ease-expo), color 0.3s ease;
}

.expertise-link:hover {
  transform: translateX(3px);
}

/* Soulignement au hover comme la nav */
.expertise-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-sapin);
  transition: width 0.35s var(--ease-expo);
}

.expertise-link:hover::after {
  width: 100%;
}

.expertise-link img {
  height: 20px;
  width: auto;
  transition: transform 0.35s var(--ease-expo);
}

.expertise-link:hover img {
  transform: translateX(6px);
}

/* ========================================
   SECTION DERNIER PROJET
   ======================================== */

.section-dernier-projet {
  width: 100%;
  background-color: var(--color-creme);
  padding: 150px 0;
  position: relative;
  z-index: 501;
  margin-top: -100vh;
}

.dernier-projet-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
}

.dernier-projet-container > h2 {
  grid-column: 3 / -1;
  margin-bottom: 3rem;
}

.dernier-projet-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
  align-items: center;
}

/* Partie gauche - Images */
.dernier-projet-left {
  grid-column: 1 / span 7;
  position: relative;
  grid-column: 3 / span 5;
  display: flex;
  flex-direction: column;
}

.dernier-projet-left::after {
  display: none;
}

.dernier-projet-images {
  max-width: 100%;
  height: 100%;
}

.dernier-projet-images-container {
  position: relative;
}

.dernier-projet-main-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 0 0 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  z-index: 1;
}

.dernier-projet-main-image.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.dernier-projet-parallax-image {
  position: absolute;
  width: 30%;
  left: -60px;
  bottom: 100px;
  height: auto;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  z-index: 2;
}

.dernier-projet-parallax-image.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Partie droite - Texte */
.dernier-projet-right {
  grid-column: 8 / span 4;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.titles_projets p {
  padding-top: 10px;
}

.dernier-projet-right h4 {
  text-transform: lowercase;
  line-height: 1.3;
  transition: color 0.3s ease;
  cursor: pointer;
}

.dernier-projet-title-link {
  display: block;
  width: fit-content;
}

.dernier-projet-title-link h4 {
  color: var(--color-sapin);
}

.dernier-projet-title-link:hover h4 {
  color: var(--color-corail);
}

.dernier-projet-image-link {
  display: block;
  overflow: hidden;
  position: relative;
}

/* Overlay hover image cross-fade */
.img-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease-quart);
  z-index: 1;
  pointer-events: none;
  display: block;
  border-radius: 0 0 0 20px;
}

.img-hover-overlay.is-visible {
  opacity: 1;
}

.dernier-projet-image-link .dernier-projet-main-image {
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  cursor: pointer;
}

.dernier-projet-right p {
  color: var(--color-charbon);
  line-height: 1.6;
  margin: 0;
}

.projet-subtitle {
  color: var(--color-charbon-light-1) !important;
  font-size: 0.68rem !important;
  line-height: 1;
  margin: 0;
  font-weight: 500;
  margin-top: 12px !important;
  display: flex;
  gap: 6px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.projet-subtitle span {
  padding: 0.28rem 0.6rem;
  border-radius: 0 0 0 5px;
}

.projet-subtitle span:last-child {
  margin-right: 0 !important;
}

/* CTA Global */
.dernier-projet-cta {
  grid-column: 6 / span 6;
  margin-top: 0;
}

/* ========================================
   SECTION NOS CLIENTS
   ======================================== */

.section-nos-clients {
  width: 100%;
  background-color: var(--color-creme);
  padding: 100px 0 100px 0;
  position: relative;
  z-index: 600;
}

.section-nos-clients h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    row-gap: 1rem;
    column-gap: var(--gutter);
    width: 60%;
    margin: auto;
    padding: 0 var(--gutter);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  opacity: 0;
  transform: translateY(40px);
}

.client-logo.client-animate {
  animation: slideInUp 0.6s ease-out forwards;
}

.client-logo.client-animate:nth-child(1) { animation-delay: 0.1s; }
.client-logo.client-animate:nth-child(2) { animation-delay: 0.2s; }
.client-logo.client-animate:nth-child(3) { animation-delay: 0.3s; }
.client-logo.client-animate:nth-child(4) { animation-delay: 0.4s; }
.client-logo.client-animate:nth-child(5) { animation-delay: 0.5s; }
.client-logo.client-animate:nth-child(6) { animation-delay: 0.3s; }
.client-logo.client-animate:nth-child(7) { animation-delay: 0.4s; }
.client-logo.client-animate:nth-child(8) { animation-delay: 0.5s; }
.client-logo.client-animate:nth-child(9) { animation-delay: 0.6s; }
.client-logo.client-animate:nth-child(10) { animation-delay: 0.7s; }
.client-logo.client-animate:nth-child(11) { animation-delay: 0.5s; }
.client-logo.client-animate:nth-child(12) { animation-delay: 0.6s; }
.client-logo.client-animate:nth-child(13) { animation-delay: 0.7s; }
.client-logo.client-animate:nth-child(14) { animation-delay: 0.8s; }
.client-logo.client-animate:nth-child(15) { animation-delay: 0.9s; }

.client-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.9);
  opacity: 0.5;
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
}

.client-logo:hover img {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.08);
}

/* ========================================
   SECTION TESTIMONIAUX
   ======================================== */

.section-testimoniaux {
  width: 100%;
  background: linear-gradient(160deg, var(--color-sapin-light-3) 0%, var(--color-sapin-light-2) 100%);
  padding: 90px var(--gutter);
  position: relative;
  z-index: 500;
}

.section-testimoniaux h2 {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--color-sapin);
  letter-spacing: 0.02em;
}

.carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: calc(100% + 2 * var(--gutter));
  max-width: calc(100% + 2 * var(--gutter));
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  overflow: visible;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  /* Container avec débordement masqué pour le vrai loop */
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: none;
  will-change: transform;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  /* Pas de transition par défaut, sera ajoutée dynamiquement */
}

.carousel-track.is-dragging {
  cursor: grabbing;
}

.carousel-track img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.testimonial-card {
  flex: 0 0 500px;
  background-color: var(--color-white);
  border: 1px solid rgba(7, 53, 53, 0.07);
  border-radius: 0 0 0 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: scale(0.9);
  transition: transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
  box-shadow: 0 2px 10px rgba(7, 53, 53, 0.06);
}

.testimonial-card.active {
  transform: scale(1);
  box-shadow: 0 4px 15px rgba(7, 53, 53, 0.03)
}

.testimonial-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
}


.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background-color: var(--color-charbon-light-3);
  box-shadow: 0 0 0 2px var(--color-corail);
}

.testimonial-info {
  flex: 1;
      align-self: center;
}

.testimonial-info h5 {
  font-size: 1.3rem;
  color: var(--color-sapin);
  margin: 0;
  font-weight: 600;
}

.testimonial-info p {
  font-size: 0.8rem;
  color: var(--color-charbon-light-1);
  margin: 0.15rem 0 0 0;
}

.testimonial-quote-icon {
    width: 17%;
    height: auto;
    flex-shrink: 0;
    position: absolute;
    right: 10px;
    top: 10px;
    opacity: 0.5;
}

.testimonial-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-corail) 0%, var(--color-corail) 100%);
  position: relative;
}


.testimonial-text {
  font-family: "Parkinsans", sans-serif;
  color: var(--color-charbon);
  line-height: 1.6;
  margin: 0;
  min-height: 100px;
}

/* Indicateurs du carrousel */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-charbon-light-3);
  cursor: pointer;
  transition: all 0.4s var(--ease-expo);
  border: 2px solid transparent;
}

.indicator.active {
  background-color: var(--color-corail);
  width: 32px;
  border-radius: 6px;
}

.indicator:hover {
  background-color: var(--color-charbon-light-2);
}

/* Boutons de navigation */
.carousel-btn {
  display: none;
}

/* ========================================
   SECTION CONTACT
   ======================================== */

.section-contact {
  width: 100%;
  padding: 100px var(--gutter);
  background-color: var(--color-sapin-light-3);
  background-image: url('../images/Lignes_BG.svg');
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  background-size: max-width 30%;
  position: sticky;
  bottom: 0;
  z-index: 200;
}

.section-contact .section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
  position: relative;
}

.contact-content {
  grid-column: 2 / span 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.contact-content h2 {
  color: var(--color-sapin);
  margin: 0;
}

.contact-content p {
  color: var(--color-charbon);
  line-height: 1.6;
  margin: 0;
}

.contact-link {
  color: var(--color-corail);
  font-weight: 700;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  width: fit-content;
}

.contact-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-corail);
  transition: width 0.35s var(--ease-expo);
}

.contact-link:hover::after {
  width: 100%;
}

.contact-link:hover {
  color: var(--color-corail);
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  width: 100%;
  margin-top: 0;
  position: sticky;
  bottom: 0;
  z-index: 155;
}

/* Partie 1 : Sapin background */
.footer-part-1 {
  width: 100%;
  background-color: var(--color-sapin);
  padding: 60px var(--gutter);
  position: relative;
  z-index: 1;
  /* z-index est relatif au stacking context du footer (z-index: 600) */
}

.footer-part-1 .section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
  padding: 40px 0;
}

/* Colonne gauche : Logo + texte */
.footer-left {
  grid-column: 2 / span 4;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 75px;
  width: auto;
}

.footer-left h3 {
  color: var(--color-creme);
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0;
}

/* Colonne droite : Menu + icônes */
.footer-right {
  grid-column: 6 / span 6;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

/* Menu footer sur 2 colonnes */
.footer-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  flex: 1;
      align-items: flex-start;
}

.footer-menu-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-menu a {
  color: var(--color-white);
  font-family: "Parkinsans", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  width: fit-content;
}

.footer-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition: width 0.35s var(--ease-expo);
}

.footer-menu a:hover {
  color: var(--color-white);
}

.footer-menu a:hover::after {
  width: 100%;
}

/* Icônes sociales footer */
.footer-social {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-social a {
  color: var(--color-white);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-social a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition: width 0.35s var(--ease-expo);
}

.footer-social a:hover {
  color: var(--color-white);
}

.footer-social a:hover::after {
  width: 100%;
}

.footer-social a:hover::after {
  width: 100%;
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

/* Partie 2 : Charbon background - Copyright */
.footer-part-2 {
  width: 100%;
  background-color: var(--color-charbon);
  padding: 20px var(--gutter);
  position: relative;
  z-index: 1;
  /* z-index est relatif au stacking context du footer (z-index: 600) */
}

.footer-copyright-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  width: 100%;
}

.footer-part-2 p {
  grid-column: 1 / span 12;
  color: var(--color-charbon-light-3);
  font-size: 0.7rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ========================================
   BANDEAU COOKIES (RGPD)
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  background-color: var(--color-creme);
  border: 1px solid rgba(7, 53, 53, 0.1);
  border-radius: 0 0 0 16px;
  box-shadow: 0 4px 24px rgba(7, 53, 53, 0.12);
  padding: 1.25rem 1.5rem;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--color-charbon);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.cookie-banner a {
  color: var(--color-corail);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
  text-decoration-color: var(--color-corail-light-2);
  transition: color 0.3s ease;
}

.cookie-banner a:hover {
  color: var(--color-corail);
  text-decoration-color: var(--color-corail);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-banner-btn {
  padding: 0.5rem 1.1rem;
  font-family: "Parkinsans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 0 0 0 8px;
  transition: background-color 0.25s ease, color 0.25s ease;
  line-height: 1;
}

.cookie-btn-accept {
  background-color: var(--color-sapin);
  color: var(--color-creme);
}

.cookie-btn-accept:hover {
  background-color: var(--color-sapin-light-1);
  color: var(--color-charbon);
}

.cookie-btn-refuse {
  background-color: transparent;
  color: var(--color-charbon-light-2);
  border: 1px solid var(--color-charbon-light-3);
}

.cookie-btn-refuse:hover {
  background-color: var(--color-corail);
  border: 1px solid var(--color-corail);
  color: var(--color-creme);
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* ========================================
   Section Conclusion (partagée)
   ======================================== */

.section-conclusion {
  padding: 80px 0;
  position: relative;
  z-index: 500;
  background: var(--color-sapin);
}

.section-conclusion p {
  grid-column: 3 / span 8;
  font-size: 1.5rem;
  text-align: center;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-creme);
}

.section-conclusion p strong {
  color: var(--color-corail);
}

.section-conclusion .section-grid-CTA {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 40px 0;
}

@media (max-width: 1024px) {
  .section-conclusion p {
    grid-column: 2 / span 10;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-conclusion .section-grid-CTA {
    flex-direction: column;
    align-items: center;
  }

  .section-conclusion .section-grid-CTA .cta-button {
    width: fit-content;
    justify-content: center;
  }

  .section-conclusion p {
    grid-column: 2 / span 10;
    font-size: 1rem;
  }
}


/* ============================================================
   RESPONSIVE SYSTEM — TRAME VIVE
   Breakpoints définis et justifiés :
   └─ 2xl  ≥ 1536px   Large Desktop (aération maximale)
   └─ xl   1280–1535px Desktop standard (design cible)
   └─ lg   1024–1279px Laptop (ajustements mineurs de grille)
   └─ md   768–1023px  Tablette (recomposition des grilles)
   └─ sm   480–767px   Mobile (empilement logique et lisible)
   └─ xs   < 480px     Petit mobile (resserrement supplémentaire)
   ============================================================ */

/* ── Variables — gouttière adaptée par breakpoint ── */

@media (max-width: 1279px) { :root { --gutter: 32px; } }
@media (max-width: 1023px) { :root { --gutter: 24px; } }
@media (max-width: 767px)  { :root { --gutter: 24px; } }
@media (max-width: 479px)  { :root { --gutter: 20px; } }

/* ── Large Desktop ≥ 1536px — aération éditoriale ── */

@media (min-width: 1536px) {
  .hero-content h1      { grid-column: 2 / span 5; }
  .hero-content p       { grid-column: 2 / span 5; }
  .expertise-header h3  { max-width: 50%; }
  .section-apropos      { padding: 240px 0 100px; }
  .section-dernier-projet { padding: 180px 0; }
}

/* ── Bouton hamburger — caché par défaut ── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 10001;
  border-radius: 0 0 0 8px;
  transition: background-color 0.25s ease;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background-color: rgba(7, 53, 53, 0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-sapin);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-expo), opacity 0.25s ease, width 0.3s ease;
  transform-origin: center;
}

.nav-toggle span:nth-child(3) {
  width: 22px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  width: 22px;
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  width: 22px;
}

/* ── Menu mobile overlay — injecté dans <body> via JS ── */

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-creme);
  z-index: 9997;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 90px var(--gutter) 60px;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-expo);
  pointer-events: none;
}

.mobile-nav-overlay.is-open {
  transform: translateX(0);
  pointer-events: all;
}

@media (min-width: 1024px) {
  .mobile-nav-overlay { display: none !important; }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mobile-nav-links a {
  font-family: "Parkinsans", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-sapin);
  text-decoration: none;
  line-height: 1.15;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(7, 53, 53, 0.08);
  width: 100%;
  display: block;
  transition: color 0.25s ease, transform 0.28s var(--ease-expo);
}

.mobile-nav-links a::after {
  display: none;
}

.mobile-nav-links a:hover {
  color: var(--color-corail);
  transform: translateX(8px);
}

.mobile-nav-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: center;
}

.mobile-nav-social a {
  color: var(--color-sapin);
  font-size: 1rem;
  display: flex;
  align-items: center;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-nav-social a:hover {
  color: var(--color-corail);
  transform: scale(1.1);
}

.mobile-nav-social svg {
  width: 28px;
  height: 28px;
}

/* Lien actif dans le menu mobile — couleur corail */
.mobile-nav-links a.nav-active {
  color: var(--color-corail);
}

/* ── Laptop 1024–1279px — ajustements mineurs de grille ── */

@media (max-width: 1279px) {

  /* Hero index */
  .hero-content h1 { grid-column: 2 / span 6; font-size: 2.2rem; }
  .hero-content p  { grid-column: 2 / span 6; }

  /* Section à propos */
  .apropos-left  { grid-column: 2 / span 5; }
  .apropos-right { grid-column: 8 / span 5; }

  /* Expertise home */
  .expertise-header h3 { max-width: 70%; }
  .expertise-left      { grid-column: 2 / span 4; }
  .expertise-right     { grid-column: 7 / span 5; }

  /* Dernier projet */
  .dernier-projet-container > h2 { grid-column: 2 / -1; }
  .dernier-projet-left           { grid-column: 2 / span 5; }
  .dernier-projet-right          { grid-column: 8 / span 4; }
  .dernier-projet-cta            { grid-column: 5 / span 7; }

  /* Section clients */
  .clients-grid { width: 75%; }

  /* Footer */
  .footer-left  { grid-column: 2 / span 3; }
  .footer-right { grid-column: 6 / span 6; }
}

/* ── Tablet 768–1023px — recomposition des grilles ── */

@media (max-width: 1023px) {

  /* Header : masquer nav desktop, révéler hamburger */
  header nav      { display: none; }
  .nav-toggle   { display: flex; }

  /* Nav burger — plus de marge gauche sur tablette */
  .mobile-nav-overlay { padding: 90px 60px 60px; }

  /* Typographie tablette */
  h1 { font-size: 2.1rem;    }
  h2 { font-size: 1.9rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.5rem !important; }

  /* Hero index */
  .hero-content h1 { grid-column: 2 / span 8; font-size: 2.5rem; }
  .hero-content p  { grid-column: 2 / span 8; }

  /* Section à propos (home) */
  .section-apropos { padding: 140px 0 60px; }
  .apropos-left    { grid-column: 2 / span 10; order: 1; margin-bottom: 3rem; }
  .apropos-right   { grid-column: 2 / span 10; order: 2; }

  .section-equipe {
      padding: 80px 0 0 !important;
  }
.equipe-header {
    padding: 0 var(--gutter) !important;
}

.section-conclusion .cta-button {
  margin-top: 0 !important;
}

.section-conclusion .section-grid-CTA {
    margin: 40px 0 0 0;
    flex-wrap: wrap;
}

  /* Expertise home — cartes sticky */
  .expertise-header       { padding: 100px 0 60px; }
  .expertise-header h3    { max-width: 80%; }
  .expertise-item         { padding: 80px var(--gutter); }
  .expertise-left         { grid-column: 2 / span 10; margin-bottom: 2rem; }
  .expertise-right        { grid-column: 2 / span 10; }

  .section-grid-expertise {
    margin-bottom: 1rem !important;
  }
  /* Dernier projet (home) */
  .section-dernier-projet        { padding: 100px 0; }
  .dernier-projet-container > h2 { grid-column: 2 / span 10; }
  .dernier-projet-left           { grid-column: 3 / span 9; order: 1; margin-bottom: 2.5rem; }
  .dernier-projet-right          { grid-column: 2 / span 10; order: 2; }
  .dernier-projet-parallax-image { left: -40px; }
  .dernier-projet-cta            { grid-column: 2 / span 10; order: 3; }

  /* Section clients */
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    width: 85%;
  }

  /* Testimoniaux */
  .section-testimoniaux    { padding: 70px var(--gutter); }
  .section-testimoniaux h2 { margin-bottom: 2.5rem; }

  /* Section contact (home) */
  .contact-content { grid-column: 2 / span 10; }

  /* Footer */
  .footer-part-1 .section-grid { row-gap: 3rem; }
  .footer-left  { grid-column: 2 / span 10; order: 1; }
  .footer-right { grid-column: 2 / span 10; order: 2; flex-direction: column; gap: 2.5rem; }
}

/* ── Mobile 480–767px — empilement lisible et pensé ── */

@media (max-width: 767px) {

  /* Header */
  .header-content { height: 60px; }
  .logo img       { height: 38px; }

  /* Typographie mobile */
  h1 { font-size: 1.8rem;  line-height: 1.15; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.1rem;  }
  p  { font-size: 0.95rem; }

  /* Hero h1 — taille unifiée 1.8rem sur tous les heroes en mobile */
  .hero-content h1,
  .hero-projets-content h1,
  .hero-apropos-content h1,
  .hero-expertises-content h1 { font-size: 1.8rem; }

  /* Hero index */
  .hero-content h1 { grid-column: 2 / span 10; }
  .hero-content p  { grid-column: 2 / span 10; }
  .hero-banner     { padding: 1rem 0; }
  .banner-content  { font-size: 0.875rem; gap: 1.25rem; }
  .scroll-down     { bottom: 80px; }

  /* Section à propos (home) */
  .section-apropos  { padding: 100px 0 50px; }
  .apropos-virgule  { left: 35%; top: -25px; }
  .apropos-isotype  { left: 16px; bottom: 40px; width: 10%; }

  /* Expertise home — sticky maintenu sur mobile (top = hauteur header mobile) */
  .expertise-header    { padding: 80px 0 50px; }
  .expertise-header h3 { max-width: 88%; }
  .expertise-item      { padding: 60px var(--gutter); top: 60px; }
  .expertise-left h3   { font-size: 1.25rem; }

  /* Dernier projet (home) */
  .section-dernier-projet        { padding: 75px 0; margin-top: -100vh; }
  .dernier-projet-parallax-image { display: none; }

  /* Section clients */
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    width: 90%;
    row-gap: 0.5rem;
  }

  /* Testimoniaux */
  .section-testimoniaux { padding: 60px var(--gutter); }
  .testimonial-card     { flex: 0 0 90vw; }
  .testimonial-avatar   { display: none; }

  /* Section contact (home) — sticky maintenu */
  .section-contact { padding: 70px var(--gutter); position: sticky; bottom: 0; }
  .contact-content { grid-column: 1 / -1; }

  /* Footer */
  .footer-part-1   { padding: 50px var(--gutter); }
  .footer-left     { grid-column: 1 / -1; }
  .footer-right    { grid-column: 1 / -1; }
  .footer-logo img { height: 50px; }
  .footer-left h3  { font-size: 0.95rem; }
  .footer-menu     { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }

  /* Scroll-up */
  .scroll-up { bottom: 20px; right: 16px; width: 40px; height: 40px; }

  /* CTA dernier projet — sous la colonne texte, aligné à gauche */
  .dernier-projet-cta {
    grid-column: 3 / span 10;
    order: 3;
    display: flex;
    justify-content: flex-start;
    margin-top: 2rem;
  }
}
/* ── Mobile XS < 480px — resserrement supplémentaire ── */

@media (max-width: 479px) {
  h1 { font-size: 1.8rem !important;}
  h2 { font-size: 1.6rem;  }
  h3 { font-size: 1.3rem;  }
  h4 { font-size: 1.5rem;  }

  .hero-content h1 { grid-column: 1 / -1; padding: 0 var(--gutter); }
  .hero-content p  { grid-column: 1 / -1; padding: 0 var(--gutter); }


.section-grid-expertise {
    margin-bottom: 0 !important;
}

.section-equipe {
    padding: 50px 0 0 0 !important;
}

.equipe-header {
  padding: 0 var(--gutter) !important;
}
.apropos-content {
    grid-column: 2 / span 9; }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 88%;
  }

  .footer-menu { grid-template-columns: 1fr; gap: 0.75rem 0; }
}