/* Phil-iT — feuille de style commune (aucune police externe : RGPD + PageSpeed) */
:root{
  --ink:#16232d; --muted:#4f5f6b; --line:#dde4e8; --bg:#ffffff; --bg-soft:#f3f6f4;
  --brand:#123a52; --brand-2:#1d5a7a; --accent:#d9682a; --accent-ink:#ffffff; --pine:#2f5d46;
  --radius:12px; --shadow:0 6px 24px rgba(18,58,82,.08);
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.65;font-size:17px}
img{max-width:100%;height:auto}
a{color:var(--brand-2)}
a:hover{color:var(--accent)}
h1,h2,h3{line-height:1.25;color:var(--brand);margin:0 0 .6em}
h1{font-size:clamp(1.8rem,4vw,2.6rem);letter-spacing:-.01em}
h2{font-size:clamp(1.4rem,3vw,1.85rem);margin-top:0}
h3{font-size:1.12rem}
p{margin:0 0 1em}
.wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.skip{position:absolute;left:-999px}.skip:focus{left:12px;top:12px;background:#fff;padding:8px;z-index:99}

/* En-tête */
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;gap:18px;min-height:70px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);margin-right:auto}
.brand-mark{width:40px;height:40px;border-radius:10px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800;font-size:1.3rem}
.brand-text{display:flex;flex-direction:column;line-height:1.15}
.brand-text strong{font-size:1.15rem;color:var(--brand)}
.brand-text small{color:var(--muted);font-size:.78rem;white-space:nowrap}
#menu ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap}
#menu a{display:block;padding:8px 9px;white-space:nowrap;border-radius:8px;text-decoration:none;color:var(--ink);font-size:.93rem;font-weight:500}
#menu a:hover,#menu a[aria-current]{background:var(--bg-soft);color:var(--brand)}
.menu-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;padding:8px 12px;font:inherit;cursor:pointer}

