/* ============================================================
   AURÉLIE TIERCIN — Feuille de style principale
   Version 2.0 — 2026
   ============================================================ */

/* ————————————————————————
   0. POLICES — chargées via <link> dans le <head> (plus rapide qu'@import)
   ———————————————————————— */

/* Accessible — visible pour Google, invisible à l'écran */
.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;
}

/* ————————————————————————
   1. VARIABLES CSS
   ———————————————————————— */
:root {
  --primary:        #00a99d;
  --primary-light:  #e6f7f6;
  --primary-dark:   #008a7e;
  --primary-hover:  #009990;
  --white:          #ffffff;
  --gray-50:        #f9fafb;
  --gray-100:       #f3f4f6;
  --gray-200:       #e5e7eb;
  --gray-400:       #9ca3af;
  --text-dark:      #1a1a2e;
  --text-medium:    #4b5563;
  --text-light:     #9ca3af;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Nunito', 'Segoe UI', sans-serif;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      24px;
  --radius-xl:      40px;
  --shadow-sm:      0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:      0 6px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg:      0 12px 48px rgba(0, 169, 157, 0.14);
  --transition:     all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:      1200px;
  --section-py:     90px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ————————————————————————
   3. TYPOGRAPHIE
   ———————————————————————— */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-medium);
  max-width: 560px;
  line-height: 1.75;
}

.section-header {
  margin-bottom: 56px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ————————————————————————
   4. BOUTONS
   ———————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--primary-light);
}

/* ————————————————————————
   5. NAVIGATION
   ———————————————————————— */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img.logo-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.nav-logo img.logo-text {
  height: 32px;
  width: auto;
}

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

.nav-links a {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
}

#navbar.scrolled .nav-links a {
  color: var(--text-dark);
}

#navbar.scrolled .nav-toggle span {
  background: var(--text-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Lien de la page active — vert sur pages intérieures et navbar scrollée */
body:has(.page-hero) #navbar .nav-links a.active,
#navbar.scrolled .nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: rgba(0,0,0,0.28);
  border: none;
  border-radius: 6px;
  padding: 9px 10px;
  transition: background 0.2s ease;
}

#navbar.scrolled .nav-toggle {
  background: rgba(0,0,0,0.08);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .nav-toggle span {
  background: var(--text-dark);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-mobile.active {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

/* Masquer le burger quand le menu overlay est ouvert */
.nav-toggle.open {
  opacity: 0;
  pointer-events: none;
}

.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-dark);
}

.nav-mobile a:hover {
  color: var(--primary);
}

.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* ————————————————————————
   6. HERO — pleine largeur bannière
   ———————————————————————— */
#hero {
  height: 100vh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.58) 100%);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 24px;
  width: 100%;
}

.hero-logo-img {
  height: clamp(112px, 15vw, 210px);
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 20px rgba(0,0,0,0.3));
  margin-bottom: 8px;
}

/* Hero services texte — colonnes sur mobile */
.hero-services-text {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 6px;
}
.hero-services-text .sep { opacity: 0.6; }

.hero-services-text {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.98);
  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.btn-hero {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  padding: 16px 40px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.btn-hero:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,169,157,0.35);
}

/* ————————————————————————
   7. SERVICES
   ———————————————————————— */
#services {
  padding: var(--section-py) 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-6px);
}

/* En-tête de carte service : icône + titre côte à côte */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.service-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: none;
  transition: var(--transition);
}

.service-card:hover .service-icon img {
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-bottom: 0;
  line-height: 1.2;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.75;
  margin-bottom: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ————————————————————————
   8. À PROPOS
   ———————————————————————— */
#apropos {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.apropos-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.apropos-image {
  position: relative;
}

.apropos-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.apropos-image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.apropos-deco {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 160px;
  height: 160px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.apropos-deco-2 {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  opacity: 0.2;
  z-index: -1;
}

.apropos-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 12px 20px;
  box-shadow: var(--shadow-md);
  position: absolute;
  top: 32px;
  right: -20px;
}

.apropos-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1;
}

.apropos-badge .badge-label {
  font-size: 0.75rem;
  color: var(--text-medium);
  line-height: 1.3;
  max-width: 80px;
}

.apropos-content .section-subtitle {
  margin-bottom: 32px;
}

#apropos .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

#contact .section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.apropos-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.apropos-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.apropos-feature .feat-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.apropos-feature .feat-icon svg {
  color: var(--primary);
}

.apropos-feature p {
  font-size: 0.95rem;
  color: var(--text-medium);
}

