/* =========================================================
   HDR MENUISERIE — Design System
   Simple. Ergonomique. Lisible.
   Charte : #C6A168 (sable) · #000000 (noir)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root{
  /* Couleurs */
  --sand:        #C6A168;
  --sand-dark:   #A07F47;
  --sand-soft:   #F5EEDC;
  --sand-wash:   #FAF6EC;

  --ink:         #1A1A1A;
  --text:        #2D2D2D;
  --text-mute:   #6B6B6B;
  --text-soft:   #8A8A8A;

  --bg:          #FFFFFF;
  --bg-alt:      #FAF8F4;
  --line:        #E8E4DB;
  --line-soft:   #F0EDE5;

  --success:     #2E7D5B;
  --focus:       #2D6CDF;

  /* Typo */
  --serif:       'Fraunces', Georgia, serif;
  --sans:        'Inter', system-ui, -apple-system, sans-serif;

  /* Espacements (système 8) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Layout */
  --container: 1200px;
  --radius: 6px;
  --radius-lg: 12px;

  /* Ombres */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 12px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.10);

  /* Transitions */
  --t-fast: 150ms ease;
  --t:      250ms ease;
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 100px;
}
body{
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,svg{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; transition: color var(--t-fast); }
button{ cursor: pointer; font: inherit; border: none; background: none; }
input,select,textarea{ font: inherit; }

/* Focus accessible partout */
:focus-visible{
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Typographie ---------- */
h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1{ font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h2{ font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3{ font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; }
h4{ font-size: 1.05rem; font-weight: 600; font-family: var(--sans); }

p{ color: var(--text); }
strong{ color: var(--ink); font-weight: 600; }

.eyebrow{
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: var(--s-4);
}

.lead{
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-mute);
  max-width: 65ch;
}

/* ---------- Layout ---------- */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}
.section{ padding: var(--s-9) 0; }
.section-sm{ padding: var(--s-8) 0; }
.section-alt{ background: var(--bg-alt); }

/* =========================================================
   BOUTONS — clairs et accessibles
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: all var(--t-fast);
  min-height: 48px;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary{
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover{
  background: var(--sand-dark);
  border-color: var(--sand-dark);
}
.btn-secondary{
  background: var(--bg);
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover{
  background: var(--ink);
  color: var(--bg);
}
.btn-sand{
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}
.btn-sand:hover{
  background: var(--sand-dark);
  border-color: var(--sand-dark);
  color: var(--bg);
}
.btn-ghost{
  color: var(--ink);
  padding: 12px 16px;
}
.btn-ghost:hover{ color: var(--sand-dark); }
.btn .arrow{ transition: transform var(--t-fast); }
.btn:hover .arrow{ transform: translateX(4px); }

.link{
  color: var(--sand-dark);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.link:hover{ color: var(--ink); }

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-top{
  background: var(--ink);
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.header-top .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: var(--s-5);
}
.header-top a,
.header-top span{
  color: rgba(255,255,255,.95);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header-top a:hover{ color: var(--sand); }
.ht-contact{ display: flex; gap: var(--s-5); flex-wrap: wrap; align-items: center; }
.ht-group{ font-size: 12px; opacity: .7; }

.header-main .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
  gap: var(--s-5);
}

.logo{
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-mark{
  display: inline-block;
  border: 2px solid var(--ink);
  padding: 8px 14px 10px;
  border-radius: 4px;
}
.logo-mark .hdr{
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.logo-mark .menuiserie{
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  color: var(--sand);
  letter-spacing: 0.24em;
  margin-top: 4px;
}
.logo-subline{
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 6px;
}

.main-nav > ul{
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}
.main-nav > ul > li{ position: relative; }
.main-nav > ul > li > a{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--t-fast);
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active{
  color: var(--ink);
  background: var(--sand-wash);
}
.main-nav > ul > li > a.active{ color: var(--sand-dark); }
.chevron{
  width: 10px;
  height: 10px;
  transition: transform var(--t-fast);
}
.main-nav li:hover .chevron{ transform: rotate(180deg); }

.dropdown{
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-2);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all var(--t-fast);
}
.main-nav li:hover > .dropdown,
.main-nav li:focus-within > .dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a{
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--t-fast);
}
.dropdown a:hover{
  background: var(--sand-wash);
  color: var(--sand-dark);
}

.header-actions{
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.menu-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg);
}
.menu-toggle span{
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all var(--t);
}
.menu-toggle span:nth-child(1){ top: 14px; }
.menu-toggle span:nth-child(2){ top: 21px; }
.menu-toggle span:nth-child(3){ top: 28px; }
.menu-toggle.active span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2){ opacity: 0; }
.menu-toggle.active span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  padding: var(--s-9) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero .container{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.hero h1{
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  margin-bottom: var(--s-5);
}
.hero h1 em{
  font-style: italic;
  color: var(--sand-dark);
  font-weight: 500;
}
.hero-lead{
  font-size: 1.15rem;
  color: var(--text-mute);
  margin-bottom: var(--s-6);
  max-width: 520px;
}
.hero-actions{
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}

.hero-stats{
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: var(--s-7);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.stat-num{
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label{
  font-size: 13px;
  color: var(--text-mute);
}

.hero-visual{
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 50%, #5a4a30 100%);
  box-shadow: var(--shadow-lg);
}
.hero-visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-visual::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.hero-visual .badge{
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  background: var(--bg);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 1;
}
.hero-visual .caption{
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  color: var(--bg);
  z-index: 1;
}
.caption-cat{
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 4px;
}
.caption-title{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 500;
}

/* ---------- Trust strip ---------- */
.trust-strip{
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.trust-strip .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-5);
  padding-top: var(--s-5);
  padding-bottom: var(--s-5);
  flex-wrap: wrap;
}
.trust-item{
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.trust-item svg{
  color: var(--sand-dark);
  flex-shrink: 0;
}

/* =========================================================
   PAGE HEADER
   ========================================================= */
.page-header{
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: var(--s-8) 0;
}
.page-header .container{ max-width: 880px; }

.breadcrumb{
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.breadcrumb a{
  color: var(--text-mute);
  padding: 4px 0;
}
.breadcrumb a:hover{ color: var(--ink); text-decoration: underline; }
.breadcrumb .sep{
  color: var(--text-soft);
  user-select: none;
}
.breadcrumb .current{
  color: var(--ink);
  font-weight: 500;
}
.page-header h1{
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: var(--s-4);
}
.page-header .lead{ max-width: 720px; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head{
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s-8);
}
.section-head h2{ margin-bottom: var(--s-4); }
.section-head p{
  color: var(--text-mute);
  font-size: 1.05rem;
  margin: 0 auto;
}

/* =========================================================
   INTRO BLOCK
   ========================================================= */
.intro-block{
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--s-8);
  align-items: start;
}
.intro-block h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); }
.intro-block .col-right p{
  margin-bottom: var(--s-4);
  font-size: 1.02rem;
  line-height: 1.7;
}
.intro-block .col-right p:last-child{ margin-bottom: 0; }

