/* ============================================================
   3D CONSTRUCTION - Design System
   ============================================================ */

:root {
  --red:        #CC0000;
  --red-dark:   #AA0000;
  --red-light:  #EE3333;
  --green:      #038500;
  --green-dark: #026400;
  --dark:       #1A1A1E;
  --dark-2:     #252529;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-400:   #9CA3AF;
  --gray-300:   #D1D5DB;
  --gray-100:   #F3F4F6;
  --bg:         #FAFAFA;
  --white:      #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.10);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.14);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --t-fast:  150ms ease-out;
  --t-base:  220ms ease-out;

  --container-w: 1140px;
  --pad-x: clamp(1rem, 4vw, 2rem);
  --nav-h: 86px;
  --section-py: clamp(4rem, 8vw, 5.5rem);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { color: var(--dark); line-height: 1.15; font-weight: 700; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
section { padding-block: var(--section-py); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .625rem 1.5rem;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t-base);
  white-space: nowrap;
  line-height: 1.4;
}
.btn-lg { padding: .875rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192,57,43,.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--white);
}

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

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(3,133,0,.30);
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 1rem;
}
.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 72px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: .375rem .875rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--t-base);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--green); font-weight: 600; }

.nav-cta { flex-shrink: 0; margin-left: .5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .375rem;
  color: var(--dark);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: all var(--t-fast);
  margin-block: 5px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: clamp(480px, 72vh, 740px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('bg_bann.jpg');
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,26,30,.97) 0%,
    rgba(120,20,12,.60) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 3rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.hero .eyebrow { color: var(--red-light); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  max-width: 18ch;
  margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--red-light); font-style: normal; }

.hero-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.68);
  max-width: 54ch;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .875rem; }

.hero-tel {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2.25rem;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
}
.hero-tel a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.0625rem;
}

/* ── STATS STRIP ── */
.stats-strip {
  padding-block: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  text-align: center;
  padding: 2.25rem 1.5rem;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: .375rem;
}
.stat-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 3rem; }
.section-eyebrow {
  color: var(--red);
  margin-bottom: .875rem;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  max-width: 30ch;
}
.section-subtitle {
  margin-top: .875rem;
  font-size: 1.0625rem;
  color: var(--gray-500);
  max-width: 60ch;
  line-height: 1.7;
}

/* SERVICES LIST (homepage) */
.service-list { display: flex; flex-direction: column; }

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.75rem;
  align-items: start;
  padding-block: 2rem;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--t-base);
}
.service-row:first-child { border-top: 1px solid var(--gray-100); }
.service-row:hover { background: var(--white); }

.svc-num {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-top: .125rem;
  transition: color var(--t-base);
  user-select: none;
}
.service-row:hover .svc-num { color: rgba(192,57,43,.18); }

.svc-info h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .5rem;
  transition: color var(--t-base);
}
.service-row:hover .svc-info h3 { color: var(--red); }

.svc-info p { color: var(--gray-500); max-width: 56ch; line-height: 1.7; }

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-top: .875rem;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  border-radius: 100px;
}

.svc-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  letter-spacing: .01em;
  transition: gap var(--t-base);
}
.svc-link:hover { gap: .75rem; }

/* ── WHY SECTION ── */
.why-section {
  background: var(--dark);
  color: var(--white);
}
.why-section .section-eyebrow { color: rgba(255,255,255,.45); }
.why-section .section-title { color: var(--white); max-width: 26ch; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pillar {
  padding: 1.75rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  transition: background var(--t-base), border-color var(--t-base);
}
.pillar:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.pillar-icon {
  width: 46px;
  height: 46px;
  background: var(--red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}
.pillar h3 { font-size: 1.0625rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.pillar p  { font-size: .875rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── CTA BAND ── */
.cta-band { background: var(--red); padding-block: 3.5rem; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  max-width: 28ch;
}
.cta-band p { color: rgba(255,255,255,.8); margin-top: .5rem; font-size: 1.0625rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: .875rem; }

/* ── PAGE HERO (sous-pages) ── */
.page-hero {
  background: var(--dark);
  padding-block: 3.5rem 2.75rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -30%;
  width: 35%;
  height: 160%;
  background: var(--red);
  opacity: .06;
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .eyebrow { color: var(--red-light); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.75rem;
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--t-base); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.2); }

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  max-width: 24ch;
  margin-bottom: 1.125rem;
}
.page-hero .lead {
  color: rgba(255,255,255,.65);
  font-size: 1.0625rem;
  max-width: 60ch;
  line-height: 1.75;
}

/* ── PRESTATION ITEMS (sous-pages) ── */
.prestation-list { display: flex; flex-direction: column; gap: 0; }

.prestation-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  padding-block: 2.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.prestation-item:first-child { padding-top: 0; }
.prestation-item:last-child  { border-bottom: none; }

/* text-only variant (no image available) */
.prestation-item.text-only {
  grid-template-columns: 1fr;
  max-width: 75ch;
}

.prestation-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  flex-shrink: 0;
}
.prestation-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prest-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: .875rem;
  border-bottom: 2px solid var(--red);
}
.prest-body {
  color: var(--gray-500);
  line-height: 1.8;
  font-size: .9375rem;
}
.prest-body + .prest-body { margin-top: .875rem; }
.prest-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── STEPS (entreprise générale) ── */
.steps-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.step-item { display: flex; align-items: flex-start; gap: 1.125rem; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: .8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .125rem;
}
.step-body h4 { font-size: .9375rem; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
.step-body p  { font-size: .875rem; color: var(--gray-500); line-height: 1.65; }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.25rem;
}
.contact-card-title {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: .875rem;
  border-bottom: 1px solid var(--gray-100);
}
.contact-card-title svg { color: var(--red); flex-shrink: 0; }