/* ————————————————————————
   9. ILS M'ONT FAIT CONFIANCE
   ———————————————————————— */
#confiance {
  padding: var(--section-py) 0;
  background: var(--white);
}

.clients-wrapper {
  position: relative;
  overflow: hidden;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-grid.collapsed {
  max-height: 200px;
  overflow: hidden;
}

.clients-grid.expanded {
  max-height: 2000px;
}

/* Gradient fade au bas quand collapsed */
.clients-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.clients-grid.expanded + .clients-fade {
  opacity: 0;
}

.client-logo-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/2;
  transition: var(--transition);
}

.client-logo-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: scale(1.03);
}

.client-logo-item img {
  max-height: 56px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: var(--transition);
}

.client-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.clients-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.clients-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.clients-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.clients-toggle .chevron {
  display: inline-flex;
  transition: transform 0.4s ease;
}

.clients-toggle.open .chevron {
  transform: rotate(180deg);
}

/* ————————————————————————
   10. TÉMOIGNAGES
   ———————————————————————— */
#temoignages {
  padding: var(--section-py) 0;
  background: var(--primary-light);
}

.temoignages-slider {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.temoignages-track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.temoignage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: calc(50% - 14px);
  min-width: calc(50% - 14px);
  max-width: calc(50% - 14px);
  box-shadow: var(--shadow-sm);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.temoignage-quote {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--primary);
  line-height: 0.5;
  margin-bottom: 20px;
  opacity: 0.3;
}

.temoignage-texte {
  font-size: 0.97rem;
  color: var(--text-medium);
  line-height: 1.85;
  margin-bottom: 28px;
  font-style: italic;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.temoignage-client {
  display: flex;
  align-items: center;
  gap: 12px;
}

.temoignage-avatar {
  display: none;
}

.temoignage-client strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

/* Contrôles slider */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dark);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ————————————————————————
   11. CONTACT
   ———————————————————————— */
#contact {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-subtitle {
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item-text p {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-item-text a,
.contact-item-text span {
  font-size: 0.97rem;
  color: var(--text-dark);
  font-weight: 400;
}

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

.contact-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.social-btn:hover img {
  filter: brightness(0) invert(1);
}

/* Formulaire */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--gray-50);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.1);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

