/* ============================================================
   IMPRIMERIE DU SQUARE — FEUILLE DE STYLE PRINCIPALE
   ============================================================ */

/* 1. VARIABLES */
:root {
  /* ── Palette officielle Imprimerie du Square ── */
  --ink:          #05304a;   /* Navy logo background */
  --ink-dark:     #021e2f;   /* Navy très profond */
  --ink-light:    #0a4d73;   /* Navy intermédiaire */
  --accent:       #00b2ce;   /* Cyan — réservé aux éléments interactifs */
  --accent-dark:  #0098ae;
  --accent-light: #33c5db;
  --paper:        #ffffff;   /* Blanc pur */
  --paper-dark:   #f4f3f0;   /* Gris chaud neutre — sections alternées */
  --white:        #ffffff;
  --text:         #1c2a32;   /* Presque noir, légèrement chaud */
  --text-muted:   #6a7880;   /* Gris neutre, sans dominante bleue */
  --border:       #e6e3df;   /* Bordure gris chaud */
  --success:      #059669;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:      1200px;
  --transition: 0.3s ease;
  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 2px 12px rgba(5,48,74,.10);
  --shadow-md:  0 4px 20px rgba(5,48,74,.15);
  --shadow-lg:  0 8px 40px rgba(5,48,74,.20);
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

/* 4. LAYOUT UTILITIES */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.section--alt {
  background: var(--paper-dark);
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .eyebrow { color: var(--accent); }

.section--warm {
  background: var(--paper-dark);
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex { display: flex; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* 5. HEADER & NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);          /* Navy brand background */
  border-bottom: 1px solid rgba(0,178,206,.18);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(2,30,47,.55);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
  gap: 2rem;
}

/* Logo image (remplace le SVG) */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 95px;
  width: auto;
  display: block;
}
.site-footer .logo-img {
  height: 65px !important;
  width: auto !important;
}

/* Conservé pour le footer uniquement */
.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,178,206,.15);
  border: 1px solid rgba(0,178,206,.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
}
.logo-text span {
  font-size: 0.7rem;
  color: rgba(0,178,206,.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.82);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(0,178,206,.12);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--ink) !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,178,206,.4) !important;
}

.nav-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.nav-phone:hover { color: var(--accent); }
.nav-phone svg { width: 16px; height: 16px; }
.nav-hours {
  font-size: 0.72rem;
  color: rgba(0,178,206,.75);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.hamburger:hover { background: rgba(0,178,206,.12); }
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--ink-dark);
  border-top: 1px solid rgba(0,178,206,.18);
  padding: 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,.82);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: rgba(0,178,206,.12); color: var(--accent); }
.mobile-menu .mobile-cta {
  display: block;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--accent);
  color: var(--ink) !important;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
}

/* 6. HERO (HOMEPAGE) */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink-dark);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,18,28,.88) 0%,
    rgba(5,30,48,.70) 55%,
    rgba(5,30,48,.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,178,206,.15);
  border: 1px solid rgba(0,178,206,.4);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,178,206,.4);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 24px rgba(0,178,206,.55);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,178,206,.35);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 20px rgba(0,178,206,.5);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}
.btn-ink:hover {
  background: var(--ink-dark);
  box-shadow: var(--shadow-md);
}

.btn-outline-ink {
  border: 2px solid var(--ink);
  color: var(--ink);
}
.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--white);
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
}
.hero-stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
}

/* PAGE HERO (interior pages) */
.page-hero {
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.page-hero h1 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.page-hero .lead {
  color: var(--text-muted);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--ink-light); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--border); }

/* 7. SERVICE CARDS */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(5,48,74,.22);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.service-icon svg { width: 26px; height: 26px; color: var(--white); }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.service-card .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.tag {
  background: var(--paper-dark);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SERVICE DETAIL CARDS (services.html) */
.service-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--border);
}
.service-section:last-child { border-bottom: none; }

.service-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-category-icon {
  width: 56px;
  height: 56px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-category-icon svg { width: 28px; height: 28px; color: var(--white); }

.service-category-header h2 {
  margin-bottom: 0.2rem;
}
.service-category-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(5,48,74,.3);
}

.product-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  margin: -1.5rem -1.5rem 1rem;
  width: calc(100% + 3rem);
}
.product-card-img picture { display: block; width: 100%; height: 100%; }
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }

.product-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.product-spec {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-spec strong {
  color: var(--text);
  font-weight: 600;
}

/* PRICE TABLE */
.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.price-table th {
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-table td {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text);
}

.price-table td:first-child {
  font-weight: 600;
  text-align: left;
  color: var(--ink);
}

.price-table tr:hover td { background: var(--paper-dark); }

/* 8. GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  background: var(--ink);
}

.gallery-item.tall { grid-row: span 2; aspect-ratio: unset; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,74,.6);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* 9. FAQ */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  transition: background var(--transition);
  gap: 1rem;
}
.faq-question:hover { background: var(--paper-dark); }

.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--paper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.faq-item.open .faq-question .faq-icon {
  background: var(--accent);
  transform: rotate(45deg);
}
.faq-item.open .faq-question { color: var(--accent); }

.faq-icon svg { width: 14px; height: 14px; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.faq-item.open .faq-answer { max-height: 400px; }

/* 10. FEATURES / AVANTAGES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-item-icon {
  width: 44px;
  height: 44px;
  background: var(--paper-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-item-icon svg { width: 22px; height: 22px; color: var(--ink); }

.feature-item-text h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.feature-item-text p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* 11. ABOUT / ÉQUIPE */
.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-card-icon svg { width: 30px; height: 30px; color: var(--white); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); }

