:root {
  --cedi-blue: #2a3265;
  --cedi-blue-deep: #172048;
  --cedi-green: #93b14c;
  --cedi-green-dark: #718f2f;
  --ink: #202537;
  --muted: #646a78;
  --line: #dfe2e9;
  --soft: #f5f6f9;
  --white: #fff;
  --pole-navy: #18253f;
  --pole-yellow: #fab950;
  --pole-orange: #f07f1d;
  --shadow: 0 20px 55px rgba(23, 32, 72, .12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; background: #fff; color: var(--cedi-blue); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(42,50,101,.1); backdrop-filter: blur(12px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 168px; height: 66px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { text-decoration: none; font-size: .92rem; font-weight: 650; color: #31364a; }
.main-nav > a:not(.button):hover, .main-nav > a:not(.button):focus { color: var(--cedi-blue); }
.nav-contact { display: none; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--cedi-blue); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 23px; border: 2px solid var(--cedi-green); border-radius: 8px; background: var(--cedi-green); color: #15200a; font-weight: 750; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover, .button:focus { transform: translateY(-2px); background: #a4c25c; box-shadow: 0 10px 26px rgba(113,143,47,.24); }
.button-small { min-height: 42px; padding: 9px 15px; font-size: .84rem !important; }
.button-outline { background: transparent; color: var(--cedi-blue); border-color: rgba(42,50,101,.25); }
.button-outline:hover, .button-outline:focus { color: #fff; background: var(--cedi-blue); border-color: var(--cedi-blue); }
.button-light { background: #fff; border-color: #fff; color: var(--cedi-blue); }

.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(118deg, var(--cedi-blue-deep) 0%, var(--cedi-blue) 62%, #3b477b 100%); }
.hero::after { content: ""; position: absolute; inset: auto -4% -38% 36%; height: 82%; background: radial-gradient(circle, rgba(147,177,76,.22), transparent 65%); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; min-height: 650px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 78px; padding-block: 88px; }
.hero-shape { position: absolute; border: 1px solid rgba(255,255,255,.08); transform: rotate(34deg); }
.hero-shape-one { width: 350px; height: 350px; top: -210px; right: 15%; }
.hero-shape-two { width: 220px; height: 220px; bottom: -150px; left: 3%; }
.eyebrow { margin: 0 0 14px; color: var(--cedi-green-dark); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow, .final-cta .eyebrow { color: #c4db8b; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 820px; margin: 0; font-size: clamp(2.6rem, 5vw, 4.65rem); line-height: 1.06; letter-spacing: -.045em; }
.hero-lead { max-width: 760px; margin: 26px 0 0; color: rgba(255,255,255,.81); font-size: 1.16rem; }
.hero-actions { display: flex; align-items: center; gap: 26px; margin-top: 34px; }
.text-link { color: #fff; text-decoration-thickness: 1px; text-underline-offset: 5px; font-weight: 750; }
.trust-list { display: flex; flex-wrap: wrap; gap: 18px 28px; margin: 36px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.78); font-size: .9rem; }
.trust-list span { color: #c4db8b; font-weight: 900; }

.hero-panel { padding: 32px 30px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.085); box-shadow: 0 20px 70px rgba(0,0,0,.17); backdrop-filter: blur(14px); }
.panel-kicker { margin-bottom: 15px; color: rgba(255,255,255,.62); font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.territory-row { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 15px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.territory-number { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cedi-green); color: #142009; font-weight: 850; }
.territory-row strong, .territory-row small { display: block; }
.territory-row strong { font-size: 1.05rem; }
.territory-row small { margin-top: 2px; color: rgba(255,255,255,.68); }
.panel-link { display: flex; justify-content: space-between; margin-top: 22px; color: #fff; font-weight: 750; text-decoration: none; }

.quick-bar { border-bottom: 1px solid var(--line); background: #fff; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-grid > div { padding: 23px 30px; border-left: 1px solid var(--line); }
.quick-grid > div:last-child { border-right: 1px solid var(--line); }
.quick-grid span, .quick-grid a { display: block; }
.quick-grid span { color: var(--muted); font-size: .76rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.quick-grid a { margin-top: 3px; color: var(--cedi-blue); font-weight: 750; text-decoration: none; }

.section { padding-block: 104px; }
.section-muted { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading.compact { margin-bottom: 40px; }
.section-heading h2, .process-section h2, .final-cta h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.03rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; min-height: 350px; padding: 33px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: rgba(42,50,101,.24); box-shadow: var(--shadow); }
.service-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: rgba(147,177,76,.17); color: var(--cedi-green-dark); font-weight: 850; }
.service-card h3 { margin: 45px 0 12px; font-size: 1.45rem; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); }
.service-card a { margin-top: auto; padding-top: 28px; color: var(--cedi-blue); font-weight: 800; text-decoration: none; }

.diagnostic-showcase { position: relative; min-height: 330px; margin: 0 0 28px; overflow: hidden; border-radius: var(--radius); background: var(--cedi-blue); box-shadow: var(--shadow); }
.diagnostic-showcase img { display: block; width: 100%; height: 420px; object-fit: cover; object-position: center 42%; }
.diagnostic-showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,32,75,.8), transparent 62%); }
.diagnostic-showcase figcaption { position: absolute; z-index: 1; bottom: 32px; left: 34px; display: grid; gap: 6px; max-width: 410px; color: #fff; }
.diagnostic-showcase figcaption span { color: #c8dc93; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.diagnostic-showcase figcaption strong { font-size: clamp(1.4rem, 2.7vw, 2.25rem); line-height: 1.15; }

.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.sector-card { display: flex; flex-direction: column; min-height: 520px; padding: 32px; overflow: hidden; border: 1px solid #d9dce5; border-radius: var(--radius); background: #fff; }
.sector-featured { color: #fff; border: 0; background: linear-gradient(145deg, var(--cedi-blue-deep), var(--cedi-blue)); box-shadow: var(--shadow); }
.sector-photo { height: 210px; margin: -32px -32px 28px; overflow: hidden; background: #dfe3eb; }
.sector-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sector-card:hover .sector-photo img { transform: scale(1.035); }
.sector-top { display: flex; align-items: center; gap: 14px; }
.sector-top span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cedi-green); color: #142009; font-weight: 850; }
.sector-top p { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sector-card h3 { margin: 27px 0 14px; font-size: 1.65rem; line-height: 1.2; }
.sector-card > p { margin: 0; color: var(--muted); }
.sector-featured > p { color: rgba(255,255,255,.72); }
.sector-card > .button { width: 100%; margin-top: auto; }
.sector-card > .sector-page-link { margin-top: auto; padding: 24px 0 15px; color: var(--cedi-blue); font-weight: 800; text-decoration: none; }
.sector-featured > .sector-page-link { color: #fff; }
.sector-card > .sector-page-link:hover, .sector-card > .sector-page-link:focus { text-decoration: underline; text-underline-offset: 4px; }
.sector-links { display: flex; flex-wrap: wrap; gap: 11px 18px; align-items: center; margin-top: auto; padding-top: 25px; }
.sector-links > a:not(.button) { color: #fff; font-size: .88rem; font-weight: 700; text-underline-offset: 4px; }
.sector-links > .sector-page-link { width: 100%; font-size: 1rem !important; text-decoration: none; }
.sector-featured .button-outline { width: 100%; color: #fff; border-color: rgba(255,255,255,.3); }
.sector-featured .button-outline:hover { color: var(--cedi-blue); background: #fff; }

.process-section { background: #fff; }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 105px; align-items: center; }
.process-intro { max-width: 520px; margin: 22px 0 30px; color: var(--muted); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 21px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps span { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(42,50,101,.18); border-radius: 50%; color: var(--cedi-blue); font-weight: 850; }
.steps strong { color: var(--cedi-blue); font-size: 1.1rem; }
.steps p { margin: 3px 0 0; color: var(--muted); }

.expert-strip { padding-block: 76px; overflow: hidden; color: #fff; background: var(--pole-navy); font-family: Poppins, "Segoe UI", Arial, sans-serif; }
.expert-grid { display: grid; grid-template-columns: 310px 1fr; align-items: center; gap: 72px; }
.expert-logo-wrap { padding: 22px; border-radius: 14px; background: #fff; }
.expert-logo-wrap img { width: 100%; aspect-ratio: 580 / 477; object-fit: contain; }
.expert-eyebrow { margin: 0 0 12px; color: var(--pole-yellow); font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.expert-copy h2 { max-width: 720px; margin: 0; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -.03em; }
.expert-copy p:not(.expert-eyebrow) { max-width: 760px; margin: 18px 0 28px; color: rgba(255,255,255,.72); }
.expert-button { display: inline-flex; gap: 10px; align-items: center; padding: 13px 20px; border-radius: 7px; background: linear-gradient(90deg, var(--pole-yellow), var(--pole-orange)); color: var(--pole-navy); font-weight: 750; text-decoration: none; }
.expert-button:hover, .expert-button:focus { filter: brightness(1.06); }

.final-cta { padding-block: 78px; color: #fff; background: var(--cedi-blue); }
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.final-cta p:not(.eyebrow) { margin: 14px 0 0; color: rgba(255,255,255,.72); }
.final-actions { display: flex; align-items: center; gap: 25px; flex-shrink: 0; }
.final-actions > a:not(.button) { color: #fff; font-weight: 800; text-decoration: none; }

.site-footer { padding-top: 66px; color: rgba(255,255,255,.75); background: #15192b; }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(3, 1fr); gap: 42px; }
.footer-brand img { width: 140px; padding: 8px; border-radius: 8px; background: #fff; }
.footer-brand p { max-width: 240px; margin-top: 16px; font-size: .9rem; }
.site-footer h2 { margin: 0 0 17px; color: #fff; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a, .footer-button { display: block; margin: 9px 0; color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover, .site-footer a:focus, .footer-button:hover, .footer-button:focus { color: #fff; }
.footer-button { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }

.legal-page { background: var(--soft); }
.legal-header { background: #fff; border-bottom: 1px solid var(--line); }
.legal-header .container { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-header img { width: 150px; height: 64px; object-fit: contain; }
.back-link { color: var(--cedi-blue); font-weight: 750; text-decoration: none; }
.legal-main { padding-block: 70px 100px; }
.legal-card { max-width: 900px; margin: 0 auto; padding: clamp(30px, 5vw, 64px); border-radius: var(--radius); background: #fff; box-shadow: 0 18px 45px rgba(23,32,72,.08); }
.legal-card h1 { color: var(--cedi-blue); font-size: clamp(2.1rem, 4vw, 3.4rem); }
.legal-card h2 { margin-top: 38px; color: var(--cedi-blue); font-size: 1.25rem; }
.legal-card p, .legal-card li { color: #525866; }
.legal-card a { color: var(--cedi-blue); }
.legal-note { padding: 16px 18px; border-left: 4px solid var(--cedi-green); background: var(--soft); }

/* Pages locales */
.local-page { background: #fff; }
.local-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(42,50,101,.1); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.local-header .container { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.local-header img { width: 154px; height: 64px; object-fit: contain; }
.local-nav { display: flex; align-items: center; gap: 24px; }
.local-nav a { color: var(--ink); font-size: .9rem; font-weight: 700; text-decoration: none; }
.local-nav a:hover, .local-nav a:focus { color: var(--cedi-blue); }
.breadcrumb { padding-block: 18px; color: #6b7180; font-size: .85rem; }
.breadcrumb a { color: var(--cedi-blue); text-underline-offset: 3px; }
.local-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(125deg, var(--cedi-blue-deep), var(--cedi-blue)); }
.drome-page .local-hero { background: linear-gradient(90deg, rgba(23,31,73,.96) 0%, rgba(35,44,94,.83) 58%, rgba(35,44,94,.63) 100%), url("assets/paysage-drome.webp") center/cover; }
.ardeche-page .local-hero { background: linear-gradient(90deg, rgba(23,31,73,.96) 0%, rgba(35,44,94,.82) 58%, rgba(35,44,94,.60) 100%), url("assets/paysage-ardeche.webp") center/cover; }
.vaucluse-page .local-hero { background: linear-gradient(90deg, rgba(23,31,73,.96) 0%, rgba(35,44,94,.82) 58%, rgba(35,44,94,.58) 100%), url("assets/paysage-vaucluse.webp") center/cover; }
.gard-page .local-hero { background: linear-gradient(90deg, rgba(23,31,73,.96) 0%, rgba(35,44,94,.82) 58%, rgba(35,44,94,.58) 100%), url("assets/paysage-gard.webp") center/cover; }
.local-hero::after { content: ""; position: absolute; right: -120px; bottom: -190px; width: 520px; height: 520px; border: 82px solid rgba(147,177,76,.11); border-radius: 50%; }
.local-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; min-height: 520px; padding-block: 65px; }
.local-hero h1 { max-width: 780px; font-size: clamp(2.5rem, 5vw, 4.35rem); }
.local-hero .hero-lead { max-width: 720px; }
.local-hero-card { padding: 30px; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.local-hero-card strong { display: block; margin-bottom: 13px; color: #c8dc93; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.local-hero-card ul { margin: 0; padding: 0; list-style: none; }
.local-hero-card li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.local-hero-card li:last-child { border-bottom: 0; }
.local-intro { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: start; }
.local-intro h2, .communes-section h2, .local-services h2, .local-access h2 { margin: 0; font-size: clamp(2rem, 3.7vw, 3.15rem); line-height: 1.14; letter-spacing: -.035em; }
.local-intro-copy { color: var(--muted); font-size: 1.03rem; }
.local-intro-copy p:first-child { margin-top: 0; }
.communes-section { padding-block: 78px; background: var(--soft); }
.communes-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.communes-head p { max-width: 460px; margin: 0; color: var(--muted); }
.commune-list { display: flex; flex-wrap: wrap; gap: 11px; margin: 0; padding: 0; list-style: none; }
.commune-list li { padding: 10px 15px; border: 1px solid #d8dce6; border-radius: 999px; background: #fff; color: #383e52; font-size: .92rem; font-weight: 650; }
.local-services { padding-block: 94px; }
.local-services-head { display: grid; grid-template-columns: 1fr .75fr; gap: 65px; align-items: end; margin-bottom: 40px; }
.local-services-head > p { margin: 0; color: var(--muted); }
.local-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.local-service { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.local-service span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(147,177,76,.17); color: var(--cedi-green-dark); font-weight: 850; }
.local-service h3 { margin: 21px 0 8px; color: var(--cedi-blue); font-size: 1.25rem; }
.local-service p { margin: 0; color: var(--muted); }
.local-access { padding-block: 85px; background: #eef0f6; }
.local-access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.local-access p { color: var(--muted); }
.local-access-links { display: grid; gap: 13px; }
.local-access-link { display: flex; justify-content: space-between; gap: 20px; padding: 19px 21px; border: 1px solid #d6dae4; border-radius: 11px; background: #fff; color: var(--cedi-blue); font-weight: 800; text-decoration: none; }
.local-access-link:hover, .local-access-link:focus { border-color: var(--cedi-blue); box-shadow: 0 10px 25px rgba(42,50,101,.1); }
.local-cta { padding-block: 78px; color: #fff; background: var(--cedi-blue); }
.local-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 55px; }
.local-cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; }
.local-cta p { max-width: 680px; margin: 13px 0 0; color: rgba(255,255,255,.72); }
.local-cta-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.local-cta-actions > a:not(.button) { color: #fff; font-weight: 800; text-decoration: none; }

button[data-contact] {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hero-actions button[data-contact],
.local-cta-actions button[data-contact],
.final-actions button[data-contact] { font-weight: 800; }
.hero-actions button[data-contact],
.local-cta-actions button[data-contact] { color: #fff; }
.local-access-links button.local-access-link { width: 100%; }
.quick-grid button[data-contact] { display: block; margin-top: 3px; color: var(--cedi-blue); font-weight: 750; text-decoration: none; }
.site-footer button[data-contact] { display: block; margin: 9px 0; color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer button[data-contact]:hover,
.site-footer button[data-contact]:focus { color: #fff; }
.legal-card button[data-contact] { display: inline; color: var(--cedi-blue); }

@media (max-width: 900px) {
  .local-nav > a:not(.button) { display: none; }
  .local-hero-inner, .local-intro, .local-access-grid { grid-template-columns: 1fr; }
  .local-hero-inner { gap: 38px; }
  .local-hero-card { max-width: 620px; }
  .local-intro { gap: 26px; }
  .communes-head, .local-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 650px) {
  .local-header .container { min-height: 74px; }
  .local-header img { width: 132px; height: 58px; }
  .local-nav .button { min-height: 40px; padding: 8px 12px; font-size: .78rem; }
  .breadcrumb { padding-block: 13px; }
  .local-hero-inner { min-height: auto; padding-block: 48px; }
  .local-hero h1 { font-size: clamp(2.2rem, 11vw, 3.15rem); }
  .local-service-grid, .local-services-head { grid-template-columns: 1fr; }
  .local-services-head { gap: 18px; }
  .local-cta-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .local-cta-actions > a:not(.button) { text-align: center; }
}

.cookie-banner { position: fixed; z-index: 500; right: 16px; bottom: 84px; display: flex; align-items: center; gap: 16px; width: min(410px, calc(100vw - 32px)); padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; background: #141a31; box-shadow: 0 12px 36px rgba(0,0,0,.25); }
.cookie-banner[hidden] { display: none; }
.cookie-settings-floating { position: fixed; left: 16px; bottom: 16px; z-index: 50; border: 1px solid #cfd5e1; border-radius: 999px; background: #fff; color: #1f2b52; padding: 9px 14px; box-shadow: 0 5px 18px rgba(24, 33, 64, .14); font-size: .82rem; }
.cookie-settings-floating:hover { border-color: #94b640; }
.cookie-banner p { flex: 1; margin: 0; color: #fff; font-size: .9rem; font-weight: 650; }
.cookie-actions { display: flex; align-items: center; gap: 7px; }
.cookie-actions button { min-width: 76px; padding: 8px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 7px; cursor: pointer; font-size: .82rem; }
.cookie-refuse { color: rgba(255,255,255,.82); background: transparent; }
.cookie-refuse:hover, .cookie-refuse:focus-visible { color: #fff; border-color: rgba(255,255,255,.7); }
.cookie-accept { border-color: var(--cedi-green) !important; background: var(--cedi-green); color: #142009; font-weight: 750; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 86px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .nav-contact { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; padding-block: 70px; }
  .hero-panel { max-width: 620px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 52px; }
  .expert-grid { grid-template-columns: 250px 1fr; gap: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .header-inner { min-height: 76px; }
  .brand img { width: 140px; height: 58px; }
  .main-nav { top: 76px; right: 14px; left: 14px; }
  .hero-grid { min-height: auto; padding-block: 56px; }
  h1 { font-size: clamp(2.35rem, 11vw, 3.35rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .trust-list { display: grid; gap: 8px; }
  .quick-grid { grid-template-columns: 1fr; padding-block: 6px; }
  .quick-grid > div { padding: 15px 6px; border: 0; border-bottom: 1px solid var(--line); }
  .quick-grid > div:last-child { border: 0; }
  .section { padding-block: 74px; }
  .diagnostic-showcase img { height: 330px; }
  .diagnostic-showcase figcaption { right: 24px; bottom: 25px; left: 24px; }
  .service-grid, .sector-grid { grid-template-columns: 1fr; }
  .service-card, .sector-card { min-height: 330px; }
  .expert-grid { grid-template-columns: 1fr; gap: 34px; }
  .expert-logo-wrap { max-width: 280px; }
  .final-cta-inner, .final-actions { align-items: stretch; flex-direction: column; }
  .final-cta-inner { gap: 35px; }
  .final-actions { gap: 18px; }
  .final-actions > a:not(.button) { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .cookie-banner { right: 10px; bottom: 78px; width: calc(100vw - 20px); }
}

/* Liens détaillés des prestations */
.service-links { display: grid; gap: 9px; margin-top: auto; padding-top: 20px; }
.service-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--cedi-blue); font-size: .9rem; font-weight: 800; text-decoration: none; }
.service-links a:hover, .service-links a:focus { color: var(--cedi-green-dark); }

/* Assistant indicatif */
.diagnostic-tool-section { background: linear-gradient(180deg, #f7f8fb 0%, #eef1f6 100%); }
#diagnostics-utiles { scroll-margin-top: 96px; }
.diagnostic-tool { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 26px; align-items: start; }
.diagnostic-tool.has-result { grid-template-columns: 1.15fr .85fr; justify-content: stretch; }
.diagnostic-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 32px; border: 1px solid #dce0e9; border-radius: var(--radius); background: #fff; box-shadow: 0 18px 48px rgba(23,32,72,.08); }
.field-group { display: grid; gap: 8px; }
.field-group[hidden] { display: none; }
.field-group label { color: var(--cedi-blue); font-size: .86rem; font-weight: 800; }
.field-group select { width: 100%; min-height: 50px; padding: 11px 40px 11px 13px; border: 1px solid #cfd4df; border-radius: 9px; color: var(--ink); background: #fff; }
.field-group select:focus { outline: 3px solid rgba(147,177,76,.22); border-color: var(--cedi-green-dark); }
.field-wide, .tool-submit { grid-column: 1 / -1; }
.tool-submit { margin-top: 4px; cursor: pointer; }
.diagnostic-result { min-height: 100%; padding: 32px; border-radius: var(--radius); color: #fff; background: linear-gradient(145deg, var(--cedi-blue-deep), var(--cedi-blue)); box-shadow: var(--shadow); }
.diagnostic-result[hidden] { display: none; }
.diagnostic-result .eyebrow { color: #c4db8b; }
.diagnostic-result h3 { margin: 0 0 20px; font-size: 1.7rem; line-height: 1.2; }
.diagnostic-result ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.diagnostic-result li { display: grid; gap: 3px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.07); }
.diagnostic-result li strong { color: #d0e59b; }
.diagnostic-result li span { color: rgba(255,255,255,.76); font-size: .88rem; }
.result-note { margin: 20px 0; color: rgba(255,255,255,.68); font-size: .82rem; }
.diagnostic-result .button { width: 100%; }
.other-projects { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 16px 22px; align-items: center; margin-top: 22px; padding: 22px 25px; border: 1px solid #dce0e9; border-radius: 14px; background: #fff; }
.other-projects p { margin: 0; color: var(--muted); font-size: .9rem; }
.other-projects a { color: var(--cedi-blue); font-size: .88rem; font-weight: 800; }

/* Garanties et avis */
.trust-section { background: #fff; }
.credential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.credential-grid article { padding: 28px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.credential-grid article > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #18220d; background: var(--cedi-green); font-weight: 850; }
.credential-grid h3 { margin: 20px 0 8px; color: var(--cedi-blue); font-size: 1.2rem; }
.credential-grid p { margin: 0; color: var(--muted); }
.reviews-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 26px; margin-top: 32px; padding: 32px; border-radius: var(--radius); color: #fff; background: var(--cedi-blue-deep); }
.reviews-score strong { display: block; margin: 4px 0; color: #fff; font-size: 3.7rem; line-height: 1; }
.reviews-score strong span { color: rgba(255,255,255,.5); font-size: 1.2rem; }
.reviews-score > p:not(.eyebrow) { margin: 8px 0 18px; color: rgba(255,255,255,.65); font-size: .88rem; }
.reviews-score a { color: #d0e59b; font-weight: 800; }
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review-cards article { display: flex; flex-direction: column; justify-content: space-between; min-height: 145px; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.07); }
.review-cards p { margin: 0; color: #fff; font-size: 1.03rem; font-weight: 750; }
.review-cards span { color: rgba(255,255,255,.58); font-size: .78rem; }

/* FAQ */
.faq-preview { background: var(--soft); }
.faq-preview-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { margin: 0; font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.12; letter-spacing: -.035em; }
.faq-intro > p:not(.eyebrow) { margin: 20px 0 27px; color: var(--muted); }
.faq-list, .faq-category { display: grid; gap: 12px; }
.faq-list details, .faq-category details { border: 1px solid #dce0e8; border-radius: 12px; background: #fff; }
.faq-list summary, .faq-category summary { position: relative; padding: 20px 50px 20px 20px; color: var(--cedi-blue); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker, .faq-category summary::-webkit-details-marker { display: none; }
.faq-list summary::after, .faq-category summary::after { content: "+"; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); color: var(--cedi-green-dark); font-size: 1.35rem; }
.faq-list details[open] summary::after, .faq-category details[open] summary::after { content: "–"; }
.faq-list details p, .faq-category details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.faq-page { background: var(--soft); }
.faq-hero { padding-block: 78px; color: #fff; background: linear-gradient(120deg, var(--cedi-blue-deep), var(--cedi-blue)); }
.faq-hero .eyebrow { color: #c4db8b; }
.faq-hero h1 { max-width: 900px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.faq-hero > .container > p:last-child { max-width: 760px; margin: 23px 0 0; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.faq-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 62px; align-items: start; }
.faq-sidebar { position: sticky; top: 28px; display: grid; gap: 5px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.faq-sidebar strong { margin-bottom: 8px; color: var(--cedi-blue); }
.faq-sidebar a { padding: 7px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
.faq-sidebar a:hover, .faq-sidebar a:focus { color: var(--cedi-blue); }
.faq-main { min-width: 0; }
.faq-notice { margin: 0 0 42px; padding: 18px 20px; border-left: 4px solid var(--cedi-green); border-radius: 8px; background: #fff; color: var(--muted); }
.faq-category { margin-bottom: 66px; scroll-margin-top: 30px; }
.faq-category > .eyebrow { margin-bottom: -2px; }
.faq-category h2 { margin: 0 0 16px; color: var(--ink); font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.15; }
.validity-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.validity-table { width: 100%; border-collapse: collapse; min-width: 690px; }
.validity-table th, .validity-table td { padding: 15px 17px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.validity-table thead th { color: #fff; background: var(--cedi-blue); }
.validity-table tbody th { width: 190px; color: var(--cedi-blue); }
.validity-table tbody tr:last-child th, .validity-table tbody tr:last-child td { border-bottom: 0; }
.table-note { color: var(--muted); font-size: .84rem; }
.faq-sources { padding: 28px; border-radius: 14px; background: #fff; }
.faq-sources h2 { margin-top: 0; color: var(--cedi-blue); }
.faq-sources p, .faq-sources li { color: var(--muted); }
.faq-sources a { color: var(--cedi-blue); }

@media (max-width: 980px) {
  .diagnostic-tool, .diagnostic-tool.has-result, .faq-preview-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .other-projects { grid-template-columns: 1fr 1fr; }
  .credential-grid { grid-template-columns: 1fr; }
  .reviews-panel { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .faq-sidebar strong { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .diagnostic-form { grid-template-columns: 1fr; padding: 22px; }
  .field-wide, .tool-submit { grid-column: auto; }
  .diagnostic-result { padding: 24px; }
  .other-projects { grid-template-columns: 1fr; }
  .review-cards { grid-template-columns: 1fr; }
  .review-cards article { min-height: 115px; }
  .faq-hero { padding-block: 55px; }
  .faq-sidebar { grid-template-columns: 1fr; }
  .faq-sidebar strong { grid-column: auto; }
  .faq-content.section { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
