/**
 * Reformas Integrales MS - Styles principaux
 * Palette de couleurs imposée
 */

/* ===== VARIABLES CSS ===== */
:root {
  --orange-grue: #D87933;
  --vert-toiture: #2C5F3A;
  --bleu-toiture: #1E3A5F;
  --rouge-toiture: #7A2E33;
  --noir-texte: #1C1C1C;
  --gris-ombre: #3C3C3C;
  --blanc: #FFFFFF;
}

/* ===== RESET ET BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--noir-texte);
  line-height: 1.6;
  background-color: var(--blanc);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  line-height: 1.25;
}
h3 {
  font-size: 1.5rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== LAYOUT ET CONTENEURS ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
  scroll-margin-top: 80px;
}

section:nth-child(even) {
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  color: var(--bleu-toiture);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--orange-grue);
  border-radius: 2px;
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--blanc);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Logo avec image */
#header .logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

#header .logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

/* Bouton hamburger - masqué par défaut sur desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--bleu-toiture);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background-color: var(--orange-grue);
}

/* État ouvert du hamburger */
#header.nav-open .hamburger span:nth-child(1) {
  transform: translateY(10.5px) rotate(45deg);
}

#header.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

#header.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-10.5px) rotate(-45deg);
}

/* Navigation */
#header nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
}

#header nav a {
  color: var(--noir-texte);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

/* Animation de soulignement pour les liens de navigation */
#header nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--orange-grue);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#header nav a:not(.btn):hover::after {
  width: 100%;
}

/* Hover uniquement pour les liens de navigation classiques (pas les boutons) */
#header nav a:not(.btn):hover {
  color: var(--orange-grue);
}

/* ===== HERO ===== */
#hero {
  margin-top: 70px;
  background: linear-gradient(135deg, var(--bleu-toiture) 0%, var(--vert-toiture) 100%);
  color: var(--blanc);
  text-align: center;
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
  pointer-events: none;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Badge Hero - Version modernisée */
#hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--blanc);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.3px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero .hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--orange-grue);
  background: rgba(216, 121, 51, 0.2);
}

#hero h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.15;
}

/* Mise en avant d'Elvis dans le titre */
#hero h1 .hero-highlight {
  color: var(--orange-grue);
  font-size: 4.5rem;
  display: inline-block;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

#hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0.98;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  font-weight: 400;
}

/* Mise en avant d'Elvis et Reformas Integrales MS dans le sous-titre */
#hero .subtitle .hero-highlight-name {
  color: var(--orange-grue);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#hero .subtitle .hero-highlight-brand {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--orange-grue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#hero .bullet-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 3.5rem auto;
  max-width: 950px;
}

#hero .bullet-points li {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#hero .bullet-points li:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--orange-grue);
}

/* CTA du hero avec hover amélioré */
#hero .btn-primary {
  margin-top: 1rem;
  padding: 1.2rem 3rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 25px rgba(216, 121, 51, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero .btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 40px rgba(216, 121, 51, 0.7);
  background-color: #c76828;
}

/* ===== ANIMATIONS ===== */

/* Respecter les préférences utilisateur pour les animations réduites */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Optimisation des animations sur mobile pour les performances */
@media (max-width: 768px) {
  /* Simplifier les animations de hover sur mobile */
  .service-card:hover,
  .project-card:hover,
  .process-step:hover,
  .testimonial-card:hover {
    transform: none;
  }

  .faq-item:hover {
    transform: none;
  }

  /* Réduire les animations du hero sur mobile */
  #hero .bullet-points li:hover,
  #hero .hero-badge:hover {
    transform: translateY(-1px);
  }
}

/* Animation du hero au chargement - Version améliorée */
@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation en cascade pour le hero */
html.animations-ready .hero-animate {
  animation: hero-fade-in 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Animation subtile pour le badge */
@keyframes hero-badge-appear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

html.animations-ready #hero .hero-badge {
  animation: hero-badge-appear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* ===== BOUTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-align: center;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--orange-grue);
  color: var(--blanc);
  box-shadow: 0 4px 15px rgba(216, 121, 51, 0.3);
}

