/* ===============================================
   PALETTE DE COULEURS PROFESSIONNELLE
================================================== */
:root {
  /* Couleurs principales - Palette raffinée */
  --navy-deep: #0A2647;          /* Bleu marine profond - confiance */
  --navy-medium: #144272;        /* Bleu marine moyen */
  --ocean-blue: #205295;         /* Bleu océan */
  --sky-blue: #2C74B3;          /* Bleu ciel */

  /* Accents chaleureux */
  --copper: #D97706;             /* Cuivre/ambre - chaleur professionnelle */
  --copper-light: #F59E0B;       /* Cuivre clair */
  --copper-dark: #B45309;        /* Cuivre foncé */

  /* Neutres riches */
  --slate-900: #0F172A;          /* Presque noir */
  --slate-800: #1E293B;          /* Gris très foncé */
  --slate-700: #334155;          /* Gris foncé */
  --slate-300: #CBD5E1;          /* Gris moyen */
  --slate-100: #F1F5F9;          /* Gris très clair */
  --white: #FFFFFF;              /* Blanc pur */

  /* Effets */
  --shadow-sm: 0 2px 8px rgba(10, 38, 71, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 38, 71, 0.12);
  --shadow-lg: 0 8px 32px rgba(10, 38, 71, 0.16);
  --shadow-xl: 0 16px 48px rgba(10, 38, 71, 0.20);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--navy-deep) 0%, var(--ocean-blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper-light) 100%);
  --gradient-overlay: linear-gradient(to bottom, rgba(10, 38, 71, 0.85), rgba(10, 38, 71, 0.65));

  /* Espacements responsives */
  --spacing-xs: clamp(0.5rem, 2vw, 1rem);
  --spacing-sm: clamp(1rem, 3vw, 1.5rem);
  --spacing-md: clamp(1.5rem, 4vw, 2.5rem);
  --spacing-lg: clamp(2rem, 6vw, 4rem);
  --spacing-xl: clamp(3rem, 8vw, 6rem);
}

/* ===============================================
   RESET & BASE
================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--slate-100);
  color: var(--slate-800);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===============================================
   HEADER PREMIUM
================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(70px, 10vh, 90px);
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 38, 71, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
  height: clamp(60px, 8vh, 75px);
  background: rgba(10, 38, 71, 0.95);
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
  flex-shrink: 0;
  max-width: 100%;
}

.logo-img {
  height: clamp(40px, 6vh, 55px);
  width: auto;
  transition: transform 0.3s ease;
}

.brand:hover .logo-img {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  overflow: hidden;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  color: var(--copper-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* NAVIGATION */
.nav {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--slate-300);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--white);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav a:hover::after {
  width: 100%;
}

/* BOUTON URGENCE */
.btn-urgence {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 0.625rem);
  padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 50px;
  background: var(--gradient-accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-urgence:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.45);
}

.phone-icon {
  width: clamp(14px, 2vw, 18px);
  height: clamp(14px, 2vw, 18px);
  flex-shrink: 0;
  animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-15deg); }
  20%, 40% { transform: rotate(15deg); }
}

/* ===============================================
   HERO SECTION
================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg) var(--spacing-sm);
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy-deep); /* Fallback color */
}

/* Vidéo en background */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

/* Alternative si vous voulez garder l'image comme fallback */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.webp');
  background-size: cover;
  background-position: center;
  opacity: 0; /* Visible uniquement si la vidéo ne charge pas */
  z-index: 0;
  transition: opacity 0.3s ease;
}

