/* ============================================================================
   SERGE SARASA – VERRIÈRES INTÉRIEURES ACIER ET VERRE
   ============================================================================
   VARIABLES DE DESIGN – modifie ici pour changer tout le site d'un coup
   ============================================================================ */

/* TYPO Adobe Fonts (Typekit) – décommente pour activer */
/* @import url('https://use.typekit.net/wjs6thv.css'); */

:root {
  /* === COULEURS === */
  --color-accent:        #E8450A;   /* Orange brûlé Fiat – couleur principale */
  --color-accent-dark:   #C93A08;   /* Orange foncé – hover boutons */
  --color-dark:          #1a1a1a;   /* Noir acier – header, footer */
  --color-dark-mid:      #2d2d2d;   /* Gris foncé – texte principal */
  --color-dark-soft:     #0f0f0f;   /* Presque noir – sous-menus mobile */
  --color-border:        #333333;   /* Bordures sombres */
  --color-border-light:  #e5e5e5;   /* Bordures claires */
  --color-bg:            #ffffff;   /* Fond blanc */
  --color-bg-alt:        #f5f5f5;   /* Fond gris clair – sections alternées */
  --color-text:          #2d2d2d;   /* Texte principal */
  --color-text-light:    #666666;   /* Texte secondaire */
  --color-text-muted:    #999999;   /* Texte discret */
  --color-text-white:    #ffffff;   /* Texte sur fond sombre */
  --color-text-off-white:#cccccc;   /* Texte atténué sur fond sombre */

  /* === TYPOGRAPHIE === */
  --font-primary:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Pour Adobe Fonts : --font-primary: 'acumin-pro', sans-serif; */

  /* === ESPACEMENTS === */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2rem;
  --space-xl:   3rem;
  --space-2xl:  4rem;

  /* === LAYOUT === */
  --max-width:        1200px;
  --border-radius:    4px;
  --border-radius-lg: 8px;

  /* === TRANSITIONS === */
  --transition:      0.2s ease;
  --transition-slow: 0.3s ease;

  /* === OVERLAY IMAGES HERO (assombrit pour lisibilité texte) === */
  --hero-overlay: rgba(0,0,0,0.45);
}

/* RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Assurer que le corps s'étire sur toute la hauteur */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* SKIP LINK ACCESSIBILITÉ
   ========================================================================== */

.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  z-index: 999;
  background-color: var(--color-accent);
  color: var(--color-text-white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* HEADER & NAVIGATION
   ========================================================================== */

header {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Conteneur principal de la nav */
.main-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  min-height: 60px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text-white);
  font-weight: 700;
  padding: 0.75rem 0;
  flex-shrink: 0;
}

.logo-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-white);
}

.logo-subtitle {
  font-size: 0.6rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* Checkbox cachée pour le menu mobile */
.menu-toggle-input {
  display: none;
}

/* Bouton hamburger */
.menu-toggle-label {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 8px 4px;
  z-index: 101;
  flex-shrink: 0;
}

.menu-toggle-label span {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

/* Liens de navigation — cachés sur mobile par défaut */
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---- MOBILE (< 1024px) ---- */
@media (max-width: 1023px) {
  /* Logo prend l'espace disponible */
  .logo {
    flex: 1;
  }

  /* Menu ouvert : nav-links s'affiche en colonne sous le header */
  .menu-toggle-input:checked ~ .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid #333333;
  }

  .nav-links > li > a {
    display: block;
    color: var(--color-text-off-white);
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--color-dark-mid);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .nav-links > li:last-child > a {
    border-bottom: none;
  }

  .nav-links > li > a:hover {
    color: var(--color-accent);
    background-color: #111111;
  }

  /* Sous-menus toujours visibles en mobile (pas de hover) */
  .menu-toggle-input:checked ~ .nav-links .dropdown-menu {
    display: block;
    position: static;
    border: none;
    border-left: 3px solid var(--color-accent);
    background-color: #0f0f0f;
    box-shadow: none;
    border-radius: 0;
    margin-left: 1rem;
    min-width: unset;
    margin-top: 0;
  }

  .menu-toggle-input:checked ~ .nav-links .dropdown-menu li {
    border-bottom: none;
  }

  /* Animation hamburger → croix */
  .menu-toggle-input:checked ~ .menu-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle-input:checked ~ .menu-toggle-label span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
  }

  .menu-toggle-input:checked ~ .menu-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .btn-nav-cta {
    display: block;
    text-align: center;
    background-color: var(--color-accent);
    color: var(--color-text-white) !important;
    margin-top: 0.5rem;
    border-radius: 4px;
    padding: 0.75rem 1rem;
  }
}

