/*
Theme Name: Presqu'île Terrassement
Theme URI: https://www.aidecom.fr
Author: Orma AideCom
Author URI: https://www.aidecom.fr
Description: Thème sur mesure pour Presqu'île Terrassement – terrassement, VRD, démolition à La Baule et Pornichet. SEO local : pages services, pages Pornichet, zone d'intervention 15 km et pages communes.
Version: 2.0.4
Text Domain: presquile-terrassement
*/

/* =============================================
   TOKENS
============================================= */
:root {
  --gold: #C8922A;
  --gold-lt: #E3A93E;
  --gold-soft: #FBF3E4;
  --black: #0F0F0F;
  --dark: #1A1A1A;
  --mid: #2A2A2A;
  --line: #E6E2DA;
  --concrete: #8B8680;
  --text: #2B2B2B;
  --muted: #5F5B55;
  --light: #F6F4EF;
  --white: #FFFFFF;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(15,15,15,.12);
  --shadow-lg: 0 24px 60px rgba(15,15,15,.22);
  --head-h: 112px;
  --ff-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* =============================================
   BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff-body); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
h1, h2, h3, h4 { overflow-wrap: break-word; font-family: var(--ff-head); font-weight: 700; line-height: 1.08; text-transform: uppercase; letter-spacing: .01em; color: var(--black); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ico { flex-shrink: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #fff; padding: 8px 14px; z-index: 999; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; }
.section { padding: 96px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); color: rgba(255,255,255,.8); }
.section--black { background: var(--black); color: rgba(255,255,255,.75); }

.section-label, .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-size: .82rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-line { width: 36px; height: 2px; background: var(--gold); display: inline-block; }
.section-title { font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 20px; }
.section-title--white { color: var(--white); }
.section-intro { font-size: 1.05rem; color: var(--muted); max-width: 520px; }
.section--dark .section-intro, .section--black .section-intro { color: rgba(255,255,255,.6); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head .section-title { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: var(--text); margin-bottom: 18px; }
.lead a, .page-content p a, .pres-text a:not(.btn) { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; font-family: var(--ff-head); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .07em; text-transform: uppercase; border-radius: var(--radius-sm);
  cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s, color .2s; border: 2px solid transparent; line-height: 1.2;
}
.btn--lg { padding: 17px 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,146,42,.35); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--mid); transform: translateY(-2px); }
.btn--outline { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--outline:hover { background: var(--white); color: var(--black); }
.btn--outline-dark { color: var(--black); border-color: var(--black); }
.btn--outline-dark:hover { background: var(--black); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); font-size: .95rem; }
.link-arrow .ico { transition: transform .2s; }
a:hover > .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(4px); }

/* =============================================
   HEADER
============================================= */
#site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s, transform .3s; }
#site-header.is-solid, #site-header.scrolled { background: rgba(15,15,15,.96); backdrop-filter: blur(10px); box-shadow: 0 4px 24px rgba(0,0,0,.25); }
.topbar { border-bottom: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: rgba(255,255,255,.7); transition: margin .3s, opacity .3s; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar-zone, .topbar-hours, .topbar-phone { display: inline-flex; align-items: center; gap: 6px; }
.topbar-zone .ico { color: var(--gold); }
.topbar-right { display: inline-flex; gap: 22px; }
.topbar-phone { color: var(--white); font-weight: 600; }
.topbar-phone:hover { color: var(--gold); }
#site-header.scrolled .topbar { margin-top: -37px; opacity: 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 66px; width: auto; transition: height .3s; }
#site-header.scrolled .nav-logo img { height: 58px; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu > li > a:not(.btn) {
  font-family: var(--ff-head); font-size: .98rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.88); padding: 26px 0; position: relative; display: inline-flex; gap: 4px; align-items: center;
}
.nav-menu > li > a:not(.btn)::after { content: ''; position: absolute; bottom: 18px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav-menu > li > a:not(.btn):hover { color: var(--white); }
.nav-menu > li > a:not(.btn):hover::after { transform: scaleX(1); }
.caret { font-size: .7rem; opacity: .7; }
.nav-cta { padding: 11px 20px; font-size: .92rem; }
.nav-has-sub { position: relative; }
.nav-sub {
  position: absolute; top: 100%; left: -16px; min-width: 260px; background: var(--black); border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s;
}
.nav-has-sub:hover .nav-sub, .nav-has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: rgba(255,255,255,.82); font-size: .92rem; border-radius: var(--radius-sm); }
.nav-sub a .ico { color: var(--gold); }
.nav-sub a:hover { background: rgba(200,146,42,.14); color: var(--white); }
.nav-mega { flex-direction: row; gap: 18px; min-width: 620px; left: -200px; padding: 20px; }
.nav-mega > div { flex: 1; }
.nav-mega-title { display: block; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--gold); padding: 0 12px 8px; }
.nav-mega-cols { display: grid; grid-template-columns: 1fr 1fr; }
.nav-mega a { padding: 7px 12px; font-size: .9rem; }
.nav-mega-all { color: var(--gold) !important; font-weight: 600; margin-top: 6px; }

