/* ==========================================================================
   SITE ARTISAN — FEUILLE DE STYLE
   Palette : fond gris anthracite + accent bleu canard
   Typo : Space Grotesk (titres, esprit "plan technique") + Inter (texte)
   ========================================================================== */

:root {
  /* Couleurs */
  --bg: #17191a;
  --bg-elevated: #1f2224;
  --surface: #262a2c;
  --surface-hover: #2e3234;
  --border: #383d3f;
  --border-light: #45494b;
  --text: #eef1f2;
  --text-muted: #a3aaad;
  --text-dim: #767d80;
  --accent: #0c7488;
  --accent-light: #1aa2bc;
  --accent-dim: rgba(12, 116, 136, 0.16);
  --accent-text: #5fd4ea;

  /* Typo */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Rythme */
  --gap: 1.5rem;
  --radius: 3px;
  --container: 1180px;

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

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

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

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

section { padding: 6rem 0; border-top: 1px solid var(--border); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }
.section-head .section-note { color: var(--text-dim); font-size: 0.9rem; max-width: 320px; text-align: right; }

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #06161a;
  border-radius: var(--radius);
  border-radius: 30px; 
  /*border-radius: 12px;
  border-radius: 8px; */
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; 
  border-radius: 30px;
  color: var(--text);
  border-color: var(--border-light);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(23, 25, 26, 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.logo span { color: var(--accent-text); }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { 
  font-size: 0.9rem; color: var(--text-muted); 
  /* Style du lien téléphone */
    color: var(--text-muted, #a0a5b0);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-phone:hover {
    color: #FF6469;
}

/* Positionnement net et flottant de la banderole */
.social-side-banner {
    position: fixed !important;
    top: 50% !important;
    right: 14px !important; /* Décolle légèrement du bord droit pour un rendu plus propre */
    transform: translateY(-50%) !important;
    z-index: 999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Boutons d'icônes bien centrés et carrés */
.social-icon-link {
    position: relative !important;
    display: grid !important;
    place-items: center !important; /* Centrage absolu horizontal et vertical */
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #181b20 !important; /* Fond sombre net et propre */
    border: 1.5px solid rgba(255, 100, 105, 0.45) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
    text-decoration: none !important;
    line-height: 0 !important;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important;
}

/* 3. Image centrée et calibrée */
.social-icon-link img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    display: block !important;
    margin: auto !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important; /* Blanc pur */
    transition: filter 0.2s ease, transform 0.2s ease !important;
}

.social-icon-link svg {
    display: block;
}
.social-icon-link img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.social-icon-link:hover {
    background: #FF6469 !important;
    transform: scale(1.12) !important;
    border-color: #FF6469 !important;
    box-shadow: 0 6px 20px rgba(255, 100, 105, 0.45) !important;
}
.social-icon-link:hover {
  filter: brightness(0) invert(1)
          drop-shadow(0.5px 0 0 #ffffff)
          drop-shadow(-0.5px 0 0 #ffffff)
          drop-shadow(0 0.5px 0 0 #ffffff)
          drop-shadow(0 -0.5px 0 0 #ffffff)
          contrast(200%) !important;
          transform: scale(1.08) !important;
}


.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  width: 40px; height: 40px;
  color: var(--text);
  cursor: pointer;
}

/* ==========================================================================
   HERO — moment fort du site, esprit "plan de chantier"
   ========================================================================== */

.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  border-top: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-text);
  font-size: 0.85rem;
  font-family: var(--font-display);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(8px);
  animation: reveal 0.7s var(--ease) forwards;
  animation-delay: 0.1s;
}
.hero-eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  max-width: 14ch;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s var(--ease) forwards;
  animation-delay: 0.22s;
}

.hero-lede {
  font-size: 1.1rem;
  max-width: 42ch;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s var(--ease) forwards;
  animation-delay: 0.36s;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s var(--ease) forwards;
  animation-delay: 0.5s;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.8s var(--ease) forwards;
  animation-delay: 0.64s;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
}
.hero-stat span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.9s var(--ease) forwards;
  animation-delay: 0.3s;
  border-radius: 30px;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, var(--surface), var(--surface) 10px, var(--bg-elevated) 10px, var(--bg-elevated) 20px);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.9rem;
  text-align: center;
  border: 1px dashed var(--border-light);
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: transparent !important;
  border: none !important;
}

.service-card {
  padding: 2.2rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.service-card:hover { background: var(--bg-elevated); 
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 100, 105, 0.08); /* voile corail léger */
    border-color: rgba(255, 100, 105, 0.35); /* fine lueur sur les bords */
    box-shadow: 0 16px 32px rgba(255, 100, 105, 0.12); /* halo doux */
}

.service-card .num {
  font-family: var(--font-display);
  color: var(--accent-text);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
  font-weight: 700;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.92rem; margin: 0; }
.service-card {
  border-radius: 30px;
}


/* ==========================================================================
   PROCESSUS — vraie séquence, donc numérotée
   ========================================================================== */


.step, .process-step, .process-card {
    padding: 1.5rem;
    border-radius: 16px;
    background: transparent;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}


.step:hover, .process-step:hover, .process-card:hover {
    transform: translateY(-6px) scale(1.02);
    background: rgba(255, 100, 105, 0.08); /* fond corail très doux */
    border-color: rgba(255, 100, 105, 0.35); /* fine bordure lumineuse */
    box-shadow: 0 14px 28px rgba(255, 100, 105, 0.12); /* halo corail */
}


.process-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  padding-left: 1.2rem;
}