/* Si la vidéo ne charge pas, afficher l'image */
.hero.no-video::before {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.title-hero {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: min(900px, 90vw);
  padding: 0 var(--spacing-sm);
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(1rem, 3vw, 1.25rem);
  background: rgba(217, 119, 6, 0.15);
  border: 2px solid var(--copper-light);
  border-radius: 50px;
  color: var(--copper-light);
  font-weight: 700;
  font-size: clamp(0.7rem, 2vw, 0.85rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

.hero-title {
  font-size: clamp(2rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: clamp(1rem, 3vw, 1.25rem);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  word-wrap: break-word;
}

.hero-sub {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  color: var(--slate-100);
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--slate-300);
  font-weight: 500;
}

/* BOUTON PRINCIPAL */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  background: var(--gradient-accent);
  color: var(--white);
  padding: clamp(1rem, 3vw, 1.125rem) clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.4);
  text-decoration: none;
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary:hover {
  background: var(--gradient-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10, 38, 71, 0.5);
}

.btn-primary svg {
  width: clamp(16px, 3vw, 20px);
  height: clamp(16px, 3vw, 20px);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* ===============================================
   CINEMATIC SCROLL
================================================== */
.cinematic {
  position: relative;
  height: 100vh;
  overflow: hidden;
  width: 100%;
}

.cinematic-track {
  display: flex;
  height: 100%;
  width: 100%;
}

.panel {
  flex: 0 0 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: clamp(3rem, 10vh, 6.25rem) var(--spacing-md);
  overflow-y: auto;
  overflow-x: hidden;
}

.panel-content {
  max-width: min(1200px, 95vw);
  width: 100%;
  margin: 0 auto;
  max-height: 85vh;
}

.panel-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: -0.02em;
  transform: translateY(100px);
  opacity: 0;
  word-wrap: break-word;
}

.panel-subtitle {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 500;
  margin-bottom: clamp(2rem, 5vw, 3.75rem);
  opacity: 0.9;
}

/* Couleurs des panels */
.panel-services {
  background: var(--gradient-primary);
  color: var(--white);
}

.panel-portfolio {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: var(--white);
}

.panel-contact {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-medium) 100%);
  color: var(--white);
}

.panel-trust {
  background: var(--gradient-primary);
  color: var(--white);
}

/* ===============================================
   ACCORDION PREMIUM
================================================== */
#accordion {
  max-width: min(800px, 95vw);
  margin: 0 auto;
  width: 100%;
}

.card {
  background: rgba(255, 255, 255, 0.98);
  border: none;
  border-radius: clamp(12px, 2vw, 16px);
  margin-bottom: clamp(1rem, 2.5vw, 1.25rem);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-header {
  background: var(--white);
  padding: 0;
  border: none;
  border-bottom: 2px solid var(--slate-100);
}

.card-header button {
  background: none;
  border: none;
  color: var(--navy-deep);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 700;
  width: 100%;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.75rem);
  text-align: left;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
}

.card-header button:hover {
  color: var(--copper);
  background: linear-gradient(to right, transparent, rgba(217, 119, 6, 0.05));
}

.service-icon {
  flex-shrink: 0;
  width: clamp(20px, 4vw, 28px);
  height: clamp(20px, 4vw, 28px);
  color: var(--copper);
  transition: transform 0.3s ease;
}

.card-header button:hover .service-icon {
  transform: scale(1.1);
}

.card-header button::after {
  content: "+";
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  margin-left: auto;
  color: var(--copper);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.card-header button[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.card-body {
  background: var(--slate-100);
  color: var(--slate-800);
  padding: clamp(1.25rem, 4vw, 1.75rem);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.8;
  font-weight: 500;
}

/* ===============================================
   GALERIE
================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(1rem, 3vw, 1.25rem) 0;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: clamp(12px, 2vw, 16px);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  aspect-ratio: 4/3;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 38, 71, 0.95), transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 4vw, 1.75rem);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

.overlay-content h3 {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: clamp(0.25rem, 1vw, 0.375rem);
  letter-spacing: -0.01em;
}

.overlay-content p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--copper-light);
  font-weight: 600;
}

/* ===============================================
   FORMULAIRE DE CONTACT
================================================== */
.contact-form {
  max-width: min(600px, 95vw);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: clamp(2rem, 6vw, 3rem) clamp(1.5rem, 5vw, 3rem);
  border-radius: clamp(16px, 3vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  width: 100%;
}

.contact-form label {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 0.625rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 0.625rem);
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--white);
  letter-spacing: 0.02em;
}

.contact-form label svg {
  color: var(--copper-light);
  width: clamp(16px, 3vw, 18px);
  height: clamp(16px, 3vw, 18px);
  flex-shrink: 0;
}

.contact-form input,
.contact-form textarea {
  padding: clamp(0.875rem, 2.5vw, 1rem) clamp(1rem, 3vw, 1.25rem);
  border-radius: clamp(8px, 2vw, 12px);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--copper-light);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: clamp(120px, 20vw, 140px);
}

