/* ═══════════════════════════════════════════════
   DoElec – Production Stylesheet
   Électricien artisan · Racquinghem (62)
   ═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --creme: #F7F4ED; --creme2: #EEE9DC; --creme3: #DDD7C8;
  --jaune: #F2C12E; --jaune2: #E0A800;
  --gris: #2E2B26; --gris2: #5E5A54; --gris3: #9A948A;
  --blanc: #FFFFFF; --rouge: #D94F3A; --bleu: #1E3A5F;
  --vert: #82BFB0; --vert-fonce: #4A9A8A; --vert-clair: #C8E8E2; --vert-bg: #EBF6F4;
  --ff-d: 'Nunito', sans-serif; --ff-b: 'DM Sans', sans-serif;
  --r: 12px; --r2: 20px;
  --sh: 0 4px 20px rgba(46,43,38,.10);
  --sh2: 0 8px 40px rgba(46,43,38,.14);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth }
body { background: var(--creme); color: var(--gris); font-family: var(--ff-b); font-size: 16px; line-height: 1.65; overflow-x: hidden }
img { max-width: 100%; height: auto }
a { color: inherit }

/* ── SKIP LINK (A11y) ── */
.skip-link { position: absolute; top: -100%; left: 1rem; background: var(--jaune); color: var(--gris); padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 700; z-index: 999; text-decoration: none }
.skip-link:focus { top: 0 }

/* ── Scroll anchor compensation (nav fixe 70px) ── */
section[id] { scroll-margin-top: 80px }

/* ── NAV ── */
nav[role="navigation"] { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: var(--creme); box-shadow: 0 2px 16px rgba(46,43,38,.10); border-bottom: 2.5px solid var(--vert); padding: 0 5%; display: flex; align-items: center; justify-content: space-between; height: 70px; color: var(--gris) }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer }
.nav-logo img { height: 58px; width: 58px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 2px 4px rgba(46,43,38,.15)) }
.nav-logo-text { font-family: var(--ff-d); font-size: 1.7rem; font-weight: 900; color: var(--gris); letter-spacing: -.5px }
.nav-logo-text span { color: var(--jaune2) }
.nav-links { list-style: none; display: flex; gap: 1.5rem; align-items: center }
.nav-links a, .nav-links button { color: var(--gris) !important; text-decoration: none; font-size: .875rem; font-weight: 700; letter-spacing: .02em; transition: color .2s; background: none; border: none; cursor: pointer; font-family: var(--ff-b); padding: 0 }
.nav-links a:hover, .nav-links button:hover { color: var(--jaune2) }
.nav-cta { background: var(--jaune) !important; color: var(--gris) !important; padding: 9px 22px; border-radius: 50px; font-weight: 800 !important; box-shadow: 0 3px 12px rgba(242,193,46,.35); transition: background .2s, transform .2s !important }
.nav-cta:hover { background: var(--jaune2) !important; transform: translateY(-2px) }

/* Hamburger mobile */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; z-index: 210 }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--gris); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translateY(7.5px) }
.hamburger.open span:nth-child(2) { opacity: 0 }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translateY(-7.5px) }

/* ── SECTIONS ── */
section { padding: 90px 5% }
.section-inner { max-width: 1100px; margin: 0 auto }
.section-tag { display: inline-block; background: var(--vert); color: var(--blanc); font-family: var(--ff-d); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; padding: 4px 14px; border-radius: 50px; margin-bottom: .75rem }
h2 { font-family: var(--ff-d); font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 900; color: var(--gris); margin-bottom: .75rem; letter-spacing: -.5px }
.section-lead { color: var(--gris2); font-size: 1rem; max-width: 540px; margin-bottom: 3rem }