.nav-burger { display: none; flex-direction: column; gap: 6px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { width: 26px; height: 2px; background: var(--white); transition: .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; background: var(--black); padding: 10px 24px 28px; max-height: calc(100vh - 76px); overflow-y: auto; }
.nav-mobile.open { display: flex; }
.nav-mobile > a, .nav-mobile summary { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); display: block; cursor: pointer; list-style: none; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary::after { content: '+'; float: right; color: var(--gold); }
.nav-mobile details[open] summary::after { content: '–'; }
.nav-mobile details a { display: block; padding: 9px 0 9px 14px; color: rgba(255,255,255,.75); font-size: .95rem; border-left: 2px solid rgba(200,146,42,.4); }
.nav-mobile .btn { margin-top: 18px; }

/* =============================================
   HERO (accueil)
============================================= */
#hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--black); padding: calc(var(--head-h) + 40px) 0 140px; }
.hero-bg { position: absolute; inset: 0; background: url('img/hero.jpg') center 45% / cover no-repeat; transform: scale(1.06); transition: transform 9s ease-out; }
.hero-bg.loaded { transform: scale(1); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.72) 45%, rgba(10,10,10,.25) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 56px; align-items: center; width: 100%; }
.hero-content { color: var(--white); }
.hero-title { font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 800; color: var(--white); line-height: .98; margin-bottom: 24px; }
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.8); max-width: 580px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: rgba(255,255,255,.85); font-size: .92rem; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .ico { color: var(--gold); }
.hero-card { background: rgba(15,15,15,.62); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 22px; box-shadow: var(--shadow-lg); }
.hero-card-title { font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--gold); font-weight: 700; margin: 4px 6px 12px; }
.hero-card a { display: flex; align-items: center; gap: 14px; padding: 14px 12px; color: var(--white); border-radius: var(--radius-sm); border-bottom: 1px solid rgba(255,255,255,.07); font-weight: 500; transition: background .2s; }
.hero-card a:last-child { border-bottom: 0; }
.hero-card a span { flex: 1; }
.hero-card a .ico:first-child { color: var(--gold); }
.hero-card a .ico:last-child { opacity: .5; transition: transform .2s, opacity .2s; }
.hero-card a:hover { background: rgba(200,146,42,.16); }
.hero-card a:hover .ico:last-child { opacity: 1; transform: translateX(4px); }
.hero-slash { position: absolute; bottom: -1px; left: 0; right: 0; height: 90px; z-index: 2; }
.hero-slash svg { width: 100%; height: 100%; display: block; }