.form-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  padding: clamp(1rem, 3vw, 1.125rem);
  border-radius: clamp(8px, 2vw, 12px);
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  background: var(--gradient-accent);
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.4);
}

.form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.5);
}

.form-btn svg {
  width: clamp(16px, 3vw, 20px);
  height: clamp(16px, 3vw, 20px);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.form-btn:hover svg {
  transform: translateX(4px);
}

.error-message {
  font-size: clamp(0.75rem, 1.8vw, 0.85rem);
  color: #FCA5A5;
  font-weight: 600;
  margin-top: clamp(0.25rem, 1vw, 0.375rem);
  min-height: clamp(16px, 3vw, 20px);
}

.hidden-field {
  display: none;
}

/* INFORMATIONS DE CONTACT */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  width: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vw, 1rem);
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.08);
  border-radius: clamp(12px, 2vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.info-item svg {
  flex-shrink: 0;
  width: clamp(20px, 4vw, 24px);
  height: clamp(20px, 4vw, 24px);
  color: var(--copper-light);
  margin-top: 4px;
}

.info-item strong {
  display: block;
  font-weight: 700;
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin-bottom: clamp(0.25rem, 1vw, 0.375rem);
  color: var(--white);
}

.info-item p {
  color: var(--slate-300);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  margin: 0;
}

/* ===============================================
   CARTES DE CONFIANCE
================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(1.25rem, 3vw, 1.75rem);
  padding: clamp(1rem, 3vw, 1.25rem) 0;
  width: 100%;
}

.trust-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: clamp(1.75rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 1.75rem);
  border-radius: clamp(16px, 3vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(60px, 12vw, 80px);
  height: clamp(60px, 12vw, 80px);
  background: var(--gradient-accent);
  border-radius: 50%;
  margin-bottom: clamp(1rem, 3vw, 1.25rem);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.3);
}

.trust-icon svg {
  width: clamp(32px, 6vw, 48px);
  height: clamp(32px, 6vw, 48px);
  color: var(--white);
}

.trust-card h3 {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 700;
  margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
  color: var(--white);
  letter-spacing: -0.01em;
}

.trust-card p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--slate-300);
  line-height: 1.6;
}

/* ===============================================
   FOOTER
================================================== */
.footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: clamp(2.5rem, 8vw, 3.75rem) var(--spacing-md) clamp(1.5rem, 4vw, 1.875rem);
  width: 100%;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 2.5rem);
}

.footer-brand {
  max-width: 100%;
}

.footer-logo {
  height: clamp(40px, 6vw, 48px);
  width: auto;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.footer-brand p {
  color: var(--slate-300);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--white);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.footer-links a {
  display: block;
  color: var(--slate-300);
  text-decoration: none;
  margin-bottom: clamp(0.5rem, 1.5vw, 0.625rem);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--copper-light);
}

.footer-contact p {
  margin-bottom: clamp(0.4rem, 1.5vw, 0.5rem);
  font-size: clamp(0.85rem, 2vw, 0.95rem);
}