/* ── BUTTONS ── */
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--gris); color: var(--blanc); font-family: var(--ff-d); font-weight: 800; font-size: 1rem; padding: 14px 28px; border-radius: 50px; text-decoration: none; box-shadow: var(--sh2); transition: background .2s, transform .2s; border: none; cursor: pointer }
.btn-dark:hover { background: var(--bleu); transform: translateY(-3px) }
.btn-yellow { display: inline-flex; align-items: center; gap: 8px; background: var(--jaune); color: var(--gris); font-family: var(--ff-d); font-weight: 800; font-size: 1rem; padding: 14px 28px; border-radius: 50px; text-decoration: none; box-shadow: 0 4px 16px rgba(242,193,46,.4); transition: background .2s, transform .2s; border: none; cursor: pointer }
.btn-yellow:hover { background: var(--jaune2); transform: translateY(-3px) }

/* ── HERO ── */
#accueil { min-height: 100vh; display: flex; align-items: center; padding: 90px 5% 60px; background: var(--creme); position: relative; overflow: hidden }
#accueil::before { content: ''; position: absolute; top: 0; right: 0; width: 52%; height: 100%; background: var(--vert); clip-path: polygon(18% 0,100% 0,100% 100%,0% 100%); pointer-events: none; z-index: 0 }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: 1100px; margin: 0 auto; width: 100%; position: relative; z-index: 2 }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: var(--vert); border-radius: 50px; padding: 6px 16px 6px 11px; font-family: var(--ff-d); font-size: .78rem; font-weight: 900; color: var(--blanc); letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.25rem; box-shadow: 0 2px 10px rgba(130,191,176,.4) }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); animation: blink 1.8s infinite; flex-shrink: 0 }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
h1 { font-family: var(--ff-d); font-size: clamp(2.5rem,4.8vw,3.8rem); font-weight: 900; line-height: 1.06; color: var(--gris); margin-bottom: 1.25rem; letter-spacing: -1px }
h1 em { font-style: normal; background: var(--jaune); padding: 0 10px 3px; border-radius: 7px }
.hero-desc { color: var(--gris2); font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 460px }
.hero-zone { display: inline-flex; align-items: center; gap: 7px; background: var(--vert-bg); border: 1.5px solid var(--vert-clair); border-radius: 8px; padding: 8px 14px; font-size: .85rem; font-weight: 600; color: var(--vert-fonce); margin-bottom: 1.75rem }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 2.25rem; padding-top: 2rem; border-top: 2px dashed var(--vert-clair) }
.stat-item { display: flex; flex-direction: column; gap: 2px }
.stat-num { font-family: var(--ff-d); font-size: 2.2rem; font-weight: 900; color: var(--gris); line-height: 1 }
.stat-label { font-size: .78rem; color: var(--gris3); font-weight: 600 }
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative }
.mascot-wrap { width: 380px; height: 380px; background: var(--creme); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; box-shadow: 0 0 0 10px rgba(255,255,255,.25), 0 16px 48px rgba(46,43,38,.20) }
.mascot-wrap img { width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(46,43,38,.12)) }
.hero-badge { position: absolute; bottom: 12px; right: -10px; background: var(--jaune); color: var(--gris); border-radius: var(--r); padding: 11px 18px; font-family: var(--ff-d); font-weight: 800; font-size: .88rem; box-shadow: var(--sh2); display: flex; align-items: center; gap: 7px }

/* ── MARQUES DÉFILANTES ── */
.marques-strip { background: linear-gradient(90deg,var(--vert-bg),var(--creme2),var(--vert-bg)); border-top: 1.5px solid var(--vert-clair); border-bottom: 1.5px solid var(--vert-clair); padding: 1.1rem 0; overflow: hidden }
.marques-track { display: flex; gap: 2.5rem; align-items: center; white-space: nowrap; animation: marquee 22s linear infinite }
.marques-track span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris3) }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── SERVICES / PRESTATIONS ── */
#prestations { background: var(--blanc) }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(230px,1fr)); gap: 1.25rem }
.service-card { background: var(--creme); border: 2px solid var(--creme3); border-radius: var(--r2); padding: 1.75rem 1.5rem; transition: border-color .2s, transform .2s, box-shadow .2s }
.service-card:hover { border-color: var(--vert); transform: translateY(-5px); box-shadow: var(--sh2) }
.service-icon { width: 52px; height: 52px; background: var(--vert); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; box-shadow: 0 4px 12px rgba(130,191,176,.4) }
.service-card h3 { font-family: var(--ff-d); font-size: 1rem; font-weight: 800; color: var(--gris); margin-bottom: .4rem }
.service-card p { color: var(--gris2); font-size: .875rem; line-height: 1.55 }
.service-seo { margin-top: .75rem; font-size: .78rem; color: var(--gris3); font-style: italic }