/* 12. CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(26,43,74,.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

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

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.form-submit-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,178,206,.45);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  color: var(--success);
}
.form-success.show { display: block; }
.form-success svg { width: 48px; height: 48px; margin: 0 auto 1rem; }
.form-success h3 { color: var(--success); }

.contact-info-card {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 90px;
}

.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item-icon svg { width: 20px; height: 20px; color: var(--accent); }

.contact-info-item-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.5);
  margin-bottom: 0.2rem;
}
.contact-info-item-text span, .contact-info-item-text a {
  font-size: 0.95rem;
  color: var(--white);
  display: block;
}
.contact-info-item-text a:hover { color: var(--accent); }

.hours-grid {
  margin-top: 0.5rem;
  font-size: 0.85rem;
}
.hours-grid .day {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.2rem 1.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
}
.hours-grid .day:last-child { border-bottom: none; }
.hours-grid .day .label { color: rgba(255,255,255,.5); white-space: nowrap; }
.hours-grid .day span:last-child { white-space: nowrap; }

.map-placeholder {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 350px;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* 13. CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 60%, #0a5c80 100%);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,178,206,.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); }
.cta-banner p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin: 0.75rem 0 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,178,206,.35);
}

.btn-cyan {
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,178,206,.4);
}
.btn-cyan:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 24px rgba(0,178,206,.55);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

/* 14. SCROLL-TO-TOP */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--accent);
  border: 1px solid rgba(0,178,206,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 999;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.scroll-top svg { width: 20px; height: 20px; }

/* 15. FOOTER */
.site-footer {
  background: var(--ink-dark);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}

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

.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,.4); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--accent); color: var(--ink); }
.footer-social a svg { width: 18px; height: 18px; color: var(--white); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item span, .footer-contact-item a {
  font-size: 0.87rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* 16. ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* CMJN DECORATION */
.cmyk-dots {
  display: flex;
  gap: 6px;
  margin-top: 2.5rem;
}
.cmyk-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cmyk-dots .c { background: #00aeef; }
.cmyk-dots .m { background: #ec008c; }
.cmyk-dots .y { background: #fff200; }
.cmyk-dots .k { background: #231f20; }

/* TICKER / BAND */
.ticker-band {
  background: var(--ink-dark);
  color: rgba(255,255,255,.75);
  padding: 0.65rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,178,206,.15);
  border-bottom: 1px solid rgba(0,178,206,.15);
}

.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-inner span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.ticker-inner span::before {
  content: '◆';
  color: var(--accent);
  opacity: 0.8;
}

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

/* MENTIONS LEGALES */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.legal-content p { font-size: 0.92rem; color: var(--text-muted); }
.legal-content a { color: var(--ink); text-decoration: underline; }

/* 404 PAGE */
.error-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-page h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--paper-dark);
  line-height: 1;
}
.error-page h2 { color: var(--ink); margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); margin-bottom: 2rem; }

/* DEVIS SECTION TEASER */
.devis-teaser {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.devis-teaser-icon {
  width: 56px;
  height: 56px;
  background: var(--paper-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.devis-teaser-icon svg { width: 28px; height: 28px; color: var(--ink); }
.devis-teaser-text h4 { margin-bottom: 0.25rem; }
.devis-teaser-text p { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* CB BADGE */
.cb-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--ink), var(--ink-light));
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ============================================================
   17. RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-phone-wrap { display: none; }
  .hamburger { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }

  .hero { min-height: 85vh; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }

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

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

  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall,
  .gallery-item.wide { grid-column: span 1; grid-row: span 1; aspect-ratio: 4/3; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   18. PHOTO SLIDER (homepage)
   ============================================================ */

.slider-section {
  padding: 4.5rem 0 5rem;
  background: var(--paper-dark);
}

.slider-section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.slider-section-title {
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.photo-slider {
  overflow: hidden;
  user-select: none;
}

.slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.slider-slide {
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  /* width set dynamically by JS */
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.slider-slide:hover img {
  transform: scale(1.04);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.slider-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background var(--transition), width var(--transition), border-radius var(--transition);
}

.slider-dot.active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .slider-section { padding: 3rem 0 3.5rem; }
  .slider-section-header { margin-bottom: 1.5rem; }
  .slider-slide { border-radius: var(--radius); }
}

/* ============================================================
   19. SERVICE ILLUSTRATION (services page)
   ============================================================ */

.service-illustration {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 240px;
}
.service-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .service-illustration { height: 180px; }
}

/* ============================================================
   20. SERVICE NAV BAR (services page)
   ============================================================ */

.service-nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 99;
  overflow-x: auto;
}
.service-nav-list {
  display: flex;
  gap: 0.25rem;
  padding: 0.6rem 0;
  white-space: nowrap;
}
.service-nav-link {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: background .2s;
}
.service-nav-link:hover {
  background: var(--paper-dark);
  color: var(--text-muted);
  text-decoration: none;
}

/* picture elements must fill fixed-height containers */
.service-illustration picture,
.gallery-item picture,
.team-photo picture,
.slider-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.slider-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.slider-slide:hover picture img {
  transform: scale(1.04);
}

/* ATELIER CAROUSEL */
.atelier-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
}
.atelier-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.atelier-carousel-slide {
  min-width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.atelier-carousel-slide picture,
.atelier-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atelier-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(5,48,74,.75);
  border: 1px solid rgba(0,178,206,.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition), border-color var(--transition);
}
.atelier-carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.atelier-carousel-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.atelier-carousel-btn--prev { left: 0.75rem; }
.atelier-carousel-btn--next { right: 0.75rem; }
.atelier-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.atelier-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.atelier-carousel-dot.active {
  background: var(--accent);
  transform: scale(1.25);
}
