/* ============ LP Équipements — Landing Page ============ */

:root{
  --red: #c80606;
  --red-dark: #900404;
  --black: #14100f;
  --charcoal: #201b1a;
  --gray-900: #1c1c1c;
  --gray-700: #4a4a4a;
  --gray-500: #767676;
  --gray-200: #e7e5e4;
  --gray-100: #f4f2f1;
  --white: #ffffff;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(20,16,15,.08);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--gray-900);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--font-head); font-weight:700; line-height:1.1; margin:0 0 .6em; letter-spacing:.2px; }
p{ margin:0 0 1em; color:var(--gray-700); }

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

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding:.9em 1.8em;
  font-family:var(--font-head);
  font-weight:600;
  font-size:1.05rem;
  letter-spacing:.5px;
  text-transform:uppercase;
  border-radius:2px;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--red); color:var(--white); }
.btn-primary:hover{ background:var(--red-dark); }
.btn-outline{ border-color:rgba(255,255,255,.7); color:var(--white); }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-small{ padding:.6em 1.3em; font-size:.85rem; }

/* ---------- Topbar ---------- */

/* ---------- Header ---------- */
.site-header{
  position:relative;
  background:var(--white);
  border-bottom:1px solid var(--gray-200);
}
.header-logo-row{
  display:flex; justify-content:center; align-items:center;
  padding:18px 24px 10px;
}
.brand{ display:flex; align-items:center; justify-content:center; }
.brand-logo{ width:150px; height:150px; border-radius:0; }
.header-inner{
  display:flex; align-items:center; justify-content:center; gap:2rem;
  padding:10px 24px 16px;
  border-top:1px solid var(--gray-200);
}
.main-nav{ display:flex; gap:1.6rem; margin-right:auto; margin-left:auto; }
.main-nav a{
  font-size:.95rem; font-weight:600; color:var(--gray-900);
  position:relative; padding:4px 0;
}
.main-nav a:hover{ color:var(--red); }
.nav-toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:0; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--gray-900); }


/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex; align-items:center;
  color:var(--white);
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  transform:scale(1.05);
}
.hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(100deg, rgba(10,8,8,.92) 15%, rgba(20,16,15,.55) 55%, rgba(200,6,6,.35) 100%);
}
.hero-content{ position:relative; z-index:2; max-width:720px; padding-top:4rem; padding-bottom:4rem; }
.eyebrow{
  font-family:var(--font-head); text-transform:uppercase; letter-spacing:2px;
  color:var(--red); font-weight:700; font-size:.95rem; margin-bottom:1rem;
}
.hero h1{ font-size:clamp(2.4rem, 5vw, 4rem); color:var(--white); }
.hero-lead{ font-size:1.15rem; color:var(--gray-200); max-width:560px; }
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-top:1.6rem; }

/* ---------- Trust strip ---------- */
.trust-strip{ background:var(--gray-100); border-bottom:1px solid var(--gray-200); }
.trust-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  padding:2rem 24px;
}
.trust-item{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  padding:.5rem 1rem; border-left:1px solid var(--gray-200);
}
.trust-item:first-child{ border-left:none; }
.trust-figure{ font-family:var(--font-head); font-size:2rem; font-weight:700; color:var(--red); }
.trust-label{ font-size:.85rem; color:var(--gray-700); margin-top:.2rem; }

/* ---------- Sections ---------- */
.section{ padding:5.5rem 0; }
.section-alt{ background:var(--gray-100); }
.section-dark{ background:#232323; }
.section-dark p{ color:var(--gray-200); }
.text-light{ color:var(--white); }
.section-tag{
  font-family:var(--font-head); text-transform:uppercase; letter-spacing:2px;
  color:var(--red); font-weight:700; font-size:.9rem; margin-bottom:.6rem;
}
.section-tag-light{ color:#ff6b6b; }
.section-head{ max-width:680px; margin-bottom:3rem; }
.section-head h2{ font-size:clamp(1.8rem,3vw,2.6rem); }
.section-sub{ font-size:1.05rem; }

/* ---------- About ---------- */
.about-grid{
  display:grid; grid-template-columns:1.3fr .9fr; gap:3.5rem; align-items:start;
}
.about-text h2{ font-size:clamp(1.8rem,3vw,2.4rem); }
.check-list{ margin-top:1.4rem; display:flex; flex-direction:column; gap:.8rem; }
.check-list li{
  position:relative; padding-left:2rem; color:var(--gray-700);
}
.check-list li::before{
  content:"✓"; position:absolute; left:0; top:-2px;
  width:22px; height:22px; border-radius:50%;
  background:var(--red); color:var(--white);
  font-size:.75rem; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.about-panel{
  background:var(--black); color:var(--white);
  border-radius:var(--radius); padding:2.2rem;
}
.about-panel h3{ color:var(--white); font-size:1.4rem; }
.about-panel p{ color:var(--gray-200); }
.about-tags{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:1.2rem; }
.about-tags span{
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15);
  padding:.4em .9em; border-radius:20px; font-size:.82rem;
}

/* ---------- Category cards ---------- */
.cards-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.6rem;
}
.cat-card{
  background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius);
  padding:2rem; transition:transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent; }