/* ---- DESKTOP (>= 1024px) ---- */
@media (min-width: 1024px) {
  /* Cacher le bouton hamburger */
  .menu-toggle-label {
    display: none;
  }

  /* Afficher les liens en ligne */
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-links > li > a {
    color: var(--color-text-off-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

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

  .btn-nav-cta {
    background-color: var(--color-accent);
    color: var(--color-text-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease;
  }

  .btn-nav-cta:hover {
    background-color: var(--color-accent-dark) !important;
    color: var(--color-text-white) !important;
  }
}

/* DROPDOWN MENU
   ========================================================================== */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background-color: var(--color-dark);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  min-width: 260px;
  display: none;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-menu li {
  border-bottom: 1px solid #2d2d2d;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  display: block;
  color: var(--color-text-off-white);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--color-text);
  color: var(--color-accent);
}

/* STICKY CTA MOBILE
   ========================================================================== */

.sticky-cta-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  border-top: 2px solid var(--color-accent);
  display: none;
  z-index: 500;
}

@media (max-width: 767px) {
  .sticky-cta-mobile {
    display: flex;
    gap: 0;
  }

  .sticky-cta-mobile a {
    flex: 1;
    padding: 0.875rem 1rem;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
    color: var(--color-text-white);
    border-right: 1px solid #2d2d2d;
  }

  .sticky-cta-mobile a:last-child {
    border-right: none;
  }

  .sticky-btn-tel {
    background-color: var(--color-text);
    color: var(--color-accent);
  }

  .sticky-btn-tel:active {
    background-color: var(--color-accent);
    color: var(--color-text-white);
  }

  .sticky-btn-devis {
    background-color: var(--color-accent);
  }

  .sticky-btn-devis:active {
    background-color: var(--color-accent-dark);
  }

  /* Ajouter du padding au body pour la sticky CTA */
  body {
    padding-bottom: 60px;
  }
}

@media (min-width: 768px) {
  .sticky-cta-mobile {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

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

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-text-white);
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #f5f5f5;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #f5f5f5;
  margin: 0 0 2rem 0;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

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

.btn-primary {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--color-dark);
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
  user-select: none;
}

.btn-primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-white);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: var(--color-text-white);
  padding: 0.875rem 2rem;
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  user-select: none;
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-text-white);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  text-decoration: none;
}

/* SECTIONS
   ========================================================================== */

.section {
  padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 1.5rem;
  }
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-dark);
  margin: 0 0 1rem 0;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.875rem);
  color: var(--color-dark);
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  line-height: 1.3;
}

h3 {
  font-size: 1.25rem;
  color: var(--color-text);
  font-weight: 700;
  margin: 1.5rem 0 0.75rem 0;
}

h4 {
  font-size: 1.0625rem;
  color: var(--color-text);
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

footer a {
  color: var(--color-text-off-white);
}

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

/* BANDEAU CHIFFRES CLÉS (STATS)
   ========================================================================== */

.stats-band {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  padding: 3rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.stat-item {
  text-align: center;
  padding: 1.5rem 0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 0.5rem 0;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--color-text-off-white);
  margin: 0;
}

/* GRILLE GALERIE
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  background-color: var(--color-bg-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--color-text-white);
  padding: 1.5rem 1rem 1rem;
  font-size: 0.875rem;
  z-index: 2;
}

/* CARDS PRODUITS
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

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

.product-card {
  background-color: var(--color-text-white);
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  background-color: var(--color-bg-alt);
}

.product-card-body {
  padding: 1.25rem;
}

.product-card h3 {
  margin-top: 0;
}

.product-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin: 0.5rem 0;
}

/* PROCESSUS 3 ÉTAPES
   ========================================================================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  background-color: var(--color-text-white);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.process-step:hover {
  border-color: var(--color-accent);
  background-color: var(--color-bg-alt);
}

.process-step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 0 1rem 0;
}

.process-step h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin: 0;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: var(--color-text-white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.15);
}

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

.form-submit {
  margin-top: 1.5rem;
}

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

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

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

.testimonial-card {
  background-color: var(--color-bg-alt);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--color-accent);
}

.stars {
  color: var(--color-accent);
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.2rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin: 0.75rem 0 1rem 0;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-dark);
  margin: 0;
}

.testimonial-location {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin: 0.25rem 0 0 0;
}

.testimonial-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* FEATURES / ARGUMENTS
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.feature-item {
  padding: 1.5rem;
  border-top: 3px solid var(--color-accent);
  background-color: var(--color-text-white);
  border-radius: 4px;
}

.feature-item h3 {
  margin-top: 0;
  color: var(--color-dark);
}

.feature-item p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

/* FAQ ACCORDÉON CSS
   ========================================================================== */

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

.faq-item {
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-input {
  display: none;
}

.faq-question {
  font-weight: 600;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-dark);
  user-select: none;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question::after {
  content: "+";
  color: var(--color-accent);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-input:checked ~ .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--color-text-light);
  padding: 0 0 1rem 0;
}

.faq-input:checked ~ .faq-answer {
  max-height: 500px;
}

/* BREADCRUMB
   ========================================================================== */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0.75rem 0;
  margin: 0 0 1.5rem 0;
  font-size: 0.875rem;
  color: var(--color-text-light);
  gap: 0.25rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 0.35rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-accent);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0;
}