/* ── ZONE D'INTERVENTION ── */
#zone { background: var(--vert-bg) }
.zone-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 3.5rem }
.zone-text h3 { font-family: var(--ff-d); font-size: 1.3rem; font-weight: 800; margin-bottom: .75rem; color: var(--gris) }
.zone-text p { color: var(--gris2); font-size: .95rem; line-height: 1.7; margin-bottom: 1rem }
.depart-cards { display: flex; gap: 1rem; margin-bottom: 1.25rem }
.depart-card { flex: 1; background: var(--jaune); border-radius: var(--r2); padding: 1.25rem; text-align: center; box-shadow: 0 4px 16px rgba(242,193,46,.3) }
.depart-card .dep-num { font-family: var(--ff-d); font-size: 2.5rem; font-weight: 900; color: var(--gris); line-height: 1 }
.depart-card .dep-name { font-size: .82rem; font-weight: 700; color: var(--gris); opacity: .7; margin-top: 3px }
.map-frame { border-radius: var(--r2); overflow: hidden; border: 3px solid var(--creme3); box-shadow: var(--sh2); aspect-ratio: 4/3 }
.map-frame iframe { width: 100%; height: 100%; border: none; display: block }
.villes-section h3 { font-family: var(--ff-d); font-size: 1.3rem; font-weight: 800; color: var(--gris); margin-bottom: 1.5rem }
.villes-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 1rem }
.ville-card { background: var(--blanc); border: 2px solid var(--creme3); border-radius: var(--r2); padding: 1.1rem 1.4rem; text-decoration: none; color: var(--gris); transition: border-color .2s, transform .2s, box-shadow .2s; display: flex; flex-direction: column; gap: 3px; cursor: pointer }
.ville-card:hover { border-color: var(--vert); transform: translateY(-4px); box-shadow: var(--sh2) }
.v-name { font-family: var(--ff-d); font-size: .95rem; font-weight: 800 }
.v-dept { font-size: .72rem; color: var(--gris3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em }

/* ── RÉALISATIONS ── */
#realisations { background: var(--blanc) }
.real-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.5rem }
.real-card { background: var(--creme); border: 2px solid var(--creme3); border-radius: var(--r2); overflow: hidden; transition: transform .2s, box-shadow .2s; cursor: pointer }
.real-card:hover { transform: translateY(-5px); box-shadow: var(--sh2); border-color: var(--vert) }
.real-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block }
.real-card-body { padding: 1.25rem 1.5rem }
.real-card-body h3 { font-family: var(--ff-d); font-size: 1rem; font-weight: 800; color: var(--gris); margin-bottom: .4rem }
.real-card-body p { font-size: .875rem; color: var(--gris2); line-height: 1.55 }
.real-card-tag { display: inline-block; margin-top: .75rem; font-size: .72rem; font-weight: 700; background: rgba(130,191,176,.2); color: var(--vert-fonce); border-radius: 20px; padding: 3px 10px }
.real-empty { color: var(--gris3); font-style: italic; padding: 2rem 0 }