.cat-icon{ width:55px; height:55px; margin-bottom:1.2rem; }
.cat-icon img, .cat-icon svg{ width:100%; height:100%; border-radius:6px; }
.cat-card h3{ font-size:1.25rem; margin-bottom:.4rem; }
.cat-card p{ font-size:.95rem; margin-bottom:0; }

/* ---------- Showcase grid (ce que nous équipons) ---------- */
.showcase-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem;
}
.showcase-tile{
  background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius);
  overflow:hidden; transition:transform .2s ease, box-shadow .2s ease;
}
.showcase-tile:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.tile-visual{
  aspect-ratio:4/3; display:flex; align-items:center; justify-content:center;
  background:var(--gray-100);
}
.tile-visual svg{ width:64px; height:64px; }
.tile-visual-photo{ padding:0; }
.tile-visual-photo img{ width:100%; height:100%; object-fit:contain; }
.showcase-tile h3{
  font-size:1.05rem; text-align:center; padding:1rem 1rem 1.2rem; margin:0;
}

/* ---------- Product showcase ---------- */
.product-showcase{
  display:grid; grid-template-columns:1.2fr .8fr; gap:3rem; align-items:start;
}
.product-gallery{
  background:var(--gray-100); border-radius:var(--radius); padding:1.5rem;
}
.product-main{
  width:100%; aspect-ratio:4/3; object-fit:contain;
  background:var(--white); border-radius:var(--radius); padding:1rem;
}
.product-caption{
  text-align:center; font-family:var(--font-head); font-weight:700;
  letter-spacing:1px; color:var(--red); margin:.7rem 0 0; font-size:1.1rem;
}
.product-thumbs{
  display:grid; grid-template-columns:repeat(4,1fr); gap:.7rem; margin-top:.9rem;
}
.product-thumbs img{
  background:var(--white); border-radius:4px; padding:.4rem;
  aspect-ratio:1/1; object-fit:contain; border:1px solid var(--gray-200);
  cursor:pointer; transition:border-color .15s ease;
}
.product-thumbs img:hover{ border-color:var(--red); }
.product-thumbs img.is-active{ border-color:var(--red); border-width:2px; padding:calc(.4rem - 1px); }
.product-gallery-empty{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:.8rem; min-height:320px; border:1.5px dashed var(--gray-200);
  color:var(--gray-500); text-align:center;
}
.product-gallery-empty .placeholder-icon{ width:56px; height:56px; color:var(--gray-500); }
.product-gallery-empty p{ margin:0; font-size:.9rem; font-weight:600; }
.product-info h3{ font-size:1.1rem; margin-top:1.4rem; }
.product-info h3:first-child{ margin-top:0; }
.model-tags{ display:flex; flex-wrap:wrap; gap:.5rem; }
.model-tags span{
  background:var(--gray-100); border:1px solid var(--gray-200);
  padding:.4em 1em; border-radius:20px; font-size:.85rem; font-weight:600;
}

/* ---------- Advantages ---------- */
.advantages-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:1.8rem;
}
.advantage{
  border-top:2px solid var(--red); padding-top:1.2rem;
}
.advantage-num{
  font-family:var(--font-head); font-size:1.6rem; color:var(--red); font-weight:700;
}
.advantage h3{ color:var(--white); font-size:1.2rem; margin-top:.4rem; }

/* ---------- Garantie ---------- */
.garantie-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; align-items:start;
}
.garantie-badges{ display:flex; gap:1rem; margin-top:1.5rem; }
.garantie-badge{
  flex:1; background:var(--gray-100); border-radius:var(--radius);
  padding:1.3rem; text-align:center;
}
.garantie-badge strong{ display:block; font-family:var(--font-head); font-size:1.8rem; color:var(--red); }
.garantie-badge span{ font-size:.85rem; color:var(--gray-700); }
.sav-list{ display:flex; flex-direction:column; gap:.9rem; }
.sav-list li{
  position:relative; padding:1rem 1.2rem 1rem 3rem;
  background:var(--gray-100); border-radius:var(--radius); font-size:.95rem;
}
.sav-list li::before{
  content:"🔧"; position:absolute; left:1rem; top:50%; transform:translateY(-50%);
  font-size:1rem;
}

