:root {
  --ikea-yellow: #fbd914;
  --ikea-yellow-soft: #fff3a8;
  --ikea-orange: #f26b0f;
  --ikea-orange-hot: #d9480f;
  --ikea-blue: #004f93;
  --ikea-blue-light: #0066b3;
  --bg: #fafaf8;
  --bg-card: #ffffff;
  --bg-soft: #f0f0ec;
  --text: #1a1a1a;
  --muted: #555555;
  --border: rgba(0, 0, 0, 0.07);
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --topbar-h: 3rem;
  --header-h: 4.5rem;
  --shadow: 0 8px 28px rgba(0, 79, 147, 0.07);
  --blink-bar: 3.6s;
  --blink-phone: 2.6s;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  --topbar-h: 3rem;
  --header-h: 4.5rem;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  padding-top: calc(var(--topbar-h) + var(--header-h));
}

a { color: var(--ikea-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Barre fixe style enseigne IKEA — clignotante */
.site-top-bar.ikea-sign {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 400;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  min-height: var(--topbar-h);
  padding: 0.55rem 1rem;
  background: var(--ikea-yellow);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  animation: barPulse var(--blink-bar) ease-in-out infinite;
}
@keyframes barPulse {
  0%, 55% { background: var(--ikea-yellow); color: #1a1a1a; }
  62%, 78% { background: var(--ikea-orange); color: #fff; }
  85%, 100% { background: var(--ikea-yellow); color: #1a1a1a; }
}
.site-top-bar.ikea-sign a { color: inherit; text-decoration: none; font-weight: 800; }
.site-top-bar.ikea-sign a:not(.blink-phone):hover { color: var(--ikea-blue); text-decoration: underline; }
.blink-phone {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 8px;
  letter-spacing: 0.02em;
  animation: phoneBlink var(--blink-phone) ease-in-out infinite;
}
@keyframes phoneBlink {
  0%, 42% {
    background: rgba(255, 255, 255, 0.35);
    color: #1a1a1a;
    transform: scale(1);
    box-shadow: none;
  }
  50%, 88% {
    background: var(--ikea-orange-hot);
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 0 14px rgba(217, 72, 15, 0.45);
  }
  96%, 100% {
    background: rgba(255, 255, 255, 0.35);
    color: #1a1a1a;
    transform: scale(1);
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-top-bar.ikea-sign,
  .blink-phone { animation: none; }
  .site-top-bar.ikea-sign { background: var(--ikea-yellow); }
  .blink-phone { background: var(--ikea-orange); color: #fff; }
}
.topbar-sep { opacity: 0.55; user-select: none; }

/* Header fixe sous la barre */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--ikea-yellow);
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
}
.logo-img {
  height: 48px;
  width: 160px;
  max-width: 160px;
  object-fit: contain;
  aspect-ratio: 160 / 48;
}
.logo-text { color: var(--ikea-blue); font-weight: 700; font-size: 0.92rem; line-height: 1.2; }
.logo span { color: var(--ikea-orange); }

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-main a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.nav-main a:hover { color: var(--ikea-blue); text-decoration: none; }
.site-header .btn-urgent { display: none !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--ikea-blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 88, 163, 0.35);
}
.btn-urgent {
  background: var(--ikea-orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.35);
}

/* Hero + carrousel photos */
.hero {
  padding: 2.5rem 0 3.5rem;
  background: linear-gradient(165deg, #fff 0%, var(--ikea-yellow-soft) 38%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  body { padding-top: calc(var(--topbar-h) + 5.5rem); }
}
.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--ikea-yellow);
  color: #111;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 1.5rem; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-trust strong { color: var(--ikea-blue); display: block; font-size: 1rem; }

.hero-carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 79, 147, 0.14);
  border: 4px solid var(--ikea-yellow);
  background: #1a1a1a;
  aspect-ratio: 4/3;
  min-height: 240px;
  contain: layout style paint;
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 0.65rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--ikea-yellow);
  color: #111;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  line-height: 1;
}
.carousel-btn:hover { background: var(--ikea-orange); color: #fff; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.carousel-dot.active { background: var(--ikea-yellow); border-color: var(--ikea-yellow); }

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--ikea-yellow);
  box-shadow: var(--shadow);
}
.hero-visual img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; }

