/* ============================================
   XOXO COIFFURE - CSS Global (Modernized)
   Palette: beige #F5EDE3, olive #8B9A6B, brun #4A3728, creme #FDF8F2
   Typographies: Poppins + Alice (logo)
   ============================================ */

/* Alice — police logo XOXO COIFFURE */
@font-face {
  font-family: 'Alice';
  src: url('/fonts/Alice-Regular.woff2') format('woff2'),
       url('/fonts/Alice-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Skip Link (Accessibilité WCAG 2.1) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: #4A3728;
  color: #FDF8F2;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #8B9A6B;
  outline-offset: 2px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --beige: #F5EDE3;
  --beige-light: #FDF8F2;
  --olive: #8B9A6B;
  --olive-light: #A8B88D;
  --olive-dark: #5A6940;
  --brun: #4A3728;
  --brun-light: #6B5744;
  --taupe: #B8A99A;
  --taupe-dark: #8C7B6B;
  --white: #FFFFFF;
  --text: #3D3D3D;
  --text-light: #6B6B6B;
  --shadow: rgba(74, 55, 40, 0.08);
  --shadow-md: rgba(74, 55, 40, 0.12);
  --shadow-lg: rgba(74, 55, 40, 0.18);
  --gold: #F5C518;
  --transition: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-width: 1200px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background-color: var(--beige-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--brun);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--brun);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: 3.2rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

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

.section {
  padding: 5rem 0;
}

.section--beige {
  background-color: var(--beige);
}

.section--taupe {
  background-color: var(--taupe-dark);
  color: var(--white);
}

.section--taupe h2,
.section--taupe h3,
.section--taupe p {
  color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.03em;
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 55, 40, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--olive-dark) 0%, #3D4F2A 100%);
  color: var(--white);
  border-color: var(--olive-dark);
  box-shadow: 0 4px 15px rgba(90, 105, 64, 0.4);
  /* Contraste white/#5A6940 = 7.4:1 — WCAG AAA ✅ */
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 100%);
  border-color: var(--olive-dark);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(139, 154, 107, 0.35);
}

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

.btn--outline:hover {
  background-color: var(--brun);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(74, 55, 40, 0.25);
}

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

.btn--white:hover {
  background-color: var(--beige);
  border-color: var(--beige);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--brun);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

.btn--large {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

.btn--full {
  width: 100%;
  display: flex;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(253, 248, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 30px var(--shadow-md);
  background-color: rgba(253, 248, 242, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  font-family: 'Alice', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brun);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  text-indent: 0.3em;
}

.header__logo span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.54em;
  font-weight: 400;
  color: var(--taupe-dark);
  text-indent: 0.54em;
}

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

.nav__list {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  position: relative;
  padding: 0.25rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--olive), var(--olive-dark));
  transition: width var(--transition);
  border-radius: 1px;
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--brun);
}

.nav__cta {
  margin-left: 0.5rem;
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--brun);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(74, 55, 40, 0.7) 0%,
    rgba(74, 55, 40, 0.4) 40%,
    rgba(74, 55, 40, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 800px;
}

.hero__content h1 {
  color: var(--white);
  font-size: 3.4rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  margin-bottom: 2.25rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Info Bar --- */
.info-bar {
  background-color: var(--white);
  padding: 2.25rem 0;
  box-shadow: 0 4px 30px var(--shadow);
  position: relative;
  z-index: 5;
}

.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.info-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.info-bar__icon {
  width: 40px;
  height: 40px;
  color: var(--olive);
}

.info-bar__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.5;
}

.info-bar__label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.info-bar__value {
  font-weight: 600;
  color: var(--brun);
  font-size: 0.95rem;
}

/* --- Categories (Femme/Homme/Enfant) --- */
.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.category-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 20px var(--shadow);
  transition: box-shadow var(--transition);
  min-height: 250px;
}

