:root {
  --bg: #070a10;            /* Noir très légèrement bleuté, inspiré du logo */
  --bg-alt: #0d1118;        /* Même teinte, nuance un peu plus claire pour l'alternance */
  --surface: #131820;
  --line: #242a34;
  --text: #f5f5f5;
  --muted: #8a93a0;
  --accent: #ffffff;
  --accent-hover: #dddddd;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  /* Texture fibre de carbone inspirée du logo :
     deux trames fines croisées en diagonale, ultra-discrètes. */
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.018) 2px 3px),
    repeating-linear-gradient(135deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.012) 2px 3px);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

img, video {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

/* Alternance des sections : overlay translucide qui laisse transparaître
   la texture carbone du body, tout en créant un contraste léger. */
#methode,
#travaux {
  background: rgba(255, 255, 255, 0.022);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 60px;
  letter-spacing: -0.03em;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(7, 10, 16, 0.78);
  /* Même trame carbone que le body, pour que la navbar vibre dans la continuité visuelle */
  background-image:
    repeating-linear-gradient(45deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.022) 2px 3px),
    repeating-linear-gradient(135deg,
      transparent 0 2px,
      rgba(255, 255, 255, 0.014) 2px 3px);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex: 1;
}

.logo img {
  height: 40px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a i {
  font-size: 1.1rem;
}

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

.nav-contact {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  margin-left: 16px;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-phone {
  font-weight: 600;
  color: var(--text) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  padding: 24px 0 0;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.footer-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  opacity: 0.6;
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
}
.footer-admin:hover {
  opacity: 1;
  color: var(--accent-hover);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links .btn-reserver {
  color: var(--bg) !important;
  background: var(--text);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  border: none;
}

.nav-links .btn-reserver:hover {
  background: var(--accent-hover);
  color: var(--bg) !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 1rem;
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero-section {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  gap: 80px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1.08;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.hero-image img {
  width: 100%;
  height: 63vh;
  object-fit: cover;
  filter: grayscale(15%);
  display: block;
}

/* Passage de chiffon diagonal (haut-droite → bas-gauche)
   qui repasse toutes les ~8s */
.hero-image::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    225deg,
    transparent 38%,
    rgba(255, 255, 255, 0.06) 44%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.06) 56%,
    transparent 62%
  );
  transform: translate(100%, -100%);
  pointer-events: none;
  animation: clothSweep 8s cubic-bezier(0.45, 0.05, 0.35, 1) 2.5s infinite;
  mix-blend-mode: screen;
  z-index: 2;
}

/* Petit reflet brillant, plus fin, qui apparaît de temps en temps
   dans une direction légèrement différente */
.hero-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    230deg,
    transparent 46%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 54%
  );
  transform: translate(100%, -100%);
  pointer-events: none;
  animation: shineFlash 8s ease-in-out 5.5s infinite;
  mix-blend-mode: overlay;
  z-index: 3;
  filter: blur(1px);
}

@keyframes clothSweep {
  0%   { transform: translate(100%, -100%); opacity: 0; }
  5%   { opacity: 1; }
  25%  { transform: translate(-100%, 100%); opacity: 1; }
  30%  { opacity: 0; }
  100% { transform: translate(-100%, 100%); opacity: 0; }
}

@keyframes shineFlash {
  0%   { transform: translate(100%, -100%); opacity: 0; }
  8%   { opacity: 0; }
  12%  { opacity: 1; }
  20%  { transform: translate(-100%, 100%); opacity: 1; }
  24%  { opacity: 0; }
  100% { transform: translate(-100%, 100%); opacity: 0; }
}

/* Method Section */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.method-icon {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 16px;
}

.method-step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}

.method-step p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Section */
.about-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}
.about-content p {
  margin-bottom: 12px;
}
.about-list {
  list-style: none;
  margin-bottom: 24px;
}
.about-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text);
}
.about-content .btn-outline {
  margin-top: 16px;
}

/* Services List */
.services-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: -40px;
  margin-bottom: 48px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.services-subtitle i {
  font-size: 1.1rem;
  color: #e8c87a;
}

.badge-new {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #e8c87a;
  color: #111;
  border-radius: 100px;
  vertical-align: middle;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.service-item:first-child {
  border-top: 1px solid var(--line);
}

.service-info {
  flex: 1;
  min-width: 0;
}

.service-thumbnail {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}

.service-thumbnail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--muted);
}

.service-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 8px;
}

.service-header h3 {
  font-size: 1.5rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-header .price {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
}

.service-item p {
  color: var(--muted);
  max-width: 600px;
  font-size: 1.05rem;
}

.btn-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon-only:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateX(4px);
}