section { padding: 3rem 0; }
.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  color: var(--ikea-blue);
}
.section-sub { color: var(--muted); margin: 0 0 2rem; max-width: 680px; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.card:hover {
  border-color: var(--ikea-yellow);
  box-shadow: 0 12px 36px rgba(0, 88, 163, 0.12);
  transform: translateY(-3px);
}
a.card { text-decoration: none; color: inherit; display: block; }
.card h3 { margin: 0 0 0.5rem; font-size: 1.12rem; color: var(--ikea-blue); }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.card .link-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ikea-orange);
}

.seo-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--ikea-yellow);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.seo-block h2 { margin-top: 0; font-size: 1.35rem; color: var(--ikea-blue); }
.seo-keywords { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.tag {
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  background: var(--bg-soft);
  border-radius: 6px;
  color: var(--muted);
  border: 1px solid var(--border);
}
.tag a { color: var(--ikea-blue); font-weight: 600; }

.crosslinks {
  background: linear-gradient(180deg, var(--ikea-blue) 0%, #003d73 100%);
  color: #fff;
  padding: 2.5rem 0;
}
.crosslinks h3 { font-size: 1rem; margin: 0 0 1rem; opacity: 0.9; }
.crosslinks a { color: var(--ikea-yellow); font-weight: 600; }
.crosslinks-grid { font-size: 0.9rem; line-height: 1.8; }

.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item h3 { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--ikea-blue); cursor: pointer; }
.faq-item p { margin: 0; color: var(--muted); }

.site-footer {
  padding: 3rem 0 2rem;
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: #fff; margin: 0 0 0.75rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-grid a { color: var(--ikea-yellow); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid #333; }

.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.link-grid { columns: 3; column-gap: 1.5rem; font-size: 0.88rem; }
@media (max-width: 768px) { .link-grid { columns: 2; } }
@media (max-width: 480px) { .link-grid { columns: 1; } }
.link-grid a { display: block; margin-bottom: 0.35rem; }

.content-narrow { max-width: 820px; }
.img-placeholder {
  background: var(--bg-soft);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
  color: var(--muted);
}

.gallery-section { padding: 3rem 0; background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}
.gallery-item:hover { border-color: var(--ikea-yellow); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.gallery-item figcaption { font-size: 0.75rem; color: var(--muted); padding: 0.5rem; text-align: center; }

.door-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.door-type-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.2s;
}
.door-type-card:hover {
  border-color: var(--ikea-orange);
  box-shadow: var(--shadow);
}
.door-type-card h3 { margin: 0 0 0.35rem; font-size: 1rem; color: var(--ikea-blue); }
.door-type-card p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.urgency-banner:not(.site-top-bar) {
  text-align: center;
  padding: 0.75rem;
  background: var(--ikea-yellow);
  font-weight: 700;
}

/* Avis clients — commune + e-mail */
.reviews-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.reviews-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--ikea-yellow);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.reviews-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ikea-blue);
}
.reviews-full { grid-column: 1 / -1; }
.reviews-form input,
.reviews-form textarea,
.reviews-form select {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 1rem;
}
.reviews-form input:focus,
.reviews-form textarea:focus {
  outline: 2px solid var(--ikea-yellow);
  border-color: var(--ikea-blue);
}
.reviews-hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 560px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* Blocs service local — titre + tél + commune */
.service-local-block h2 {
  font-size: 1.2rem;
  line-height: 1.35;
}
.service-local-block h2 a {
  color: var(--ikea-orange);
  font-weight: 800;
  white-space: nowrap;
}
.service-local-meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--border);
}

.internal-maillage ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 1rem 0 2rem;
  padding: 0;
}
.internal-maillage a {
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}
