/* ===================================================
   MOUSTIQUAIRE SUR MESURE — style.css
   Design: Flat, Green #008c00, Inter font
   =================================================== */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #008c00;
  --green-dark: #006800;
  --green-light: #E8F5E8;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F5;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --border: #E8E8E5;
  --radius: 8px;
  --radius-lg: 14px;
  --transition: 0.18s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* === Typography === */
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.3; text-wrap: balance; }
p  { font-size: 1rem; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--text); }

.btn-sm { padding: 9px 18px; font-size: .82rem; }

/* === Layout helpers === */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 12px;
}

.section-header { text-align: left; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); max-width: 620px; font-size: 1.05rem; }

/* === NAVBAR === */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.navbar {
  padding: 18px;
  background: transparent;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  padding: 12px 16px;
}

.navbar-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.navbar-logo-img { height: 44px; width: auto; display: block; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.navbar-links a {
  font-size: .88rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.navbar-links a:hover { color: var(--text); }

.navbar-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.85);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.82) 0%, rgba(0,0,0,.72) 30%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.05) 80%, transparent 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 150px 24px 90px max(24px, calc((100vw - 1120px) / 2 + 24px));
}

.mobile-br { display: none; }
.hero-text { max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
  letter-spacing: .04em;
}
.hero-promo-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.hero-promo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,140,0,.80);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}
.hero-promo-badge svg { flex-shrink: 0; }
.hero-text { text-align: left; }
.hero-text h1 { margin-bottom: 20px; color: #fff; white-space: nowrap; text-wrap: auto; }
.hero-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); background: transparent; }
.hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* === OFFRE DE LANCEMENT === */
.lancement-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lancement-featured {
  background:
    linear-gradient(145deg, rgba(0,130,0,.91) 0%, rgba(0,60,0,.96) 100%),
    url('image site 2.webp') center/cover no-repeat;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.lancement-featured-bg-icon {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 220px;
  height: 220px;
  color: rgba(255,255,255,.06);
  pointer-events: none;
}

.lancement-featured-bg-icon svg {
  width: 100%;
  height: 100%;
}

.lancement-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 36px;
}

.lancement-featured-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.lancement-featured-title {
  font-size: clamp(3rem, 4vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.lancement-featured-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 300px;
}

.lancement-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  font-size: .88rem;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1.5px solid #fff;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.lancement-cta:hover {
  background: rgba(255,255,255,.88);
}

.lancement-info-list {
  background: var(--bg);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lancement-info-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.lancement-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
}

.lancement-info-item:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.lancement-info-item > svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.lancement-info-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.3;
}

.lancement-info-item span {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* === CFG CALL CTA === */
.cfg-call-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 32px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
}

.cfg-call-cta p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
}

.cfg-call-cta .btn {
  width: auto;
}

/* === BENEFITS === */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.benefit-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.benefit-item h3 { margin-bottom: 4px; }
.benefit-item p  { color: var(--text-muted); font-size: .95rem; }

/* === PRODUCTS === */
.product-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.products-two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card-v2 {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card-v2:hover { border-color: var(--green); }

.product-card-v2-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.product-card-v2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.product-card-v2:hover .product-card-v2-img img { transform: scale(1.03); }

.product-card-v2-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.product-card-v2-body h3 { font-size: 1.3rem; font-weight: 700; }
.product-card-v2-body p  { color: var(--text-muted); font-size: .95rem; line-height: 1.65; flex: 1; }

/* === HOW IT WORKS === */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: var(--border);
}
.how-step { text-align: left; }
.how-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}
.how-step h3 { margin-bottom: 8px; }
.how-step p  { color: var(--text-muted); font-size: .92rem; }

/* === CONFIGURATOR === */
#configurateur .section-header { text-align: center; }
#configurateur .section-header p { margin: 0 auto; }

.configurator-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
}

.cfg-steps {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
}
.cfg-step {
  flex: 1;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  transition: color var(--transition), border-color var(--transition);
}
.cfg-step.active { color: var(--green); border-bottom-color: var(--green); }
.cfg-step.done   { color: var(--text-muted); border-bottom-color: #ccc; }

.cfg-count-label {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}
.cfg-count-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.cfg-count-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
  color: var(--text);
}
.cfg-count-btn:hover { border-color: var(--green); background: var(--green-light); color: var(--green); }
.cfg-count-val {
  font-size: 2.2rem;
  font-weight: 800;
  min-width: 60px;
  text-align: center;
  color: var(--text);
}
.cfg-step-action { text-align: center; }

#cfg-step-windows { display: none; }