/* Micro-interaction améliorée pour les boutons */
.btn-primary:hover {
  background-color: #b85a1f;
  color: var(--blanc);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(216, 121, 51, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 0 4px 15px rgba(216, 121, 51, 0.3);
  transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-header {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(216, 121, 51, 0.25);
}

/* CTA WhatsApp du header - Design premium avec icône */
.btn-header.btn-primary {
  background-color: var(--orange-grue);
  color: var(--blanc);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

/* CTA WhatsApp du header - hover amélioré */
.btn-header.btn-primary:hover,
.btn-header.btn-primary:focus-visible {
  background-color: #b35f24;
  color: var(--blanc); /* Garder le texte blanc au hover */
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(216, 121, 51, 0.4);
}

/* Icône WhatsApp dans le bouton header */
.btn-header.btn-primary .whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: var(--blanc);
}

/* Accessibilité pour le focus */
.btn-primary:focus-visible {
  outline: 2px solid var(--vert-toiture);
  outline-offset: 3px;
}

/* ===== BOUTON WHATSAPP FLOTTANT ===== */
.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.floating-whatsapp:focus-visible {
  outline: 2px solid var(--blanc);
  outline-offset: 3px;
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

/* ===== SOBRE ELVIS ===== */
#sobre-elvis {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 5rem 0;
}

#sobre-elvis h2 {
  text-align: center;
  color: var(--bleu-toiture);
  margin-bottom: 3rem;
  font-size: 2.8rem;
  position: relative;
  padding-bottom: 1rem;
}

#sobre-elvis h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-grue), #e89450);
  border-radius: 2px;
}

#sobre-elvis .elvis-content {
  max-width: 800px;
  margin: 0 auto;
}

#sobre-elvis .elvis-text {
  background: var(--blanc);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-left: 6px solid var(--orange-grue);
  position: relative;
}

#sobre-elvis .elvis-intro {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange-grue);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.3px;
}

#sobre-elvis .elvis-description {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--gris-ombre);
  margin-bottom: 2rem;
  text-align: center;
}

#sobre-elvis .elvis-signature {
  font-family: 'Georgia', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--bleu-toiture);
  text-align: right;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(216, 121, 51, 0.2);
  font-weight: 600;
}

/* ===== SECTIONS ===== */
section h2 {
  text-align: center;
  color: var(--bleu-toiture);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--orange-grue);
  border-radius: 2px;
}

section .content {
  max-width: 900px;
  margin: 0 auto;
}

section .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gris-ombre);
  margin-top: -1.5rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SERVICIOS ===== */
#servicios .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--blanc);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(60, 60, 60, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Micro-interaction améliorée pour les cartes de service */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(60, 60, 60, 0.15);
  border-color: var(--orange-grue);
}

.service-card h3 {
  color: var(--orange-grue);
  margin-bottom: 1rem;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #b85a1f;
}

.service-card p {
  color: var(--gris-ombre);
  line-height: 1.7;
}

/* ===== PROCESO ===== */
#proceso .process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2.5rem 2rem;
  background-color: var(--blanc);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--orange-grue);
}

.process-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--orange-grue), #e89450);
  color: var(--blanc);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(216, 121, 51, 0.3);
}

.process-step p {
  font-weight: 600;
  color: var(--noir-texte);
  line-height: 1.6;
}

/* ===== ZONA ===== */
#zona .areas-list {
  text-align: center;
  margin-top: 2rem;
}

#zona .areas-intro {
  font-size: 1.1rem;
  color: var(--gris-ombre);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#zona .areas-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

#zona .area-tag {
  background: linear-gradient(135deg, var(--bleu-toiture), #2a4f7a);
  color: var(--blanc);
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(30, 58, 95, 0.2);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-block;
}

#zona .area-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
  background: linear-gradient(135deg, #2a4f7a, var(--bleu-toiture));
}

/* ===== TRABAJOS ===== */
#trabajos .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background-color: var(--blanc);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Micro-interaction améliorée pour les cartes de projet */
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--orange-grue);
}

.project-card .project-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gris-ombre);
  font-style: italic;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

/* Effet de zoom sur l'image au hover */
.project-card .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-card .project-info {
  padding: 2rem;
}

.project-card h3 {
  color: var(--bleu-toiture);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.project-card .location {
  color: var(--gris-ombre);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.project-card .location::before {
  content: '📍';
  font-size: 1rem;
}

/* ===== OPINIONES ===== */
#opiniones .testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--blanc);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--orange-grue);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Micro-interaction améliorée pour les témoignages */
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-left-width: 8px;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--orange-grue);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card .testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--noir-texte);
  position: relative;
  z-index: 1;
  padding-left: 1rem;
}