.footer-bottom {
  text-align: center;
  padding-top: clamp(1.5rem, 3vw, 1.875rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  color: var(--slate-300);
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
}

/* ===============================================
   RESPONSIVE - MEDIA QUERIES
================================================== */

/* ===== TABLETTES (1024px et moins) ===== */
@media (max-width: 1024px) {
  .header-container {
    padding: 0 clamp(1.5rem, 4vw, 2rem);
  }

  .nav {
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  .panel {
    padding: clamp(2.5rem, 8vh, 5rem) clamp(1.5rem, 4vw, 2rem);
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  }

  .trust-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  }
}

/* ===== TABLETTES PORTRAIT (768px et moins) ===== */
@media (max-width: 768px) {
  /* Header mobile */
  .header {
    height: 70px;
  }

  .header.scrolled {
    height: 65px;
  }

  /* Cacher la navigation sur mobile */
  .nav {
    display: none;
  }

  .header-container {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .logo-img {
    height: 40px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-tag {
    font-size: 0.6rem;
  }

  .btn-urgence {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .phone-icon {
    width: 14px;
    height: 14px;
  }

  /* Hero mobile */
  .hero {
    min-height: 85vh;
    padding: 3rem 1rem;
  }

  /* Désactiver la vidéo sur mobile pour économiser la bande passante */
  .hero-video {
    display: none;
  }

  /* Afficher l'image de fallback sur mobile */
  .hero::before {
    opacity: 1 !important;
  }

  .title-hero {
    padding: 0 0.5rem;
  }

  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .hero-sub {
    font-size: clamp(1rem, 4vw, 1.2rem);
    margin-bottom: 0.75rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Panels mobile */
  .panel {
    padding: 3rem 1rem;
    overflow-y: auto;
  }

  .panel-content {
    max-width: 100%;
  }

  .panel-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .panel-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.1rem);
    margin-bottom: 2rem;
  }

  /* Accordion mobile */
  #accordion {
    max-width: 100%;
    padding: 0;
  }

  .card {
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  .card-header button {
    font-size: clamp(1rem, 4vw, 1.15rem);
    padding: 1rem;
    gap: 0.75rem;
  }

  .service-icon {
    width: 20px;
    height: 20px;
  }

  .card-header button::after {
    font-size: 1.5rem;
  }

  .card-body {
    padding: 1.25rem 1rem;
    font-size: 0.95rem;
  }

  /* Galerie mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item {
    border-radius: 12px;
  }

  .overlay {
    padding: 1.25rem;
  }

  /* Formulaire mobile */
  .contact-form {
    padding: 2rem 1.5rem;
    border-radius: 16px;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

  .contact-form label {
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .form-btn {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }

  .info-item {
    padding: 1.25rem;
  }

  /* Trust cards mobile */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .trust-card {
    padding: 1.75rem 1.25rem;
  }

  .trust-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .trust-icon svg {
    width: 32px;
    height: 32px;
  }

  /* Footer mobile */
  .footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    padding-top: 1.5rem;
  }
}

/* ===== PETITS MOBILES (480px et moins) ===== */
@media (max-width: 480px) {
  .header {
    height: 65px;
  }

  .header.scrolled {
    height: 60px;
  }

  .logo-img {
    height: 35px;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .brand-tag {
    display: none; /* Cacher sur très petits écrans */
  }

  .btn-urgence {
    padding: 0.625rem 0.875rem;
    font-size: 0.75rem;
  }

  .hero {
    min-height: 75vh;
    padding: 2rem 0.75rem;
  }

  .hero-badge {
    padding: 0.4rem 0.875rem;
    font-size: 0.6rem;
  }

  .hero-title {
    font-size: clamp(1.6rem, 12vw, 2rem);
  }

  .btn-primary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .panel {
    padding: 2rem 0.75rem;
  }

  .panel-title {
    font-size: clamp(1.6rem, 10vw, 2rem);
  }

  .card-header button {
    padding: 0.875rem;
    font-size: 0.95rem;
  }

  .card-body {
    padding: 1rem 0.875rem;
    font-size: 0.9rem;
  }

  .contact-form {
    padding: 1.5rem 1rem;
  }

  .trust-card {
    padding: 1.5rem 1rem;
  }
}

/* ===== TRÈS PETITS ÉCRANS (360px et moins) ===== */
@media (max-width: 360px) {
  .header-container {
    padding: 0 0.75rem;
  }

  .logo-img {
    height: 32px;
  }

  .btn-urgence {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
  }

  .btn-urgence span {
    display: none; /* Afficher seulement l'icône */
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .panel-title {
    font-size: 1.5rem;
  }
}

/* ===== OPTIMISATIONS POUR LANDSCAPE MOBILE ===== */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .panel {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .hero-badge {
    margin-bottom: 0.75rem;
  }

  .hero-title {
    margin-bottom: 0.5rem;
  }

  .hero-sub,
  .hero-desc {
    margin-bottom: 0.5rem;
  }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  /* Augmenter les zones de touch sur mobile */
  .btn-urgence,
  .btn-primary,
  .form-btn,
  .nav a {
    min-height: 44px; /* Apple recommande 44px minimum */
  }

  .card-header button {
    min-height: 48px;
  }

  /* Désactiver les effets hover sur touch */
  .gallery-item:hover .overlay {
    transform: translateY(100%);
  }

  .trust-card:hover {
    transform: none;
  }

  .card:hover {
    transform: none;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .hero-video,
  .btn-urgence,
  .btn-primary,
  .form-btn {
    display: none !important;
  }

  .panel {
    page-break-inside: avoid;
  }
}