/* =============================================
   PRÉSENTATION
============================================= */
.pres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pres-imgs { position: relative; padding: 0 40px 40px 0; }
.pres-img-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.pres-img-accent { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow); }
.pres-badge { position: absolute; top: 24px; left: -18px; background: var(--gold); color: var(--white); padding: 14px 18px; border-radius: var(--radius); display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); font-family: var(--ff-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; }
.pres-text p { color: var(--muted); margin-bottom: 14px; }
.pres-text .lead { color: var(--text); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; }
.check-list .ico { color: var(--gold); margin-top: 3px; }

/* =============================================
   SERVICES
============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--dark); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, border-color .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(200,146,42,.5); box-shadow: 0 18px 40px rgba(0,0,0,.4); }
.service-card--wide { grid-column: span 2; flex-direction: row; }
.service-card--wide .service-card-img { flex: 1.1; aspect-ratio: auto; }
.service-card--wide .service-card-body { flex: 1; justify-content: center; }
.service-card-img { aspect-ratio: 16/10; overflow: hidden; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card-icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: rgba(200,146,42,.14); color: var(--gold); display: grid; place-items: center; }
.service-card h3 { color: var(--white); font-size: 1.55rem; }
.service-card p { color: rgba(255,255,255,.62); font-size: .95rem; flex: 1; }

/* =============================================
   SPLIT / PORNICHET / PROCESS
============================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.pill-links { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.pill-links a { display: flex; align-items: center; gap: 12px; padding: 15px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; transition: all .2s; }
.pill-links a .ico { color: var(--gold); }
.pill-links a:hover { border-color: var(--gold); transform: translateX(6px); box-shadow: var(--shadow); }
.process { display: grid; gap: 14px; counter-reset: none; }
.process li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 18px 78px; }
.process-num { position: absolute; left: 20px; top: 18px; font-family: var(--ff-head); font-size: 1.8rem; font-weight: 800; color: var(--gold); line-height: 1; }
.process strong { font-family: var(--ff-head); text-transform: uppercase; font-size: 1.15rem; letter-spacing: .03em; display: block; }
.process p { color: var(--muted); font-size: .93rem; margin: 2px 0 0 !important; }
.page-content .process { margin: 10px 0 30px; }
.page-content .process li { background: var(--light); border-color: transparent; }
.page-content .process li::before { display: none; }

/* =============================================
   ZONE (accueil + hub)
============================================= */
.zone-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.zone-grid--hub { grid-template-columns: 1.25fr 1fr; }
.zone-text p { color: var(--muted); margin-bottom: 22px; }
.zone-map { width: 100%; height: 460px; border-radius: 14px; background: #e9e6df; box-shadow: var(--shadow); overflow: hidden; z-index: 1; }
.zone-map--lg { height: 560px; }
.zone-map--sm { height: 320px; margin-top: 26px; }
.map-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.map-card { margin: 40px 0; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.zone-chips a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 14px; background: var(--light); border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--text); transition: all .2s; }
.zone-chips a small { font-weight: 500; color: var(--concrete); font-size: .75rem; }
.zone-chips a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.zone-chips a:hover small { color: rgba(255,255,255,.8); }
.zone-priority { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zone-priority a { padding: 22px; background: var(--black); color: var(--white); border-radius: var(--radius); border-bottom: 4px solid var(--gold); transition: transform .2s; }
.zone-priority a:hover { transform: translateY(-4px); }
.zone-priority strong { display: block; font-family: var(--ff-head); text-transform: uppercase; font-size: 1.35rem; }
.zone-priority span { color: rgba(255,255,255,.6); font-size: .85rem; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.city-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 6px; transition: all .25s; }
.city-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.city-card h3 { font-size: 1.3rem; padding-right: 54px; }
.city-km { position: absolute; top: 18px; right: 16px; font-size: .75rem; font-weight: 700; background: var(--gold-soft); color: var(--gold); padding: 3px 9px; border-radius: 999px; }
.city-cp { font-size: .78rem; color: var(--concrete); }
.city-card p { font-size: .88rem; color: var(--muted); flex: 1; margin-bottom: 8px; }
.leaflet-container { font-family: var(--ff-body); }
.pt-marker { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.pt-marker--hq { width: 22px; height: 22px; background: var(--black); border-color: var(--gold); }
.pt-marker--focus { width: 22px; height: 22px; background: var(--gold); }
.leaflet-popup-content a { color: var(--gold); font-weight: 600; }

/* =============================================
   RÉALISATIONS
============================================= */
.real-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 12px; }
.real-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: #ddd; }
.real-grid:not(.real-grid--full) .real-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.real-grid--full .real-item:nth-child(7n+1) { grid-column: span 2; grid-row: span 2; }
.real-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.real-item:hover img { transform: scale(1.07); }
.real-item figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: var(--white); font-size: .82rem; line-height: 1.35; opacity: 0; transform: translateY(8px); transition: all .3s; }
.real-item:hover figcaption { opacity: 1; transform: none; }
.real-item.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.filter { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 600; font-size: .9rem; transition: all .2s; }
.filter:hover { border-color: var(--gold); }
.filter.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.94); z-index: 1000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox figure { max-width: 90vw; text-align: center; }
.lightbox-img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); margin: 0 auto; }
.lightbox figcaption { color: rgba(255,255,255,.75); margin-top: 12px; font-size: .9rem; }
.lightbox-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--gold); }
.lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }
.lightbox-prev svg, .lightbox-next svg { width: 22px; height: 22px; }