/* Boutons */
.btn{display:inline-block;padding:13px 22px;border-radius:999px;font-weight:700;text-decoration:none;border:2px solid transparent;transition:transform .15s}
.btn:hover{transform:translateY(-1px)}
.btn-call{background:var(--accent);color:var(--accent-ink)}
.btn-call:hover{color:#fff;background:#c25820}
.btn-ghost{border-color:#ffffff88;color:#fff}
.btn-ghost:hover{color:#fff;border-color:#fff}
.header-call{padding:10px 18px;white-space:nowrap}

/* Fil d'Ariane */
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:14px 0 0;margin:0;font-size:.85rem;color:var(--muted)}
.crumbs li+li::before{content:"›";margin-right:6px}
.crumbs a{color:var(--muted)}

/* Hero */
.hero{background:linear-gradient(135deg,var(--brand) 0%,var(--brand-2) 60%,var(--pine) 130%);color:#fff;padding:52px 0 58px;margin-top:14px}
.hero h1{color:#fff;max-width:820px}
.hero .lead{font-size:1.15rem;max-width:720px;opacity:.95}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 30px}
.trust{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0}
.trust li{background:#ffffff1a;border:1px solid #ffffff33;border-radius:999px;padding:7px 14px;font-size:.92rem}
.trust strong{color:#ffd9bf}

/* Sections */
section{padding:56px 0}
.soft{background:var(--bg-soft)}
.intro{max-width:780px}
.cols-2{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-top:26px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
.card h3{margin-bottom:.4em}
.card p{margin:0;color:var(--muted);font-size:.96rem}
.card .ico{font-size:1.5rem;display:block;margin-bottom:8px}
.panel{background:#fff;border-radius:var(--radius);padding:28px;border:1px solid var(--line)}
.panel ul{padding-left:1.2em;margin:0}
.panel li{margin-bottom:.35em}
.steps{counter-reset:s;list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-top:24px}
.steps li{counter-increment:s;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px 20px 20px}
.steps li::before{content:counter(s);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:#fff;font-weight:800;margin-bottom:10px}
.steps strong{display:block;color:var(--brand);margin-bottom:4px}

/* Bloc Philippe */
.about{display:grid;grid-template-columns:200px 1fr;gap:34px;align-items:start}
.portrait{width:200px;height:200px;border-radius:50%;background:var(--bg-soft);border:3px dashed var(--line);display:grid;place-items:center;color:var(--muted);font-size:.85rem;text-align:center;padding:20px}
.timeline{list-style:none;padding:0;margin:18px 0 0;border-left:3px solid var(--accent)}
.timeline li{padding:0 0 14px 18px;position:relative}
.timeline li::before{content:"";position:absolute;left:-8px;top:7px;width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid var(--accent)}
.timeline b{color:var(--brand)}

/* Tarifs */
.price{display:flex;flex-wrap:wrap;gap:18px;margin-top:22px}
.price .card{flex:1 1 240px}
.price .big{font-size:2rem;font-weight:800;color:var(--brand);display:block;margin:.1em 0}

/* Localités */
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:16px 0 0}
.chips li{background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:.93rem}
.links-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-top:18px}
.links-grid a{display:block;background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 16px;text-decoration:none;font-weight:600}
.links-grid a span{display:block;font-weight:400;color:var(--muted);font-size:.88rem}

/* FAQ (details natif : aucun JS nécessaire) */
.faq details{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:10px}
.faq summary{cursor:pointer;padding:16px 20px;font-weight:600;color:var(--brand);list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";float:right;font-weight:800;color:var(--accent)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding:0 20px 16px;margin:0}

/* Appel final */
.cta-band{background:var(--brand);color:#fff;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{opacity:.9;max-width:640px;margin:0 auto 22px}

/* Pied de page */
.site-footer{background:#0d2a3b;color:#c9d6de;padding:44px 0 90px;font-size:.93rem}
.site-footer a{color:#fff}
.footer-grid{display:grid;grid-template-columns:1.3fr .9fr 1fr 1.3fr;gap:30px}
.footer-brand{font-size:1.3rem;font-weight:800;color:#fff;margin-bottom:.4em}
.footer-title{color:#fff;font-weight:700;margin-bottom:.5em}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin-bottom:.3em}
.footer-tel{font-size:1.2rem;font-weight:700}
.footer-legal{border-top:1px solid #ffffff22;margin-top:28px;padding-top:16px;font-size:.85rem}
.sticky-call{display:none}

/* Mobile */
@media (max-width:1180px){
  .menu-toggle{display:block}
  #menu{display:none;position:absolute;left:0;right:0;top:70px;background:#fff;border-bottom:1px solid var(--line);padding:10px 16px}
  #menu.open{display:block}
  #menu ul{flex-direction:column}
  .header-call{display:none}
  .cols-2,.footer-grid,.about{grid-template-columns:1fr}
  .portrait{margin:0 auto}
  .sticky-call{display:block;position:fixed;left:12px;right:12px;bottom:12px;z-index:30;text-align:center;background:var(--accent);color:#fff;font-weight:700;padding:14px;border-radius:999px;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.25)}
  section{padding:42px 0}
}

/* Pages de contenu */
.hero-sm{padding:42px 0 44px}
.prose{max-width:800px}
.prose h2{margin-top:1.6em}
.prose ul{padding-left:1.2em}
.prose li{margin-bottom:.35em}
table.matrix{width:100%;border-collapse:collapse;background:#fff;font-size:.95rem}
table.matrix th,table.matrix td{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
table.matrix th{background:var(--bg-soft);color:var(--brand)}
.table-scroll{overflow-x:auto}
.note{background:#fff7f1;border-left:4px solid var(--accent);padding:14px 18px;border-radius:8px}
.stats{display:flex;flex-wrap:wrap;gap:18px;margin-top:24px}
.stats div{flex:1 1 180px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;text-align:center}
.stats strong{display:block;font-size:2rem;color:var(--brand)}
.card-link{display:block;text-decoration:none;color:inherit;transition:transform .15s,border-color .15s}
.card-link:hover{transform:translateY(-2px);border-color:var(--accent);color:inherit}
.card-link .more{display:block;margin-top:12px;color:var(--accent);font-weight:700;font-size:.92rem}

/* Maquette photographique : emplacements sans recadrage */
.photo-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:230px;padding:22px;border:2px dashed #88a7c1;border-radius:16px;background:repeating-linear-gradient(135deg,#f4f9fc,#f4f9fc 12px,#eaf2f8 12px,#eaf2f8 24px);color:#234965;text-align:center;box-sizing:border-box;margin:22px 0}
.photo-slot .slot-icon{font-size:38px;line-height:1}.photo-slot strong{font-size:18px}.photo-slot small{max-width:340px;font-size:14px;line-height:1.5}.photo-slot .slot-ratio{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#50738e}.photo-slot.square{aspect-ratio:1/1;min-height:0;max-width:100%}.photo-slot.landscape{aspect-ratio:16/9;min-height:0;max-width:100%}.photo-slot img{width:100%;height:100%;object-fit:contain}.photo-preview-label{background:#163f60;color:white;padding:10px 18px;border-radius:9px;margin:18px 0;font-weight:700}.photo-slot.in-card{margin:0 0 16px;width:100%;padding:12px;gap:6px}.photo-slot.in-card strong{font-size:14px}.photo-slot.in-card small{font-size:12px}.photo-slot.in-card .slot-icon{font-size:27px}.photo-slot.in-card .slot-ratio{font-size:11px}

/* Photos Phil-iT : affichage integral, sans rognage */
.photo-slot.photo-filled{padding:0!important;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f5f7f9}.photo-slot.photo-filled img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center;max-width:100%;max-height:100%}

/* Carte interactive des secteurs : image entière et zones SVG adaptatives */
.secteurs-carte-section{padding:2rem 0;text-align:center}
.secteurs-carte{position:relative;width:min(100%,620px);aspect-ratio:1;margin:1.25rem auto;overflow:hidden}
.secteurs-carte img{display:block;width:100%;height:100%;object-fit:contain}
.secteurs-carte svg{position:absolute;inset:0;width:100%;height:100%}
.secteurs-carte svg a polygon{fill:transparent;stroke:transparent;stroke-width:3;cursor:pointer;transition:fill .15s,stroke .15s}
.secteurs-carte svg a:hover polygon,.secteurs-carte svg a:focus polygon{fill:rgba(35,125,181,.20);stroke:#1973aa;outline:none}
.secteurs-carte svg a:focus-visible polygon{stroke:#004f91;stroke-width:5;fill:rgba(35,125,181,.25)}
.secteurs-carte-note{font-size:.9rem;color:#555}
.matrix tr:target{background:#eaf6ff;outline:2px solid #1973aa;scroll-margin-top:110px}
@media(max-width:600px){.secteurs-carte-section{padding:1.25rem 0}.secteurs-carte{width:100%}}

/* Carte : superposition invisible sur la photographie, jamais en dessous */
.secteurs-carte{isolation:isolate;display:block;position:relative;width:min(100%,560px);height:auto;aspect-ratio:1;background:white}
.secteurs-carte>img{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:0}
.secteurs-carte>svg{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;z-index:1;background:transparent!important;fill:none!important}
.secteurs-carte>svg polygon{fill:transparent!important;stroke:transparent!important}
.secteurs-carte>svg a:hover polygon,.secteurs-carte>svg a:focus polygon{fill:rgba(20,111,164,.17)!important;stroke:#1973aa!important}

/* Carte interactive: image et zones dans le meme repere SVG, sans decalage */
.secteurs-carte{width:min(100%,560px);height:auto;aspect-ratio:auto;overflow:visible;background:transparent;margin:1.25rem auto}
.secteurs-carte .secteurs-svg{display:block;position:static!important;width:100%!important;height:auto!important;aspect-ratio:1;background:transparent!important;overflow:visible;fill:initial!important}
.secteurs-carte .secteurs-svg a polygon{fill:transparent!important;stroke:transparent!important;pointer-events:all;cursor:pointer}
.secteurs-carte .secteurs-svg a:hover polygon,.secteurs-carte .secteurs-svg a:focus polygon{fill:rgba(35,125,181,.18)!important;stroke:#1973aa!important;stroke-width:3}
html{scroll-padding-top:85px}

/* Nouvelle carte et tableau : même repère pour image et zones interactives */
.secteurs-carte-v2{position:relative;width:min(100%,600px);aspect-ratio:1;margin:22px auto;isolation:isolate}
.secteurs-carte-v2>img{display:block;width:100%;height:100%;object-fit:contain}
.secteurs-carte-v2>svg{position:absolute;inset:0;width:100%;height:100%;display:block;background:none!important;overflow:visible}
.secteurs-carte-v2 svg a polygon{fill:transparent;stroke:transparent;pointer-events:all;cursor:pointer;transition:fill .18s,stroke .18s}
.secteurs-carte-v2 svg a:hover polygon,.secteurs-carte-v2 svg a:focus polygon{fill:rgba(30,111,180,.16);stroke:#17649a;stroke-width:3}
.secteurs-matrix{width:100%;table-layout:fixed}
.secteurs-matrix th:first-child{width:24%}
.secteurs-matrix .secteur-sub{padding:5px 0 9px;border-bottom:1px solid #e4e9ed}
.secteurs-matrix .secteur-sub:last-child{border-bottom:0}
.secteurs-matrix .secteur-sub strong{display:block;margin-bottom:4px}
.secteurs-matrix .secteur-sub p{margin:0;line-height:1.5}
.secteurs-matrix tr:target{background:#e9f6ff;outline:2px solid #17649a;scroll-margin-top:100px}
@media(max-width:600px){.secteurs-matrix th:first-child{width:32%}.secteurs-matrix td,.secteurs-matrix th{padding:9px 7px;font-size:.85rem}}

/* Logo officiel sur la page d'accueil : image entière, sans rognage */
.homepage-brand-logo{display:block;width:min(100%,420px);height:auto;object-fit:contain;margin:0 0 22px;}
@media(max-width:650px){.homepage-brand-logo{width:min(100%,300px);margin-bottom:18px;}}

/* Identite Phil-iT dans le bandeau */
.brand-icon{display:block;width:40px;height:40px;object-fit:contain;flex:0 0 40px}
.brand-text small{font-size:.78rem;letter-spacing:.01em}

/* Tableau des secteurs : trois colonnes */
.secteurs-matrix th:first-child{width:23%}
.secteurs-matrix th:nth-child(2){width:42%}
.secteurs-matrix th:nth-child(3){width:35%}
.secteurs-liens{line-height:1.9}
.secteurs-liens a{white-space:nowrap}
.secteurs-matrix tr[id]{scroll-margin-top:90px}
@media(max-width:700px){.secteurs-matrix{min-width:680px}}


/* Images : dimensions maîtrisées sur ordinateur et mobile, sans recadrage */
.photo-slot.photo-filled{
  width:100%;
  max-width:340px;
  aspect-ratio:1/1;
  height:auto;
  min-height:0;
  margin:16px auto 22px;
  padding:0!important;
  flex:0 1 auto;
}
.photo-slot.photo-filled img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain!important;
}
.card .photo-slot.photo-filled{
  max-width:220px;
  margin:0 auto 16px;
}
.hero .photo-slot.photo-filled{max-width:300px;margin:20px auto}
.about .photo-slot.photo-filled{max-width:260px;margin:16px 0}
.homepage-brand-logo{width:min(100%,340px);height:auto;margin:0 auto 18px}
@media(max-width:650px){
  .photo-slot.photo-filled{max-width:270px}
  .card .photo-slot.photo-filled{max-width:200px}
  .hero .photo-slot.photo-filled{max-width:240px}
  .about .photo-slot.photo-filled{max-width:220px}
  .homepage-brand-logo{width:min(100%,280px)}
}


/* PHIL-iT — Design hybride : blanc, bleu profond, turquoise et accents jaune */
:root{--ink:#102b48;--muted:#50677a;--line:#dfebf1;--bg-soft:#f1f9fc;--brand:#092c4c;--brand-2:#007c9d;--accent:#008eab;--accent-ink:#fff;--radius:17px;--shadow:0 9px 30px rgba(8,48,78,.09);--sun:#ffce16}
body{background:#fff;color:var(--ink)}
.site-header{box-shadow:0 3px 20px rgba(9,44,76,.055);border-bottom:1px solid #e7f0f4}
.brand-icon{width:46px!important;height:46px!important;object-fit:contain}
.brand-text strong{font-size:1.35rem}
.brand-text small{letter-spacing:.09em}
.site-header nav a:hover,.site-header nav a[aria-current="page"]{color:#008eab}
.btn{border-radius:12px}
.btn-call{background:#006a9c;color:white;border-color:#006a9c}
.btn-call:hover{background:#00547b;color:#fff}
.btn-ghost{background:white;border:1px solid #a7d6e4;color:#006a8d}
h2:after{content:"";display:block;width:52px;height:4px;border-radius:3px;background:var(--sun);margin-top:11px}
.hero{background:linear-gradient(115deg,#effaff 0%,#fff 54%,#dff3f8 100%);padding:38px 0 32px;overflow:hidden}
.hybrid-hero-grid{display:grid;grid-template-columns:1.04fr .96fr;align-items:center;gap:30px;min-height:450px}
.hybrid-hero-copy{position:relative;z-index:1}
.hybrid-eyebrow{font-size:.79rem;font-weight:800;letter-spacing:.13em;color:#007c9d;margin-bottom:16px}
.hybrid-hero-copy h1{font-size:clamp(2.2rem,4.6vw,4.3rem);line-height:1.08;letter-spacing:-.045em;margin-bottom:12px;max-width:640px}
.hybrid-hero-copy h1 em{font-style:normal;color:#0096b2}
.hybrid-subhead{font-weight:700;font-size:clamp(1.05rem,2vw,1.45rem);margin-bottom:20px}
.hybrid-benefits{list-style:none;margin:0 0 25px;padding:0;display:grid;gap:7px}
.hybrid-benefits li{display:flex;align-items:center;gap:12px;font-size:1rem}
.hybrid-benefits li:before{content:"✓";display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;background:var(--sun);border-radius:50%;color:#092c4c;font-weight:900}
.hybrid-actions{display:flex;gap:12px;flex-wrap:wrap}
.hybrid-trust{display:flex;gap:8px 18px;flex-wrap:wrap;font-size:.79rem;color:#50677a;margin-top:19px}
.hybrid-hero-visual{position:relative;min-height:420px;display:flex;align-items:center;justify-content:center}
.hybrid-hero-visual:before{content:"";position:absolute;width:92%;height:92%;right:-6%;top:3%;border-radius:48% 52% 30% 60%;background:linear-gradient(130deg,#b6e8f1,#edfaff)}
.hybrid-photo-frame{position:relative;width:min(74%,360px);aspect-ratio:1;border-radius:25px;overflow:hidden;box-shadow:0 16px 40px rgba(6,48,77,.18);border:5px solid white}
.hybrid-photo-frame img{width:100%;height:100%;object-fit:cover;object-position:center 35%}
.hybrid-signature{position:absolute;top:7%;right:0;background:#ffffffed;padding:12px 17px;border-left:4px solid var(--sun);border-radius:10px;box-shadow:var(--shadow);font-size:.86rem;transform:rotate(-2deg)}
.hybrid-signature strong{display:block;font-size:1.08rem}
.hybrid-visit-card{position:absolute;right:0;bottom:6%;background:#082f52;color:white;padding:16px 20px;border-radius:15px;box-shadow:0 14px 30px #05263b33;display:grid;gap:10px;font-size:.84rem;font-weight:650}
.hybrid-visit-card span+span{border-top:1px solid #ffffff44;padding-top:10px}
.hybrid-local-section{background:linear-gradient(#f4fbfd,#eef8fc);padding-top:42px}
.hybrid-local-top{display:grid;grid-template-columns:1fr minmax(280px,410px);gap:30px;align-items:center;background:white;border-radius:22px;padding:25px 30px;box-shadow:var(--shadow);margin-bottom:26px}
.hybrid-local-text .intro{max-width:600px;font-size:1rem}
.hybrid-landscape{height:175px;border-radius:17px;overflow:hidden}
.hybrid-landscape img{width:100%;height:100%;object-fit:cover;object-position:center}
.hybrid-village-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:0}
.hybrid-village-grid a.hybrid-village{display:flex;flex-direction:column;padding:0 0 14px;overflow:hidden;border:1px solid #dceaf1;border-radius:13px;background:#fff;box-shadow:0 5px 18px #0b4e7610;min-width:0;font-weight:400;transition:transform .2s,box-shadow .2s}
.hybrid-village-grid a.hybrid-village:hover{transform:translateY(-3px);box-shadow:0 10px 24px #0b4e7625}
.hybrid-village-thumb{display:block;width:100%;height:77px;background:linear-gradient(90deg,#d9f4ff22,#009db322),url('/images/phil-it-10.webp') center var(--village-pos)/cover no-repeat}
.hybrid-village strong{display:block;padding:11px 13px 0;font-size:.99rem;color:#092c4c;line-height:1.2}
.hybrid-village span:not(.hybrid-village-thumb){display:block;padding:4px 13px 0;color:#007b9b;font-size:.76rem;line-height:1.4}
.hybrid-service-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.hybrid-service-strip a{display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;gap:0 10px;text-decoration:none;background:white;border-radius:13px;padding:15px 13px;border:1px solid #e2edf2}
.hybrid-service-icon{grid-row:span 2;font-size:1.8rem;color:#008ca8}
.hybrid-service-strip strong{font-size:.91rem;line-height:1.25;color:#092c4c}
.hybrid-service-strip small{font-size:.75rem;line-height:1.35;color:#557087}
.card{border-radius:17px}
.card-link:hover{border-color:#00a1b7}
.photo-slot.photo-filled{width:100%;max-width:320px;aspect-ratio:1;height:auto;min-height:0;margin:16px auto;padding:0!important}
.photo-slot.photo-filled img{width:100%;height:100%;object-fit:contain!important}
.card .photo-slot.photo-filled{max-width:220px;margin:0 auto 16px}
.about .photo-slot.photo-filled{max-width:220px}
.note{border-left-color:var(--sun);background:#fffbed}
.timeline{border-left-color:#00a1b7}
.timeline li:before{border-color:#00a1b7}
.steps li:before{background:#008eab}
.cta-band{background:linear-gradient(115deg,#082e4f,#006b8b)}
.site-footer{background:#092b45}
@media(max-width:1000px){.hybrid-hero-grid{grid-template-columns:1fr 1fr;gap:12px}.hybrid-hero-visual{min-height:360px}.hybrid-photo-frame{width:82%}.hybrid-service-strip{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.hybrid-hero-grid{grid-template-columns:1fr}.hero{padding:28px 0}.hybrid-hero-visual{min-height:320px}.hybrid-photo-frame{width:min(65%,270px)}.hybrid-signature{right:0;top:0}.hybrid-visit-card{right:0;bottom:0}.hybrid-local-top{grid-template-columns:1fr;padding:20px}.hybrid-landscape{height:150px}.hybrid-village-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hybrid-service-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.hybrid-hero-copy h1{font-size:clamp(2.15rem,9vw,3rem)}}
@media(max-width:380px){.hybrid-village-grid{gap:8px}.hybrid-village strong{font-size:.88rem}.hybrid-service-strip{grid-template-columns:1fr}}

.sector-group-note{padding:12px 16px;border-left:4px solid #ffce16;background:#f3fafd;color:#173e58;border-radius:7px;margin:12px 0 18px}

/* Correctif contraste 2026-10-08 : zones claires / zones sombres */
/* Accueil : l'ancien hero imposait du blanc sur le nouveau fond blanc */
.hero:has(.hybrid-hero-grid){color:#102b48;background:linear-gradient(115deg,#effaff 0%,#fff 54%,#dff3f8 100%)}
.hero:has(.hybrid-hero-grid) h1,
.hero:has(.hybrid-hero-grid) .hybrid-subhead,
.hero:has(.hybrid-hero-grid) .hybrid-benefits,
.hero:has(.hybrid-hero-grid) .hybrid-hero-copy{color:#102b48}
.hero:has(.hybrid-hero-grid) .hybrid-hero-copy h1 em{color:#008ca7}
.hero:has(.hybrid-hero-grid) .hybrid-signature{color:#102b48}
.hero:has(.hybrid-hero-grid) .hybrid-visit-card{color:#fff}
/* Toutes les pages intérieures : le bandeau conserve un fond sombre lisible */
.hero:not(:has(.hybrid-hero-grid)){background:linear-gradient(115deg,#092c4c,#006b8b);color:#fff}
.hero:not(:has(.hybrid-hero-grid)) h1,
.hero:not(:has(.hybrid-hero-grid)) h2,
.hero:not(:has(.hybrid-hero-grid)) h3{color:#fff}
/* Composants à fond blanc, quelle que soit la couleur héritée */
.card,.panel,.steps li,.links-grid a,.faq details,.chips li,
.hybrid-local-top,.hybrid-village-grid a.hybrid-village,.hybrid-service-strip a,
.secteurs-matrix td,.secteurs-matrix th,.note,.sector-group-note{color:#102b48}
/* Les boutons blancs sur fond clair restent lisibles */
.btn-ghost,.btn-ghost:hover{background:#fff;color:#006a8d;border-color:#8fc4d4}
/* Les boutons pleins et les zones sombres restent blancs */
.btn-call,.btn-call:hover,.header-call,.header-call:hover,
.sticky-call,.sticky-call:hover{color:#fff}
.cta-band,.cta-band p,.cta-band h2,.cta-band h3{color:#fff}
.site-footer,.site-footer p,.site-footer li{color:#d9e9f2}
.site-footer a,.site-footer .footer-title,.site-footer .footer-brand{color:#fff}
/* Texte des cartes des communes : éviter une couleur blanche héritée */
.hybrid-village-grid a.hybrid-village,.hybrid-village-grid a.hybrid-village:hover{color:#102b48}
.hybrid-village-grid a.hybrid-village strong{color:#092c4c}
.hybrid-village-grid a.hybrid-village span:not(.hybrid-village-thumb){color:#006b87}