/* ── PAGE RÉALISATIONS ── */
#real-page { padding-top: 70px; min-height: 100vh; background: var(--creme) }
.real-page-hero { background: linear-gradient(135deg,var(--gris) 0%,#2A4A45 100%); padding: 5rem 5% 4rem; text-align: center }
.real-page-hero h1 { font-family: var(--ff-d); font-size: clamp(2rem,4vw,3rem); font-weight: 900; color: var(--blanc); margin-bottom: .75rem }
.real-page-hero p { color: rgba(255,255,255,.65); font-size: 1rem; max-width: 500px; margin: 0 auto }
.real-page-grid { max-width: 1200px; margin: 0 auto; padding: 3rem 5%; display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 1.75rem }

/* ── AVIS ── */
#avis { background: linear-gradient(180deg,var(--vert-bg) 0%,var(--creme2) 100%) }
.avis-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 3.5rem; align-items: start }
.avis-score { background: var(--vert); border-radius: var(--r2); padding: 2rem; text-align: center; box-shadow: 0 8px 32px rgba(130,191,176,.4); position: sticky; top: 82px }
.score-num { font-family: var(--ff-d); font-size: 5rem; font-weight: 900; color: var(--blanc); line-height: 1 }
.stars { font-size: 1.6rem; letter-spacing: 2px; margin: .4rem 0 }
.score-sub { color: rgba(255,255,255,.85); font-weight: 700; font-size: .85rem }
.score-badge { display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.15);border-radius:8px;padding:6px 12px;margin-top:.75rem;font-size:.78rem;color:rgba(255,255,255,.9);font-weight:600 }
.score-badge img { height:18px; width:auto }
.avis-list { display: flex; flex-direction: column; gap: 1.25rem }
.avis-card { background: var(--blanc); border: 2px solid var(--creme3); border-radius: var(--r2); padding: 1.5rem }
.avis-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .75rem }
.avis-author { font-family: var(--ff-d); font-weight: 800; color: var(--gris); font-size: .95rem }
.avis-date { color: var(--gris3); font-size: .8rem; margin-top: 2px }
.avis-stars { color: var(--jaune2); font-size: 1rem; letter-spacing: 2px }
.avis-text { color: var(--gris2); font-size: .9rem; line-height: 1.65; font-style: italic }
.avis-text::before { content: '\201C'; font-size: 1.1rem }
.avis-text::after { content: '\201D'; font-size: 1.1rem }
.avis-google-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; color: var(--gris3); margin-top: .5rem }
.avis-google-badge svg { width: 14px; height: 14px }

/* ── CONTACT ── */
#contact { background: var(--blanc) }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start }
.contact-infos { display: flex; flex-direction: column; gap: 1rem }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--creme); border-radius: var(--r2); border: 2px solid var(--creme3); text-decoration: none; transition: border-color .2s, transform .2s }
a.contact-item:hover { border-color: var(--vert); transform: translateX(4px) }
.contact-icon { width: 44px; height: 44px; background: var(--vert); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 3px 10px rgba(130,191,176,.35) }
.ci-label { font-size: .72rem; color: var(--gris3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em }
.ci-value { font-size: 1rem; font-weight: 700; color: var(--gris); margin-top: 2px }
.contact-form { display: flex; flex-direction: column; gap: 1rem }
.form-group { display: flex; flex-direction: column; gap: 5px }
.form-group label { font-size: .78rem; font-weight: 700; color: var(--gris3); letter-spacing: .06em; text-transform: uppercase }
.form-group input, .form-group textarea, .form-group select { background: var(--creme); border: 2px solid var(--creme3); border-radius: 10px; padding: 11px 14px; color: var(--gris); font-size: .95rem; font-family: var(--ff-b); transition: border-color .2s; outline: none }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--jaune2) }
.form-group textarea { resize: vertical; min-height: 120px }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem }
.submit-btn { background: var(--gris); color: var(--blanc); border: none; border-radius: 50px; padding: 15px 28px; font-family: var(--ff-d); font-size: 1rem; font-weight: 800; cursor: pointer; box-shadow: var(--sh2); transition: background .2s, transform .2s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: .5rem }
.submit-btn:hover { background: var(--bleu); transform: translateY(-2px) }
#form-success { display: none; margin-top: 1rem; border-radius: var(--r2); padding: 1.5rem; text-align: center; background: var(--vert-bg); border: 2px solid var(--vert-clair) }
#form-success .fs-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem }
#form-success .fs-title { font-family: var(--ff-d); font-size: 1.1rem; font-weight: 900; color: var(--vert-fonce); display: block; margin-bottom: .25rem }
#form-success .fs-sub { font-size: .875rem; color: var(--gris2) }