.category-card:hover {
  box-shadow: 0 12px 40px var(--shadow-lg);
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover .category-card__img {
  transform: scale(1.06);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 55, 40, 0.75) 0%, rgba(74, 55, 40, 0.1) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
}

.category-card__title {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* --- Services preview --- */
.services-preview__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 2px 20px var(--shadow);
  transition: transform var(--transition-slow), box-shadow var(--transition);
  border: 1px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-md);
  border-color: rgba(139, 154, 107, 0.2);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  color: var(--olive);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.5;
}

.service-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.service-card__price {
  font-weight: 600;
  color: var(--olive-dark);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* --- Gallery grid --- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 2px 10px var(--shadow);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

/* --- Testimonials --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.25rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.section--taupe .testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section--taupe .testimonial-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 3px;
}

.testimonial-card__text {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.testimonial-card__author {
  font-weight: 600;
  font-size: 0.9rem;
}

.section--taupe .testimonial-card__text,
.section--taupe .testimonial-card__author {
  color: rgba(255, 255, 255, 0.9);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-section .btn + .btn {
  margin-left: 1rem;
}

.cta-section .hero__buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Price table --- */
.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 25px var(--shadow);
  margin-bottom: 2rem;
}

.price-table thead {
  background: linear-gradient(135deg, var(--brun) 0%, var(--brun-light) 100%);
  color: var(--white);
}

.price-table th {
  padding: 1.15rem 1.5rem;
  text-align: left;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.price-table th:first-child {
  border-radius: 16px 0 0 0;
}

.price-table th:last-child {
  border-radius: 0 16px 0 0;
}

.price-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(245, 237, 227, 0.6);
  font-size: 0.9rem;
  transition: background-color var(--transition);
}

.price-table tbody tr {
  transition: background-color var(--transition);
}

.price-table tbody tr:hover {
  background-color: var(--beige-light);
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 16px;
}

.price-table tbody tr:last-child td:last-child {
  border-radius: 0 0 16px 0;
}

.price-table .price {
  font-weight: 600;
  color: var(--olive-dark);
  white-space: nowrap;
}

.price-table .duration {
  color: var(--taupe-dark);
  font-size: 0.85rem;
}

/* --- Service detail page --- */
.service-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.service-hero__bg {
  position: absolute;
  inset: -15%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* will-change ajouté dynamiquement en JS si nécessaire */
}

@supports (-webkit-touch-callout: none) {
  /* iOS/iPadOS does not support background-attachment: fixed */
  .service-hero__bg {
    background-attachment: scroll;
  }
}

@media (hover: none) and (pointer: coarse) {
  /* Touch devices (Android/iOS): disable background-attachment: fixed */
  .service-hero__bg {
    background-attachment: scroll;
  }
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(74, 55, 40, 0.75) 0%,
    rgba(74, 55, 40, 0.45) 40%,
    rgba(74, 55, 40, 0.2) 100%
  );
}

.service-hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.service-hero__content h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.service-hero__content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 600px;
  line-height: 1.8;
}

.service-detail {
  padding: 0;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.service-detail__sidebar {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 25px var(--shadow);
  position: sticky;
  top: 90px;
  border: 1px solid rgba(245, 237, 227, 0.5);
}

.service-detail__sidebar h3 {
  margin-bottom: 1.25rem;
}

.service-detail__sidebar .btn {
  width: 100%;
  margin-top: 1rem;
}

/* --- Service blocks & highlights --- */
.service-block {
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
}

.service-block:first-child {
  padding-top: 0;
}

.service-block h2 {
  margin-bottom: 1rem;
}

.service-block h3 {
  margin-bottom: 0.85rem;
}

.service-block p {
  line-height: 1.8;
}

.service-block ul {
  margin-bottom: 1.25rem;
  padding-left: 0;
}

.service-block ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.service-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--olive);
}

.service-highlight {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  margin: 2rem 0;
}