.window-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.window-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.window-card-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 16px;
}
.window-card-title { font-size: .9rem; font-weight: 700; }
.window-card-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.window-card-surface {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.window-card-price {
  font-size: .9rem;
  color: var(--green);
  font-weight: 700;
}
.couleur-dot {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.couleur-blanc     { background: #ffffff; border-color: #ccc; }
.couleur-anthracite{ background: #3a3a3a; }
.window-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}
.window-inputs label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.window-inputs input {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
}
.window-inputs input:focus { border-color: var(--green); }
.window-inputs input::placeholder { color: #bbb; }

.cfg-opening-counters {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cfg-opening-counter {
  flex: 1;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.cfg-opening-counter .cfg-count-control { margin-bottom: 0; }
.cfg-opening-counter .cfg-count-label { margin-bottom: 16px; font-size: .95rem; }

.window-type-selector { margin-top: 14px; }
.window-type-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.window-type-options { display: flex; gap: 10px; }
.window-type-option { flex: 1; cursor: pointer; }
.window-type-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.window-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}
.window-type-btn strong { font-size: .88rem; font-weight: 700; color: var(--text); }
.window-type-btn small  { font-size: .75rem; color: var(--text-muted); }
.window-type-option input:checked + .window-type-btn { border-color: var(--green); background: var(--green-light); }
.window-type-option input:checked + .window-type-btn strong { color: var(--green); }
.window-type-option.disabled { opacity: 0.4; pointer-events: none; }
.window-type-notice {
  font-size: .78rem;
  color: #8a4500;
  font-weight: 500;
  margin-top: 8px;
  padding: 6px 10px;
  background: #FFF3E0;
  border-radius: var(--radius);
}

.cfg-summary {
  background: var(--bg);
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.cfg-summary-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 16px; }
.cfg-summary-table th {
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.cfg-summary-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.cfg-summary-table td:first-child { color: var(--text); font-weight: 500; }
.cfg-summary-table tr:last-child td { border-bottom: none; }

.cfg-price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.cfg-price-label { font-size: .88rem; font-weight: 600; color: var(--text-muted); }
.cfg-price-value { font-size: 1.8rem; font-weight: 800; color: var(--green); }
.cfg-price-note  { font-size: .73rem; color: var(--text-muted); text-align: right; margin-top: 2px; }

.cfg-step2-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cfg-back {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.cfg-back:hover { color: var(--text); }

.cfg-measure-link {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green);
  font-size: .82rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  transition: opacity var(--transition);
}
.cfg-measure-link:hover { opacity: .7; }

/* === MODAL GUIDE MESURE === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateY(12px);
  transition: transform .22s ease;
}
.modal-overlay.is-open .modal-box { transform: translateY(0); }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1;
}
.modal-header h2 { font-size: 1.15rem; font-weight: 700; }

.modal-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition);
}
.modal-close:hover { border-color: var(--text); color: var(--text); }

.modal-body { padding: 32px; display: flex; flex-direction: column; gap: 0; }

.modal-intro {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 32px;
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text);
}

.modal-section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: start;
  padding: 8px 0 32px;
}

.modal-section-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.modal-section-img img { width: 100%; display: block; }

.modal-section-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 6px;
}
.modal-section-content h3 { font-size: 1rem; margin-bottom: 10px; }
.modal-section-content p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }

.modal-formula {
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
}
.modal-formula-label { font-size: .72rem; font-weight: 600; opacity: .6; text-transform: uppercase; letter-spacing: .08em; }
.modal-formula-eq { font-size: .95rem; font-weight: 700; }

.modal-example {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.modal-divider { height: 1px; background: var(--border); margin: 0 0 32px; }

/* === FAQ === */
#faq .section-header { text-align: center; }
#faq .section-header p { margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.faq-item.open .faq-icon { background: var(--green); color: #fff; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-answer p { padding-bottom: 20px; color: var(--text-muted); font-size: .95rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

.faq-measure-link { margin-top: 4px; margin-bottom: 20px; }

/* === FOOTER === */
footer {
  background: #111;
  color: #fff;
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand strong { font-size: 1.1rem; font-weight: 800; display: block; margin-bottom: 6px; }
.footer-brand span { font-size: .82rem; color: #888; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: .88rem; color: #888; max-width: 280px; line-height: 1.6; }
.footer-logo-img { height: 28px; width: auto; display: block; margin-bottom: 8px; }
.footer-brand-name { font-size: 1.1rem; font-weight: 800; color: #fff; display: block; margin-bottom: 6px; }
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-trust-badges span { font-size: .78rem; color: #aaa; display: inline-flex; align-items: center; gap: 5px; }

.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #555; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .88rem; color: #888; transition: color var(--transition); }
.footer-col ul a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: #555;
  flex-wrap: wrap;
  gap: 8px;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* === RESPONSIVE 900px === */
@media (max-width: 900px) {
  .navbar { position: relative; }
  .navbar-links { display: none; }

  .hero-inner { padding: 130px 24px 64px max(24px, calc((100vw - 1120px) / 2 + 24px)); }

  .lancement-layout { grid-template-columns: 1fr; }
  .lancement-featured { padding: 44px 36px; }
  .lancement-info-list { padding: 36px; }
  .benefits-grid  { grid-template-columns: 1fr; gap: 24px; }
  .how-steps      { grid-template-columns: 1fr; gap: 32px; }
  .how-steps::before { display: none; }
  .footer-inner   { grid-template-columns: 1fr; gap: 32px; }
  .products-two-grid { grid-template-columns: 1fr; }
}

/* === RESPONSIVE 600px === */
@media (max-width: 600px) {
  .section { padding: 56px 0; }

  .navbar { padding: 12px; }
  .navbar-inner { padding: 10px 14px; border-radius: 12px; gap: 10px; }
  .navbar-logo-img { height: 36px; }
  .menu-toggle { display: none; }
  .navbar-links { display: none; }

  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-bg img { object-position: center center; filter: brightness(0.9); }
  .hero-bg::after { background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.75) 45%, rgba(0,0,0,.3) 70%, transparent 100%); }
  .hero-inner { padding: 0 20px 48px; width: 100%; margin: 0; }

  .hero-text { max-width: 100%; text-align: left; display: flex; flex-direction: column; }
  .hero-badge { display: none; }
  .hero-text h1 { order: 1; font-size: 1.55rem; margin-bottom: 10px; white-space: normal; }
  .hero-text > p { order: 2; font-size: .9rem; margin-bottom: 20px; }
  .hero-actions {
    order: 4;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-actions .btn-ghost {
    background: transparent;
    border: none;
    padding: 4px 0;
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255,255,255,.65);
    text-decoration: underline;
    text-underline-offset: 3px;
    justify-content: center;
  }

  .hero-promo-badges {
    order: 3;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 20px;
  }
  .hero-promo-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .hero-promo-badge {
    font-size: .72rem;
    padding: 4px 10px;
  }

  .mobile-br { display: block; }

  .footer-trust-badges { flex-direction: column; gap: 6px; }

  /* --- Configurateur --- */
  .configurator-box { padding: 20px 14px; }
  .cfg-steps { gap: 4px; }
  .cfg-step { font-size: .7rem; padding-bottom: 8px; }
  .cfg-count-val { font-size: 1.8rem; }

  /* Window cards */
  .window-card { padding: 16px 14px; }
  .window-inputs { grid-template-columns: 1fr 1fr; gap: 10px; }
  .window-inputs input { font-size: 1rem; }
  .window-type-btn { min-height: 44px; padding: 10px 8px; }
  .window-type-options { gap: 8px; }

  /* Table récap → 2 lignes compactes par ouverture */
  .cfg-summary { padding: 14px 12px; }
  .cfg-summary-table thead { display: none; }
  .cfg-summary-table tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    gap: 0;
  }
  .cfg-summary-table tbody tr:last-child { border-bottom: none; }
  /* Séparateur invisible entre ligne 1 et ligne 2 */
  .cfg-summary-table tbody tr::after {
    content: '';
    width: 100%;
    order: 0;
    height: 3px;
  }
  .cfg-summary-table td {
    display: inline-flex;
    align-items: center;
    border-bottom: none;
    padding: 0;
    font-size: .75rem;
    color: var(--text-muted);
  }
  /* Ligne 1 : ouverture (flex: 1) + prix (droite) */
  .cfg-summary-table td[data-label="Ouverture"] {
    flex: 1;
    font-weight: 700;
    font-size: .85rem;
    color: var(--text);
    order: -2;
  }
  .cfg-summary-table td[data-label="Prix"] {
    order: -1;
    color: var(--green);
    font-weight: 700;
    font-size: .82rem;
  }
  /* Ligne 2 : détails inline */
  .cfg-summary-table td[data-label="Largeur"],
  .cfg-summary-table td[data-label="Hauteur"],
  .cfg-summary-table td[data-label="Type"],
  .cfg-summary-table td[data-label="Couleur"] { order: 1; }
  .cfg-summary-table td[data-label="Largeur"]::before { content: "L : "; font-weight: 600; margin-right: 1px; }
  .cfg-summary-table td[data-label="Hauteur"]::before { content: " · H : "; font-weight: 600; }
  .cfg-summary-table td[data-label="Type"]::before    { content: " · "; }
  .cfg-summary-table td[data-label="Couleur"]::before { content: " · "; }

  /* Prix total */
  .cfg-price-note { text-align: left; }
  .cfg-price-note span { display: block; }
  .cfg-price-note .cfg-note-sep { display: none; }
  .cfg-price-line { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cfg-price-value { font-size: 1.5rem; }

  /* CTA appel */
  .cfg-call-cta p { white-space: normal; }
  .cfg-call-cta .btn { width: 100%; justify-content: center; }

  .lancement-featured { padding: 36px 24px; }
  .lancement-info-list { padding: 28px 24px; }

  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .modal-header { padding: 18px 20px; }
  .modal-body { padding: 20px; }
  .modal-section { grid-template-columns: 1fr; gap: 16px; }
}