/* =============================================
   CONTACT / FORMULAIRE
============================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list li > .ico { width: 46px; height: 46px; padding: 12px; border-radius: var(--radius-sm); background: rgba(200,146,42,.14); color: var(--gold); }
.contact-list strong { display: block; font-family: var(--ff-head); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--gold); }
.contact-list a, .contact-list span { color: rgba(255,255,255,.88); font-size: 1rem; }
.contact-list a:hover { color: var(--gold); }
.form-card { background: var(--white); border-radius: 14px; padding: 34px; box-shadow: var(--shadow-lg); color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: .95rem; background: var(--light); color: var(--text); transition: border-color .2s, background .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-notice { font-size: .78rem; color: var(--concrete); }
.form-notice a { text-decoration: underline; }
.form-error { color: #b42318; font-size: .9rem; display: none; }
.form-error.show { display: block; }
.form-success { display: none; background: #ecf7ee; color: #1e6b33; border-left: 4px solid #2e9e4f; padding: 18px 20px; border-radius: var(--radius-sm); font-weight: 600; }
.form-success.show { display: block; }
.hp { position: absolute; left: -9999px; }

/* =============================================
   FAQ
============================================= */
.faq { margin: 50px 0; }
.faq-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 22px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--white); transition: border-color .2s; }
.faq-item[open] { border-color: var(--gold); }
.faq-item summary { cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 600; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s; }
.faq-item[open] summary::after { content: '–'; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { color: var(--muted); margin: 0 !important; }

/* =============================================
   PAGES INTÉRIEURES
============================================= */
.page-hero { position: relative; background: var(--black); padding: calc(var(--head-h) + 64px) 0 72px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .38; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,10,.92) 25%, rgba(10,10,10,.35)); }
.page-hero-content { position: relative; z-index: 2; max-width: 820px; color: var(--white); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; margin-bottom: 18px; }
.page-hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 680px; }
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.breadcrumb, .page-hero-breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a:hover, .page-hero-breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current] { color: rgba(255,255,255,.85); }