.process-step .step-index {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}

.process-step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.88rem; margin: 0; }

/* ==========================================================================
   RÉALISATIONS (galerie photos)
   ========================================================================== */

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

.gallery-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-item .photo-placeholder {
  aspect-ratio: 4 / 3;
  font-size: 0.85rem;
}

.gallery-caption {
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   AVIS — banderole défilante
   ========================================================================== */

.reviews-section { border-top: 1px solid var(--border); padding: 6rem 0; }

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.google-rating {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
}
.google-rating .score { font-size: 2rem; color: var(--accent-text); }
.google-rating .stars { color: var(--accent-text); letter-spacing: 2px; }
.google-rating .count { color: var(--text-dim); font-size: 0.85rem; font-family: var(--font-body); }

.reviews-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: scroll-left 42s linear infinite;
}

.reviews-marquee:hover .reviews-track { animation-play-state: paused; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  flex: 0 0 340px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.review-card .stars { color: var(--accent-text); font-size: 0.9rem; margin-bottom: 0.7rem; display: block; }
.review-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1rem; }
.review-card .review-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.review-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
}

.reviews-cta { margin-top: 2.5rem; text-align: center; }

/* ==========================================================================
   À PROPOS
   ========================================================================== */

.about-section .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-photo .photo-placeholder { aspect-ratio: 1 / 1; }

.about-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.about-list li {
  display: flex;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.about-list li::before {
  content: '';
  width: 6px; height: 6px;
  margin-top: 0.5em;
  background: var(--accent);
  flex-shrink: 0;
}

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

.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-block { display: grid; gap: 1.6rem; align-content: start; }

.info-row { border-top: 1px solid var(--border); padding-top: 1rem; }
.info-row .label { font-size: 0.78rem; color: var(--text-dim); font-family: var(--font-display); margin-bottom: 0.3rem; }
.info-row .value { font-size: 1rem; color: var(--text); }

.map-placeholder {
  margin-top: 0.5rem;
  aspect-ratio: 16/9;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.contact-form { display: grid; gap: 1.1rem; }

.form-row { display: grid; gap: 0.4rem; }
.form-row label { font-size: 0.85rem; color: var(--text-muted); }

.form-row input,
.form-row textarea {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-elevated);
}

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

/* piège anti-spam, invisible pour un humain */
.form-hp { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: rgba(12,116,136,0.15); color: var(--accent-text); border: 1px solid var(--accent); }
.form-status.error { background: rgba(200,60,60,0.12); color: #f2a3a3; border: 1px solid #6b3535; }

.submit-btn { justify-self: start; }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  padding: 0; margin: 0;
  flex-wrap: wrap;
}
.footer-nav a { font-size: 0.88rem; color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent-text); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 0.6rem;
}

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

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { order: -1; aspect-ratio: 16/10; }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .about-section .container { grid-template-columns: 1fr; }
  .contact-section .container { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
}

@media (max-width: 900px) {
  .main-nav.is-open {
    display: block;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
  }
  .main-nav.is-open ul { flex-direction: column; gap: 1.2rem; }
}

@media (max-width: 560px) {
  section { padding: 4rem 0; }
  .process-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .section-note { text-align: left; }
}