/* ---------- Partner CTA ---------- */
.partner-section{
  position:relative; overflow:hidden;
  background:linear-gradient(120deg, var(--red-dark), var(--red));
}
.partner-photo{
  position:absolute; top:0; bottom:0; left:0;
  width:42%;
  overflow:hidden;
}
.partner-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.partner-inner{
  position:relative; z-index:2;
  max-width:560px;
  margin-left:calc(42% + 3rem);
  padding-right:24px;
  text-align:left;
}
.partner-inner .section-tag-light{ color:rgba(255,255,255,.85); }
.partner-lead{ color:rgba(255,255,255,.92); font-size:1.1rem; }
.partner-section .btn-primary{ background:var(--black); }
.partner-section .btn-primary:hover{ background:#000; }

/* ---------- Contact ---------- */
.contact-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:3.5rem;
}
.contact-intro{ display:flex; flex-direction:column; }
.contact-photo{
  margin-top:1.8rem; flex:1;
  border-radius:var(--radius); overflow:hidden; min-height:280px;
  box-shadow:var(--shadow);
}
.contact-photo img{ width:100%; height:100%; object-fit:cover; display:block; min-height:280px; }
.contact-form{
  display:flex; flex-direction:column; gap:1rem;
  background:var(--gray-100); padding:2rem; border-radius:var(--radius);
}
.contact-form label{ display:flex; flex-direction:column; gap:.4rem; font-size:.85rem; font-weight:600; color:var(--gray-900); }
.contact-form input, .contact-form textarea{
  font-family:var(--font-body); font-size:1rem;
  padding:.8em 1em; border:1px solid var(--gray-200); border-radius:4px;
  background:var(--white); resize:vertical;
}
.contact-form input:focus, .contact-form textarea:focus{ outline:2px solid var(--red); outline-offset:1px; }
.contact-form .btn{ align-self:flex-start; margin-top:.4rem; }
.hidden-field{ position:absolute; left:-9999px; }

/* ---------- Photo banner (atelier clé en main) ---------- */
.photo-banner{ position:relative; overflow:hidden; }
.photo-banner img{
  width:100%; height:min(60vh, 560px); object-fit:cover; display:block;
}
.photo-banner-overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(20,16,15,.88) 0%, rgba(20,16,15,.55) 45%, rgba(20,16,15,.05) 75%);
  display:flex; align-items:center;
}
.photo-banner-content{ color:var(--white); }
.photo-banner-text{ max-width:480px; }
.photo-banner-content .section-tag{ color:var(--red); }
.photo-banner-content h2{ color:var(--white); margin-bottom:.8rem; }
.photo-banner-content p{ color:var(--gray-200); margin-bottom:1.6rem; }