/* Portfolio Filters */
.portfolio-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 20px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

/* Gallery & Overlay */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: zoom-in;
  background: var(--line); /* placeholder color */
}

.gallery-item img, .gallery-item video {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img, .gallery-item:hover video {
  transform: scale(1.05);
}

.video-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s ease;
}

.gallery-item:hover .video-icon {
  transform: scale(1.1);
  color: #fff;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-title {
  display: block;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.gallery-desc {
  display: block;
  font-size: 0.85rem;
  color: #ccc;
}

/* Modal Lightbox */
.modal {
  visibility: hidden; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.95); 
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
}

.modal.show {
  visibility: visible;
  opacity: 1;
}

.modal-media-container {
  max-width: 90%;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media-container img, .modal-media-container video {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.6);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal.show .modal-media-container img, .modal.show .modal-media-container video {
  transform: scale(1);
}

#modal-caption {
  margin-top: 20px;
  color: white;
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.modal.show #modal-caption {
  opacity: 1;
  transform: translateY(0);
}

#modal-caption strong {
  font-weight: 500;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: var(--muted);
}

/* Reservation */
.reservation-container {
  max-width: 540px;
}

.reservation-subtitle {
  color: var(--muted);
  margin-top: -40px;
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
}

.form-row .form-group {
  flex: 1;
}

/* Checkbox custom "Poils d'animaux / sable" */
.form-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  color: var(--text);
  font-size: 0.98rem;
}

.form-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.form-checkbox .checkbox-box {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.form-checkbox .checkbox-box i {
  opacity: 0;
  color: var(--bg);
  font-size: 0.9rem;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.form-checkbox input[type="checkbox"]:checked + .checkbox-box {
  background: var(--text);
  border-color: var(--text);
}

.form-checkbox input[type="checkbox"]:checked + .checkbox-box i {
  opacity: 1;
  transform: scale(1);
}

.form-checkbox input[type="checkbox"]:focus-visible + .checkbox-box {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

/* Zone de dépôt / sélection de photos */
.upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px;
  border: 1.5px dashed var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.upload-dropzone:hover,
.upload-dropzone:focus-within {
  border-color: #666;
  background: #151515;
  color: var(--text);
}

.upload-dropzone i {
  font-size: 1.6rem;
}

.upload-dropzone .upload-label em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.88rem;
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.upload-preview .preview-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.upload-preview .preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview .preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
}

.upload-preview .preview-remove:hover {
  background: #000;
}

/* Canaux d'envoi : WhatsApp / SMS / Email */
.form-channels {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-channels .btn-channel {
  flex: 1 1 0;
  min-width: 140px;
}

@media (max-width: 600px) {
  .form-channels .btn-channel {
    flex: 1 1 100%;
  }
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 18px 20px;
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Fix iOS : les inputs date et time prennent une largeur intrinsèque
   plus grande que leur conteneur flex. On force le shrink correct. */
.form-group input[type="date"],
.form-group input[type="time"] {
  display: block;
  width: 100%;
  min-height: 58px; /* aligne la hauteur avec les autres inputs */
  line-height: 1.2;
  text-align: left;
}

/* Indicateur du calendrier iOS/Chrome : on l'aligne à droite */
.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
  margin-left: auto;
  filter: invert(0.7);
  cursor: pointer;
}

/* Safari iOS : retire le padding interne qui fait déborder */
.form-group input[type="date"]::-webkit-date-and-time-value,
.form-group input[type="time"]::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.2em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #666;
  background: #151515;
}

/* Legal Page */
.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-weight: 500;
}
.legal-content p {
  color: var(--muted);
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--text);
  text-decoration: underline;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 0;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  color: var(--muted);
}

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