/* =========================================================
   CONTENT SECTIONS
   ========================================================= */
.content-section{
  padding: var(--s-8) 0;
  border-bottom: 1px solid var(--line-soft);
}
.content-section:last-of-type{ border-bottom: none; }
.content-section.alt{ background: var(--bg-alt); }
.content-section .container{ max-width: 820px; }

.content-section h2{
  margin-bottom: var(--s-5);
  padding-left: var(--s-4);
  border-left: 3px solid var(--sand);
}
.content-section h3{
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.content-section p{
  margin-bottom: var(--s-4);
  font-size: 1.02rem;
  line-height: 1.75;
}
.content-section p:last-child{ margin-bottom: 0; }
.content-section ul{
  list-style: none;
  margin: var(--s-4) 0;
}
.content-section ul li{
  position: relative;
  padding-left: var(--s-6);
  margin-bottom: var(--s-3);
  line-height: 1.7;
}
.content-section ul li::before{
  content:"";
  position: absolute;
  left: 0;
  top: 12px;
  width: 14px;
  height: 2px;
  background: var(--sand);
  border-radius: 1px;
}

/* =========================================================
   GRILLE PRODUITS
   ========================================================= */
.products-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
}
.product-card{
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t);
  position: relative;
}
.product-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sand);
}
.product-card:focus-within{ border-color: var(--focus); }