.service-highlight h3,
.service-highlight h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-highlight p {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.service-highlight p:last-child {
  margin-bottom: 0;
}

/* --- Sidebar cards --- */
.sidebar-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 25px var(--shadow);
  border: 1px solid rgba(245, 237, 227, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow var(--transition);
}

.sidebar-card:hover {
  box-shadow: 0 8px 35px var(--shadow-md);
}

.sidebar-card:last-child {
  margin-bottom: 0;
}

.sidebar-card h3,
.sidebar-card h4 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.sidebar-card p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.sidebar-card .btn {
  margin-top: 1rem;
}

/* --- Sidebar links --- */
.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-links a,
.sidebar-links li a {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--transition);
  gap: 0.5rem;
}

.sidebar-links a:hover,
.sidebar-links li a:hover {
  background-color: var(--beige);
  color: var(--olive-dark);
  padding-left: 1rem;
}

.sidebar-links a.active,
.sidebar-links li a.active {
  background-color: var(--beige);
  color: var(--olive-dark);
  font-weight: 500;
}

/* --- SEO content --- */
.seo-content {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.seo-content h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.seo-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  margin-top: 2rem;
}

.seo-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition-slow), box-shadow var(--transition);
  border: 1px solid transparent;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-md);
  border-color: rgba(139, 154, 107, 0.15);
}

.blog-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card__img img {
  transform: scale(1.05);
}

.blog-card__body {
  padding: 1.75rem;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--taupe-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.blog-card__body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.blog-card__body p {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brun);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--taupe);
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(139, 154, 107, 0.15);
}

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

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--olive);
}

.checkbox-label a {
  color: var(--olive);
  text-decoration: underline;
}

.form-notice {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.form-notice a {
  color: var(--olive);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--olive);
}

.contact-info__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--olive);
  fill: none;
  stroke-width: 1.5;
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--brun);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer__logo {
  font-family: 'Alice', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.footer__logo span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  font-weight: 300;
}

.footer p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.15rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  transition: color var(--transition), padding-left var(--transition);
  padding: 0.15rem 0;
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 0.25rem;
}

.footer__social {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}

.footer__social a:hover {
  background: var(--olive);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--white);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--taupe-dark);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb__list li {
  display: flex;
  align-items: center;
}

.breadcrumb__list li + li::before {
  content: '\203A';
  margin: 0 0.65rem;
  color: var(--taupe);
  font-size: 1.1em;
  line-height: 1;
}

.breadcrumb__list a {
  color: var(--taupe-dark);
  transition: color var(--transition);
}

.breadcrumb__list a:hover {
  color: var(--olive-dark);
}

.breadcrumb__list li:last-child {
  color: var(--brun);
  font-weight: 500;
}

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

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

.breadcrumb span {
  margin: 0 0.55rem;
  color: var(--taupe);
}

/* --- FAQ --- */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 12px var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq__item:hover {
  box-shadow: 0 4px 20px var(--shadow-md);
}

.faq__item.active {
  box-shadow: 0 4px 25px var(--shadow-md);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: var(--brun);
  font-size: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  padding: 1.25rem 1.5rem;
  min-height: 56px;
  transition: background-color var(--transition);
}

.faq__question:hover {
  background-color: rgba(245, 237, 227, 0.4);
}

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--olive);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1.25rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  border-radius: 50%;
  font-weight: 300;
  line-height: 1;
}

.faq__item.active .faq__question::after {
  content: '\2212';
  transform: rotate(180deg);
  background: var(--olive);
  color: var(--white);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.3s ease;
  opacity: 0;
}

.faq__item.active .faq__answer {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
  opacity: 1;
}

.faq__answer p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-light);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.text-olive { color: var(--olive-dark); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.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;
}