.page-body { padding: 76px 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.page-content > h2, .zones-block h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 46px 0 16px; }
.page-content > h2:first-child { margin-top: 0; }
.page-content p { color: var(--muted); margin-bottom: 14px; }
.page-content > ul { margin: 6px 0 22px; display: grid; gap: 10px; }
.page-content > ul li { position: relative; padding-left: 30px; color: var(--muted); }
.page-content > ul li::before { content: ''; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8922A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.page-content > ul li strong { color: var(--text); }
.page-photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; margin: 28px 0; }
.page-photos img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 28px; }
.feature { display: flex; gap: 14px; padding: 18px; background: var(--light); border-radius: var(--radius); }
.feature > .ico { color: var(--gold); margin-top: 2px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; letter-spacing: .02em; }
.feature p { font-size: .9rem; margin: 0 !important; }
.highlight-box { display: flex; gap: 16px; align-items: flex-start; background: var(--gold-soft); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 20px 22px; margin: 26px 0; color: var(--text); }
.highlight-box > .ico { color: var(--gold); margin-top: 2px; }
.highlight-box a { color: var(--gold); font-weight: 700; text-decoration: underline; }
.highlight-box--city { background: var(--black); color: rgba(255,255,255,.85); }
.highlight-box--city strong { color: var(--white); }
.zones-block { margin: 46px 0; padding: 30px; border: 1px solid var(--line); border-radius: 14px; }
.zones-block h2 { margin-top: 0; }
.zones-block h2 + p { color: var(--muted); margin-bottom: 18px; }
.zones-block h2:not(:first-child) { margin-top: 26px; }
.zones-sub { font-size: 1.1rem; margin: 10px 0 12px; color: var(--muted); }
.svc-list { display: grid; gap: 12px; margin: 10px 0 26px; }
.svc-item { display: flex; gap: 18px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); transition: all .2s; }
.svc-item img { width: 120px; height: 86px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.svc-item h3 { font-size: 1.2rem; margin-bottom: 4px; }
.svc-item p { margin: 0 !important; font-size: .9rem; }
.svc-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0; }
.info-grid > div { background: var(--black); color: rgba(255,255,255,.65); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.info-grid .ico { color: var(--gold); margin-bottom: 6px; }
.info-grid strong { color: var(--white); font-family: var(--ff-head); font-size: 1.4rem; text-transform: uppercase; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; background: var(--gold); color: var(--white); border-radius: 14px; padding: 30px 34px; margin-top: 46px; }
.cta-band-title { font-family: var(--ff-head); font-size: 1.7rem; font-weight: 800; text-transform: uppercase; line-height: 1.1; color: var(--white) !important; margin-bottom: 4px !important; }
.cta-band p { color: rgba(255,255,255,.9) !important; margin: 0 !important; }
.cta-band-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-band .btn--gold { background: var(--white); color: var(--black); }

/* Sidebar */
.page-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.sidebar-card { background: var(--light); border-radius: 14px; padding: 22px; }
.sidebar-title { font-size: 1.15rem; margin-bottom: 12px; letter-spacing: .04em; }
.sidebar-services { display: flex; flex-direction: column; gap: 2px; }
.sidebar-services a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; color: var(--text); transition: all .2s; }
.sidebar-services a .ico { color: var(--gold); }
.sidebar-services a:hover, .sidebar-services a.active { background: var(--white); color: var(--black); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.sidebar-services a.active { font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
.sidebar-cta { background: var(--black); color: rgba(255,255,255,.75); border-radius: 14px; padding: 26px; font-size: .92rem; }
.sidebar-cta-title { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.sidebar-cta .btn { width: 100%; margin-top: 16px; background: var(--gold); color: var(--white); }
.sidebar-cta .phone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--gold); font-family: var(--ff-head); font-size: 1.35rem; font-weight: 700; }

/* Pages simples / légales */
.page-simple { padding: calc(var(--head-h) + 60px) 0 80px; background: var(--light); min-height: 60vh; }
.prose { line-height: 1.8; color: #444; }

/* =============================================
   FOOTER
============================================= */
#site-footer { background: var(--black); color: rgba(255,255,255,.6); padding: 0 0 30px; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.footer-cta p { margin-top: 4px; }
.footer-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 56px 0 40px; }
.footer-logo { height: 120px; width: auto; margin-bottom: 18px; }
.footer-tagline { font-size: .9rem; max-width: 320px; margin-bottom: 18px; }
.footer-nap { font-style: normal; font-size: .9rem; line-height: 1.75; }
.footer-nap strong { color: var(--white); }
.footer-nap a { color: var(--gold); }
.la-baule-also { margin-top: 18px; font-size: .95rem; }
.la-baule-also a { color: var(--gold); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer-col { align-self: start; }
.footer-col summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: '+'; color: var(--gold); font-size: 1.4rem; line-height: 1; font-weight: 400; transition: transform .25s; }
.footer-col[open] summary::after { transform: rotate(45deg); }
.footer-col summary:hover h3 { color: var(--gold); }
.footer-col h3 { color: var(--white); font-size: 1.05rem; letter-spacing: .1em; margin: 0; transition: color .2s; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; padding-top: 16px; }
.footer-col a:hover { color: var(--gold); }
.footer-zones { columns: 1; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal-links a:hover { color: var(--gold); }

.mobile-bar { display: none; }
#scroll-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--white); border: 0; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(14px); transition: all .3s; z-index: 90; box-shadow: var(--shadow); }
#scroll-top svg { width: 20px; height: 20px; }
#scroll-top.visible { opacity: 1; transform: none; }

/* Cookies */
#cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 950; display: none; }
#cookie-banner.show { display: block; }
.cookie-inner { max-width: 980px; margin: 0 auto; background: var(--dark); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: var(--shadow-lg); }
.cookie-text { font-size: .86rem; color: rgba(255,255,255,.7); flex: 1; min-width: 240px; }
.cookie-text strong { color: var(--white); }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-btn { padding: 10px 18px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: .85rem; border: 1px solid transparent; }
.cookie-btn--accept { background: var(--gold); color: var(--white); }
.cookie-btn--refuse { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.25); }

/* Animations */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
  .nav-menu { gap: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-h: 76px; }
  .topbar { display: none; }
  .nav-menu { display: none; }
  .nav-burger { display: flex; }
  .pres-grid, .split, .zone-grid, .zone-grid--hub, .contact-grid, .page-grid { grid-template-columns: 1fr; gap: 48px; }
  .zone-grid--hub .zone-map-wrap { order: 2; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card--wide { grid-column: span 2; }
  .page-sidebar { position: static; }
  .real-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .nav-logo img, #site-header.scrolled .nav-logo img { height: 54px; }
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  #hero { padding: calc(var(--head-h) + 30px) 0 110px; min-height: auto; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: 2.6rem; }
  .hero-sub { font-size: 1.02rem; }
  .eyebrow { font-size: .72rem; letter-spacing: .12em; }
  .page-hero h1 { font-size: 2.2rem; }
  .hero-actions .btn { width: 100%; }
  .trust-row { font-size: .85rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: auto; flex-direction: column; }
  .service-card--wide .service-card-img { aspect-ratio: 16/10; }
  .check-list, .feature-grid, .form-row, .zone-priority, .info-grid { grid-template-columns: 1fr; }
  .city-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .city-card { padding: 16px; }
  .city-card h3 { font-size: 1.1rem; padding-right: 0; margin-top: 18px; }
  .real-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .real-grid--full .real-item:nth-child(7n+1) { grid-column: span 2; }
  .page-photos { grid-template-columns: 1fr 1fr; }
  .page-photos img:first-child { grid-column: span 2; }
  .page-photos img { height: 170px; }
  .pres-imgs { padding: 0 20px 24px 0; }
  .pres-badge { left: -6px; }
  .form-card { padding: 22px; }
  .zone-map, .zone-map--lg { height: 360px; }
  .zones-block { padding: 20px; }
  .svc-item img { width: 86px; height: 70px; }
  .cta-band { padding: 24px; }
  .cta-band-actions, .cta-band-actions .btn, .footer-cta-actions, .footer-cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; box-shadow: 0 -4px 20px rgba(0,0,0,.25); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 58px; background: var(--black); color: var(--white); font-family: var(--ff-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .mobile-bar a.is-gold { background: var(--gold); }
  #scroll-top { bottom: 76px; right: 14px; }
  #cookie-banner { bottom: 70px; }
}