/* CTA BAND
   ========================================================================== */

.cta-band {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.cta-band h2 {
  color: var(--color-text-white);
  border-left: none;
  padding-left: 0;
  margin-top: 0;
}

.cta-band p {
  color: var(--color-text-off-white);
  margin-bottom: 1.5rem;
}

.cta-band .btn-primary {
  margin-top: 1rem;
}

/* SECTION D'INTERVENTION
   ========================================================================== */

.intervention-zone {
  text-align: center;
  padding: 2rem 0;
}

.intervention-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.intervention-cities strong {
  color: var(--color-dark);
  font-weight: 600;
}

/* MAP SECTION
   ========================================================================== */

.map-embed {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 8px;
  margin: 2rem 0;
}

@media (max-width: 640px) {
  .map-embed {
    height: 300px;
  }
}

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

footer {
  background-color: var(--color-dark);
  color: var(--color-text-off-white);
  padding: 3rem 1.5rem 1rem;
  margin-top: auto;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

footer h3 {
  color: var(--color-text-white);
  font-size: 1.125rem;
  margin-top: 0;
}

footer p {
  margin: 0.5rem 0;
  font-size: 0.9375rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer li {
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--color-text-off-white);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--color-text-white);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.8125rem;
  text-align: center;
  color: var(--color-text-light);
}

.footer-bottom p {
  margin: 0;
}

/* COOKIE BANNER RGPD
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-text-white);
  padding: 1rem 1.5rem;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9375rem;
  flex: 1;
}

.cookie-banner a {
  color: var(--color-accent);
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-buttons button {
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    gap: 0.5rem;
  }

  .cookie-buttons button {
    flex: 1;
  }
}

/* LIEN VERS RÉALISATIONS GRID
   ========================================================================== */

.realizations-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

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

@media (min-width: 1024px) {
  .realizations-links-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.realization-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--color-bg-alt);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-dark);
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: 2px solid transparent;
}

.realization-link:hover {
  background-color: #eeeeee;
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.realization-link-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.realization-link-title {
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
}

/* PAGE CONTACT – LAYOUT RESPONSIVE
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-box {
  background: var(--color-bg-alt);
  padding: 1.5rem;
  border-radius: 8px;
}

.contact-info-box h3 {
  margin-top: 0;
}

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

.text-accent {
  color: var(--color-accent);
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

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

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Espacement avant le footer */
.cta-section,
.cta-band {
  margin-bottom: 0;
}

main > section:last-of-type:not(.cta-band):not(.cta-section) {
  margin-bottom: 2.5rem;
}

/* PRÉFÉRENCE MOUVEMENT RÉDUIT
   ========================================================================== */

@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;
  }
}

/* SECTIONS ALTERNÉES – page Artisan
   ========================================================================== */

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-text-white);
  padding: 4rem 1.5rem;
}

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

.section-dark p {
  color: var(--color-text-off-white);
}

.artisan-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .artisan-intro {
    grid-template-columns: 260px 1fr;
    gap: 3rem;
  }
}

.artisan-portrait {
  width: 100%;
  max-width: 260px;
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
  background-color: var(--color-bg-alt);
  display: block;
  border: 4px solid var(--color-accent);
}

.artisan-savoir-faire {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.savoir-faire-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--color-accent);
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.savoir-faire-item h3 {
  margin-top: 0;
  font-size: 1rem;
  color: var(--color-text-white);
}

.savoir-faire-item p {
  font-size: 0.875rem;
  margin: 0;
  color: var(--color-text-off-white);
}

/* ICÔNES FLAT DESIGN
   ========================================================================== */

.icon-flat {
  width: 48px;
  height: 48px;
  fill: var(--color-accent);
  display: block;
  margin: 0 auto 1rem;
}

/* BOUTONS PARTAGE SOCIAL
   ========================================================================== */

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--color-border-light);
  margin-top: 2rem;
}

.share-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
}

.share-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  opacity: 0.9;
}

.share-btn--instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.share-btn--pinterest {
  background-color: #E60023;
  color: #fff;
}

.share-btn--email {
  background-color: var(--color-dark);
  color: var(--color-text-white);
}

.share-btn--email:hover {
  background-color: var(--color-accent);
  opacity: 1;
}

@media (max-width: 480px) {
  .share-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .share-btn {
    justify-content: center;
  }
}

/* PRINT STYLES
   ========================================================================== */

@media print {
  header {
    display: none;
  }

  footer {
    display: none;
  }

  .cookie-banner {
    display: none;
  }

  .sticky-cta-mobile {
    display: none;
  }

  .cta-band {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  a[href]::after {
    content: none;
  }
}
