/* ABD Pro - charte inspirée du flyer : vert anis, gris acier brossé, titres condensés */
:root {
  --green: #a9cf3b;
  --green-dark: #8db52a;
  --green-deep: #4f6b14;
  --ink: #1c1e1a;
  --steel: #2c2e30;
  --steel-light: #3a3d40;
  --grey: #5f645c;
  --grey-light: #c9cdc3;
  --bg: #f4f5f0;
  --white: #ffffff;
  --radius: 18px 6px 18px 6px;
  --shadow: 0 10px 30px rgba(20, 24, 16, 0.12);
  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-logo: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-script: "Kaushan Script", "Brush Script MT", cursive;
  --brushed: repeating-linear-gradient(90deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 3px),
             repeating-linear-gradient(90deg, rgba(0,0,0,0.12) 0 2px, transparent 2px 7px),
             linear-gradient(180deg, #3a3d40 0%, #26282a 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
h2.h3 { font-size: 1.35rem; margin-top: 2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--grey); }
.small { font-size: 0.9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: var(--ink); font-weight: 700; padding: 8px 12px; }
.skip:focus { left: 8px; z-index: 100; }

/* --- boutons / tags ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: 1.05rem; letter-spacing: 0.04em;
  padding: 11px 22px; border-radius: 4px 12px 4px 12px;
  border: 2px solid var(--green);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); text-decoration: none; transform: translateY(-1px); }
.btn-lg { font-size: 1.25rem; padding: 14px 28px; }
.btn-sm { font-size: 0.95rem; padding: 8px 16px; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.tag {
  display: inline-block; background: var(--green); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: 0.9rem; letter-spacing: 0.08em; padding: 3px 10px; line-height: 1.5;
}
.kicker {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.95rem; color: var(--green-deep); margin: 0 0 0.4em;
}
.kicker.light { color: var(--green); }
.link { font-weight: 600; }
.link::after { content: " →"; }

/* --- logo ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: flex-end; position: relative; text-decoration: none !important; line-height: 1; }
.logo-abd {
  font-family: var(--font-logo); font-weight: 900; font-size: 2.3rem; color: var(--white);
  background: var(--green); padding: 4px 12px 6px 10px; letter-spacing: -0.02em;
  box-shadow: 4px 4px 0 rgba(0,0,0,.25); text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 0 1px rgba(0,0,0,.6);
}
.logo-pro {
  font-family: var(--font-script); font-size: 1.7rem; color: var(--ink);
  margin-left: -6px; margin-bottom: -10px; transform: rotate(-8deg);
  text-shadow: 1px 1px 0 var(--white), -1px -1px 0 var(--white), 1px -1px 0 var(--white), -1px 1px 0 var(--white);
}
.logo-small .logo-abd { font-size: 1.8rem; }
.logo-small .logo-pro { font-size: 1.4rem; color: var(--white); text-shadow: 1px 1px 0 var(--steel); }

/* --- header ---------------------------------------------------------------- */
.site-header {
  background: var(--white); position: sticky; top: 0; z-index: 50;
  border-top: 5px solid var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav > ul > li { position: relative; }
.nav a:not(.btn) {
  display: block; padding: 10px 12px; color: var(--ink);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.04em;
  border-bottom: 3px solid transparent;
}
.nav > ul > li > a:hover, .nav > ul > li > a.active { border-bottom-color: var(--green); text-decoration: none; }
.sub-toggle { display: none; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 8px 0;
  background: var(--white); box-shadow: var(--shadow); border-top: 3px solid var(--green);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-size: 1rem !important; padding: 8px 18px !important; border-bottom: 0 !important; font-weight: 600 !important; }
.sub a:hover { background: var(--bg); color: var(--green-deep); }
.btn-phone { font-size: 1.15rem; white-space: nowrap; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; height: 3px; background: var(--ink); margin: 6px 0; border-radius: 2px; transition: .2s; }

/* --- hero ------------------------------------------------------------------ */
.hero { position: relative; color: var(--white); background: var(--brushed); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0.28; filter: grayscale(35%) contrast(1.1);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(28,30,26,.92) 0%, rgba(28,30,26,.75) 45%, rgba(28,30,26,.35) 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; padding: 64px 0 56px; }
.hero-kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); letter-spacing: 0.05em; color: var(--ink);
  background: var(--green); padding: 6px 16px; margin: 0 0 18px; box-shadow: 5px 5px 0 rgba(0,0,0,.35);
}
.hero-kicker span { color: var(--ink); border-bottom: 3px solid var(--ink); }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.2vw, 3.9rem); text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 24px; width: fit-content; }
.checklist li { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; }
.checklist li::before { content: ""; width: 16px; height: 16px; background: var(--green); flex: none; box-shadow: 2px 2px 0 rgba(0,0,0,.4); }
.checklist.dark li { color: var(--white); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-cards figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 30px rgba(0,0,0,.45); border: 4px solid rgba(255,255,255,.9); background: var(--white); }
.hero-cards figure:first-child { grid-column: 1 / -1; }
.hero-cards img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.hero-cards figure:not(:first-child) img { aspect-ratio: 4/3; }
.hero-cards figcaption {
  position: absolute; top: 12px; left: 12px; background: var(--green); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; padding: 3px 10px;
}