/* ── FOOTER ── */
footer { background: linear-gradient(135deg,var(--gris) 0%,#2A4A45 100%); padding: 3rem 5%; text-align: center }
.footer-logo-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: .5rem }
.footer-logo-wrap img { height: 64px; width: 64px; object-fit: contain; border-radius: 0; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)) brightness(1.2) }
.footer-name { font-family: var(--ff-d); font-size: 1.5rem; font-weight: 900; color: var(--blanc) }
.footer-name span { color: var(--jaune) }
.footer-sub { color: rgba(255,255,255,.5); font-size: .875rem; margin-bottom: 1.5rem }
.footer-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem }
.footer-links a, .footer-links button { color: rgba(255,255,255,.6); text-decoration: none; font-size: .85rem; font-weight: 500; transition: color .2s; background: none; border: none; cursor: pointer; font-family: var(--ff-b) }
.footer-links a:hover, .footer-links button:hover { color: var(--jaune) }
.footer-seo { max-width: 700px; margin: 0 auto 1.5rem; font-size: .78rem; color: rgba(255,255,255,.28); line-height: 1.6 }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.25) }

/* ── LIGHTBOX ── */
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 600; align-items: center; justify-content: center; padding: 2rem }
.lightbox.open { display: flex }
.lightbox-inner { max-width: 900px; width: 100%; position: relative }
.lightbox-inner img { width: 100%; border-radius: var(--r2); max-height: 70vh; object-fit: contain }
.lightbox-close { position: absolute; top: -14px; right: -14px; background: var(--blanc); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh) }
.lightbox-info { margin-top: 1.25rem; color: var(--blanc) }
.lightbox-info h3 { font-family: var(--ff-d); font-size: 1.2rem; font-weight: 900 }
.lightbox-info p { color: rgba(255,255,255,.7); font-size: .9rem; margin-top: .4rem }

/* ── ADMIN FAB ── */
.admin-fab { position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--gris); color: var(--blanc); border: none; border-radius: 50px; padding: 10px 18px; font-family: var(--ff-d); font-weight: 800; font-size: .82rem; cursor: pointer; box-shadow: var(--sh2); z-index: 100; display: flex; align-items: center; gap: 6px; transition: background .2s }
.admin-fab:hover { background: var(--bleu) }

/* ═══════════════════════════════════════
   ADMIN PANEL
   ═══════════════════════════════════════ */
