/* =========================================================================
   Phone'N Co — Design system
   Noir / Blanc / Gris, touche orange très discrète. Style premium, épuré.
   ========================================================================= */

:root {
  --black: #1c1a17;
  --near-black: #221f1b;
  --white: #f0e9dc;
  --gray-50: #e6dac4;
  --gray-100: #ddcdaf;
  --gray-200: #cbb99a;
  --gray-300: #b7a488;
  --gray-500: #8d8175;
  --gray-600: #6b5f54;
  --gray-800: #35302a;
  --orange: #ff5a1f;
  --orange-dark: #e04b15;

  --text: var(--black);
  --text-muted: var(--gray-600);
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --border: var(--gray-200);
  --card-bg: #fffdf9;

  --container: 1180px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(40, 32, 20, 0.06);
  --shadow-md: 0 8px 30px rgba(40, 32, 20, 0.10);
  --shadow-lg: 0 24px 64px rgba(30, 24, 16, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 76px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; color: var(--text-muted); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--orange); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--black); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--black); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: transparent; padding: 10px 14px; }
.btn-ghost:hover { color: var(--orange); }
.btn-on-dark { background: var(--white); color: var(--black); }
.btn-on-dark:hover { background: var(--orange); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline-dark:hover { border-color: var(--white); }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  padding: 16px 32px;
  font-size: 1rem;
  box-shadow: 0 10px 26px rgba(255, 90, 31, 0.32);
}
.btn-cta:hover { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 34px rgba(255, 90, 31, 0.42); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(240, 233, 220, 0.75);
  backdrop-filter: blur(0px);
  transition: background-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(240, 233, 220, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; flex-shrink: 0; white-space: nowrap; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--black);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.main-nav ul { display: flex; gap: 22px; }
.nav-link { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); position: relative; padding: 6px 0; white-space: nowrap; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange); border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone { display: none; }
.header-phone .icon { width: 16px; height: 16px; }
.header-actions .btn-cta { padding: 12px 22px; font-size: 0.9rem; }

.menu-toggle {
  display: none;
  background: none; border: none; padding: 8px; margin: -8px -8px -8px 4px;
  color: var(--text);
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100vh - var(--header-h));
  background: var(--white);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 99;
  padding: 28px 24px;
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-nav .nav-link { display: block; font-size: 1.3rem; font-weight: 600; color: var(--text); padding: 14px 0; border-bottom: 1px solid var(--border); }
.mobile-nav-phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 600; }
.mobile-nav-phone .icon { width: 18px; height: 18px; }

.icon { width: 20px; height: 20px; display: inline-flex; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Sections ---------- */
section { padding: 96px 0; position: relative; }
@media (max-width: 720px) { section { padding: 64px 0; } }

section:not(.section-dark):not(.hero)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 380px at 92% -8%, rgba(255, 90, 31, 0.09), transparent 60%),
    radial-gradient(600px 420px at -5% 105%, rgba(28, 26, 23, 0.06), transparent 60%);
}
section:not(.section-dark):not(.hero) > .container { position: relative; z-index: 1; }

.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--white) 85%); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark p { color: var(--gray-300); }

.section-title { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-title-left { margin-left: 0; text-align: left; }
.section-title h2 { margin-top: 10px; }
.section-title .section-subtitle { margin-top: 14px; font-size: 1.05rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange);
}
.section-title.on-dark .eyebrow { color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 100px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(255, 90, 31, 0.14), transparent 60%),
    radial-gradient(800px 500px at 10% 100%, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}
.hero-photo,
.section-dark-photo {
  background-size: cover;
  background-position: center;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gray-300);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 26px;
}
.hero-eyebrow .icon { width: 14px; height: 14px; color: var(--orange); }
.hero h1 { margin-bottom: 20px; }
.hero-subtitle { font-size: 1.2rem; color: var(--gray-300); max-width: 520px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.hero-cta-hint { font-size: 0.85rem; color: var(--gray-300); margin-bottom: 34px; }
.btn-pulse { position: relative; }
.btn-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--orange);
  z-index: -1;
}
@media (prefers-reduced-motion: no-preference) {
  .btn-pulse::after { animation: pnc-pulse 2.2s ease-out infinite; }
}
@keyframes pnc-pulse {
  0% { opacity: 0.55; transform: scale(1); }
  70% { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-meta-item { display: flex; align-items: center; gap: 10px; color: var(--gray-300); font-size: 0.95rem; }
.hero-meta-item .icon { color: var(--orange); width: 18px; height: 18px; flex-shrink: 0; }
.hero-meta-item a:hover { color: var(--white); }

.hero-visual { position: relative; }

/* ---------- Photo slot (emplacement pour vraies photos futures) ---------- */
.photo-slot {
  position: relative;
  aspect-ratio: var(--ratio, 16/9);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--gray-800), var(--near-black));
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.photo-slot::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.photo-slot-label {
  position: relative;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 10px 20px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
}
.photo-slot.on-light { background: linear-gradient(135deg, var(--gray-100), var(--gray-200)); border-color: var(--border); }
.photo-slot.on-light::before { background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px); }
.photo-slot.on-light .photo-slot-label { color: var(--gray-600); border-color: var(--gray-300); background: rgba(255,255,255,0.6); }