/* RGPD checkbox */
.form-rgpd { margin-bottom: 16px; }
.rgpd-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-medium);
  cursor: pointer;
  line-height: 1.5;
}
.rgpd-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}
.rgpd-label a { color: var(--primary); text-decoration: underline; }
.required-star { color: #dc2626; font-weight: 700; margin-left: 2px; }
.rgpd-error { color: #dc2626; font-size: 0.82rem; margin-top: 6px; display: none; }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

.form-message {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
}

/* ————————————————————————
   12. FOOTER
   ———————————————————————— */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-tagline {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 20px;
  padding-top: 20px;
  text-align: center;
}

.footer-tagline p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ————————————————————————
   BANDEAU COOKIES
   ———————————————————————— */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a2e;
  color: #fff;
  z-index: 9999;
  padding: 18px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.cookie-inner p strong { color: #fff; }
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 22px;
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn-accept { background: var(--primary); color: #fff; }
.cookie-btn-refuse { background: rgba(255,255,255,0.12); color: #fff; }

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-buttons { justify-content: center; }
}

/* ————————————————————————
   13. ANIMATIONS SCROLL
   ———————————————————————— */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ————————————————————————
   14. PAGE SECONDAIRE — HERO COMPACT
   ———————————————————————— */
.page-hero {
  padding: 140px 0 72px;
  background: var(--gray-50);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--primary-light) 0%, transparent 70%);
  opacity: 0.5;
}

.page-hero .breadcrumb {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

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

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

/* ————————————————————————
   15. PAGE SERVICES (secondaire)
   ———————————————————————— */
.services-detail {
  padding: var(--section-py) 0;
}

.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
  align-items: center;
  margin-bottom: 100px;
}

.service-detail-block:last-child {
  margin-bottom: 0;
}

.service-detail-block.reverse {
  direction: rtl;
}

.service-detail-block.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 360px;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail-content .service-detail-icon {
  width: 68px;
  height: 68px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-detail-content .service-detail-icon img {
  width: 36px;
  object-fit: contain;
}

.service-detail-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.service-detail-content .intro {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-detail-content h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 14px;
}

.prestations-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.prestations-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.prestations-list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ————————————————————————
   16. PAGE QUI SUIS-JE (secondaire)
   ———————————————————————— */
.about-content {
  padding: var(--section-py) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.about-image-col {
  position: sticky;
  top: 100px;
}

.about-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
  aspect-ratio: 3/4;
}

.about-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.about-stat {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.about-stat .stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat .stat-label {
  font-size: 0.8rem;
  color: var(--text-medium);
  line-height: 1.3;
}

.about-text-col h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 24px;
}

.about-text-col p {
  font-size: 0.97rem;
  color: var(--text-medium);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ————————————————————————
   17. PAGE PORTFOLIO
   ———————————————————————— */
.portfolio-section {
  padding: var(--section-py) 0;
}

.portfolio-construction {
  text-align: center;
  padding: 80px 20px;
}

.portfolio-construction .construction-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}

.portfolio-construction h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.portfolio-construction p {
  font-size: 1rem;
  color: var(--text-medium);
}

/* ————————————————————————
   18. RESPONSIVE
   ———————————————————————— */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  /* hero-inner pas de grid sur desktop donc on conserve flex column */
  .services-grid { gap: 20px; }
  .apropos-inner { gap: 48px; }
  .contact-inner { gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }

  .service-detail-block { gap: 48px; }
  .about-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .temoignage-card { min-width: calc(100% - 14px); }
  .clients-grid { grid-template-columns: repeat(4, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablette portrait + mobile : hamburger */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-logo img.logo-text { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 60px; }

  /* Hero bannière */
  .hero-logo-img { height: 119px; }
  .hero-services-text { flex-direction: column; gap: 2px; font-size: 0.8rem; letter-spacing: 0.12em; }
  .hero-services-text .sep { display: none; }

  /* Sections */
  .services-grid { grid-template-columns: 1fr; }
  .apropos-inner { grid-template-columns: 1fr; }
  .apropos-image { display: block; }
  .apropos-image-frame img { max-height: 340px; object-fit: cover; object-position: top; }
  .apropos-deco, .apropos-deco-2 { display: none; }
  .apropos-badge { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .service-detail-block,
  .service-detail-block.reverse { grid-template-columns: 1fr; direction: ltr; overflow: hidden; }
  .service-detail-image {
    aspect-ratio: 16/9;
    height: auto;
    min-height: unset;
    width: 100%;
    max-width: 100%;
  }
  /* Animations latérales → verticales sur mobile pour éviter le débordement */
  .reveal-left  { transform: translateY(32px) !important; }
  .reveal-right { transform: translateY(32px) !important; }
  .reveal-left.visible, .reveal-right.visible { transform: translateY(0) !important; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-col { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .temoignage-card { padding: 28px; }
  .contact-form { padding: 28px 24px; }

  .section-header.centered { text-align: left; }
}

@media (max-width: 480px) {
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-logo-img { height: 100px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ————————————————————————
   19. UTILITAIRES
   ———————————————————————— */
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }

/* ————————————————————————
   BLOC TEXTE SERVICE — effet carte (page Mes services)
   ———————————————————————— */
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-detail-card:hover::before { transform: scaleX(1); }

.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-4px);
}

/* ————————————————————————
   BLOCS VALEURS — grille + effet carte (page Qui suis-je ?)
   ———————————————————————— */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.value-card:hover::before { transform: scaleX(1); }

.value-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-6px);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.75;
}

/* ————————————————————————
   NAVBAR — pages intérieures (fond clair, pas de hero plein écran)
   ———————————————————————— */
body:has(.page-hero) #navbar:not(.scrolled) {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
body:has(.page-hero) #navbar:not(.scrolled) .nav-links a {
  color: var(--text-dark);
}
body:has(.page-hero) #navbar:not(.scrolled) .nav-toggle span {
  background: var(--text-dark);
}

/* ————————————————————————
   NAVIGATION ANCRES — page Mes services
   ———————————————————————— */
.services-nav {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 72px;
  z-index: 50;
}

.services-nav-scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.services-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 18px 36px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.services-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

@media (max-width: 640px) {
  .services-nav-scroll { width: 100%; }
  .services-nav a {
    flex: 1;
    text-align: center;
    padding: 14px 6px;
    font-size: 0.67rem;
    white-space: normal;
    line-height: 1.3;
  }
}

/* ————————————————————————
   PORTFOLIO — intro avec photo
   ———————————————————————— */
.portfolio-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0;
}

.portfolio-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.portfolio-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.portfolio-intro-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}

.portfolio-intro-text p {
  font-size: 1.05rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .portfolio-intro {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0;
  }
}

/* Scroll progress bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}