.testimonial-card .testimonial-author {
  font-weight: 700;
  color: var(--bleu-toiture);
  font-size: 0.95rem;
  display: block;
  text-align: right;
  padding-right: 0.5rem;
}

/* ===== FAQ ===== */
#faq .faq-list {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  background-color: var(--blanc);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--bleu-toiture);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateX(8px);
  border-left-width: 6px;
}

.faq-item .question {
  font-weight: 700;
  color: var(--bleu-toiture);
  margin-bottom: 1rem;
  font-size: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.faq-item .question::before {
  content: 'Q';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--bleu-toiture), #2a4f7a);
  color: var(--blanc);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  margin-top: 0.1rem;
}

.faq-item .answer {
  color: var(--gris-ombre);
  line-height: 1.8;
  padding-left: 2.5rem;
}

/* ===== CONTACTO ===== */
#contacto {
  background: linear-gradient(135deg, var(--bleu-toiture) 0%, var(--vert-toiture) 100%);
  color: var(--blanc);
  text-align: center;
  padding: 80px 0;
}

#contacto h2 {
  color: var(--blanc);
}

#contacto .contact-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#contacto .contact-info {
  margin: 30px 0;
  font-size: 1.1rem;
}

#contacto .contact-info p {
  margin: 10px 0;
}

/* ===== FOOTER ===== */
#footer {
  background-color: var(--noir-texte);
  color: var(--blanc);
  padding: 40px 0;
  text-align: center;
}

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

#footer .company-info {
  margin-bottom: 20px;
  line-height: 1.8;
}

#footer .company-info p {
  margin: 5px 0;
  font-size: 0.9rem;
}

#footer .copyright {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gris-ombre);
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===== RESPONSIVE ===== */

/* Tablette */
@media (max-width: 992px) {
  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 4rem 0;
  }

  #hero {
    padding: 100px 0;
  }

  #hero h1 {
    font-size: 3rem;
    margin-bottom: 1.75rem;
  }

  #hero h1 .hero-highlight {
    font-size: 3.3rem;
  }

  #hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }

  #hero .bullet-points {
    margin: 3rem auto;
  }

  section h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Optimisation des cartes sur tablette */
  .service-card,
  .testimonial-card {
    padding: 2rem;
  }

  .project-card .project-info {
    padding: 1.75rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .container {
    padding: 0 1.25rem;
  }

  #header {
    padding: 10px 0;
  }

  /* Logo réduit sur mobile */
  #header .logo-img {
    height: 40px;
    max-width: 140px;
  }

  /* Afficher le hamburger sur mobile */
  .hamburger {
    display: flex;
  }

  #hero {
    padding: 90px 0;
  }

  /* Hero badge responsive */
  #hero .hero-badge {
    font-size: 0.9rem;
    padding: 0.7rem 1.5rem;
    margin-bottom: 1.75rem;
  }

  /* Elvis highlight responsive */
  #hero h1 .hero-highlight {
    font-size: 3rem;
  }

  /* Sobre Elvis responsive */
  #sobre-elvis {
    padding: 3rem 0;
  }

  #sobre-elvis h2 {
    font-size: 2rem;
  }

  #sobre-elvis .elvis-text {
    padding: 2rem;
  }

  #sobre-elvis .elvis-intro {
    font-size: 1.2rem;
  }

  #sobre-elvis .elvis-description {
    font-size: 1rem;
  }

  #sobre-elvis .elvis-signature {
    font-size: 1.1rem;
  }

  /* Navigation cachée par défaut sur mobile */
  #header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--blanc);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
  }

  /* Navigation ouverte sur mobile */
  #header.nav-open nav {
    max-height: 500px;
    opacity: 1;
    padding: 1rem 0;
  }

  /* Menu en colonne sur mobile */
  #header nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
  }

  #header nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  #header nav li:last-child {
    border-bottom: none;
  }

  #header nav a {
    display: block;
    padding: 0.875rem 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
  }

  #header nav a:hover {
    background-color: rgba(216, 121, 51, 0.05);
    padding-left: 2rem;
  }

  #header nav .btn-header {
    margin: 0.5rem 1.5rem;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    width: calc(100% - 3rem);
  }

  #hero {
    padding: 90px 0;
    margin-top: 60px;
  }

  #hero h1 {
    font-size: 2.4rem;
    letter-spacing: -0.3px;
    margin-bottom: 1.5rem;
  }

  #hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  #hero .bullet-points {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin: 2.5rem auto;
  }

  #hero .bullet-points li {
    text-align: center;
    padding: 0.8rem 1.5rem;
  }

  #hero .btn-primary {
    padding: 1.1rem 2.5rem;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.25;
  }
  h2 {
    font-size: 1.85rem;
    line-height: 1.3;
  }
  h3 {
    font-size: 1.35rem;
    line-height: 1.35;
  }

  section {
    padding: 3.5rem 0;
  }

  section h2 {
    font-size: 1.85rem;
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.85rem;
    margin-bottom: 2.5rem;
  }

  .section-title::after,
  section h2::after {
    width: 60px;
    height: 3px;
  }

  /* Grilles en une colonne sur mobile */
  #servicios .services-grid,
  #trabajos .projects-grid,
  #opiniones .testimonials-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  /* Optimisation des cartes sur mobile */
  .service-card,
  .testimonial-card,
  .process-step {
    padding: 2rem 1.75rem;
  }

  .project-card .project-info {
    padding: 1.75rem;
  }

  .faq-item {
    padding: 1.75rem 2rem;
  }

  #proceso .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-step .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  /* FAQ mobile */
  .faq-item {
    padding: 1.25rem 1.5rem;
  }

  .faq-item .question {
    font-size: 1.05rem;
  }

  .faq-item .answer {
    padding-left: 0;
    margin-top: 0.75rem;
  }

  .faq-item .question::before {
    min-width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  /* Bouton WhatsApp sur mobile */
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .floating-whatsapp .whatsapp-icon {
    width: 24px;
    height: 24px;
  }

  /* Boutons CTA - Touch-friendly */
  .btn {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #hero .btn {
    width: 100%;
    max-width: 350px;
  }

  #contacto .btn {
    width: 100%;
    max-width: 350px;
  }

  /* Footer */
  #footer {
    padding: 30px 0;
  }

  #footer .company-info p {
    font-size: 0.85rem;
  }
}