.pc-image{
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--sand-soft) 0%, var(--sand) 100%);
  position: relative;
  overflow: hidden;
}
.pc-image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t);
}
.product-card:hover .pc-image img{ transform: scale(1.04); }
.pc-image::after{
  content:"";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 30px, rgba(0,0,0,.05) 30px 32px);
}
.pc-image.style-pergola::after{
  background-image:
    linear-gradient(180deg,
      transparent 30%, rgba(26,26,26,.35) 30% 33%,
      transparent 33% 41%, rgba(26,26,26,.35) 41% 44%,
      transparent 44% 52%, rgba(26,26,26,.35) 52% 55%,
      transparent 55% 63%, rgba(26,26,26,.35) 63% 66%,
      transparent 66%);
}
.pc-image.style-window::after{
  background-image:
    linear-gradient(90deg, transparent 8%, rgba(26,26,26,.6) 8% 10%, transparent 10% 48%, rgba(26,26,26,.6) 48% 52%, transparent 52% 90%, rgba(26,26,26,.6) 90% 92%, transparent 92%),
    linear-gradient(0deg, transparent 8%, rgba(26,26,26,.6) 8% 10%, transparent 10% 90%, rgba(26,26,26,.6) 90% 92%, transparent 92%);
}
.pc-image.style-volet::after{
  background-image: repeating-linear-gradient(0deg, rgba(26,26,26,.4) 0 7px, rgba(26,26,26,.1) 7px 10px);
}
.pc-image.style-bso::after{
  background-image: repeating-linear-gradient(-15deg, transparent 0 12px, rgba(26,26,26,.4) 12px 16px);
}
.pc-image.style-store::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
}
.pc-image.style-store::after{
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 5px, transparent 5px 10px);
}
.pc-image.style-carport::before{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--text) 0%, var(--sand-dark) 70%, var(--sand) 100%);
}
.pc-image.style-carport::after{
  background-image: linear-gradient(180deg, transparent 0 28%, rgba(0,0,0,.45) 28% 32%, transparent 32%);
}
.pc-image.style-porte::after{
  background-image:
    linear-gradient(90deg, transparent 10%, rgba(26,26,26,.35) 10% 90%, transparent 90%),
    repeating-linear-gradient(0deg, transparent 0 14px, rgba(26,26,26,.2) 14px 16px);
}

.pc-tag{
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  background: var(--bg);
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 50px;
  z-index: 1;
}