.footer-col h3 {
  color: var(--text);
  font-weight: 400;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.footer-col p {
  margin: 0;
}

.footer-col a {
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  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);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (max-width: 850px) {
  body {
    padding-bottom: 0;
  }

  .nav-content {
    padding: 16px 20px;
  }

  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: rgba(7, 10, 16, 0.96);
    background-image:
      repeating-linear-gradient(45deg,
        transparent 0 2px,
        rgba(255, 255, 255, 0.022) 2px 3px),
      repeating-linear-gradient(135deg,
        transparent 0 2px,
        rgba(255, 255, 255, 0.014) 2px 3px);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 99;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    flex-direction: row;
    font-size: 1.5rem;
    gap: 12px;
    color: var(--text);
  }

  .nav-links a i {
    font-size: 1.8rem;
    margin-bottom: 0;
  }

  .nav-links .btn-reserver {
    margin-top: 20px;
    background: var(--text);
    color: var(--bg) !important;
    padding: 16px 32px;
    font-size: 1.2rem;
    border-radius: 4px;
  }
  
  .nav-links .btn-reserver:hover {
    background: var(--accent-hover);
    color: var(--bg) !important;
  }

  .nav-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  .nav-phone {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 48px;
    text-align: center;
  }

  .hero-section {
    flex-direction: column;
    padding-top: 130px;
    gap: 48px;
    min-height: auto;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(2.4rem, 8vw, 3rem);
    margin-bottom: 20px;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 16px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
  }
  
  .hero-image img {
    height: auto;
    max-height: 50vh;
    border-radius: 8px;
  }

  .service-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 24px 0;
    gap: 14px;
  }

  .service-info {
    flex: 1 1 calc(100% - 94px);
    min-width: 0;
    order: 2;
  }

  .service-thumbnail {
    width: 80px;
    height: 80px;
    order: 1;
  }

  .service-thumbnail-icon {
    font-size: 2rem;
  }

  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 10px;
  }

  .service-header h3 {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .service-header .price {
    font-size: 0.95rem;
    color: var(--muted);
    font-weight: 500;
  }

  .service-item p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .btn-icon-only {
    align-self: flex-end;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    margin-top: 4px;
    order: 3;
    margin-left: auto;
  }
  
  .form-row {
    flex-direction: column;
    gap: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .portfolio-filters {
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* ============================================
   PAGE PROFESSIONNEL (professionnel.html)
   ============================================ */
.hero-pro-section {
  padding-top: 180px;
  padding-bottom: 80px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.022);
  position: relative;
}

.hero-pro-section h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 820px;
}

.hero-pro-section p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 40px;
}

.pro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.pro-eyebrow i {
  color: #e8c87a;
}

.pro-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: -40px;
  margin-bottom: 48px;
  max-width: 700px;
}

.pro-subtitle strong {
  color: var(--text);
}

/* Grille "Pour qui" */
.pro-targets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pro-target-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pro-target-card:hover {
  border-color: #444;
  transform: translateY(-2px);
}

.pro-target-card .pro-icon {
  font-size: 2rem;
  color: #e8c87a;
  margin-bottom: 14px;
  display: block;
}

.pro-target-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.pro-target-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

/* Grille prestations pros (compactes, sans prix) */
.pro-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pro-service {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.2s ease;
}

.pro-service:hover {
  border-color: #444;
}

.pro-service i {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 12px;
  display: block;
}

.pro-service h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.pro-service p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Grille avantages */
.pro-advantages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pro-advantage {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-alt);
}

.pro-advantage .pro-icon {
  font-size: 1.8rem;
  color: #e8c87a;
  margin-bottom: 14px;
  display: block;
}

.pro-advantage h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.pro-advantage p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 850px) {
  .pro-targets,
  .pro-advantages {
    grid-template-columns: 1fr;
  }
  .pro-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-pro-section {
    padding-top: 140px;
    min-height: auto;
  }
}

@media (max-width: 500px) {
  .pro-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATION NETTOYAGE — Pur'Élite Auto
   Site flou (poussière) → coup de chiffon dessiné
   qui révèle le site → pluie d'étoiles
   ============================================ */

.cleaning-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  overflow: hidden;
}

/* SVG du mask placé hors du flux (invisible) */
.cleaning-mask-svg {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* === Flou global = la poussière sur l'écran ===
   Desktop : mask SVG qui se dessine en zigzag le long du chemin.
   Mobile  : clip-path zigzag (fallback car le mask SVG + backdrop-filter
   + SMIL n'est pas supporté correctement sur iOS Safari). */
.cleaning-blur {
  position: absolute;
  inset: 0;
  background: rgba(30, 25, 18, 0.12);
  backdrop-filter: blur(14px) brightness(0.92) saturate(0.85);
  -webkit-backdrop-filter: blur(14px) brightness(0.92) saturate(0.85);
  mask: url(#clothReveal);
  -webkit-mask: url(#clothReveal);
  animation: blurFadeOut 0.35s ease 1.85s forwards;
}

/* Le div "chiffon" reste caché : l'illusion du chiffon vient du mask
   qui se dessine (ou du clip-path sur mobile). */
.cleaning-cloth { display: none; }

/* === Étoiles de propreté === */
.cleaning-stars {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: starsShow 1s ease 2.1s forwards;
}

.cleaning-stars span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  box-shadow:
    0 0 14px 3px rgba(255, 255, 255, 0.9),
    0 0 32px 8px rgba(200, 230, 255, 0.55);
  opacity: 0;
  animation: starTwinkle 0.9s ease forwards;
}
.cleaning-stars span::before,
.cleaning-stars span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.95), transparent);
  transform: translate(-50%, -50%);
}
.cleaning-stars span::before { width: 44px; height: 1.4px; }
.cleaning-stars span::after  { width: 1.4px; height: 44px; }