.c-item { display: flex; align-items: flex-start; gap: .875rem; padding-block: .625rem; }
.c-item + .c-item { border-top: 1px solid var(--gray-100); }
.c-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-top: 2px;
}
.c-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.c-val { font-size: .875rem; color: var(--gray-700); font-weight: 500; }
.c-val a { color: var(--red); font-weight: 600; }
.c-val a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.map-wrap iframe { width: 100%; height: 100%; display: block; border: none; }

/* ── FORM ── */
.form-shell {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}
.form-shell h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.form-intro { color: var(--gray-500); font-size: .9rem; line-height: 1.65; margin-bottom: 2rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .375rem;
}
.req { color: var(--red); margin-left: 2px; }

.form-control {
  display: block;
  width: 100%;
  padding: .625rem .875rem;
  font-family: var(--font);
  font-size: .875rem;
  color: var(--dark);
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  appearance: none;
  outline: none;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row { display: grid; grid-template-columns: 5fr 8fr; gap: 1rem; }

/* ── FOOTER ── */
.site-footer { background: var(--dark); padding-block: 3.5rem 1.75rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand-desc {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 32ch;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
  margin-top: .625rem;
}
.footer-contact-row svg { flex-shrink: 0; opacity: .5; }
.footer-contact-row a  { color: rgba(255,255,255,.7); font-weight: 500; }
.footer-contact-row a:hover { color: var(--white); }

.footer-col h4 {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.125rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .625rem; }
.footer-nav a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--t-base); }
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
}
.footer-bottom p   { font-size: .75rem; color: rgba(255,255,255,.3); }
.footer-bottom a   { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.65); }

/* ── GUARANTEE STRIP ── */
.guarantee-strip {
  background: var(--green);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.guarantee-strip svg { flex-shrink: 0; color: rgba(255,255,255,.8); }
.guarantee-strip p {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

/* ── VELUX BADGE ── */
.velux-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: .625rem 1rem;
  font-size: .875rem;
  color: var(--gray-700);
  font-weight: 500;
  margin-top: 1.5rem;
}
.velux-badge img { height: 22px; width: auto; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .footer-col:first-child { grid-column: 1 / -1; }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside  { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .map-wrap       { grid-column: 1 / -1; aspect-ratio: 16/5; }

  .prestation-item { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 1.5rem var(--pad-x);
    gap: 0;
    z-index: 99;
    overflow-y: auto;
  }
  .nav-links.is-open a {
    font-size: 1.0625rem;
    padding: .875rem 0;
    border-bottom: 1px solid var(--gray-100);
  }
  .nav-links.is-open ~ .nav-cta {
    display: block;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 1rem var(--pad-x);
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    z-index: 99;
  }
  .nav-links.is-open ~ .nav-cta .btn { width: 100%; justify-content: center; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item  { border-right: none; border-bottom: 1px solid var(--gray-100); padding: 1.5rem; }
  .stat-item:last-child { border-bottom: none; }

  .service-row {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
  }
  .svc-link { grid-column: 2; margin-top: .75rem; }

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

  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-band-actions { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col:first-child { grid-column: auto; }

  .contact-aside { grid-template-columns: 1fr; }
  .map-wrap { aspect-ratio: 4/3; }

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

  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
}