.pc-body{
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pc-body h3{ margin-bottom: var(--s-2); }
.pc-body p{
  font-size: 14.5px;
  color: var(--text-mute);
  line-height: 1.55;
  margin-bottom: var(--s-4);
  flex: 1;
}
.pc-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.pc-link .arrow{ transition: transform var(--t-fast); }
.product-card:hover .pc-link{ color: var(--sand-dark); }
.product-card:hover .pc-link .arrow{ transform: translateX(4px); }

/* =========================================================
   FEATURES
   ========================================================= */
.features-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5);
}
.feature{
  padding: var(--s-6);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all var(--t);
}
.feature:hover{
  border-color: var(--sand);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.feature-icon{
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--sand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-4);
  color: var(--sand-dark);
}
.feature h3{ margin-bottom: var(--s-2); }
.feature p{
  color: var(--text-mute);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   PROCESS
   ========================================================= */
.process{
  background: var(--ink);
  color: rgba(255,255,255,.9);
  padding: var(--s-9) 0;
}
.process .section-head h2{ color: var(--bg); }
.process .section-head .eyebrow{ color: var(--sand); }
.process .section-head p{ color: rgba(255,255,255,.65); }

.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
.step{
  padding-top: var(--s-5);
  border-top: 1px solid rgba(198,161,104,.3);
}
.step-num{
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--sand);
  line-height: 1;
  margin-bottom: var(--s-4);
}
.step h3{
  color: var(--bg);
  margin-bottom: var(--s-2);
  font-family: var(--sans);
  font-size: 1.05rem;
}
.step p{
  color: rgba(255,255,255,.65);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list{
  max-width: 760px;
  margin: 0 auto;
}
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-q{
  width: 100%;
  text-align: left;
  padding: var(--s-5) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast);
  cursor: pointer;
}
.faq-q:hover{ color: var(--sand-dark); }
.faq-icon{
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sand-soft);
  color: var(--sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  transition: all var(--t);
}
.faq-item.open .faq-icon{
  background: var(--ink);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.faq-a-inner{
  padding-bottom: var(--s-5);
  color: var(--text-mute);
  line-height: 1.7;
}
.faq-item.open .faq-a{ max-height: 500px; }

/* =========================================================
   GALERIE
   ========================================================= */
.gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.gallery-item{
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item:nth-child(1){
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gi-bg{
  position: absolute;
  inset: 0;
  transition: transform var(--t);
  background-size: cover;
  background-position: center;
}
.gi-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item:hover .gi-bg{ transform: scale(1.04); }
.gallery-item::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75) 100%);
}
.gi-info{
  position: absolute;
  bottom: var(--s-5);
  left: var(--s-5);
  right: var(--s-5);
  color: var(--bg);
  z-index: 1;
}
.gi-cat{
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 4px;
}
.gi-info h4{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--bg);
}
.gi-bg.bg-1{ background: linear-gradient(135deg, var(--sand) 0%, #5a4a30 100%); }
.gi-bg.bg-2{ background: linear-gradient(45deg, var(--sand-dark) 0%, var(--sand) 100%); }
.gi-bg.bg-3{ background: linear-gradient(225deg, var(--ink) 0%, var(--sand-dark) 100%); }
.gi-bg.bg-4{ background: linear-gradient(135deg, var(--sand-soft) 0%, var(--sand-dark) 100%); }
.gi-bg.bg-5{ background: linear-gradient(180deg, var(--sand) 0%, var(--ink) 100%); }

/* =========================================================
   PRODUCT DETAIL
   ========================================================= */
.product-detail{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
.pd-visual{
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 50%, #5a4a30 100%);
  position: relative;
  overflow: hidden;
}
.pd-visual img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pd-visual::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.pd-visual .badge{
  position: absolute;
  top: var(--s-4);
  left: var(--s-4);
  background: var(--bg);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  z-index: 1;
}

.price-card{
  background: var(--ink);
  color: var(--bg);
  padding: var(--s-5);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
}
.price-label{
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 4px;
}
.price-amount{
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
}
.price-note{
  font-size: 12px;
  color: var(--text-soft);
  margin-top: var(--s-3);
}

.specs-title{
  margin: var(--s-6) 0 var(--s-4);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.specs-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.spec{
  padding: var(--s-4);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.spec-label{
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.spec-value{
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}

/* Galerie thumbs sur fiche produit */
.product-thumbs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.product-thumbs a{
  display: block;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--t-fast);
}
.product-thumbs a:hover{
  border-color: var(--sand);
  transform: scale(1.03);
}
.product-thumbs img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  background: var(--sand-soft);
  padding: var(--s-8) 0;
}
.cta-band .container{
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-6);
  align-items: center;
}
.cta-band h2{ margin-bottom: var(--s-3); }
.cta-band p{ color: var(--text-mute); }
.cta-actions{
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* =========================================================
   FORMULAIRE
   ========================================================= */
.contact-layout{
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-8);
  align-items: start;
}
.contact-info{
  position: sticky;
  top: 120px;
}
.ci-block{ margin-bottom: var(--s-6); }
.ci-block:last-child{ margin-bottom: 0; }
.ci-block h3{
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand-dark);
  margin-bottom: var(--s-3);
}
.ci-block p,
.ci-block a{
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  display: block;
}
.ci-block a:hover{ color: var(--sand-dark); }

.contact-form{
  background: var(--bg);
  padding: var(--s-7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-form h2{
  margin-bottom: var(--s-2);
  font-size: 1.6rem;
}
.contact-form .form-intro{
  font-size: 15px;
  color: var(--text-mute);
  margin-bottom: var(--s-6);
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.form-group{ margin-bottom: var(--s-4); }
.form-group label{
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--s-2);
}
.form-group .required{
  color: var(--sand-dark);
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--t-fast);
  min-height: 48px;
}
.form-group select{
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1l5 5 5-5' stroke='%231A1A1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover{
  border-color: var(--text-soft);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline: none;
  border-color: var(--sand-dark);
  box-shadow: 0 0 0 3px rgba(198,161,104,.2);
}
.form-group textarea{
  resize: vertical;
  min-height: 120px;
}
.form-help{
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 6px;
}

.form-consent{
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.5;
  margin-bottom: var(--s-5);
  padding: var(--s-3);
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.form-consent input{
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--sand-dark);
}

.form-submit{ width: 100%; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,.75);
  padding: var(--s-9) 0 0;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
}
.footer-col h4{
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: var(--s-4);
}
.footer-col ul{ list-style: none; }
.footer-col ul li{ margin-bottom: var(--s-2); }
.footer-col a{
  color: rgba(255,255,255,.7);
  font-size: 15px;
  display: inline-block;
  padding: 4px 0;
}
.footer-col a:hover{ color: var(--sand); }

.footer-brand .logo-mark{
  border-color: var(--bg);
  margin-bottom: var(--s-4);
}
.footer-brand .logo-mark .hdr{ color: var(--bg); }
.footer-brand .logo-mark .menuiserie{ color: var(--sand); }
.footer-brand p{
  color: rgba(255,255,255,.65);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: var(--s-4);
  max-width: 320px;
}
.footer-brand .group-link{
  font-size: 13px;
  color: var(--sand);
  font-weight: 500;
}
.footer-brand .group-link:hover{
  color: var(--bg);
  text-decoration: underline;
}

.footer-contact-list{ list-style: none; }
.footer-contact-list li{
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  margin-bottom: var(--s-3);
}
.footer-contact-list svg{
  flex-shrink: 0;
  color: var(--sand);
  margin-top: 2px;
}
.footer-contact-list a,
.footer-contact-list span{
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.5;
}
.footer-contact-list a:hover{ color: var(--sand); }

.social-list{
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.social-list a{
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  padding: 0;
  transition: all var(--t-fast);
}
.social-list a:hover{
  background: var(--sand);
  border-color: var(--sand);
  color: var(--ink);
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--s-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer-bottom .fb-links{ display: flex; gap: var(--s-5); }
.footer-bottom a:hover{ color: var(--sand); }

/* =========================================================
   ANIMATIONS
   ========================================================= */
[data-reveal]{
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
  transform: translateY(20px);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html{ scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px){
  .hero .container{
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }
  .hero-visual{
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 4/4;
  }
  .intro-block,
  .contact-layout,
  .product-detail{
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .contact-info{ position: static; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6);
  }
  .cta-band .container{
    grid-template-columns: 1fr;
    text-align: left;
  }
  .cta-actions{ justify-content: flex-start; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(1){
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px){
  body{ font-size: 16px; }
  .section{ padding: var(--s-8) 0; }

  .menu-toggle{ display: block; }
  .header-top{ display: none; }
  .main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t);
  }
  .main-nav.open{ max-height: calc(100vh - 100px); overflow-y: auto; }
  .main-nav > ul{
    flex-direction: column;
    align-items: stretch;
    padding: var(--s-3);
    gap: 0;
  }
  .main-nav > ul > li > a{
    padding: var(--s-4);
    font-size: 16px;
    border-radius: var(--radius);
    justify-content: space-between;
  }
  .dropdown{
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    background: var(--bg-alt);
    padding: var(--s-2);
    margin-top: var(--s-1);
  }
  .dropdown a{ padding-left: var(--s-6); }
  .header-main .btn-primary{ display: none; }

  .form-row{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .footer-grid{
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .gallery{ grid-template-columns: 1fr; }
  .gallery-item:nth-child(1){ grid-column: span 1; }
  .gallery-item{ aspect-ratio: 4/3; }
  .price-card{
    flex-direction: column;
    align-items: flex-start;
  }
  .price-card .btn{ width: 100%; }
  .hero-stats{ gap: var(--s-5); }
  .stat-num{ font-size: 1.6rem; }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom .fb-links{ flex-wrap: wrap; gap: var(--s-3); }
}

/* =========================================================
   MEDIA SECTION (image + texte) - AJOUT V3
   ========================================================= */
.media-section{
  padding: var(--s-8) 0;
}
.media-section.alt{ background: var(--bg-alt); }
.media-section .container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.media-section.reverse .container > *:first-child{ order: 2; }
.media-image{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}
.media-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-section h2{
  margin-bottom: var(--s-4);
}
.media-section p{
  margin-bottom: var(--s-4);
  line-height: 1.75;
}
.media-section p:last-child{ margin-bottom: 0; }

.page-media{
  padding: var(--s-5) 0 var(--s-8);
  background: var(--bg);
}
.page-media .container{ max-width: 920px; }
.page-media .media-image{
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1024px){
  .media-section .container{
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .media-section.reverse .container > *:first-child{ order: initial; }
}
/* ---------- Logo officiel HDR Menuiserie ---------- */
.logo-mark{display:block;width:clamp(132px,13vw,168px);aspect-ratio:1612/908;border:0;padding:0;border-radius:0;background:url("../img/logo.svg") left center/contain no-repeat}
.logo-mark .hdr,.logo-mark .menuiserie{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.footer-brand .logo-mark{width:152px;border:0;background-image:url("../img/logo-blanc.svg")}