.logo svg {
  height: 40px; /*adapte la haute */
  width: auto;
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg-logo {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 650px !important;
  max-width: 80vw !important;
  height: auto !important;
  opacity: 0.9 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.hero::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('Logo-svg.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: 60%;
  height: 60%;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.hero-center-content {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 1100px !important;
  margin: 0 auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem) !important;
  line-height: 1.25 !important;
  max-width: 1000px !important;
}

.hero-cta {
  display: flex !important;
  gap: 1rem !important;
  justify-content: center !important;
  margin-top: 3rem !important;
}

.hero-eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.hero .container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 1200px !important;
  width: 90% !important;
}

.hero-copy h1,
.hero-copy p,
.hero-copy span {
  text-align: center !important;
}

.hero-lede {
  max-width: 850px !important;
  margin: 1.5rem auto 0 auto !important;
  line-height: 1.6 !important;
  text-align: center !important;
}

.hero-center-content,
.hero,
main,
section {
  position: relative;
  z-index: 2;
}

/* Banderole latérale fixe épurée */
.social-side-banner {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.6rem 0.5rem;
    background: rgba(18, 20, 24, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 100, 105, 0.3);
    border-right: none;
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.4);
}

/* Boutons d'icônes carrés et uniformes */
.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #fff;
    background: rgba(255, 100, 105, 0.1);
    border: 1px solid rgba(255, 100, 105, 0.25);
    border-radius: 8px;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.social-icon-link:hover {
    background: #FF6469;
    border-color: #FF6469;
    color: #fff;
    transform: translateX(-3px);
}

.cookie-banner {
  position: fixed !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-150%) !important;
  width: calc(100% - 40px) !important;
  max-width: 900px !important;
  background: rgba(18, 20, 24, 0,95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-radius : 14px !important;
  padding: 1.2rem 1.6rem !important;
  box-shadow: 0.10px 30px rgba(0, 0, 0, 0.5) !important;
  z-index: 1000 !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.cookie-bar{
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-top: 1px solid rgba(255, 100, 105, 0.3) !important;
  padding: 1rem 1.5rem !important;
  z-index: 99999 !important;
}

.cookie-container{
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
}

.cookie-text{
  margin: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  text-align: left !important;
}

.cookie-link{
  color: #FF6469 !important;
  text-decoration: underline !important;
  margin-left: 0.4rem !important;
}

.cookie-actions{
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  flex-shrink: 0 !important;
}

.btn-cookie{
  font-family: inherit !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-accept{
  background: #FF6469 !important;
  border: 1px solid #FF6469 !important;
  color: #ffffff !important;
}

.btn-accept:hover{
  background: #e04f54 !important;
  transform: translate(-1px) !important;
}

.btn-refuse:hover{
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.cookie-container{
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 1rem !important;
}

.cookie-actions{
  width: 100% !important;
  justify-content: flex-end !important;
}

.btn-cookie{
  flex: 1 !important;
  text-align: center !important;
}

/* La carte Google Maps prend toute la place sans déborder */
.map-placeholder{
  width: 100% !important;
  height: 320px !important;
  position:  relative !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  overflow: hidden !important;
  margin: 1.5rem 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.map-placeholder iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important; /* Tu peux ajuster ici la hauteur exacte voulue pour la carte */
  border: 0 !important;
}

.contact-info-block {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 1. On retire le grand cadre sombre global qui enveloppe tout */
#contact .container,
.contact-wrapper,
.contact-grid {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 2. Le cadre devient UNIQUEMENT celui de la carte */
.contact-info-block {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

/* 3. L'encadrement net et propre autour de la carte Google Maps */
.map-placeholder {
    width: 100% !important;
    max-width: 100% !important;
    height: 380px !important; /* Hauteur idéale pour bien voir la carte */
    margin: 1.5rem 0 !important;
    padding: 0 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: #181b20 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    overflow: hidden !important;
    display: block !important;
}

.map-placeholder iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    display: block !important;
    border: 0 !important;
}

/* Rend le logo en fond de formulaire bien plus visible et éclatant */
.contact-bg-logo,
#contact svg.hero-bg-logo,
#contact > svg {
    opacity: 0.80 !important;           /* Beaucoup plus présent (tu peux monter à 0.6 ou 0.8 si tu le veux encore plus flashy) */
    filter: saturate(1.4) contrast(1.2) brightness(1.1) !important; /* Couleurs vives : corail et bleu bien nets */
    pointer-events: none !important;    /* Ne bloque pas les clics sur les champs de formulaire */
}

/* Logo fixe en arrière-plan de tout le site */
.bg-fixed-logo,
.site-bg-logo,
body > svg.fixed-bg,
div[class*="bg-logo"] {
    opacity: 0.8 !important; /* Mets 1 si tu le veux à 100% sans transparence */
    filter: saturate(1.8) contrast(1.2) brightness(1.2) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

* Supprime définitivement la ligne entre le Hero et Nos prestations */
.hero,
section.hero,
#accueil {
    border-bottom: none !important;
    border-bottom-width: 0 !important;
}

#services,
section#services {
    border-top: none !important;
    border-top-width: 0 !important;
}

/* Supprime tous les traits horizontaux entre toutes les sections du site */
section,
.section,
.section-head,
.hero,
#services,
#etapes,
#realisations,
#avis,
#a-propos,
#contact {
    border-top: none !important;
    border-bottom: none !important;
}

/* Supprime d'éventuelles balises hr ou lignes décoratives */
hr,
.divider,
.section-divider {
    display: none !important;
}

/* Rapproche les icônes entre elles */
.floating-social,
.floating-socials,
aside[class*="social"],
div[class*="social-fixed"] {
  display: flex !important;
  flex-direction: column !important;
  gap: 1px !important; /* Espace réduit entre les deux boutons */
}

/* Style de base des boutons avec leur encadré */
.floating-social a,
.floating-socials a,
aside[class*="social"] a {
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease !important;
}

/* Effet au survol : fond noir profond et bordure subtile */
.floating-social a:hover,
.floating-socials a:hover,
aside[class*="social"] a:hover {
  background: #000000 !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.08) !important;
}

/* Assure que l'icône à l'intérieur reste bien blanche sur fond noir */
.floating-social a:hover img,
.floating-social a:hover svg,
.floating-socials a:hover img,
.floating-socials a:hover svg {
  filter: brightness(1) invert(0) !important;
}

/* --- CARROUSEL RÉALISATIONS COVERFLOW --- */
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 380px;
    margin: 3rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide {
    position: absolute;
    width: 280px;
    height: 280px;
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0.5s ease;
    cursor: pointer;
    user-select: none;
    opacity: 0;
    pointer-events: none;
}

.carousel-slide .photo-placeholder,
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e2430;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Carte centrale mise en avant */
.carousel-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1.25);
    z-index: 5;
    pointer-events: auto;
}

