/*
Theme Name: GSE V1.0.1
Description: Site vitrine de GSE – Gicquel Samuel Électricité, artisan électricien à Erquy.
Version: 1.0.1
Requires PHP: 7.4
Author: GSE
Text Domain: gse-v01
*/
:root{--ink:#17212b;--dark:#14191f;--yellow:#ffdc24;--muted:#58636d;--paper:#f5f6f7;--line:#dce1e5}*{box-sizing:border-box}html{scroll-behavior:auto;scroll-padding-top:30px}body{margin:0;font:17px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:white}a{color:inherit}a:focus-visible,summary:focus-visible{outline:3px solid #d5a900;outline-offset:5px}img{max-width:100%;height:auto}h1,h2,h3,p{margin:0 0 16px}h1,h2,h3{line-height:1.13;letter-spacing:-.035em}h1{font-size:clamp(42px,5.5vw,76px)}h2{font-size:clamp(30px,3.8vw,48px)}h3{font-size:23px}.wrap{width:min(1200px,calc(100% - 64px));margin:auto}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:800;margin-bottom:18px}.dark{background:var(--dark);color:white}.top{background:#090c10;color:#fff;border-bottom:1px solid #30353d}.topline{display:flex;align-items:center;justify-content:space-between;gap:26px;min-height:110px}.brand{display:flex;align-items:center;flex-shrink:0}.brand img{width:154px;display:block}.nav{display:flex;gap:26px;align-items:center;font-size:14px;font-weight:600}.nav a{text-decoration:none;white-space:nowrap}.nav a:hover,.nav a:focus{color:var(--yellow)}.phone{font-weight:800;color:var(--yellow);white-space:nowrap;text-decoration:none}.hero{position:relative;overflow:hidden;background:#171c22;color:white}.hero-photo{position:absolute;inset:0 0 0 39%;width:61%;height:100%;object-fit:cover;object-position:center}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#171c22 0%,#171c22 30%,rgba(23,28,34,.91) 40%,rgba(23,28,34,.16) 73%,transparent 100%);pointer-events:none}.hero-inner{position:relative;z-index:1;min-height:530px;display:flex;align-items:center;padding:80px 0}.hero-copy{max-width:620px}.hero h1{max-width:620px}.hero .eyebrow,.dark .eyebrow{color:var(--yellow)}.hero p{max-width:500px;color:#d9dfe4;font-size:19px}.hero h1 span{display:block;color:var(--yellow)}.cta{display:inline-flex;align-items:center;gap:16px;text-decoration:none;background:var(--yellow);color:#161b20;font-weight:750;padding:15px 23px;border-radius:4px;margin-top:12px}.cta:hover{background:#ffe97a}.strip{background:#242b33;color:#dbe0e6;padding:17px 0;font-size:14px}.strip .wrap{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}.strip b{color:#fff}.section{padding:80px 0}.intro{max-width:740px;color:var(--muted);font-size:18px}.section .eyebrow{color:#776000}.dark .eyebrow{color:var(--yellow)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:36px}.service{border:1px solid var(--line);border-radius:8px;padding:27px;background:white;min-height:175px}.service p,.topic p{font-size:15px;color:var(--muted);margin:0}.symbol{display:block;color:#716000;width:38px;height:38px;margin-bottom:19px}.symbol svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.two{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}.dark p{color:#d8dfe5}.quote{border-left:3px solid var(--yellow);padding:10px 0 10px 26px;font-size:25px;line-height:1.4;font-weight:600}.inline-logo{height:1.05em;width:auto;vertical-align:-.13em;display:inline-block;background:#12161b;border-radius:3px;padding:.06em .12em;box-sizing:content-box}.topics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:30px}.topic{background:#fff;border:1px solid var(--line);padding:24px;border-radius:6px}.topic h3{font-size:20px}.topic small{display:block;font-weight:800;color:#786300;letter-spacing:.12em;margin-bottom:12px}.contact{background:#e8ebee}.contact .bigphone{font-size:clamp(28px,4vw,47px);font-weight:800;text-decoration:none;letter-spacing:-.04em}.contact .email{display:block;overflow-wrap:anywhere}.foot{padding:36px 0;background:#090c10;color:#d4d8dd;font-size:13px}.foot .wrap{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}.foot img{width:105px}.foot a{text-decoration:underline}.skip{position:absolute;left:8px;top:-100px;background:white;color:black;padding:10px;z-index:99}.skip:focus{top:8px}.mobile-nav{display:none}.prose{max-width:760px;margin:auto}.notice{font-size:14px;color:var(--muted)}@media(max-width:1000px){.nav{gap:12px;font-size:13px}.topline{gap:12px}.brand img{width:120px}.top .phone{font-size:14px}.hero-copy{max-width:520px}}@media(max-width:760px){.wrap{width:calc(100% - 36px)}.topline{min-height:82px;flex-wrap:wrap;padding:10px 0}.nav{display:none}.mobile-nav{display:block;width:100%;padding-bottom:8px}.mobile-nav summary{cursor:pointer;font-size:15px}.mobile-nav a{display:block;padding:7px 0}.hero-inner{min-height:0;padding:48px 0 34px;display:block}.hero-copy{max-width:none}.hero-photo{position:relative;inset:auto;width:100%;height:220px;display:block;object-position:center}.hero:after{display:none}.hero{display:flex;flex-direction:column-reverse}.hero h1{font-size:43px}.hero p{font-size:17px}.section{padding:48px 0}.cards,.topics{grid-template-columns:1fr}.service{min-height:0}.two{grid-template-columns:1fr;gap:24px}.quote{font-size:21px}.strip .wrap{display:block}.strip span{display:block;margin:4px 0}.foot .wrap{align-items:flex-start}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* V0.2 — navigation persistante, panneaux et fondus */
:root{--ink:#f2f1ee;--dark:#16191d;--muted:#c0c3c6;--paper:#272a2e;--line:#44484d;--header:88px;--admin:0px;--yellow:#ffdc24}body{background:#181b20;color:var(--ink)}body.admin-bar{--admin:32px}html{scroll-padding-top:0}section[id]{scroll-margin-top:calc(var(--header) + var(--admin))}.top{position:sticky;top:var(--admin);z-index:50;background:rgba(22,25,29,.92);backdrop-filter:blur(16px);border-bottom:1px solid #ffffff15;box-shadow:0 6px 24px #0002}.topline{min-height:var(--header)}.brand img{width:128px}.nav a[aria-current]{color:var(--yellow)}.hero{background:#171a1e;display:flex;flex-direction:column;justify-content:center;min-height:calc(100vh - var(--header) - var(--admin));min-height:calc(100svh - var(--header) - var(--admin));isolation:isolate}.hero-inner{min-height:0;flex:1;align-items:center;padding:56px 0;z-index:2}.hero-photo{inset:0 0 auto auto;width:65%;height:100%;object-fit:contain;object-position:right center;z-index:-1}.hero:after{z-index:0;background:linear-gradient(90deg,#171a1e 0%,#171a1e 28%,#171a1ef5 35%,#171a1e77 52%,transparent 73%),linear-gradient(0deg,#171a1e 0%,transparent 20%,transparent 90%,#171a1e55 100%)}.hero-copy{max-width:48%}.hero .strip{position:relative;z-index:2;background:transparent;border-top:1px solid #ffffff12}.section{min-height:calc(100vh - var(--header) - var(--admin));min-height:calc(100svh - var(--header) - var(--admin));display:flex;align-items:center;position:relative;padding:64px 0 88px;background:#25282c}.section>.wrap{position:relative;z-index:1}.section:after{content:'';position:absolute;bottom:0;left:0;right:0;height:65px;background:linear-gradient(transparent,var(--next,#171a1e));pointer-events:none}.hero:before{content:'';position:absolute;bottom:0;left:0;right:0;height:55px;background:linear-gradient(transparent,#25282c);z-index:1;pointer-events:none}#prestations{--next:#171a1e}#artisan{background:#171a1e;--next:#302c28}#infos{background:#302c28!important;--next:#191d22}#contact{background:#191d22;--next:#090c10}.section h2{color:#fff;font-size:clamp(34px,4vw,54px);margin-bottom:10px}.subtitle{font-size:clamp(19px,2vw,26px);font-weight:600;letter-spacing:-.02em;color:#e5cda9;margin-bottom:18px}.intro,.notice{color:#c6c5c2}.cards,.topics{gap:14px;margin-top:24px}.service,.topic{background:#34383d;border-color:#494d51;color:#f8f6f2;min-height:0;padding:20px;transition:background .2s,border-color .2s,transform .2s}.topic{background:#3c3630;border-color:#5b5146}.service:hover,.topic:hover,.service[open],.topic[open]{border-color:#e5c26b;background:#41454a}.topic:hover,.topic[open]{background:#494039}.symbol{color:#e4c378;width:32px;height:32px;margin-bottom:10px}.topic small{color:#e4c378}.service h3,.topic h3{margin-bottom:8px;font-size:21px}.service p,.topic p{color:#d5d5d4}.service summary,.topic summary{display:block;cursor:pointer;list-style:none}.service summary::-webkit-details-marker,.topic summary::-webkit-details-marker{display:none}.more{display:block;color:#ecd08c;font-size:13px;font-weight:650;margin-top:12px}.more:after{content:'  +'}details[open] .more:after{content:'  −'}.detail{border-top:1px solid #ffffff25;padding-top:12px;margin-top:12px!important}.backtop{position:fixed;right:20px;bottom:20px;z-index:40;background:#24282e;border:1px solid #777;color:var(--yellow);width:44px;height:44px;display:grid;place-items:center;border-radius:50%;text-decoration:none;font-size:24px}.contact .bigphone{color:var(--yellow)}.foot{border-top:1px solid #ffffff12}.skip{position:fixed}.skip:focus{z-index:100;top:calc(var(--admin) + 8px)}
@media(min-width:761px) and (max-height:900px){.section{padding:38px 0 62px}.service,.topic{padding:16px}.service h3,.topic h3{font-size:19px}.symbol{width:28px;height:28px;margin-bottom:7px}.service p,.topic p{font-size:14px}.more{margin-top:7px}.cards,.topics{margin-top:18px}.section h2{font-size:42px}.subtitle{font-size:21px;margin-bottom:10px}.intro{font-size:16px;margin-bottom:10px}}
@media(max-width:1050px){.nav{gap:12px;font-size:12px}.top .phone{font-size:13px}.brand img{width:105px}}@media(max-width:850px){.nav{display:none}.mobile-nav{display:block;width:auto;padding:0;position:relative}.mobile-nav nav{position:absolute;right:0;top:100%;width:min(280px,85vw);background:#22262b;padding:16px;border:1px solid #555}.topline{flex-wrap:nowrap;min-height:var(--header)}}@media(max-width:760px){:root{--header:70px}body.admin-bar{--admin:46px}.hero{display:flex;flex-direction:column;justify-content:flex-start}.hero-photo{position:relative;inset:auto;width:100%;height:auto;max-height:42svh;object-fit:contain;object-position:center;order:2;z-index:0}.hero-inner{order:1;padding:36px 0 12px;flex:0}.hero-copy{max-width:none}.hero:after{display:none}.hero .strip{order:3;padding:12px 0}.hero h1{font-size:clamp(38px,9vw,54px)}.section{padding:40px 0 65px;min-height:calc(100svh - var(--header) - var(--admin))}.cards,.topics{grid-template-columns:1fr}.backtop{right:12px;bottom:12px}.section h2{font-size:34px}.top .phone{font-size:13px}.brand img{width:93px}}@media(max-width:600px){body.admin-bar{--admin:0px}#wpadminbar{position:absolute}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.service,.topic{transition:none}}

/* V0.2.1 — hauteur indépendante du contenu et du JavaScript. */
.top{height:var(--header);min-height:var(--header);max-height:var(--header);flex:none;box-sizing:border-box}
.topline{height:100%;min-height:0;max-height:100%;padding:0;flex-wrap:nowrap}
.brand img{height:auto;max-height:calc(var(--header) - 16px);object-fit:contain}
@media (min-width:761px) and (max-width:782px){body.admin-bar{--admin:46px}}
@media (max-width:340px){.topline{gap:6px}.brand img{width:74px}.top .phone{font-size:11px}}

/* V0.2.3 — accents ambrés, accueil et présentation rapprochés. */
:root{--yellow:#ffc04a;--amber:#a75b18;--paper:#f0e5d7;--ink:#302a26;--muted:#62564b;--line:#d5bfa6}
.top{background:rgba(24,25,27,.96)}
.hero{background:#191b1d;min-height:calc(100svh - var(--header) - var(--admin))}
.hero-photo{width:65%;height:auto;max-height:none;object-fit:contain;object-position:top right;inset:0 0 auto auto}
.hero:after{background:linear-gradient(90deg,#191b1d 0%,#191b1d 28%,#191b1df5 35%,#191b1d55 55%,transparent 75%),linear-gradient(0deg,#191b1d 0%,#191b1d00 37%)}
.hero:before{display:none}
.hero-inner{padding:48px 0 40px}
.hero .strip{background:#27231e;border-top:1px solid #ffc04a55;padding:20px 0;color:#e5d9ca}
.strip b{color:var(--yellow)}
.cta:hover{background:#ffd47d}
#artisan.artisan-intro{min-height:0;background:#29241f;--next:#e9d8c4;padding:52px 0 86px}
#artisan .subtitle{color:#ffc04a}
#artisan h2{color:#fff3e1}
#prestations{background:#e9d8c4;--next:#302a25}
#infos{background:#302a25!important;--next:#eadbc9}
#contact{background:#eadbc9;--next:#090c10}
#prestations h2,#contact h2{color:#302a26}
#prestations .subtitle,#contact .subtitle{color:#82430f}
#prestations .intro,#contact p{color:#62564b}
.service{background:#faf4eb;border-color:#d3b99a;color:#302a26}
.service p{color:#62564b}
.service:hover,.service[open]{background:#fffaf2;border-color:#b57425}
.service .symbol,.service .more{color:#95500d}
.service .detail{border-color:#d3b99a}
.topic{background:#41372d;border-color:#67513c}
.topic .more,.topic small{color:#ffc66a}
#contact .bigphone{color:#82430f}
#contact .email{color:#49382a}
@media(min-width:761px){.hero-photo{height:auto;max-height:calc(100% - 65px);object-fit:contain;object-position:top right}.hero-inner{min-height:430px}.hero .strip{margin-top:auto}}
@media(max-width:760px){.hero-inner{order:2;padding:25px 0 30px;min-height:0}.hero-photo{order:1;position:relative;width:100%;height:auto;max-height:none;object-fit:contain;object-position:top center}.hero .strip{order:3}#artisan.artisan-intro{padding:40px 0 70px}}
/* V0.2.3 — accueil unifié, lumière et blanc cassé. */
:root{--paper:#f7f5f0}
.hero{justify-content:flex-start;background:#191b1d;overflow:hidden}
.hero:after{display:none}
.hero-stage{position:relative;isolation:isolate;flex:1;display:flex;align-items:center;min-height:0;overflow:hidden;background:#191b1d}
.hero-stage:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:0;background:linear-gradient(90deg,#191b1d 0%,#191b1d 26%,#191b1df5 34%,#191b1d55 55%,transparent 75%),linear-gradient(0deg,#29241f 0%,#29241f00 25%)}
.hero-stage .hero-photo{position:absolute;inset:0 0 auto auto;width:65%;height:100%;max-height:none;object-fit:contain;object-position:top right;z-index:-1}
.hero-stage .hero-inner{min-height:clamp(340px,48vh,540px);padding:30px 0;flex:none;z-index:1}
#artisan.artisan-intro{position:relative;z-index:2;background:linear-gradient(105deg,#191b1d 0%,#29241f 65%,#30271e 100%);color:#fff3e1;padding:26px 0 30px;min-height:0}
#artisan h2{font-size:clamp(25px,3vw,39px);margin-bottom:6px}
#artisan p{font-size:16px;max-width:none;margin-bottom:8px;color:#e5d9ca}
#artisan .subtitle{font-size:clamp(18px,2vw,24px);color:var(--yellow)}
#artisan .quote{font-size:clamp(18px,2vw,25px)}
.hero .strip{margin-top:0;padding:16px 0;background:#27231e}
.brand img{width:154px;max-height:calc(var(--header) - 8px);background:transparent}
#prestations{background:#f7f5f0;--next:#f7f5f0}
#contact{background:#f7f5f0;--next:#090c10}
#infos{--next:#302a25}
.service{background:#fffefa;border-color:#ded9cf}
.service,.topic{transition:background .25s,border-color .25s,box-shadow .25s,color .25s}
.service:hover,.service:focus-within,.service[open]{background:#fff4d9;border-color:#d79126;box-shadow:0 0 20px #f4a62b38}
.service:hover h3,.service:focus-within h3,.service[open] h3,.service:hover .symbol,.service:focus-within .symbol,.service[open] .symbol,.service:hover .more,.service:focus-within .more,.service[open] .more{color:#8e4a08}
.topic{background:#322e2a;border-color:#62564b}
.topic:hover,.topic:focus-within,.topic[open]{background:#493b2a;border-color:#ffc04a;box-shadow:0 0 23px #ffc04a30}
.topic:hover h3,.topic:focus-within h3,.topic[open] h3,.topic:hover .more,.topic:focus-within .more,.topic[open] .more,.topic:hover small,.topic:focus-within small,.topic[open] small{color:#ffc04a}
.cards,.topics{align-items:start}
.section{min-height:calc(100vh - var(--header) - var(--admin));min-height:calc(100svh - var(--header) - var(--admin))}
@media(max-width:850px){.brand img{width:120px}}
@media(max-width:760px){.hero-stage{display:flex;flex-direction:column;align-items:stretch}.hero-stage .hero-photo{position:relative;inset:auto;width:100%;height:auto;order:1;z-index:0}.hero-stage .hero-inner{order:2;min-height:0;padding:24px 0 32px}.hero-stage:after{display:none}#artisan.artisan-intro{padding:26px 0 32px}.hero .strip{order:3}.brand img{width:105px}}
@media(max-width:340px){.brand img{width:74px}}
@media(prefers-reduced-motion:reduce){.service,.topic{transition:none}}

/* V0.2.4 — composition continue, navigation stable et contact unifié. */
:root{--band:#191a1c}
.top,.foot{background:var(--band)}
.brand img{width:190px;height:calc(var(--header) - 6px);max-height:calc(var(--header) - 6px);object-fit:contain;background:none;padding:0}
.inline-logo{background:none;padding:0;border-radius:0;box-sizing:border-box;height:1.05em;vertical-align:-.1em}
.foot img{width:154px;height:auto;background:none}
.hero-stage{background:linear-gradient(90deg,#191b1d 0%,#27231e 27%,#4c3e30 51%,#4c3e30 100%)}
.hero-stage:after{background:linear-gradient(90deg,#191b1d 0%,#191b1d 17%,#25221f 29%,rgba(55,43,32,.88) 39%,rgba(59,46,34,.40) 49%,transparent 65%),linear-gradient(0deg,#29241f 0%,transparent 22%)}
.hero-stage .hero-photo{width:70%;height:100%;object-fit:cover;object-position:right center;mask-image:linear-gradient(90deg,transparent 0%,#000 29%);-webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 29%)}
.hero-stage .hero-inner{width:min(1360px,calc(100% - 64px));min-height:clamp(340px,48vh,540px)}
.hero-copy{max-width:47%}.hero h1{font-size:clamp(40px,4.5vw,70px)}
.cards,.topics{align-items:stretch;grid-auto-rows:1fr}
.service,.topic{height:100%;display:flex;flex-direction:column}
.service summary,.topic summary{display:flex;flex-direction:column;flex:1}
.service .more,.topic .more{margin-top:auto;padding-top:10px}
/* L'ouverture du détail ne maintient pas la lumière allumée. */
.service[open],.service:focus-within{background:#fffefa;border-color:#ded9cf;box-shadow:none}
.service[open] h3,.service:focus-within h3{color:#302a26}
.service[open] .symbol,.service[open] .more,.service:focus-within .symbol,.service:focus-within .more{color:#95500d}
.topic[open],.topic:focus-within{background:#322e2a;border-color:#62564b;box-shadow:none}
.topic[open] h3,.topic:focus-within h3{color:#f8f6f2}
.topic[open] .more,.topic[open] small,.topic:focus-within .more,.topic:focus-within small{color:#ffc66a}
.service:hover,.service:has(summary:focus-visible){background:#fff4d9;border-color:#d79126;box-shadow:0 0 20px #f4a62b38}
.service:hover h3,.service:hover .symbol,.service:hover .more,.service:has(summary:focus-visible) h3{color:#8e4a08}
.topic:hover,.topic:has(summary:focus-visible){background:#493b2a;border-color:#ffc04a;box-shadow:0 0 23px #ffc04a30}
.topic:hover h3,.topic:hover .more,.topic:hover small,.topic:has(summary:focus-visible) h3{color:#ffc04a}
#contact{padding:0;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;--next:#191a1c}
#contact:after{display:none}
#contact>.contact-main{flex:1;align-content:center;align-items:center;margin:auto;padding:clamp(34px,6vh,70px) 0}
#contact h2{font-size:clamp(40px,5vw,64px)}
#contact .subtitle{font-size:clamp(27px,3.8vw,48px);line-height:1.15;transform-origin:left center}
#contact.contact-reveal .subtitle{animation:gse-contact-in .85s cubic-bezier(.2,.7,.2,1) both}
@keyframes gse-contact-in{from{opacity:.55;transform:scale(.94) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}
#contact .foot{margin-top:auto;flex-shrink:0;padding:24px 0 30px}
@media(max-width:1050px){.brand img{width:145px}.hero-copy{max-width:49%}}
@media(max-width:760px){.brand img{width:115px}.hero-stage .hero-photo{width:100%;height:auto;object-fit:contain;mask-image:none;-webkit-mask-image:none}.hero-stage .hero-inner{width:calc(100% - 36px);min-height:0}.hero-copy{max-width:none}.hero-stage{background:#191b1d}.cards,.topics{grid-auto-rows:auto}#contact>.contact-main{padding:40px 0}#contact .foot{padding:22px 0 65px}}
@media(max-width:340px){.brand img{width:80px}}
@media(prefers-reduced-motion:reduce){#contact.contact-reveal .subtitle{animation:none}}


/* V0.2.5 — corrections ciblées, sur la base validée V0.2.4. */
/* Le bord inférieur du hero et le haut de la présentation partagent le même fond. */
.hero{--hero-join:linear-gradient(90deg,#191b1d 0%,#25221f 29%,#372b20 52%,#30271e 76%,#29231c 100%)}
@media(min-width:761px){
 .hero-stage .hero-photo{object-position:right top}
 .hero-stage:after{background:linear-gradient(90deg,#191b1d 0%,#191b1d 17%,#25221f 29%,rgba(55,43,32,.88) 39%,rgba(59,46,34,.40) 49%,transparent 65%)}
 .hero-stage:before{content:'';position:absolute;inset:auto 0 0;height:clamp(74px,18%,130px);background:var(--hero-join);mask-image:linear-gradient(0deg,#000 0%,#000 3%,transparent 100%);-webkit-mask-image:linear-gradient(0deg,#000 0%,#000 3%,transparent 100%);z-index:1;pointer-events:none}
 .hero-stage .hero-inner{z-index:2}
 #artisan.artisan-intro{background:var(--hero-join);margin-top:-1px}
 .hero .strip{background:var(--hero-join)}
}
/* Même lumière que les tuiles Infos : mêmes valeurs, y compris le halo.
   Le fond de la tuile devient brun au survol pour garder un texte lisible. */
.service:hover,.service:has(summary:focus-visible){background:#493b2a;border-color:#ffc04a;box-shadow:0 0 23px #ffc04a30;color:#f8f6f2}
.service:hover h3,.service:hover .symbol,.service:hover .more,.service:has(summary:focus-visible) h3,.service:has(summary:focus-visible) .symbol,.service:has(summary:focus-visible) .more{color:#ffc04a}
.service:hover p,.service:has(summary:focus-visible) p{color:#e5ded4}
.service:hover .detail,.service:has(summary:focus-visible) .detail{border-color:#67513c}
/* Animation du seul bloc de texte demandé ; le titre Contact et les coordonnées restent fixes. */
#contact .contact-motion{transform-origin:left center}
@media(prefers-reduced-motion:reduce){#contact .contact-motion{animation:none!important;transform:none!important}}


/* V0.2.6 — cadrage intégral et fondu inférieur limité au sol. */
@media(min-width:761px){
 .hero-stage .hero-photo{width:auto;height:100%;max-width:none;object-fit:contain;object-position:right top}
 .hero-stage:before{height:clamp(20px,8%,50px)}
}
/* L'état de départ est posé avant le premier affichage ; seule cette zone est animée. */
#contact .contact-motion-frame{min-width:0}
html.gse-motion-ready #contact .contact-motion{transform:scale(.88);transform-origin:left center;transition:none}
html.gse-motion-ready #contact .contact-motion.is-playing{transform:scale(1.10);transition:transform 5s cubic-bezier(.35,.05,.35,1)}
@media(max-width:760px){
 html.gse-motion-ready #contact .contact-motion{transform-origin:center center}
 html.gse-motion-ready #contact .contact-motion.is-playing{transform:scale(1.035)}
}
@media(prefers-reduced-motion:reduce){
 html.gse-motion-ready #contact .contact-motion,html.gse-motion-ready #contact .contact-motion.is-playing{transform:none;transition:none}
}

/* V0.2.8 — prolongement du sol, sans recadrer le personnage. */
@media(min-width:761px){
 .hero{--hero-join:linear-gradient(90deg,#191b1d 0%,#191b1d 17%,#25221f 29%,#372b20 52%,#30271e 76%,#29231c 100%);--hero-edge:var(--hero-join)}
 .hero-stage:before{height:clamp(16px,5%,34px);background:var(--hero-edge);mask-image:linear-gradient(to top,#000 0%,transparent 100%);-webkit-mask-image:linear-gradient(to top,#000 0%,transparent 100%)}
 #artisan.artisan-intro{background:var(--hero-join);margin-top:0;isolation:isolate}
 #artisan.artisan-intro:before{content:'';position:absolute;inset:0 0 auto;height:clamp(130px,85%,250px);background:var(--hero-edge);mask-image:linear-gradient(to bottom,#000 0%,#000b 27%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000b 27%,transparent 100%);z-index:-1;pointer-events:none}
}
/* Même durée et même amplitude que V0.2.6, ancrage central. */
html.gse-motion-ready #contact .contact-motion{transform-origin:center center}
/* Deux raccourcis distincts ; même maison que dans le menu. */
.nav a[href$="#accueil"],.mobile-nav a[href$="#accueil"]{display:inline-flex;align-items:center;gap:6px}
.home-icon{width:18px;height:18px;flex-shrink:0;vertical-align:middle}
.gse-quick-nav{position:fixed;right:20px;bottom:20px;z-index:40;display:flex;gap:8px;align-items:center}
.gse-quick-nav .backtop{position:static;inset:auto;cursor:pointer;padding:0;flex-shrink:0;font:inherit}
.gse-quick-nav .backtop svg{width:22px;height:22px}
.gse-quick-nav .backtop:hover:not(:disabled){border-color:var(--yellow);background:#383026}
.gse-quick-nav .backtop:disabled{opacity:.45;cursor:default}
.gse-quick-nav .backtop:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}
@media(max-width:760px){.gse-quick-nav{right:12px;bottom:12px}}


/* V0.2.8 — photo prolongée dans la présentation et plan électrique en Contact. */
.hero-photo-layer{display:contents}
@media(min-width:761px){
 .hero{--photo-overlap:clamp(54px,9vh,112px)}
 .hero-stage{isolation:auto;overflow:visible}
 .hero-photo-layer{display:block;position:absolute;top:0;right:0;height:calc(100% + var(--photo-overlap));width:auto;aspect-ratio:16/9;z-index:1;pointer-events:none;mask-image:linear-gradient(90deg,transparent 0%,#000 29%),linear-gradient(to bottom,#000 0%,#000 96%,transparent 100%);mask-composite:intersect}
 .hero-stage .hero-photo{position:static;display:block;width:100%;height:100%;object-fit:contain;mask-image:none;-webkit-mask-image:none}
 .hero-stage:before{display:none}
 .hero-stage:after{z-index:2;bottom:calc(-1 * var(--photo-overlap));background:linear-gradient(90deg,#191b1d 0%,#191b1d 17%,#25221f 29%,rgba(55,43,32,.88) 39%,rgba(59,46,34,.40) 49%,transparent 65%);mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - var(--photo-overlap)),transparent 100%)}
 .hero-stage .hero-inner{z-index:3}
 #artisan.artisan-intro{isolation:auto;z-index:auto;background:var(--hero-join)}
 #artisan.artisan-intro:before{z-index:0;height:100%;background:var(--hero-edge);mask-image:linear-gradient(to bottom,#000 0%,#000 32%,transparent 100%)}
 #artisan.artisan-intro .two{position:relative;z-index:3}
 #artisan .quote{align-self:center;margin-top:clamp(20px,calc(var(--photo-overlap) - 25px),85px);margin-bottom:8px}
 .hero .strip{z-index:3}
}
/* Le plan est une illustration d'ambiance ; le voile assure le contraste du texte.
   Le pied de page conserve son fond opaque, sa position et ses dimensions. */
#contact{background:#f7f5f0 url('assets/contact-plan.webp') center center / cover no-repeat}
#contact:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(247,245,240,.97) 0%,rgba(247,245,240,.88) 30%,rgba(247,245,240,.79) 65%,rgba(247,245,240,.51) 100%);z-index:0}
#contact>.contact-main{z-index:1}
#contact .foot{position:relative;z-index:1}
@media(max-width:760px){#contact{background-position:58% center}#contact:before{background:rgba(247,245,240,.86)}}

/* V0.2.9 — lisibilité des seules informations de contact. */
#contact .contact-motion p:not(.subtitle),#contact .contact-main>div:last-child>p{color:#302a26;font-weight:550}
#contact .contact-main .email{color:#302a26;font-weight:600}

/* V0.3.0 — première page détaillée, styles limités au nouveau modèle. */
.service.service-link{text-decoration:none;cursor:pointer}
.service.service-link:focus-visible{background:#493b2a;border-color:#ffc04a;box-shadow:0 0 23px #ffc04a30;color:#f8f6f2}
.service.service-link:focus-visible h3,.service.service-link:focus-visible .symbol,.service.service-link:focus-visible .more{color:#ffc04a}
.service.service-link:focus-visible p{color:#e5ded4}
.gse-detail{background:#f7f5f0;color:#302a26;min-height:calc(100svh - var(--header) - var(--admin))}
.gse-detail .detail-banner{position:relative;background:radial-gradient(ellipse at 86% 60%,#4e3822 0%,transparent 52%),linear-gradient(110deg,#191b1d 30%,#30271e 100%);color:#f8f6f2;padding:25px 0 clamp(35px,5vw,62px)}
.gse-detail .detail-trail{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#d9d0c3;margin-bottom:clamp(25px,4vw,48px)}
.gse-detail .detail-trail a{text-decoration:none}.gse-detail .detail-trail a:hover{text-decoration:underline;color:var(--yellow)}
.gse-detail .detail-trail [aria-current]{color:var(--yellow)}
.gse-detail .detail-heading{display:grid;grid-template-columns:1fr auto;align-items:center;gap:30px}
.gse-detail .eyebrow{color:var(--yellow);margin-bottom:13px}
.gse-detail h1{font-size:clamp(36px,5.1vw,68px);margin-bottom:12px;color:#fff}
.gse-detail .detail-subtitle{font-size:clamp(20px,2.4vw,30px);color:var(--yellow);font-weight:600;margin:0;line-height:1.35}
.gse-detail .detail-emblem{display:grid;place-items:center;width:clamp(92px,13vw,160px);aspect-ratio:1;border:1px solid #ffc04a59;border-radius:50%;color:var(--yellow);background:#ffc04a09;box-shadow:0 0 60px #ffc04a12}
.gse-detail .detail-emblem svg{width:53%;height:53%;stroke:currentColor;fill:none;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.gse-detail .detail-body{padding:clamp(28px,4vw,52px) 0 56px}
.gse-detail .detail-lead{font-size:clamp(17px,1.7vw,20px);color:#49413a;max-width:930px;margin-bottom:32px}
.gse-detail .detail-body h2{font-size:clamp(25px,2.6vw,36px);margin-bottom:20px}
.gse-detail .detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.gse-detail .detail-panel{padding:clamp(18px,2vw,29px);background:#fffefa;border:1px solid #ded9cf;border-radius:8px}
.gse-detail .detail-panel .symbol{color:#95500d;width:34px;height:34px;margin-bottom:16px}
.gse-detail .detail-panel h3{font-size:clamp(19px,1.85vw,24px);color:#302a26;min-height:2.26em;margin-bottom:12px}
.gse-detail .detail-panel ul{margin:0;padding:0 0 0 19px;font-size:16px;color:#49413a;line-height:1.55}
.gse-detail .detail-panel li+li{margin-top:10px}.gse-detail .detail-panel li::marker{color:#95500d}
.gse-detail .detail-care{margin:28px 0;display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center;padding:24px 26px;background:#eee8df;border-radius:7px;border-left:3px solid #a75b18}
.gse-detail .detail-care-mark .inline-logo{height:36px;width:auto;padding:8px 10px;background:#191b1d;margin:0;border-radius:5px}
.gse-detail .detail-care h2,.gse-detail .detail-actions h2{font-size:clamp(22px,2.3vw,30px);margin:0 0 8px}
.gse-detail .detail-care p,.gse-detail .detail-actions p{margin:0;color:#49413a}
.gse-detail .detail-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 0;border-top:1px solid #ded9cf;border-bottom:1px solid #ded9cf}
.gse-detail .detail-actions .cta{margin:0;white-space:nowrap;flex-shrink:0}
.gse-detail .detail-back{display:inline-flex;gap:10px;align-items:center;font-size:15px;font-weight:650;color:#82430f;margin-top:27px;text-decoration:none}.gse-detail .detail-back:hover{text-decoration:underline}
@media(max-width:760px){.gse-detail .detail-grid{grid-template-columns:1fr}.gse-detail .detail-heading{gap:12px;grid-template-columns:1fr}.gse-detail .detail-emblem{display:none}.gse-detail .detail-panel h3{min-height:0}.gse-detail .detail-care{grid-template-columns:1fr;gap:12px;padding:20px}.gse-detail .detail-actions{align-items:flex-start;flex-direction:column}.gse-detail .detail-body{padding-bottom:70px}.gse-detail+.foot{padding-bottom:70px}}


/* V0.3.2 — modèle détaillé aéré, extensible à la hauteur disponible. */
.gse-detail+.foot{color:var(--yellow)}
@media (min-width:761px){
 body:has(> .gse-detail){min-height:calc(100svh - var(--admin));display:flex;flex-direction:column}
 .gse-detail{min-height:0;flex:1 0 auto;display:flex;flex-direction:column}
 .gse-detail .detail-banner{padding:clamp(12px,2.1vh,28px) 0 clamp(16px,3.3vh,42px);flex:none}
 .gse-detail .detail-trail{margin-bottom:clamp(10px,2.1vh,28px)}
 .gse-detail .eyebrow{margin-bottom:6px}
 .gse-detail h1{font-size:clamp(36px,4vw,60px);margin-bottom:7px}
 .gse-detail .detail-subtitle{font-size:clamp(20px,2vw,28px)}
 .gse-detail .detail-emblem{width:clamp(90px,13vh,148px)}
 .gse-detail .detail-body{flex:1 0 auto;display:flex;padding:clamp(17px,3vh,36px) 0}
 .gse-detail .detail-body>.wrap{display:flex;flex-direction:column;margin:0 auto;gap:clamp(12px,2.3vh,28px)}
 .gse-detail .detail-lead{font-size:clamp(16px,1.8vh,19px);line-height:1.55;max-width:none;margin:0}
 .gse-detail .detail-body h2{font-size:clamp(25px,3vh,34px);margin:0}
 .gse-detail .detail-grid{flex:1 0 auto;gap:16px}
 .gse-detail .detail-panel{padding:clamp(16px,2.7vh,32px) clamp(18px,2vw,29px);display:flex;flex-direction:column;justify-content:center}
 .gse-detail .detail-panel .symbol{width:clamp(29px,3.8vh,38px);height:clamp(29px,3.8vh,38px);margin-bottom:clamp(9px,1.5vh,18px)}
 .gse-detail .detail-panel h3{font-size:clamp(20px,2.6vh,25px);min-height:0;margin-bottom:clamp(9px,1.5vh,18px)}
 .gse-detail .detail-panel ul{font-size:16px;line-height:1.55}
 .gse-detail .detail-panel li+li{margin-top:clamp(6px,1.1vh,13px)}
 .gse-detail .detail-actions{padding:clamp(12px,2.5vh,26px) 0}
 .gse-detail .detail-actions h2{font-size:clamp(23px,2.8vh,30px);margin-bottom:6px}
 .gse-detail .detail-actions p{font-size:16px;line-height:1.45}
 .gse-detail .detail-actions .cta{padding:12px 20px}
 .gse-detail+.foot{padding:clamp(8px,1.3vh,16px) 0;flex-shrink:0}
 .gse-detail+.foot .wrap{align-items:center;padding-right:100px}
}
@media(min-width:1051px) and (max-height:850px){
 .gse-detail .detail-banner{padding:10px 0 16px}
 .gse-detail .detail-trail{margin-bottom:8px}
 .gse-detail h1{font-size:40px}
 .gse-detail .detail-emblem{width:90px}
 .gse-detail .detail-body{padding:15px 0}
 .gse-detail .detail-body>.wrap{gap:12px}
 .gse-detail .detail-panel{padding:15px 18px;display:grid;grid-template-columns:30px 1fr;align-content:center;column-gap:10px}
 .gse-detail .detail-panel .symbol{width:30px;height:30px;margin:0}
 .gse-detail .detail-panel h3{align-self:center;margin:0;font-size:20px}
 .gse-detail .detail-panel ul{grid-column:1/-1;margin-top:12px;font-size:15px;line-height:1.45}
 .gse-detail .detail-actions{padding:12px 0}
 .gse-detail+.foot{padding:5px 0}
}
/* Aligner le contenu des trois tuiles, redistribuer le blanc dans leur hauteur. */
@media(min-width:761px){
 .gse-detail .detail-banner{padding:clamp(10px,1.7vh,20px) 0 clamp(14px,2.4vh,30px)}
 .gse-detail .detail-body{padding:clamp(14px,2.1vh,28px) 0}
 .gse-detail .detail-body>.wrap{gap:clamp(10px,1.8vh,22px)}
 .gse-detail .detail-panel{justify-content:flex-start;padding-block:clamp(15px,2.1vh,25px)}
 .gse-detail .detail-panel h3{min-height:2.26em}
 .gse-detail .detail-actions{padding:clamp(11px,1.8vh,22px) 0}
 .gse-detail+.foot{padding:8px 0}
}
@media(min-width:1051px) and (max-height:850px){
 .gse-detail .detail-banner{padding:9px 0 12px}
 .gse-detail .detail-body{padding:12px 0}
 .gse-detail .detail-body>.wrap{gap:10px}
 .gse-detail .detail-panel{align-content:start;padding:13px 18px}
 .gse-detail .detail-panel h3{min-height:0}
 .gse-detail .detail-panel ul{margin-top:10px}
 .gse-detail .detail-actions{padding:10px 0}
 .gse-detail+.foot{padding:3px 0}
}
@media(min-width:1051px) and (max-height:740px){
 .gse-detail .detail-banner{padding:7px 0 9px}
 .gse-detail .detail-trail{margin-bottom:5px}
 .gse-detail .detail-emblem{width:80px}
 .gse-detail h1{font-size:36px;margin-bottom:3px}
 .gse-detail .detail-subtitle{font-size:21px}
 .gse-detail .detail-body{padding:9px 0}
 .gse-detail .detail-body>.wrap{gap:8px}
 .gse-detail .detail-lead{line-height:1.4}
 .gse-detail .detail-panel{padding:10px 15px}
 .gse-detail .detail-panel ul{margin-top:8px;line-height:1.35}
 .gse-detail .detail-panel li+li{margin-top:4px}
 .gse-detail .detail-actions{padding:7px 0}
 .gse-detail .detail-actions .cta{padding:9px 16px}
}

/* V0.4.0 — univers pédagogique, isolé du modèle des prestations. */
#infos .topic.topic-link{text-decoration:none;cursor:pointer}
#infos .topic.topic-link:focus-visible{background:#493b2a;border-color:#ffc04a;box-shadow:0 0 23px #ffc04a30}
#infos .topic.topic-link:focus-visible h3,#infos .topic.topic-link:focus-visible small,#infos .topic.topic-link:focus-visible .more{color:#ffc04a}
#infos .topic.topic-link .more:after{content:'  →'}
.gse-detail.gse-info-detail{background:#302a25;color:#f8f2e8}
.gse-info-detail .detail-banner{padding:clamp(18px,3vh,32px) 0 clamp(28px,4vh,46px)}
.gse-info-detail .detail-heading h1{font-size:clamp(34px,4.2vw,58px)}
.gse-info-detail .detail-trail{margin-bottom:clamp(14px,2.5vh,30px)}
.gse-info-detail .detail-body{padding:clamp(30px,5vw,56px) 0 64px;display:block}
.gse-info-detail .info-body>.wrap{display:flex;flex-direction:column;gap:26px;margin:0 auto}
.gse-info-detail .detail-lead{color:#ede2d5;font-size:19px;line-height:1.65;max-width:1000px;margin:0}
.gse-info-detail .detail-body h2{color:#fff3e1;font-size:clamp(25px,2.8vw,33px);margin:0;line-height:1.2}
.gse-info-detail .info-grid{flex:none;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr))}
.gse-info-detail .info-numbered,.gse-info-detail .info-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.gse-info-detail .detail-panel{background:#41372d;border:1px solid #705641;border-radius:8px;padding:24px;display:flex;flex-direction:column;justify-content:flex-start;gap:12px;min-width:0}
.gse-info-detail .detail-panel .symbol{color:#ffc04a;width:38px;height:38px;margin:0;flex-shrink:0}
.gse-info-detail .info-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.gse-info-detail .info-number{color:#ffc04a;font-weight:750;font-size:20px;letter-spacing:.08em}
.gse-info-detail .detail-panel h3{color:#fff3e1;font-size:23px;margin:0;min-height:0;line-height:1.22}
.gse-info-detail .detail-panel p{color:#ede2d5;font-size:17px;line-height:1.6;margin:0}
.gse-info-detail .info-feature{display:flex;flex-direction:column;gap:16px;background:#38302a;border:1px solid #705641;border-radius:8px;padding:clamp(20px,3vw,34px);min-width:0}
.gse-info-detail .info-feature p,.gse-info-detail .info-takeaway p{color:#ede2d5;line-height:1.65;margin:0}
.gse-info-detail .info-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.gse-info-detail .info-pair>div{border:1px solid #705641;background:#41372d;border-radius:8px;padding:18px}
.gse-info-detail .info-pair h3{color:#ffc04a;font-size:22px;margin-bottom:8px}
.gse-info-detail .info-film{display:grid;grid-template-columns:200px 1fr;align-items:center;gap:28px}
.gse-info-detail .film-art{color:#ffc04a;background:radial-gradient(ellipse,#74522c,#302a25 75%);border-radius:8px;display:grid;place-items:center;min-height:155px}
.gse-info-detail .film-art svg{width:125px;height:auto}
.gse-info-detail .info-film h2{margin-bottom:12px}
.gse-info-detail .info-kicker{color:#ffc04a!important;font-size:13px;font-weight:750;letter-spacing:.06em;margin-bottom:8px!important}
.gse-info-detail .info-resource-button{display:inline-flex;align-items:center;gap:12px;background:#ffc04a;color:#241e19;padding:10px 18px;font-weight:750;text-decoration:none;border-radius:4px;margin:14px 0 8px}
.gse-info-detail .info-resource-button:hover{background:#ffd47d}
.gse-info-detail .info-small{font-size:14px!important;color:#d9c8b6!important}
.gse-info-detail .info-flow{display:flex;align-items:center;gap:10px}
.gse-info-detail .info-flow>span:not(.info-arrow){flex:1;background:#49392d;border:1px solid #99734d;border-radius:6px;padding:16px;text-align:center;color:#fff3e1;font-weight:650}
.gse-info-detail .info-arrow{color:#ffc04a;font-size:26px}
.gse-info-detail .info-number-link{color:#ffc04a;font-weight:800;font-size:clamp(25px,4vw,36px);text-decoration:none}
.gse-info-detail .info-takeaway{border:1px solid #9d774c;background:#40352a;border-radius:8px;padding:clamp(20px,3vw,30px)}
.gse-info-detail .info-takeaway h2{color:#ffc04a;margin-bottom:12px}
.gse-info-detail .info-sources{border-top:1px solid #705641;padding-top:22px}
.gse-info-detail .info-sources h2{font-size:22px;margin-bottom:12px}
.gse-info-detail .info-sources ul{margin:0;padding-left:22px;color:#e5cda9;font-size:15px;line-height:1.7}
.gse-info-detail .info-sources a,.gse-info-detail .info-feature p a{color:#ffc66a;text-underline-offset:3px;overflow-wrap:anywhere}
.gse-info-detail a:focus-visible{outline:2px solid #ffc04a;outline-offset:4px}
@media(max-width:850px){.gse-info-detail .info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gse-info-detail .info-film{grid-template-columns:130px 1fr}}
@media(max-width:600px){.gse-info-detail .info-grid,.gse-info-detail .info-pair,.gse-info-detail .info-film{grid-template-columns:1fr}.gse-info-detail .info-flow{flex-direction:column;align-items:stretch}.gse-info-detail .info-arrow{transform:rotate(90deg);text-align:center;line-height:1}.gse-info-detail .info-body>.wrap{gap:20px}.gse-info-detail .detail-lead{font-size:17px}.gse-info-detail .detail-panel{padding:20px}.gse-info-detail .detail-panel h3{font-size:21px}.gse-info-detail .film-art{min-height:100px}.gse-info-detail .detail-heading{grid-template-columns:1fr auto;gap:12px}.gse-info-detail .detail-emblem{display:grid;width:64px}.gse-info-detail .detail-subtitle{font-size:19px}}
.gse-info-detail .detail-panel h3{align-self:stretch}
@media(min-width:1100px) and (max-width:1450px){.gse-info-detail .info-body>.wrap{width:min(1200px,calc(100% - 248px))}}

/* V0.4.1 — consignes de secours, limitées à la page accidents. */
.gse-info-detail .info-rescue-steps{margin:12px 0 16px;padding-left:1.35em;color:#ede2d5;line-height:1.65}
.gse-info-detail .info-rescue-steps li+li{margin-top:5px}
.gse-info-detail .info-rescue-heading strong{color:#fff3e1}

/* V0.4.3 — lisibilité des coordonnées, sans changer les liens ni la hauteur du bandeau. */
.top .phone{font-size:clamp(19px,1.55vw,24px);font-weight:800;line-height:1.25;display:inline-flex;align-items:center;min-height:44px;flex-shrink:0}
#contact .contact-main .email{font-size:clamp(19px,1.7vw,25px);font-weight:750;line-height:1.45}
@media(max-width:850px){.top .phone{font-size:19px}}
@media(max-width:400px){.topline{gap:6px}.top .phone{font-size:17px}}
@media(max-width:340px){.top .phone{font-size:16px}}

/* V0.4.4 — agrandissement du dessin dans les marges transparentes du SVG.
   La hauteur du bandeau et les décalages de navigation restent ceux de V0.4.3. */
.top .brand{overflow:hidden}
.top .brand img{transform:scale(1.23);transform-origin:center center}
@media(max-width:760px){.top .brand img{transform:scale(1.18)}}
#contact>.contact-main{display:flex;flex-direction:column;justify-content:space-evenly;align-items:center;text-align:center;gap:clamp(26px,5vh,68px);padding:clamp(24px,4vh,58px) 0;min-height:0}
#contact .contact-coordinates{width:100%;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
#contact .contact-coordinates h2{margin-bottom:clamp(8px,2vh,20px)}
#contact .contact-coordinates .bigphone{line-height:1.25}
#contact .contact-coordinates p{margin:0;color:#302a26;font-weight:550}
#contact .contact-motion-frame{width:min(90%,880px);margin:0 auto}
#contact .contact-motion{transform-origin:center center}
#contact .contact-motion p:last-child{margin:0;max-width:740px;margin-inline:auto}
@media(max-width:760px){#contact>.contact-main{gap:32px;padding:32px 0}#contact .contact-motion-frame{width:94%}#contact .contact-coordinates .email{max-width:100%;overflow-wrap:anywhere}}

/* V0.5.5 — aperçus photographiques plus fluides et formats harmonisés. */
.gse-detail .detail-panel.has-preview{position:relative}
.gse-detail .preview-toggle{position:absolute;top:clamp(10px,2.1vh,25px);right:clamp(15px,2vw,29px);display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #d5bfa6;border-radius:6px;padding:5px 8px;min-height:30px;background:#fffefa;color:#82430f;font-family:inherit;font-size:13px;font-weight:650;line-height:1.1;cursor:pointer;white-space:nowrap;transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.gse-detail .preview-toggle:hover,.gse-detail .preview-toggle[aria-pressed=true]{background:#f4e7d4;border-color:#a75b18}
.gse-detail .preview-toggle:hover{transform:translateY(-1px)}
.gse-detail .preview-toggle:focus-visible{outline:2px solid #a75b18;outline-offset:3px}
.gse-detail .preview-toggle svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.gse-detail .preview-content{position:relative;flex:1;min-width:0}
.gse-detail .preview-content ul{transition:opacity .26s ease,transform .32s ease;transform-origin:center top}
.gse-detail .preview-content.is-preview ul{visibility:hidden;opacity:0;transform:translateY(-6px) scale(.985);pointer-events:none}
.gse-detail .preview-photos{position:absolute;inset:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-height:0;align-items:stretch;opacity:0;pointer-events:none;transform:translateY(10px) scale(.98);transition:opacity .36s ease,transform .42s cubic-bezier(.2,.75,.25,1)}
.gse-detail .preview-content.is-preview .preview-photos{opacity:1;pointer-events:auto;transform:none}
.gse-detail .preview-photo{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:4px;height:100%;min-height:0;min-width:0;margin:0;align-content:start;opacity:0;transform:translateY(14px) scale(.94);transition:opacity .34s ease,transform .42s cubic-bezier(.2,.75,.25,1)}
.gse-detail .preview-content.is-preview .preview-photo{opacity:1;transform:none}
.gse-detail .preview-content.is-preview .preview-photo:nth-child(1){transition-delay:.04s}
.gse-detail .preview-content.is-preview .preview-photo:nth-child(2){transition-delay:.12s}
.gse-detail .preview-photo-frame{display:block;position:relative;width:100%;height:100%;min-height:0;overflow:hidden;border-radius:7px;background:#f6efe6;box-shadow:0 0 0 1px rgba(130,67,15,.08) inset;aspect-ratio:4/3}
.gse-detail .preview-photos img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center}
.gse-detail .preview-toggle[hidden]{display:none}
@media(min-width:1051px) and (max-height:850px){
 .gse-detail .detail-panel.has-preview{grid-template-rows:auto 1fr;align-content:stretch}
 .gse-detail .detail-panel.has-preview h3{margin-right:104px;min-height:2.26em}
 .gse-detail .detail-panel.has-preview .preview-toggle{right:15px;top:10px}
 .gse-detail .detail-panel.has-preview .preview-content{grid-column:1/-1}
 .gse-detail .detail-panel.has-preview .preview-photos{top:10px}
}
@media(max-width:760px){.gse-detail .preview-toggle{top:18px;right:18px;min-height:36px}.gse-detail .preview-content{min-height:112px}.gse-detail .preview-photos{gap:8px}.gse-detail .preview-photo-frame{aspect-ratio:1/1}}
@media(prefers-reduced-motion:reduce){.gse-detail .preview-toggle,.gse-detail .preview-content ul,.gse-detail .preview-photos,.gse-detail .preview-photo{transition:none}.gse-detail .preview-content.is-preview ul{transform:none}.gse-detail .preview-photos,.gse-detail .preview-content.is-preview .preview-photo{transform:none}}

/* V0.5.5 — légendes uniquement pour les photographies avant/après. */
.gse-detail .preview-photo figcaption{font-size:12px;line-height:1.2;font-weight:700;color:#82430f;text-align:center}

/* V0.5.5 — un visuel unique utilise toute la largeur disponible, sans découper son sujet. */
.gse-detail .preview-photos.preview-single{grid-template-columns:minmax(0,1fr)}
.gse-detail .preview-single .preview-photo-frame{aspect-ratio:auto;background:transparent;box-shadow:none}
.gse-detail .preview-single img{object-fit:contain;object-position:center}

/* Maintenir une surface d’aperçu suffisante même pour un descriptif court. */
.gse-detail .detail-panel:has(.preview-single) .preview-content{min-height:180px}
.gse-detail .preview-single .preview-photo-frame{display:flex;align-items:center;justify-content:center}
.gse-detail .preview-single img{width:auto;height:auto;max-width:100%;max-height:100%;border-radius:7px}
@media(min-width:1051px) and (max-height:850px){.gse-detail .detail-panel:has(.preview-single) .preview-content{min-height:155px}}

/* V0.5.5 — pages administratives et liens de pied de page. */
.foot-legal{font-size:13px;line-height:1.55;text-align:right;max-width:100%;color:var(--yellow)}
.foot-legal a{text-decoration:none;white-space:normal}.foot-legal a:hover,.foot-legal a:focus-visible{text-decoration:underline}.foot-version{opacity:.83;font-size:12px}
.gse-legal-detail .detail-banner{padding:24px 0 32px}.gse-legal-detail .detail-trail{margin-bottom:20px}
.gse-legal-detail .legal-body{padding:35px 0 65px;color:#302a26}.gse-legal-detail .legal-wrap{max-width:960px}
.gse-legal-detail .legal-block{padding:24px 28px;background:#fffefa;border:1px solid #ded9cf;border-radius:8px;margin:0 0 16px;overflow-wrap:anywhere}
.gse-legal-detail .legal-block h2{color:#302a26;font-size:clamp(21px,2.4vw,27px);margin:0 0 16px}.gse-legal-detail .legal-block p,.gse-legal-detail .legal-block li{font-size:16px;line-height:1.65;color:#49413a}.gse-legal-detail .legal-block p:last-child{margin-bottom:0}.gse-legal-detail .legal-block a{color:#82430f;text-decoration:underline;text-underline-offset:3px}.gse-legal-detail .legal-identity{display:grid;grid-template-columns:minmax(155px,1fr) minmax(0,2fr);gap:8px 20px;margin:0;font-size:16px}.gse-legal-detail .legal-identity dt{font-weight:700}.gse-legal-detail .legal-identity dd{margin:0;color:#49413a}.gse-legal-detail .legal-draft{padding:14px 18px;border:1px solid #d5bfa6;background:#f7ecdb;border-radius:8px;color:#71440f;font-size:15px;margin-bottom:20px}.gse-legal-detail .legal-pending{color:#82430f!important;font-size:14px;font-style:italic}.gse-legal-detail .legal-date{font-size:13px;color:#675d52}
@media(max-width:760px){.foot-legal{text-align:left}.gse-legal-detail .legal-block{padding:18px}.gse-legal-detail .legal-identity{display:block}.gse-legal-detail .legal-identity dt{margin-top:12px}.gse-legal-detail .legal-identity dd{margin-bottom:9px}.gse-legal-detail .legal-body{padding-bottom:72px}}

@media(min-width:1051px){#contact .foot .wrap{padding-right:105px}}
@media(min-width:761px) and (max-width:1050px){#contact .foot{padding-bottom:65px}}

/* V0.5.7 — barèmes exclusivement dans les mentions légales. */
.gse-legal-detail .legal-block h3{font-size:19px;color:#302a26;margin:24px 0 10px}
.gse-legal-detail .legal-price-scroll{max-width:100%;overflow-x:auto;margin:14px 0 20px;border:1px solid #ded9cf;border-radius:7px}
.gse-legal-detail .legal-price-table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.45;color:#49413a}
.gse-legal-detail .legal-price-table caption{text-align:left;font-weight:700;color:#302a26;padding:12px;background:#f7ecdb}
.gse-legal-detail .legal-price-table th,.gse-legal-detail .legal-price-table td{padding:10px 12px;border-top:1px solid #e8e1d7;text-align:right;font-variant-numeric:tabular-nums}
.gse-legal-detail .legal-price-table thead th{background:#f1e8dc;color:#302a26}
.gse-legal-detail .legal-price-table th:first-child{text-align:left}
.gse-legal-detail .legal-price-table td{white-space:nowrap}
@media(max-width:600px){.gse-legal-detail .legal-price-table{font-size:12px}.gse-legal-detail .legal-price-table th,.gse-legal-detail .legal-price-table td{padding:8px 5px}}

.gse-legal-detail .legal-period-label{display:inline-flex;align-items:flex-start;gap:10px;line-height:1.35;color:#302a26}
.gse-legal-detail .legal-period-label small{display:block;font-size:12px;font-weight:600;color:#6a6157;line-height:1.35;margin-top:2px}
.gse-legal-detail .legal-period-icon{width:19px;height:19px;flex:0 0 19px;margin-top:1px;fill:none;stroke:#a75b18;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gse-legal-detail .legal-price-table tbody th[scope="row"]{font-weight:700}


/* V1.0.0 — confort de lecture sur téléphone, sans modifier la version ordinateur. */
@media (max-width:760px){
 body{font-size:16px;line-height:1.55}
 .hero h1{font-size:clamp(34px,8.5vw,49px)}
 .hero-stage .hero-inner{padding:21px 0 25px}
 #artisan.artisan-intro{padding:22px 0 26px}
 .section h2{font-size:30px}
 .section{padding-top:32px}
 .service h3,.topic h3{font-size:21px}
 .service,.topic{padding:18px}
 .gse-detail .detail-banner{padding:20px 0 30px}
 .gse-detail .detail-trail{margin-bottom:20px}
 .gse-detail h1{font-size:clamp(30px,7vw,39px)}
 .gse-detail .detail-subtitle{font-size:19px}
 .gse-detail .detail-lead{font-size:16px;line-height:1.55;margin-bottom:24px}
 .gse-detail .detail-body h2{font-size:25px}
 .gse-detail .detail-panel h3{font-size:20px}
 .gse-detail .detail-panel ul{font-size:16px;line-height:1.5}
 .gse-detail .detail-actions h2{font-size:23px}
 .gse-info-detail .detail-heading h1{font-size:clamp(30px,7vw,39px)}
 .gse-info-detail .detail-lead{font-size:16px;margin:0}
 .gse-info-detail .detail-panel p{font-size:16px}
 .gse-legal-detail .legal-block p,.gse-legal-detail .legal-block li{line-height:1.55}
 #contact>.contact-main{gap:26px;padding:28px 0}
}

/* V1.0.1 — axe central des coordonnées sur téléphone. */
@media (max-width:760px){
 #contact>.contact-main{width:calc(100% - 36px);margin-inline:auto;padding-inline:0;text-align:center}
 #contact .contact-coordinates{align-self:center;width:100%;margin-inline:auto;padding-inline:0;text-align:center;align-items:center}
 #contact .contact-coordinates> *{margin-inline:0;text-align:center;max-width:100%}
}
/* V1.0.1 — paysage sur écran compact : les aperçus ne sont plus contraints par la hauteur du descriptif. */
@media (orientation:landscape) and (max-width:1050px) and (max-height:600px){
 .gse-detail:not(.gse-info-detail):not(.gse-legal-detail) .detail-grid{grid-template-columns:minmax(0,1fr)}
 .gse-detail .detail-panel.has-preview{min-width:0}
 .gse-detail .detail-panel.has-preview h3{margin-right:105px;min-height:0}
 .gse-detail .preview-content.is-preview ul{display:none}
 .gse-detail .preview-content.is-preview .preview-photos{position:relative;inset:auto;gap:12px;align-items:start}
 .gse-detail .preview-content.is-preview .preview-photo{height:auto;grid-template-rows:auto auto}
 .gse-detail .preview-content.is-preview .preview-photo-frame{height:auto;aspect-ratio:4/3;max-height:260px;display:flex;align-items:center;justify-content:center}
 .gse-detail .preview-content.is-preview .preview-photos img{width:100%;height:100%;object-fit:contain;object-position:center}
 .gse-detail .preview-content.is-preview .preview-single .preview-photo-frame{aspect-ratio:16/9;max-width:460px;margin-inline:auto}
}