/* --- Mobile Fixed CTA --- */
.mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--olive);
    padding: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }

  .mobile-cta a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 1rem 0.5rem;
    min-height: 56px;
    text-align: center;
    transition: background var(--transition);
  }

  .mobile-cta a:first-child {
    background: var(--olive);
    border-right: 1px solid rgba(255,255,255,0.2);
  }

  .mobile-cta a:last-child {
    background: var(--brun);
  }

  .mobile-cta a:active {
    opacity: 0.85;
  }

  .mobile-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
  }

  /* Add bottom padding to body so footer isn't hidden behind fixed CTA */
  body {
    padding-bottom: 56px;
  }

  /* Hide footer bottom CTA on mobile since we have fixed one */
  .footer {
    padding-bottom: 0;
  }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero__content h1 { font-size: 2.5rem; }

  .section {
    padding: 5rem 0;
  }

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

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  .service-detail__sidebar {
    position: static;
  }

  .service-hero__bg {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav__list {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 248, 242, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav__list.active {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .nav__cta {
    margin-left: 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero__content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero__content p {
    font-size: 1.05rem;
  }

  .section {
    padding: 4rem 0;
  }

  .info-bar__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .categories__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Carrousel horizontal pour les cartes prestations sur mobile */
  .services-preview__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .services-preview__grid .service-card {
    min-width: 280px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .services-preview__grid::-webkit-scrollbar {
    height: 4px;
  }

  .services-preview__grid::-webkit-scrollbar-track {
    background: var(--beige);
    border-radius: 2px;
  }

  .services-preview__grid::-webkit-scrollbar-thumb {
    background: var(--olive);
    border-radius: 2px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__links {
    gap: 0.85rem;
  }

  .footer__links a {
    padding: 0.35rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__social a {
    width: 44px;
    height: 44px;
  }

  /* Price table mobile: card layout */
  .price-table {
    display: block;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }

  .price-table thead {
    display: none;
  }

  .price-table tbody {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .price-table tbody tr {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 2px 15px var(--shadow);
    gap: 0.35rem;
    transition: box-shadow var(--transition);
  }

  .price-table tbody tr:hover {
    background: var(--white);
    box-shadow: 0 4px 20px var(--shadow-md);
  }

  .price-table td {
    padding: 0.25rem 0;
    border-bottom: none;
    font-size: 0.9rem;
  }

  .price-table td:first-child {
    font-weight: 600;
    color: var(--brun);
    font-size: 0.95rem;
  }

  .price-table td::before {
    display: none;
  }

  .price-table .price {
    font-size: 1rem;
  }

  /* CTA section buttons stacking */
  .cta-section .btn + .btn {
    margin-left: 0;
  }

  /* FAQ mobile */
  .faq__question {
    padding: 1.15rem 1.25rem;
    min-height: 56px;
    font-size: 0.95rem;
  }

  .faq__item.active .faq__answer {
    padding: 0 1.25rem 1.25rem;
  }

  /* Service hero */
  .service-hero__content h1 {
    font-size: 2rem;
  }

  .service-hero__bg {
    background-attachment: scroll;
  }

  /* Breadcrumb */
  .breadcrumb {
    font-size: 0.8rem;
  }

  .breadcrumb__list {
    gap: 0;
  }

  /* Sidebar card mobile */
  .sidebar-card {
    margin-bottom: 1rem;
  }

  /* General touch targets */
  .btn {
    min-height: 48px;
    padding: 0.85rem 2rem;
  }

  .btn--large {
    padding: 1rem 2.5rem;
  }

  /* Hero social proof */
  .hero__proof {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .hero__reassurance {
    font-size: 0.75rem;
  }

  .service-card__ideal {
    font-size: 0.78rem;
  }

  .hero--small {
    min-height: 30vh;
  }

  .hero__content {
    padding: 1.5rem;
  }

  .hero__content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero__buttons {
    gap: 0.75rem;
  }

  .hero__buttons .btn {
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  html { font-size: 15px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero__content h1 {
    font-size: 1.7rem;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.15rem;
  }

  .service-card {
    padding: 1.75rem 1.5rem;
  }

  .faq__question {
    padding: 1rem 1rem;
    font-size: 0.9rem;
  }

  .faq__item.active .faq__answer {
    padding: 0 1rem 1rem;
  }

  .price-table tbody tr {
    padding: 1rem;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__proof {
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.78rem;
  }

  .hero__content p {
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .services-nav__tabs {
    gap: 0.5rem;
  }

  .services-nav__tab {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

/* --- Hero Social Proof --- */
.hero__proof {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero__stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.hero__reassurance {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1.25rem;
  letter-spacing: 0.02em;
}

/* --- Service Card "Idéal pour..." --- */
.service-card__ideal {
  font-size: 0.8rem;
  color: var(--olive-dark);
  font-style: italic;
  background: rgba(139, 154, 107, 0.08);
  border-left: 3px solid var(--olive);
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
}

/* --- Team Card (le-salon.html) --- */
.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--beige);
  box-shadow: 0 2px 12px var(--shadow);
}

.team-card__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-card__skills {
  margin-bottom: 1.25rem;
  text-align: left;
}

.team-card__skills li {
  font-size: 0.85rem;
}

/* --- Service Card micro-reassurance --- */
.service-card__reassurance {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--olive-dark);
  background: rgba(139, 154, 107, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
}

/* --- Service Card uniform height --- */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .btn,
.service-card a.btn {
  margin-top: auto;
}

/* --- Section spacing improvements --- */
.section + .section {
  border-top: 1px solid rgba(74, 55, 40, 0.06);
}

.section--beige + .section,
.section + .section--beige {
  border-top: none;
}

/* --- Gallery filter buttons --- */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery__filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.gallery__filter-btn.active {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}


/* --- Hero small variant (inner pages) --- */
.hero--small {
  min-height: 40vh;
}

/* --- Services page: navigation tabs --- */
.services-nav {
  padding: 1.5rem 0;
}

.services-nav__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.services-nav__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--brun);
  background: var(--white);
  border: 1.5px solid var(--taupe);
  transition: all var(--transition);
  min-height: 44px;
}

.services-nav__tab:hover,
.services-nav__tab:focus {
  background: var(--brun);
  color: var(--white);
  border-color: var(--brun);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(74, 55, 40, 0.2);
}

/* --- Price table headings & descriptions --- */
.price-table__heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.35rem;
  color: var(--brun);
  margin-bottom: 0.5rem;
  margin-top: 2.5rem;
  letter-spacing: -0.01em;
}

.price-table__heading:first-of-type {
  margin-top: 0;
}

.price-table__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.price-table__wrapper {
  margin-bottom: 1.5rem;
}

/* --- Services page: quick links grid at bottom --- */
.services-preview__grid .service-card .service-card__price {
  margin-top: auto;
}

/* --- Blog card link wrapper --- */
.blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-card__img-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-card__img-wrapper img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: var(--brun);
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  flex: 1;
}

.blog-card__readmore {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--olive-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap var(--transition), color var(--transition);
}

.blog-card__readmore::after {
  content: '\2192';
  transition: transform var(--transition);
}

.blog-card:hover .blog-card__readmore {
  color: var(--brun);
  gap: 0.6rem;
}

.blog-card:hover .blog-card__readmore::after {
  transform: translateX(3px);
}

/* --- Blog article page --- */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article__header {
  margin-bottom: 2.5rem;
}

.blog-article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--taupe-dark);
  margin-bottom: 1.5rem;
}

.blog-article__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--beige);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--olive-dark);
  font-weight: 500;
}

.blog-article__hero-img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 25px var(--shadow);
}

.blog-article h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.blog-article h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.blog-article p {
  margin-bottom: 1.25rem;
  line-height: 1.9;
}

.blog-article ul,
.blog-article ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.blog-article ul li,
.blog-article ol li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
  color: var(--text-light);
  font-size: 0.95rem;
}

.blog-article ul li::marker {
  color: var(--olive);
}

.blog-article ol li::marker {
  color: var(--olive-dark);
  font-weight: 600;
}

.blog-article blockquote {
  border-left: 4px solid var(--olive);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--beige);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text);
}

