/* ============================================
   CSAI — Cool Services Agence Immobilière
   CSS Global — W2K-Digital 2025
   Palette: Bleu Ciel / Or / Marron
   ============================================ */

/* Variables globales */
:root {
  /* Primaire — Bleu Ciel */
  --primary: #2E86C1;
  --primary-dark: #1A5276;
  --primary-light: #AED6F1;
  --primary-xlight: #EBF5FB;
  /* Secondaire — Or */
  --gold: #C9A227;
  --gold-light: #F4D03F;
  --gold-dark: #9A7D0A;
  /* Tertiaire — Marron */
  --brown: #6E4B2E;
  --brown-light: #A0785A;
  --brown-xlight: #F5EDE4;
  /* Neutres */
  --dark: #111827;
  --text: #374151;
  --text-light: #6B7280;
  --border: #D9DEEA;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  /* Dégradés Signature */
  --gradient-hero: linear-gradient(135deg, #1A5276 0%, #2E86C1 50%, #C9A227 100%);
  --gradient-card: linear-gradient(180deg, rgba(46,134,193,0.05) 0%, rgba(201,162,39,0.08) 100%);
  --gradient-footer: linear-gradient(135deg, #1A5276 0%, #111827 100%);
  --gradient-cta: linear-gradient(135deg, #C9A227 0%, #F4D03F 100%);
  /* Typographie */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  /* Espacements — grille 8px */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-xxl: 120px;
  /* Effets */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --shadow-gold: 0 4px 24px rgba(201,162,39,0.18);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background-color: var(--white);
  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 {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* Conteneur principal */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 769px) {
  .container {
    padding: 0 var(--space-md);
  }
}

@media (min-width: 1025px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
}

h2 {
  font-size: 1.625rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

@media (min-width: 769px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.75rem; }
  h4 { font-size: 1.5rem; }
}

@media (min-width: 1025px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
}

/* ============================================
   HEADER — Navigation sticky
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

@media (min-width: 769px) {
  .header-inner {
    height: 80px;
    padding: 0 var(--space-md);
  }
}

@media (min-width: 1025px) {
  .header-inner {
    padding: 0 var(--space-lg);
  }
}

/* Logo */
.header-logo a {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.header-logo img {
  height: 44px;
  width: auto;
}

.header-logo .logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary-dark);
  line-height: 1.2;
}

.header-logo .logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Navigation desktop */
.nav-desktop {
  display: none;
}

@media (min-width: 1025px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
}

.nav-desktop > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop > ul > li {
  position: relative;
}

.nav-desktop > ul > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-desktop > ul > li > a:hover,
.nav-desktop > ul > li > a.active {
  color: var(--primary);
  background: var(--primary-xlight);
}

/* Dropdown services */
.nav-dropdown-trigger {
  cursor: pointer;
}

.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  visibility: hidden;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-xs) 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.nav-desktop > ul > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-desktop > ul > li:hover .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text);
  transition: var(--transition);
}

.nav-dropdown a:hover {
  background: var(--primary-xlight);
  color: var(--primary);
}

.nav-dropdown a img {
  width: 20px;
  height: 20px;
}

/* Bouton CTA header */
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gradient-cta);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(201,162,39,0.3);
}

/* Hamburger mobile */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1010;
}

@media (min-width: 1025px) {
  .hamburger {
    display: none;
  }
}

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

.hamburger span:nth-child(1) { margin-bottom: 6px; }
.hamburger span:nth-child(3) { margin-top: 6px; }

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

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

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

/* Drawer mobile */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1005;
  overflow-y: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  padding: var(--space-xl) var(--space-md) var(--space-lg);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1003;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer .mobile-nav-list > li {
  border-bottom: 1px solid var(--border);
}

.mobile-drawer .mobile-nav-list > li > a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}

.mobile-drawer .mobile-nav-list > li > a.active {
  color: var(--primary);
}

/* Sous-menu mobile */
.mobile-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.mobile-submenu-toggle .arrow {
  transition: transform 0.3s ease;
  font-size: 0.75rem;
}

.mobile-submenu-toggle.open .arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  padding-left: var(--space-sm);
  padding-bottom: var(--space-xs);
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

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