/* Cartes adjacentes */
.carousel-slide.prev-1 {
    opacity: 0.75;
    transform: translateX(-220px) scale(0.9) rotateY(15deg);
    z-index: 4;
    pointer-events: auto;
}
.carousel-slide.next-1 {
    opacity: 0.75;
    transform: translateX(220px) scale(0.9) rotateY(-15deg);
    z-index: 4;
    pointer-events: auto;
}

/* Cartes éloignées */
.carousel-slide.prev-2 {
    opacity: 0.4;
    transform: translateX(-380px) scale(0.7) rotateY(25deg);
    z-index: 3;
    pointer-events: auto;
}
.carousel-slide.next-2 {
    opacity: 0.4;
    transform: translateX(380px) scale(0.7) rotateY(-25deg);
    z-index: 3;
    pointer-events: auto;
}

/* Boutons flèches */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 17, 21, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: #000000;
    border-color: #38bdf8;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }


/* --- FIX COMPARATEUR AVANT / APRÈS --- */
.section-compare {
    padding: 4rem 0;
}

.compare-slider-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 950px;
    margin: 2rem auto 0;
}

.compare-wrapper {
    flex: 1;
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.compare-slider {
    width: 100%;
    margin-bottom: 1rem;
    cursor: pointer;
    accent-color: #38bdf8;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.compare-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    background: #0f1115;
}

.compare-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.compare-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Volet Avant découpé */
.compare-before {
    width: 50%;
    overflow: hidden;
    z-index: 2;
}

.compare-before img {
    width: 800px;
    max-width: none;
}

.compare-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #ffffff;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

.compare-badge {
    position: absolute;
    bottom: 1rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    z-index: 4;
}

.badge-before { left: 1rem; }
.badge-after { right: 1rem; }

.compare-nav-btn {
    background: rgba(15, 17, 21, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    flex-shrink: 0;
}

.compare-nav-btn:hover {
    border-color: #38bdf8;
    transform: scale(1.1);
}

.compare-project-title {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
}


/* Style Captcha */
.captcha-row {
    margin-bottom: 1.5rem;
}
.captcha-row label {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}
.captcha-error {
    display: none;
    color: #f87171;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}
.form-disclaimer {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.75rem;
}
.submit-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-top: 1.5rem;
    gap: 0.75rem;
}

.form-disclaimer {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #94a3b8;
    max-width: 480px;
    margin: 0;
    text-align: left;
}

.form-disclaimer a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.compare-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 850px; /* Doit être fixe et identique à la largeur max du conteneur */
    height: 100%;
    object-fit: cover;
    display: block;
}
.compare-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 850px;
    height: 100%;
    object-fit: cover;
    object-position: center top !important; /* Cale le cadrage tout en haut */
    display: block;
}
.compare-slider-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 1050px;
    margin: 2rem auto 0;
}