.blog-article__cta {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  text-align: center;
}

.blog-article__cta h3 {
  color: var(--white);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.blog-article__cta p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

/* --- Gallery filter active state improvement --- */
.gallery__filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  min-height: 40px;
}

.gallery__filter-btn.active {
  background: var(--olive);
  color: var(--white);
  border-color: var(--olive);
}

.gallery__filter-btn:not(.active):hover {
  background: var(--beige);
}

/* --- Gallery item transition for filter --- */
.gallery__item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* --- Btn small variant --- */
.btn--small {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  min-height: 36px;
}

/* --- Print --- */
@media print {
  .header,
  .footer,
  .hamburger,
  .cta-section,
  .mobile-cta,
  .breadcrumb,
  .faq__list,
  .gallery__filters {
    display: none;
  }

  .section {
    padding: 1.5rem 0;
    break-inside: avoid;
  }

  body {
    background: white;
    color: black;
    padding-bottom: 0;
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3 {
    break-after: avoid;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a[href^="#"]::after,
  a[href^="/"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  img {
    max-width: 100% !important;
    break-inside: avoid;
  }

  .hero, .hero--small {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__bg, .service-hero__bg, .hero__overlay, .service-hero__overlay {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Accessibilité : focus visible --- */
.btn:focus-visible,
.nav__link:focus-visible,
.hamburger:focus-visible,
.faq__question:focus-visible,
.gallery__filter-btn:focus-visible,
.footer__links a:focus-visible,
.sidebar-links a:focus-visible,
.mobile-cta a:focus-visible,
.breadcrumb a:focus-visible,
.category-card:focus-visible,
.blog-card:focus-visible,
.service-card:focus-visible,
.testimonial-card:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav__link:focus-visible {
  color: var(--olive);
}

.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(139, 154, 107, 0.35);
}

/* ========== SCROLL OFFSET FOR STICKY HEADER ========== */
[id] {
  scroll-margin-top: 80px;
}

/* ========== HOVER ENHANCEMENTS ========== */
.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* ========== REVIEW BADGES ========== */
.reviews-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.review-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.review-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.review-badge__stars {
  color: #F5C518;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.review-badge__score {
  font-size: 0.95rem;
}

.review-badge__source {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* ========== WHY LIST ========== */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  text-align: left;
}

.why-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 700;
}

/* ========== BADGE URGENCE ========== */
.badge-urgence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  flex-wrap: wrap;
}

.badge-urgence__text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-urgence__text::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge-urgence__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* High urgency - rouge/corail */
.badge-urgence--high {
  background: #FEF2F2;
  color: #991B1B;
}

.badge-urgence--high .badge-urgence__text::before {
  background: #EF4444;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.badge-urgence--high .badge-urgence__btn {
  background: #991B1B;
  color: #FFFFFF;
}

.badge-urgence--high .badge-urgence__btn:hover {
  background: #7F1D1D;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(153, 27, 27, 0.3);
}

/* Medium urgency - ambre */
.badge-urgence--medium {
  background: #FFFBEB;
  color: #92400E;
}

.badge-urgence--medium .badge-urgence__text::before {
  background: #F59E0B;
}

.badge-urgence--medium .badge-urgence__btn {
  background: #92400E;
  color: #FFFFFF;
}

.badge-urgence--medium .badge-urgence__btn:hover {
  background: #78350F;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(146, 64, 14, 0.3);
}

/* Low urgency - olive */
.badge-urgence--low {
  background: var(--beige);
  color: var(--olive-dark);
}

.badge-urgence--low .badge-urgence__text::before {
  background: var(--olive);
}

.badge-urgence--low .badge-urgence__btn {
  background: var(--olive-dark);
  color: #FFFFFF;
}

.badge-urgence--low .badge-urgence__btn:hover {
  background: var(--olive);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(90, 105, 64, 0.3);
}

/* Closed - gris neutre */
.badge-urgence--closed {
  background: #F3F4F6;
  color: #4B5563;
}

.badge-urgence--closed .badge-urgence__text::before {
  background: #9CA3AF;
}

.badge-urgence--closed .badge-urgence__btn {
  background: #4B5563;
  color: #FFFFFF;
}

.badge-urgence--closed .badge-urgence__btn:hover {
  background: #374151;
  transform: translateY(-1px);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@media (max-width: 480px) {
  .badge-urgence {
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
  }
}

/* ========== FAQ CTA ========== */
.faq__cta {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.faq__cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--olive-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--olive);
  border-radius: 50px;
  transition: all 0.2s ease;
  background: transparent;
}

.faq__cta a:hover {
  background: var(--olive-dark);
  color: var(--white);
  border-color: var(--olive-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(90, 105, 64, 0.25);
}

/* ========================================
   REFONTE UX — Animations & Effets Luxe
   ======================================== */

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children — chaque enfant apparaît en séquence */
.reveal-children > *:nth-child(1) { transition-delay: 0s; }
.reveal-children > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-children > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-children > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-children > *:nth-child(5) { transition-delay: 0.48s; }
.reveal-children > *:nth-child(6) { transition-delay: 0.6s; }

.reveal-children > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ========== BOUTON SHIMMER LUXE ========== */
.btn--primary {
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: none;
  transform: skewX(-20deg);
}

.btn--primary:hover::after {
  animation: shimmer 0.7s ease forwards;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 150%; }
}

.btn--primary:hover {
  box-shadow: 0 6px 25px rgba(139, 154, 107, 0.35);
}

/* ========== SERVICE CARD — LIGNE DORÉE AU HOVER ========== */
.service-card {
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--olive-light));
  border-radius: 3px;
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover::after {
  width: 60%;
  left: 20%;
}

.service-card:hover .service-card__icon svg {
  transform: scale(1.12);
  transition: transform 0.3s ease;
}

/* ========== HERO PROOF FLOATING ========== */
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero__proof {
  animation: hero-float 3.5s ease-in-out infinite;
}

/* ========== GALERIE LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox.is-open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__prev { left: 1.25rem; }
.lightbox__next { right: 1.25rem; }

.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 0.9rem;
  text-align: center;
  max-width: 80%;
}

.lightbox__counter {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Galerie — cursor pointer sur les items */
.gallery__item {
  cursor: pointer;
}

/* Galerie — filtrage animé */
.gallery__item--hidden {
  opacity: 0;
  transform: scale(0.9);
  position: absolute;
  pointer-events: none;
}

.gallery__grid {
  position: relative;
}

/* Galerie — compteur résultats */
.gallery__count {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  transition: opacity 0.3s ease;
}

/* ========== FLOATING CTA DESKTOP ========== */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 998;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  background: var(--olive);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(139, 154, 107, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-cta a:hover {
  background: var(--olive-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 154, 107, 0.5);
}

.floating-cta a::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: floating-pulse 2.5s ease-in-out infinite;
}

@keyframes floating-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(3); opacity: 0.15; }
}

/* Masquer floating CTA sur mobile (le mobile-cta suffit) */
@media (max-width: 768px) {
  .floating-cta {
    display: none;
  }
}

/* Lightbox responsive mobile */
@media (max-width: 768px) {
  .lightbox__img {
    max-width: 95vw;
    max-height: 75vh;
    border-radius: 8px;
  }
  .lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
  .lightbox__prev { left: 0.5rem; }
  .lightbox__next { right: 0.5rem; }
}

/* ========== COMPTEUR ANIMÉ AVIS ========== */
.reviews-badges {
  perspective: 800px;
}

.review-badge {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-badge:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