/* ---------- Footer ---------- */
.site-footer{ background:#232323; color:var(--gray-200); padding:3rem 0 2rem; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap:1.6rem; text-align:center; }
.footer-brand{ display:flex; align-items:center; gap:.6rem; color:var(--white); }
.footer-logo{ width:100px; height:100px; }
.footer-nav{ display:flex; flex-wrap:wrap; justify-content:center; gap:1.4rem; }
.footer-nav a{ font-size:.9rem; color:var(--gray-200); }
.footer-nav a:hover{ color:var(--red); }
.footer-legal{ font-size:.78rem; color:var(--gray-500); max-width:640px; line-height:1.9; }
.footer-legal .nowrap{ white-space:nowrap; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 980px){
  .cards-grid{ grid-template-columns:repeat(2,1fr); }
  .showcase-grid{ grid-template-columns:repeat(2,1fr); }
  .advantages-grid{ grid-template-columns:repeat(2,1fr); }
  .about-grid, .product-showcase, .garantie-grid, .contact-grid{
    grid-template-columns:1fr; gap:2.4rem;
  }
  .partner-photo{
    position:static; width:100%; height:260px; margin-bottom:2rem; border-radius:var(--radius);
  }
  .partner-inner{
    margin-left:0; max-width:none;
    padding-left:24px; padding-right:24px;
  }
  .trust-grid{ grid-template-columns:repeat(2,1fr); gap:1.6rem; }
  .trust-item{ border-left:none; border-top:1px solid var(--gray-200); padding-top:1rem; }
}

@media (max-width: 760px){
  .header-logo-row{ padding:12px 24px 8px; }
  .header-logo-row .brand-logo{ width:92px; height:92px; }
  .main-nav{
    position:fixed; top:166px; left:0; right:0; bottom:0;
    background:var(--white); flex-direction:column; padding:2rem;
    gap:1.4rem; transform:translateX(100%); transition:transform .3s ease;
  }
  .main-nav.is-open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
  .header-inner .btn-small{ display:none; }
  .cards-grid{ grid-template-columns:1fr; }
  .showcase-grid{ grid-template-columns:1fr; }
  .advantages-grid{ grid-template-columns:1fr; }
  .hero{ min-height:80vh; text-align:left; }
  .section{ padding:3.5rem 0; }
  .photo-banner img{ height:70vh; }
  .photo-banner-overlay{ background:linear-gradient(0deg, rgba(20,16,15,.92) 40%, rgba(20,16,15,.35) 100%); align-items:flex-end; }
  .photo-banner-text{ max-width:100%; padding-bottom:2rem; }
}

/* ---------- Category landing pages ---------- */
.back-link{ display:inline-block; color:var(--gray-200); font-size:.85rem; font-weight:600; margin-bottom:1.2rem; opacity:.85; }
.back-link:hover{ color:var(--white); opacity:1; }
.cat-card{ display:block; }

/* ---------- Brand badges ---------- */
.brand-badge{
  display:inline-block; font-family:var(--font-head); font-weight:700;
  letter-spacing:1px; text-transform:uppercase; font-size:.72rem;
  padding:.3em .8em; border-radius:3px; margin-bottom:.7rem; color:var(--white);
}
.brand-mw{ background:#c80606; }
.brand-aircraft{ background:#0e8c8c; }
.brand-teng{ background:#1c1c1c; }
.brand-holzstar{ background:#1f6b3f; }

/* ---------- Theme: Bois (Holzstar) ---------- */
body.theme-bois{ --red: #1f6b3f; --red-dark: #123f26; }
body.theme-bois .hero-overlay{
  background:linear-gradient(100deg, rgba(8,14,10,.94) 15%, rgba(14,18,16,.55) 45%, rgba(14,18,16,0) 85%);
}
body.theme-bois .section-tag-light{ color:#7fd9a4; }
body.theme-bois .eyebrow{ color:#2f8a54; }

/* ---------- Spec sheet card ---------- */
.spec-card{
  background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius);
  overflow:hidden; box-shadow:var(--shadow); margin-bottom:2rem;
}
.spec-card-head{
  background:var(--red); color:var(--white); padding:1rem 1.6rem;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.6rem;
}
.spec-card-head h3{ color:var(--white); margin:0; font-size:1.3rem; }
.spec-card-body{ padding:1.6rem; display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.spec-table{ width:100%; border-collapse:collapse; font-size:.9rem; }
.spec-table tr{ border-bottom:1px solid var(--gray-200); }
.spec-table tr:last-child{ border-bottom:none; }
.spec-table td{ padding:.55em .2em; }
.spec-table td:first-child{ color:var(--gray-700); }
.spec-table td:last-child{ text-align:right; font-weight:600; color:var(--gray-900); }
.spec-card-list{ display:flex; flex-direction:column; gap:.6rem; }
.spec-card-list li{ position:relative; padding-left:1.4rem; font-size:.92rem; color:var(--gray-700); }
.spec-card-list li::before{ content:"•"; position:absolute; left:0; color:var(--red); font-weight:700; }
@media (max-width: 760px){ .spec-card-body{ grid-template-columns:1fr; } }

/* ---------- Spec card photo ---------- */
.spec-card-photo{
  background:var(--gray-100); padding:1.6rem;
  display:flex; align-items:center; justify-content:center;
}
.spec-card-photo img{ max-height:280px; width:auto; object-fit:contain; }

/* ---------- Theme: Métal (Optimum) ---------- */
body.theme-metal{ --red: #5f2544; --red-dark: #3d1830; }
body.theme-metal .hero-overlay{
  background:linear-gradient(100deg, rgba(10,6,9,.94) 15%, rgba(18,14,16,.55) 45%, rgba(18,14,16,0) 85%);
}
body.theme-metal .section-tag-light{ color:#e0a8c8; }
body.theme-metal .eyebrow{ color:#8a3a63; }

.brand-optimum{ background:#5f2544; }
.brand-metallkraft{ background:#2c4a6e; }