.compare-wrapper {
    flex: 1;
    width: 100%;
    max-width: 850px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.compare-container {
    width: 100%;
    height: 480px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}


.compare-nav-btn {
    background: rgba(15, 17, 21, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.compare-nav-btn:hover {
    background: #000000;
    border-color: #38bdf8;
    transform: scale(1.1);
}

.compare-project-title {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.03em;
}

/* --- PAGES POLITIQUES & CONFIDENTIALITÉ --- */
body.legal-page {
    background-color: #0f131a;
    color: #cbd5e1;
    margin: 0;
    padding: 0;
}

.legal-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.back-link {
    display: inline-block;
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.page-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.last-update {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

.legal-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.legal-block {
    margin-top: 2.5rem;
}

.section-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title span {
    color: #38bdf8;
    font-weight: 800;
    margin-right: 0.3rem;
}

.legal-block h3 {
    color: #f1f5f9;
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.legal-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 1rem;
}

/* --- PAGES LÉGALES & CONFIDENTIALITÉ --- */
body.privacy-page {
    background: #0b0f17;
    color: #94a3b8;
    font-family: inherit;
    min-height: 100vh;
    padding: 2rem 1rem 4rem;
}

.privacy-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 2.5rem;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.privacy-back {
    display: inline-block;
    color: #38bdf8;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 2rem;
    transition: opacity 0.2s ease;
}

.privacy-back:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.privacy-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.privacy-date {
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 2rem;
}

.privacy-intro {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 2rem;
}

.privacy-intro p {
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-section-title span {
    color: #38bdf8;
    font-weight: 800;
}

.privacy-section h3 {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 600;
    margin: 1.2rem 0 0.5rem;
}

.privacy-section p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.privacy-section a {
    color: #38bdf8;
    text-decoration: none;
}

.privacy-section a:hover {
    text-decoration: underline;
}
/* Alignement du titre et du sous-texte sur la même ligne */
.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    padding: 0 0.5rem;
}

.compare-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.compare-hint {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
    white-space: nowrap;
}

/* Curseur de glissement aux couleurs du logo */
.compare-slider {
    width: 100%;
    margin-bottom: 1.5rem;
    cursor: pointer;
    accent-color: #e05368; /* Rose framboise du logo */
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Pastille / bouton du slider pour WebKit (Safari, Chrome) */
.compare-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e05368;
    border: 2px solid #ffffff;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(224, 83, 104, 0.6);
}

/* Pastille pour Firefox */
.compare-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e05368;
    border: 2px solid #ffffff;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(224, 83, 104, 0.6);
}

/* Ligne de séparation verticale dans l'image */
.compare-divider {
    background: #e05368;
    box-shadow: 0 0 10px rgba(224, 83, 104, 0.7);
}

/* Survol des flèches précédent / suivant */
.compare-nav-btn:hover {
    border-color: #e05368;
    color: #e05368;
}
.site-header .logo img {
    height: 45px;
    width: auto;
    display: block;
}
/* Zone d'intervention SEO */
.service-area {
    padding: 4rem 1.5rem;
    background: #0f141f;
    text-align: center;
}

.service-area h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-area-lead {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.city-tags {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 800px;
}

.city-tags li {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.city-tags li:hover {
    border-color: #e05368;
    color: #ffffff;
}
/* Style de la FAQ */
.faq-section {
    padding: 4rem 1.5rem;
    background: #0b0f17;
}

.faq-section {
    padding: 4rem 1.5rem;
    background: transparent;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(17, 24, 39, 0.55); /* Laisse transparaître le logo */
    backdrop-filter: blur(8px);        /* Effet verre dépoli très propre */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
}

.faq-item summary {
    color: #f1f5f9;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: #e05368;
    font-size: 1.4rem;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    color: #94a3b8;
    margin: 0.8rem 0 0;
    line-height: 1.6;
    font-size: 0.95rem;
}
/* Zone d'intervention SEO */
.service-area {
    padding: 3.5rem 1.5rem;
    background: transparent; /* Supprime le fond opaque */
    text-align: center;
}

.service-area h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-area-lead {
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.city-tags {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    max-width: 800px;
}

.city-tags li {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.city-tags li:hover {
    border-color: #e05368;
    color: #ffffff;
}

.faq-section h2 {
    color: #ffffff;
    text-align: center;         /* Centre le titre par rapport aux questions */
    font-size: 1.8rem;
    margin-bottom: 2.5rem;      /* Espace entre le titre et la première question */
    margin-top: 1rem;
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;                /* Espace vertical entre chaque encadré */
}
/* ============================================ */
/* OPTIMISATIONS MOBILES */
/* ============================================ */
@media (max-width: 768px) {
    /* 1. Marges et respiration globale */
    .container {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    /* 2. Titres proportionnés (évite les coupures de mots) */
    h1 {
        font-size: 1.9rem !important;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* 3. Section FAQ sur mobile */
    .faq-item {
        padding: 0.9rem 1rem;
    }

    .faq-item summary {
        font-size: 0.95rem;
        gap: 0.8rem;
    }

    .faq-item p {
        font-size: 0.9rem;
    }

    /* 4. Pastilles des villes (Zone d'intervention) */
    .city-tags {
        gap: 0.4rem;
    }

    .city-tags li {
        font-size: 0.8rem;
        padding: 0.35rem 0.7rem;
    }

    /* 5. Sécurité anti-débordement horizontal */
    body, html {
        overflow-x: hidden;
    }
}
@media (max-width: 768px) {
    /* 1. Séparer proprement le titre et le texte d'indication */
    .transformation-header,
    .comparison-title-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .transformation-header h2,
    .comparison-title-wrap h2 {
        font-size: 1.5rem !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .transformation-header p,
    .comparison-hint {
        position: static !important; /* Annule un éventuel position: absolute qui fait chevaucher */
        font-size: 0.85rem !important;
        color: #94a3b8 !important;
        margin: 0 !important;
    }

    /* 2. Élargir le conteneur du comparateur avant/après */
    .comparison-container,
    .slider-wrapper,
    .before-after-container {
        width: 100% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
    }

    /* Adapter le ratio de l'image pour qu'elle respire */
    .comparison-container img {
        width: 100% !important;
        height: auto !important;
        max-height: 480px !important;
        object-fit: cover !important;
        border-radius: 14px !important;
    }

    /* 3. Masquer ou replacer les réseaux sociaux fixes sur mobile */
    .social-floating,
    .floating-socials {
        display: none !important; /* Trop encombrant sur écran étroit */
    }

    /* 4. Réduire l'encombrement de la bannière cookies */
    .cookie-banner {
        padding: 1rem !important;
        font-size: 0.8rem !important;
    }
}
/* Déblocage du menu burger mobile */
.nav-toggle,
#navToggle {
    position: relative !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

@media (max-width: 768px) {
    /* 1. Décoller les infos de contact, formulaire et carte des bords */
    .contact,
    .contact-section,
    #contact,
    .contact-container,
    .contact-grid,
    form {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    /* 2. Rendre les champs de formulaire propres et alignés */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 3. Décaler les icônes Instagram / Facebook tout au bord pour ne plus bloquer la lecture */
    .floating-social,
    .social-floating,
    .social-side,
    .social-links-fixed {
        right: 4px !important;
        transform: scale(0.8) !important;
        transform-origin: right center !important;
        opacity: 0.8 !important;
    }

    /* 4. Comparateur avant/après raccourci sur mobile */
    .compare-slider-box {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }

    .compare-wrapper {
        width: 80% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .compare-container {
        height: 340px !important;
        max-height: 40vh !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

.compare-after,
.compare-before {
    height: 100% !important;
}

.compare-container img {
    height: 340px !important;
    max-height: 40vh !important;
    object-fit: cover !important;
    object-position: center !important;
}

    .compare-slider {
        width: 100% !important;
        margin-bottom: 0.8rem !important;
    }
  }