/* Petit mobile */
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  #hero {
    padding: 70px 0;
  }

  #hero h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  #hero h1 .hero-highlight {
    font-size: 2.5rem;
  }

  #hero .hero-badge {
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    margin-bottom: 1.5rem;
  }

  #hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
  }

  #hero .bullet-points {
    margin: 2rem auto;
    gap: 0.85rem;
  }

  #hero .bullet-points li {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }

  section h2,
  .section-title {
    font-size: 1.65rem;
  }

  #sobre-elvis h2 {
    font-size: 1.75rem;
  }

  #sobre-elvis .elvis-text {
    padding: 1.75rem;
  }

  #sobre-elvis .elvis-intro {
    font-size: 1.15rem;
  }

  #sobre-elvis .elvis-description {
    font-size: 1rem;
  }

  #sobre-elvis .elvis-signature {
    font-size: 1.05rem;
  }

  /* Cartes sur petit mobile */
  .service-card,
  .testimonial-card,
  .process-step {
    padding: 1.75rem 1.5rem;
  }

  .project-card .project-info {
    padding: 1.5rem;
  }

  .faq-item {
    padding: 1.5rem 1.75rem;
  }

  /* Boutons touch-friendly sur petit mobile */
  .btn {
    padding: 0.95rem 2rem;
    font-size: 0.9rem;
    min-height: 48px;
  }
}

/* ===== PAGES LÉGALES ===== */
.legal-page {
  padding: 120px 0 80px;
  background-color: var(--blanc);
}

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

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--bleu-toiture);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.legal-page h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--orange-grue);
  border-radius: 2px;
}

.legal-page p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--noir-texte);
  font-size: 1.05rem;
}

.legal-page ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-page li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--noir-texte);
}

.legal-page strong {
  color: var(--bleu-toiture);
  font-weight: 600;
}

/* Liens légaux dans le footer */
.legal-links {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  text-decoration: underline;
}

.legal-links a:hover {
  color: var(--orange-grue);
}

/* Responsive pour pages légales */
@media (max-width: 768px) {
  .legal-page {
    padding: 100px 0 60px;
  }

  .legal-page h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
  }

  .legal-page p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .legal-page {
    padding: 90px 0 50px;
  }

  .legal-page h1 {
    font-size: 1.75rem;
  }

  .legal-page ul {
    padding-left: 1rem;
  }
}