#login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,var(--gris) 0%,var(--bleu) 100%) }
.login-box { background: var(--blanc); border-radius: var(--r2); padding: 2.5rem; width: 100%; max-width: 380px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3) }
.login-logo { width: 100px; height: 100px; object-fit: contain; border-radius: 0; margin-bottom: 1.25rem; filter: drop-shadow(0 4px 8px rgba(46,43,38,.15)) }
.login-box h2 { font-family: var(--ff-d); font-size: 1.4rem; font-weight: 900; color: var(--gris); margin-bottom: .25rem }
.login-box p { color: var(--gris3); font-size: .875rem; margin-bottom: 1.75rem }
.login-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 1rem; text-align: left }
.login-field label { font-size: .75rem; font-weight: 700; color: #6B7280; text-transform: uppercase; letter-spacing: .05em }
.login-field input { border: 1.5px solid #E5E7EB; border-radius: 8px; padding: 11px 14px; font-size: .95rem; font-family: var(--ff-b); outline: none; transition: border-color .2s; width: 100% }
.login-field input:focus { border-color: var(--jaune2) }
.login-btn { width: 100%; background: var(--jaune); color: var(--gris); border: none; border-radius: 50px; padding: 14px; font-family: var(--ff-d); font-weight: 900; font-size: 1rem; cursor: pointer; margin-top: .5rem; box-shadow: 0 4px 16px rgba(242,193,46,.4); transition: background .2s }
.login-btn:hover { background: var(--jaune2) }
.login-error { color: var(--rouge); font-size: .82rem; margin-top: .5rem; display: none }

/* Admin Layout */
.admin-wrap { min-height: 100vh; background: #F0F2F5; padding-top: 70px }
.admin-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 300; background: var(--bleu); height: 70px; display: flex; align-items: center; padding: 0 2rem; gap: 1rem }
.admin-bar-title { font-family: var(--ff-d); font-weight: 900; color: var(--blanc); font-size: 1.1rem; flex: 1 }
.admin-bar a, .admin-bar button { color: rgba(255,255,255,.8); text-decoration: none; font-size: .85rem; font-weight: 600; background: none; border: none; cursor: pointer; font-family: var(--ff-b); transition: color .2s; padding: 0 }
.admin-bar a:hover, .admin-bar button:hover { color: var(--jaune) }
.admin-bar .a-logout { background: rgba(255,255,255,.12); border-radius: 8px; padding: 7px 16px; color: var(--blanc) !important }
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 70px) }
.admin-sidebar { background: var(--blanc); border-right: 1px solid #E0E4EA; padding: 1.5rem 0 }
.sidebar-section { padding: .5rem 1rem .25rem; font-size: .7rem; font-weight: 700; color: #9AA3B0; text-transform: uppercase; letter-spacing: .08em; margin-top: .5rem }
.sidebar-link { display: flex; align-items: center; gap: 9px; padding: .6rem 1.25rem; font-size: .875rem; font-weight: 600; color: #4B5563; cursor: pointer; transition: background .15s, color .15s; border: none; background: none; width: 100%; text-align: left; font-family: var(--ff-b) }
.sidebar-link:hover { background: #F3F4F6; color: var(--gris) }
.sidebar-link.active { background: rgba(130,191,176,.18); color: var(--vert-fonce); border-right: 3px solid var(--vert) }
.sidebar-link .sl-icon { font-size: 1rem; width: 20px; text-align: center }
.admin-content { padding: 2rem; overflow-y: auto }
.admin-panel { display: none }
.admin-panel.active { display: block }
.admin-section-title { font-family: var(--ff-d); font-size: 1.4rem; font-weight: 900; color: var(--gris); margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 2px solid #E5E7EB }
.admin-card { background: var(--blanc); border-radius: var(--r2); padding: 1.75rem; margin-bottom: 1.5rem; box-shadow: 0 1px 8px rgba(0,0,0,.06); border: 1px solid #E5E7EB }
.admin-card h3 { font-family: var(--ff-d); font-size: 1rem; font-weight: 800; color: var(--gris); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 8px }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem }
.field-row.full { grid-template-columns: 1fr }
.field-group { display: flex; flex-direction: column; gap: 5px }
.field-group label { font-size: .75rem; font-weight: 700; color: #6B7280; text-transform: uppercase; letter-spacing: .05em }
.field-group input, .field-group textarea, .field-group select { border: 1.5px solid #E5E7EB; border-radius: 8px; padding: 10px 12px; font-size: .9rem; color: var(--gris); font-family: var(--ff-b); transition: border-color .2s; outline: none; background: var(--blanc) }
.field-group input:focus, .field-group textarea:focus { border-color: var(--jaune2) }
.field-group textarea { min-height: 100px; resize: vertical }
.save-btn { background: var(--vert-fonce); color: var(--blanc); border: none; border-radius: 10px; padding: 11px 24px; font-family: var(--ff-d); font-weight: 800; font-size: .9rem; cursor: pointer; transition: opacity .2s; display: flex; align-items: center; gap: 7px }
.save-btn:hover { opacity: .85 }
.save-feedback { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--vert); opacity: 0; transition: opacity .4s; margin-left: 1rem }

/* Réalisations admin */
.real-admin-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem }
.real-admin-item { background: #F9FAFB; border: 1.5px solid #E5E7EB; border-radius: var(--r); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 1rem }
.real-admin-thumb { width: 70px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--creme2); flex-shrink: 0 }
.real-admin-info { flex: 1 }
.real-admin-info strong { font-family: var(--ff-d); font-weight: 800; font-size: .9rem; color: var(--gris); display: block }
.real-admin-info span { font-size: .78rem; color: var(--gris3) }
.real-admin-actions { display: flex; gap: .5rem }
.btn-edit, .btn-delete { border: none; border-radius: 8px; padding: 7px 14px; font-size: .78rem; font-weight: 700; cursor: pointer; font-family: var(--ff-b); transition: opacity .2s }
.btn-edit { background: rgba(242,193,46,.2); color: var(--jaune2) }
.btn-delete { background: rgba(217,79,58,.12); color: var(--rouge) }
.btn-edit:hover, .btn-delete:hover { opacity: .75 }
.btn-add { display: inline-flex; align-items: center; gap: 6px; background: var(--vert-bg); color: var(--vert-fonce); border: 2px dashed var(--vert-clair); border-radius: 10px; padding: 10px 20px; font-family: var(--ff-d); font-weight: 800; font-size: .85rem; cursor: pointer; transition: background .2s }
.btn-add:hover { background: var(--vert-clair) }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 500; align-items: center; justify-content: center; padding: 2rem }
.modal-overlay.open { display: flex }
.modal { background: var(--blanc); border-radius: var(--r2); width: 100%; max-width: 640px; max-height: 90vh; overflow-y: auto; padding: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,.3) }
.modal h3 { font-family: var(--ff-d); font-size: 1.25rem; font-weight: 900; margin-bottom: 1.5rem; color: var(--gris) }
.modal-actions { display: flex; gap: 1rem; margin-top: 1.5rem; justify-content: flex-end }
.btn-cancel { background: #F3F4F6; color: var(--gris2); border: none; border-radius: 10px; padding: 11px 22px; font-family: var(--ff-d); font-weight: 700; font-size: .9rem; cursor: pointer }
.img-preview { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; margin: 1rem 0; display: none; background: #F3F4F6 }
.img-preview.visible { display: block }
.upload-zone { border: 2px dashed #D1D5DB; border-radius: 10px; padding: 2rem; text-align: center; cursor: pointer; transition: border-color .2s; margin: .5rem 0 }
.upload-zone:hover { border-color: var(--jaune2) }
.upload-zone p { font-size: .875rem; color: var(--gris3); margin-top: .5rem }

/* Admin export/import */
.admin-actions-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1.5px solid #E5E7EB; border-radius: 8px; padding: 8px 16px; font-size: .82rem; font-weight: 700; color: var(--gris2); cursor: pointer; font-family: var(--ff-b); transition: border-color .2s }
.btn-outline:hover { border-color: var(--vert) }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .zone-intro { grid-template-columns: 1fr }
  .admin-layout { grid-template-columns: 1fr }
  .admin-sidebar { display: none }
}

@media (max-width: 768px) {
  .hamburger { display: block }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--creme); flex-direction: column; align-items: center; justify-content: center; gap: 2rem; z-index: 199 }
  .nav-links.open { display: flex }
  nav[role="navigation"] { padding: 0 4%; height: 62px }
  .nav-logo img { height: 44px; width: 44px }
  .nav-logo-text { font-size: 1.4rem }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center }
  .hero-desc, .hero-zone { margin-left: auto; margin-right: auto }
  .hero-actions { justify-content: center }
  .hero-stats { justify-content: center }
  .hero-visual { order: -1 }
  .mascot-wrap { width: 260px; height: 260px }
  .hero-badge { right: 0; bottom: 0; font-size: .78rem; padding: 8px 13px }
  .services-grid { grid-template-columns: 1fr }
  .avis-wrap { grid-template-columns: 1fr }
  .avis-score { position: static }
  .contact-wrap { grid-template-columns: 1fr }
  .form-row { grid-template-columns: 1fr }
  section { padding: 60px 5% }
  .villes-grid { grid-template-columns: repeat(2,1fr) }
  .depart-cards { flex-direction: column }
  .field-row { grid-template-columns: 1fr }
  .real-page-grid { grid-template-columns: 1fr }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important }
}

/* ── PRINT ── */
@media print {
  nav, .admin-fab, .lightbox, .marques-strip, footer { display: none }
  section { padding: 1.5rem 0; page-break-inside: avoid }
  body { font-size: 12pt; background: #fff; color: #000 }
  a { color: #000; text-decoration: underline }
  .hero-grid { grid-template-columns: 1fr }
  .hero-visual { display: none }
  #accueil::before { display: none }
}