/* --- bandeau chiffres ------------------------------------------------------- */
.strip { background: var(--green); color: var(--ink); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 0; }
.strip-inner div { display: flex; flex-direction: column; line-height: 1.2; border-left: 3px solid rgba(0,0,0,.25); padding-left: 14px; }
.strip strong { font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; font-weight: 800; }
.strip span { font-size: .95rem; }

/* --- sections ---------------------------------------------------------------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--brushed); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head.row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.grid-items { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* --- cartes --------------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; background: var(--white); color: var(--ink);
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(20,24,16,.08);
  transition: transform .18s, box-shadow .18s; text-decoration: none !important;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { position: relative; aspect-ratio: 4/3; background: var(--grey-light); overflow: hidden; }
.card-img img, .card-img .noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.card-body h3 { margin: 0; font-size: 1.2rem; }
.card .tag { align-self: flex-start; }
.tag-float { position: absolute; top: 12px; left: 12px; }
.badge { position: absolute; bottom: 10px; right: 10px; background: rgba(28,30,26,.8); color: var(--white); font-size: .8rem; padding: 2px 8px; border-radius: 3px; }
.card-cat .card-body { gap: 2px; }
.card-cat h3 { font-size: 1.15rem; }
.card-cat .muted { font-size: .9rem; }

/* --- services ------------------------------------------------------------------- */
.service { background: var(--bg); padding: 28px 26px 24px; border-radius: var(--radius); border-top: 5px solid var(--green); position: relative; }
.service-num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--green-deep); line-height: 1; display: block; margin-bottom: 8px; }
.service p { margin: 0; color: var(--grey); }

/* --- prose / deux colonnes ------------------------------------------------------ */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.prose { max-width: 70ch; }
.prose-wide { max-width: 85ch; margin-bottom: 40px; }
.prose ul li { margin-bottom: .3em; }
.prose strong { color: var(--green-deep); }
.prose .btn { margin-top: 12px; }
.photo-stack { margin: 0; display: grid; gap: 16px; }
.photo-stack img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.photo-stack img:nth-child(2) { width: 70%; justify-self: end; margin-top: -60px; border: 5px solid var(--white); }
.aside { display: grid; gap: 24px; align-content: start; }
.info-box { background: var(--steel); color: var(--white); padding: 28px; border-radius: var(--radius); border-left: 6px solid var(--green); }
.info-box h2, .info-box h3 { color: var(--white); margin-top: 8px; }
.info-box .btn { margin: 8px 0 12px; }
.info-box.light { background: var(--white); color: var(--ink); box-shadow: 0 4px 16px rgba(20,24,16,.08); }
.info-box.light h3 { color: var(--ink); }
.info-box .muted { color: var(--grey-light); }
.info-box:not(.light) a:not(.btn), .map-card a:not(.btn), .contact-card.main .kicker { color: var(--green); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 8px 16px; font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 1.05rem; }