.cleaning-stars span:nth-child(1) { top: 22%; left: 18%; animation-delay: 2.1s;  }
.cleaning-stars span:nth-child(2) { top: 15%; left: 68%; animation-delay: 2.2s;  width: 10px; height: 10px; }
.cleaning-stars span:nth-child(3) { top: 42%; left: 38%; animation-delay: 2.25s; width: 6px;  height: 6px; }
.cleaning-stars span:nth-child(4) { top: 48%; left: 82%; animation-delay: 2.15s; width: 10px; height: 10px; }
.cleaning-stars span:nth-child(5) { top: 68%; left: 25%; animation-delay: 2.3s;  width: 7px;  height: 7px; }
.cleaning-stars span:nth-child(6) { top: 72%; left: 60%; animation-delay: 2.2s;  }
.cleaning-stars span:nth-child(7) { top: 35%; left: 55%; animation-delay: 2.35s; width: 5px;  height: 5px; }
.cleaning-stars span:nth-child(8) { top: 85%; left: 88%; animation-delay: 2.4s;  width: 6px;  height: 6px; }

/* === Fallback mobile : iOS Safari ne rend pas l'animation
   SMIL sur le mask combinée au backdrop-filter. On remplace par
   un clip-path zigzag pour que le passage du chiffon soit visible. */
@media (max-width: 768px) {
  .cleaning-blur {
    mask: none;
    -webkit-mask: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    animation: mobileZigzag 2s cubic-bezier(0.55, 0, 0.3, 1) 0.3s forwards;
  }
}

@keyframes mobileZigzag {
  0%   { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  /* Coup 1 : haut-droite vers centre-gauche */
  33%  { clip-path: polygon(0 35%, 100% 12%, 100% 100%, 0 100%); }
  /* Coup 2 : centre-gauche vers milieu-droit */
  66%  { clip-path: polygon(0 90%, 100% 50%, 100% 100%, 0 100%); }
  /* Coup 3 : disparition vers le coin bas-droit */
  100% { clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%); opacity: 0; }
}

/* === Keyframes === */
@keyframes blurFadeOut {
  to {
    opacity: 0;
    backdrop-filter: blur(0) brightness(1) saturate(1);
    -webkit-backdrop-filter: blur(0) brightness(1) saturate(1);
  }
}

@keyframes starsShow {
  to { opacity: 1; }
}

@keyframes starTwinkle {
  0%   { opacity: 0; transform: scale(0.2) rotate(0deg); }
  45%  { opacity: 1; transform: scale(1.3) rotate(45deg); }
  100% { opacity: 0; transform: scale(0.7) rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cleaning-overlay { display: none; }
}

/* ============ AVIS GOOGLE ============ */
#avis .section-title { margin-bottom: 32px; }

.reviews-header {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: var(--surface, #151821);
  border: 1px solid var(--line, rgba(255,255,255,0.08));
  border-radius: 14px;
}
.rating-score {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent, #c9a15a);
  line-height: 1;
}
.rating-count { color: var(--muted, #8b92a0); font-size: 0.9rem; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.review-card {
  background: var(--surface, #151821);
  border: 1px solid var(--line, rgba(255,255,255,0.08));
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, border-color 0.2s;
}
.review-card:hover { transform: translateY(-3px); border-color: var(--accent, #c9a15a); }
.review-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-card header img,
.review-card .avatar-fallback {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2, #1f232c);
  color: var(--accent, #c9a15a);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}
.review-card header div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.review-card header strong { font-size: 0.95rem; }
.review-card .small { font-size: 0.78rem; }
.google-mark { color: #4285F4; font-size: 1.3rem; }
.review-card .stars { color: #f5b400; letter-spacing: 1px; font-size: 1rem; }
.review-card .stars-empty { color: rgba(255,255,255,0.15); }
.review-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text, #e7e9ee);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews-cta { text-align: center; }
.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .rating-summary { padding: 14px 18px; flex-wrap: wrap; justify-content: center; }
  .rating-score { font-size: 2rem; }
}