.mobile-drawer .btn-mobile-cta {
  display: block;
  text-align: center;
  margin-top: var(--space-md);
  padding: 14px 24px;
  background: var(--gradient-cta);
  color: var(--dark);
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

@media (min-width: 769px) {
  .hero {
    min-height: 90vh;
    margin-top: 80px;
  }
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,82,118,0.85) 0%, rgba(46,134,193,0.6) 50%, rgba(201,162,39,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: var(--space-lg) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

@media (min-width: 769px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

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

/* ============================================
   BOUTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--gradient-cta);
  color: var(--dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(201,162,39,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

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

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

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

.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46,134,193,0.3);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ============================================
   SECTIONS GÉNÉRALES
   ============================================ */

.section {
  padding: var(--space-xl) 0;
}

@media (min-width: 769px) {
  .section {
    padding: var(--space-xxl) 0;
  }
}

.section-alt {
  background: var(--off-white);
}

.section-blue {
  background: var(--primary-xlight);
}

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

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

.section-header .overline {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
}

.section-header .gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-cta);
  border-radius: 2px;
  margin: var(--space-sm) auto 0;
}

/* ============================================
   GRILLE SERVICES — 9 cards
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 481px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.service-card .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-xlight);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

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

.service-card .card-icon img {
  width: 28px;
  height: 28px;
  transition: filter 0.3s ease;
}

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

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-card .card-link:hover {
  color: var(--gold);
  gap: 10px;
}

/* ============================================
   CHIFFRES CLÉS — Compteurs animés
   ============================================ */

.stats-section {
  background: var(--gradient-hero);
  padding: var(--space-xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 769px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

@media (min-width: 769px) {
  .stat-number {
    font-size: 3rem;
  }
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* ============================================
   SECTION INTRO / CONTENU TEXTE
   ============================================ */

.content-section .content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 769px) {
  .content-section .content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.content-section .content-grid.reverse {
  direction: ltr;
}

@media (min-width: 769px) {
  .content-section .content-grid.reverse {
    direction: rtl;
  }
  .content-section .content-grid.reverse > * {
    direction: ltr;
  }
}

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

.content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   SLIDER TÉMOIGNAGES
   ============================================ */

.slider-section {
  overflow: hidden;
  padding: var(--space-xl) 0;
  background: var(--off-white);
}

.slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: var(--space-sm) 0;
}

.slider-track {
  display: flex;
  gap: var(--space-md);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 340px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

@media (min-width: 769px) {
  .testimonial-card {
    flex: 0 0 400px;
    padding: var(--space-lg) var(--space-md);
  }
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-light);
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info .name {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.testimonial-info .role {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-xs);
}

.testimonial-stars img {
  width: 16px;
  height: 16px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: var(--gradient-hero);
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--gradient-footer);
  color: rgba(255,255,255,0.8);
  padding-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 481px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-xs);
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

/* Colonne logo footer */
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
  color: rgba(255,255,255,0.7);
}

.footer-social {
  display: flex;
  gap: var(--space-xs);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-social a img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* Liens footer */
.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

/* Contact footer */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
}

.footer-contact-item img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

/* Barre copyright footer */
.footer-bottom {
  padding: var(--space-md) 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-legal-links a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--gold-light);
}

/* ============================================
   HERO PAGES INTERNES (pas accueil)
   ============================================ */

.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  margin-top: 72px;
  overflow: hidden;
}

@media (min-width: 769px) {
  .page-hero {
    min-height: 55vh;
    margin-top: 80px;
  }
}

.page-hero .hero-bg,
.page-hero .hero-overlay,
.page-hero .hero-content {
  /* Hérite des styles hero */
}

.page-hero .hero-content {
  max-width: 800px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb .sep {
  color: rgba(255,255,255,0.4);
}

/* ============================================
   GALERIE / PORTFOLIO
   ============================================ */

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.portfolio-filters button {
  padding: 8px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.portfolio-filters button:hover,
.portfolio-filters button.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 481px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-sm);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============================================
   FORMULAIRE CONTACT
   ============================================ */

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #E74C3C;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.15);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #E74C3C;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

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

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #E74C3C;
  margin-top: 4px;
}

.form-input.error + .form-error,
.form-select.error + .form-error,
.form-textarea.error + .form-error {
  display: block;
}

/* Boutons WhatsApp contact */
.whatsapp-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* ============================================
   PAGE GALERIE IMAGES (services)
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ============================================
   PAGES LÉGALES
   ============================================ */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--primary-light);
}

.legal-content p {
  color: var(--text);
  line-height: 1.8;
}

/* ============================================
   AUTO-SCROLL INDICATOR
   ============================================ */

.w2k-autoscroll-dot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-scroll 2s infinite;
  opacity: 0.8;
  z-index: 9999;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 8px rgba(46,134,193,0.3);
}

.w2k-autoscroll-dot:hover {
  transform: scale(1.3);
}

.w2k-autoscroll-dot.paused {
  animation: none;
  opacity: 0.35;
  background: var(--text-light);
}

@keyframes pulse-scroll {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 8px rgba(46,134,193,0.3); }
  50% { transform: scale(1.3); box-shadow: 0 2px 16px rgba(46,134,193,0.5); }
}

/* ============================================
   ANIMATIONS AU SCROLL (Intersection Observer)
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

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

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

/* Délais pour animations en cascade */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
.delay-9 { transition-delay: 0.9s; }

/* ============================================
   UTILITAIRES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-gold { color: var(--gold); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.bg-white { background: var(--white); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Visually hidden (accessibilité) */
.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;
}