/* --- en-tête de page --------------------------------------------------------------- */
.page-head { background: var(--brushed); color: var(--white); padding: 36px 0 40px; border-bottom: 5px solid var(--green); }
.page-head h1 { color: var(--white); margin: 0; }
.page-head .lead { max-width: 70ch; margin: 14px 0 0; font-size: 1.1rem; color: #d8dbd2; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .92rem; color: #b9bdb3; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: var(--green); }
.breadcrumb a { color: #e1e4dc; }

/* --- fiche article ----------------------------------------------------------------- */
.item-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.main-img { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.main-img img { width: 100%; max-height: 640px; object-fit: contain; background: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 16px; }
.gallery a { display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: 10px 3px 10px 3px; box-shadow: 0 3px 10px rgba(0,0,0,.1); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.item-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--grey-light); font-weight: 600; }
.item-nav .next { text-align: right; }
.empty { background: var(--white); padding: 36px; border-radius: var(--radius); text-align: center; box-shadow: 0 4px 16px rgba(20,24,16,.08); }

/* --- actualités --------------------------------------------------------------------- */
.news-list { display: grid; gap: 24px; max-width: 800px; }
.news { background: var(--white); padding: 28px 30px; border-radius: var(--radius); border-left: 6px solid var(--green); }
.news time { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: var(--green-deep); font-weight: 700; font-size: .95rem; }
.news h2 { font-size: 1.6rem; margin: 6px 0 8px; }
.news .prose p:last-child { margin-bottom: 0; }
.news-home { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.map-card { background: var(--steel); color: var(--white); padding: 28px; border-radius: var(--radius); border-left: 6px solid var(--green); }
.map-card h3 { color: var(--white); }

/* --- contact ------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-card { background: var(--white); padding: 30px; border-radius: var(--radius); box-shadow: 0 4px 16px rgba(20,24,16,.08); border-top: 5px solid var(--green); }
.contact-card.main { background: var(--steel); color: var(--white); grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 6px 40px; align-items: center; }
.contact-card.main .kicker { grid-column: 1 / -1; }
.contact-card.main p { margin: 0; }
.contact-card.main .muted { color: var(--grey-light); }
.contact-card h2 { font-size: 1.5rem; }
.phone-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); color: var(--green); line-height: 1; letter-spacing: .02em; }
.phone-big:hover { text-decoration: none; color: var(--white); }
.zone { max-width: 85ch; }

/* --- bandeau d'appel ------------------------------------------------------------------- */
.cta-band { background: var(--brushed); color: var(--white); padding: 48px 0; border-top: 5px solid var(--green); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #d8dbd2; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- pied de page ----------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #cfd3c8; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 32px; }
.site-footer h3 { color: var(--green); font-size: 1.05rem; letter-spacing: .1em; }
.site-footer a { color: #e6e9e0; }
.site-footer strong { color: var(--white); }
.footer-tagline { margin-top: 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; font-size: .85rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* --- lightbox ----------------------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,17,14,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 90vh; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox figcaption { color: #cfd3c8; margin-top: 10px; font-size: .95rem; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--white); font-size: 3rem; line-height: 1; cursor: pointer; padding: 10px 18px; opacity: .8; }
.lightbox button:hover { opacity: 1; color: var(--green); }
.lb-close { top: 10px; right: 14px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* --- responsive ------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cards { max-width: 620px; }
  .strip-inner, .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .two-col, .item-layout, .news-home { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .photo-stack img:nth-child(2) { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.12); display: none;
  }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid #eceee8; display: flex; flex-wrap: wrap; align-items: center; }
  .nav > ul > li > a { flex: 1; border-bottom: 0 !important; }
  .sub-toggle { display: block; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
  .sub-toggle::after { content: ""; position: absolute; left: 17px; top: 15px; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: .2s; }
  .has-sub.open .sub-toggle::after { transform: rotate(-135deg); top: 20px; }
  .sub { position: static; width: 100%; box-shadow: none; border-top: 0; display: none; opacity: 1; visibility: visible; transform: none; padding: 0 0 8px 14px; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub:not(.open) { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .btn-phone { justify-content: center; margin-top: 14px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 44px 0; }
  .hero-inner { padding: 40px 0 36px; }
  .checklist { grid-template-columns: 1fr; }
  .checklist li { font-size: 1.05rem; }
  .strip-inner, .footer-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-card.main { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .logo-abd { font-size: 1.9rem; }
  .logo-pro { font-size: 1.4rem; }
  .btn-lg { font-size: 1.1rem; padding: 12px 20px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .item-nav { flex-direction: column; }
  .item-nav .next { text-align: left; }
}