/* ---------- Vraies photos (cadre premium) ---------- */
.photo-frame {
  position: relative;
  aspect-ratio: var(--ratio, 4/5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame:hover { transform: translateY(-4px); }
.photo-frame-glow { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 90, 31, 0.12); }

/* ---------- Bascule photo (devanture / intérieur) ---------- */
.photo-toggle-frame {
  position: relative;
  aspect-ratio: var(--ratio, 4/5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-toggle-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.photo-toggle-img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .photo-toggle-img { transition: none; }
}
.photo-toggle-tabs {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.photo-toggle-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.photo-toggle-tab .icon { width: 16px; height: 16px; }
.photo-toggle-tab:hover { color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.photo-toggle-tab.active { background: var(--orange); border-color: var(--orange); color: var(--white); }

/* ---------- Commercial strip ---------- */
.commercial-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.commercial-strip li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text); }
.commercial-strip .icon { width: 16px; height: 16px; color: var(--orange); }

/* ---------- Cards / Services ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent 80%);
  opacity: 0.7;
}
.service-card { position: relative; display: block; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gray-300); }
.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--black);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.service-icon .icon { width: 22px; height: 22px; }
.service-card:hover .service-icon { background: var(--black); color: var(--white); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; }
.card-arrow {
  position: absolute; top: 32px; right: 28px;
  width: 16px; height: 16px; color: var(--gray-300);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.service-card:hover .card-arrow { color: var(--orange); transform: translate(3px, -3px); }

/* ---------- Features (Pourquoi Phone'N Co) ---------- */
.feature-item { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon .icon { width: 20px; height: 20px; }
.feature-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-item p { font-size: 0.92rem; }

/* ---------- CTA band (réparation) ---------- */
.cta-band {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 300px at 90% 0%, rgba(255,90,31,0.16), transparent 65%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: var(--gray-300); font-size: 1.05rem; margin-bottom: 28px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* ---------- Reviews ---------- */
.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-weight: 600;
}
.reviews-summary svg { width: 22px; height: 22px; }
.reviews-score { font-size: 1.3rem; }
.reviews-stars { display: flex; gap: 2px; color: var(--orange); }
.reviews-stars .icon { width: 16px; height: 16px; }
.reviews-count { color: var(--text-muted); font-weight: 500; }

.review-card { display: flex; flex-direction: column; gap: 14px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; flex-shrink: 0;
}
.review-author { font-weight: 700; font-size: 0.95rem; margin: 0; }
.review-meta { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-muted); margin: 2px 0 0; }
.review-meta svg { width: 14px; height: 14px; }
.review-stars { display: flex; gap: 2px; color: var(--orange); }
.review-stars .icon { width: 14px; height: 14px; }
.review-text { font-size: 0.94rem; }

/* ---------- Products ---------- */
.product-placeholder { text-align: center; padding: 40px 32px; }
.product-placeholder-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  margin-bottom: 20px;
  overflow: hidden;
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.product-placeholder-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-placeholder h3 { margin-bottom: 8px; }
.muted-note { margin-top: 14px; font-size: 0.85rem; font-style: italic; color: var(--gray-500); }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: stretch; }
@media (max-width: 900px) { .location-grid { grid-template-columns: 1fr; } }
.location-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.location-info-row { display: flex; gap: 14px; margin-bottom: 22px; }
.location-info-row .icon { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.location-info-row h3 { font-size: 0.95rem; margin-bottom: 4px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 360px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { width: 16px; height: 16px; color: var(--gray-500); transform: rotate(90deg); transition: transform 0.25s var(--ease); flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(270deg); }
.faq-answer { padding-top: 14px; max-width: 640px; }

/* ---------- Repair page detail rows ---------- */
.repair-detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.repair-detail:last-of-type { border-bottom: none; }
.repair-detail:nth-of-type(even) .repair-detail-visual { order: 2; }
@media (max-width: 860px) {
  .repair-detail { grid-template-columns: 1fr; padding: 40px 0; }
  .repair-detail:nth-of-type(even) .repair-detail-visual { order: 0; }
}
.repair-detail-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--gray-100); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.repair-detail-icon .icon { width: 22px; height: 22px; }
.repair-detail-content h3 { margin-bottom: 12px; font-size: 1.4rem; }
.repair-detail-content p { margin-bottom: 20px; }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.value-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .value-list { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--black); color: var(--white); border-radius: var(--radius-lg); padding: 40px; height: fit-content; }
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-row { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-row .icon { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.contact-info-row a:hover { color: var(--orange); }
.contact-info-row span, .contact-info-row a { color: var(--gray-300); font-size: 0.95rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label { font-size: 0.88rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--black); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field.has-error input, .form-field.has-error textarea, .form-field.has-error select { border-color: #d92d20; }
.field-error { font-size: 0.8rem; color: #d92d20; min-height: 1em; }
.form-hint { font-size: 0.85rem; margin-top: -6px; margin-bottom: 20px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; }
.form-status.success { color: #16794f; }
.form-status.error { color: #d92d20; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 620px;
  margin: 0 auto;
}
.cookie-banner-inner { padding: 22px 24px; }
.cookie-banner p { color: var(--gray-300); font-size: 0.88rem; margin-bottom: 16px; }
.cookie-banner a { color: var(--white); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-cta-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  background: var(--gray-100); color: var(--text);
}
.mobile-cta-btn .icon { width: 18px; height: 18px; }
.mobile-cta-primary { background: var(--black); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--near-black); color: var(--gray-300); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-mark { background: var(--white); color: var(--black); }
.site-footer .brand-name { color: var(--white); }
.footer-tagline { margin-top: 14px; font-size: 0.9rem; max-width: 280px; }
.footer-col h3 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--orange); margin-top: 3px; flex-shrink: 0; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-link {
  width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
}
.social-link .icon { width: 16px; height: 16px; }
.social-link:hover { background: var(--white); color: var(--black); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; font-size: 0.82rem; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 140px 0; }
.error-code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; letter-spacing: -0.03em; color: var(--gray-200); line-height: 1; margin-bottom: 12px; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 40px; margin-bottom: 14px; font-size: 1.3rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { margin-bottom: 14px; font-size: 0.98rem; }
.legal-content ul { list-style: disc; padding-left: 22px; }
.placeholder-note {
  display: inline-block;
  background: #fff4e8;
  border: 1px dashed var(--orange);
  color: var(--orange-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Scroll stagger (grilles de cartes) ---------- */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.stagger.in-view > * { opacity: 1; transform: translateY(0); }
.stagger.in-view > *:nth-child(1) { transition-delay: 0.02s; }
.stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.in-view > *:nth-child(3) { transition-delay: 0.14s; }
.stagger.in-view > *:nth-child(4) { transition-delay: 0.20s; }
.stagger.in-view > *:nth-child(5) { transition-delay: 0.26s; }
.stagger.in-view > *:nth-child(6) { transition-delay: 0.32s; }
.stagger.in-view > *:nth-child(7) { transition-delay: 0.38s; }
.stagger.in-view > *:nth-child(8) { transition-delay: 0.44s; }
@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Transitions entre pages (View Transitions API, MPA) ---------- */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: pnc-page-out 0.22s cubic-bezier(0.4, 0, 1, 1) both; }
  ::view-transition-new(root) { animation: pnc-page-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both; }
}
@keyframes pnc-page-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes pnc-page-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Arrière-plan animé (particules canvas) ---------- */
.particles-host { position: relative; }
canvas.particles-canvas {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero-inner, .cta-band > *:not(.particles-canvas), .section-dark .container { position: relative; z-index: 1; }

/* ---------- Illustrations SVG maison ---------- */
.illustration-ghost {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 46%;
  height: auto;
  color: rgba(255, 255, 255, 0.08);
  z-index: 0;
}
.photo-slot.on-light .illustration-ghost { color: rgba(0, 0, 0, 0.06); }
.photo-slot-label { position: relative; z-index: 1; }

.illustration-404 { width: 180px; height: auto; margin: 0 auto 28px; color: var(--gray-500); }
.illustration-404 .illu-accent { color: var(--orange); stroke: var(--orange); }

/* ---------- Responsive: hero & header actions ---------- */
@media (min-width: 860px) {
  .header-phone { display: inline-flex; }
}
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .btn-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}
@media (max-width: 640px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.stack-gap { display: flex; flex-direction: column; gap: 16px; }
.stat-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600;
  background: var(--gray-100); padding: 8px 14px; border-radius: 999px;
}
.stat-pill .icon { width: 14px; height: 14px; color: var(--orange); }

.text-highlight {
  color: var(--orange-dark);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 65%, rgba(255, 90, 31, 0.18) 65%);
}
