/* GARAGE FONTAINE — Design premium 2026
   Couche graphique non destructive sur le site existant : navigation, formulaires,
   emails PHP et pages ACD restent pilotés par le code d'origine. */
:root{
 --premium-navy:#061b43;
 --premium-deep:#051635;
 --premium-royal:#0748de;
 --premium-cobalt:#045bfa;
 --premium-sky:#0bc5f4;
 --premium-ink:#09204b;
 --premium-line:#d7e5ff;
 --premium-shadow:0 12px 35px rgba(11,39,102,.11);
 --ink:#09204b; --teal:#074cdb; --muted:#516383; --line:#d5e3fb;
}
html{scroll-behavior:smooth}
body{background:#fff;color:var(--premium-ink);font-family:Inter,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
:where(button,a,input,select,textarea):focus-visible{outline:3px solid #42bfff;outline-offset:3px}
.container{width:min(1430px,calc(100% - 66px));margin-inline:auto}
header{box-shadow:0 2px 25px #08275c0c;border-bottom:1px solid #e9f0fc;background:#fff}
.nav{width:min(1450px,calc(100% - 66px));min-height:87px;gap:24px;padding:8px 0}
.nav .brand{gap:18px}
.nav .brand-logo,.foot .brand-logo{width:148px;height:72px;display:block;flex:none;overflow:visible}
.nav .brand-logo img,.foot .brand-logo img{position:static;display:block;width:100%;height:100%;object-fit:contain;max-width:100%;clip-path:none}
.history-seal{border-color:#0a49c1;color:#0b338b;width:62px;height:62px;border-radius:50%;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #a6bffa;background:#fff}
.history-seal b{font-size:20px}
.brand-motto{font-size:.80rem;max-width:240px;line-height:1.42;color:#092661;padding-left:20px;border-left:1px solid #bad1fc}
.nav .links{gap:25px;font-weight:760;font-size:.90rem}
.nav .links>a:not(.btn){color:#11264e}
.nav .links>a:not(.btn):hover{color:#005de8}
.btn,.nav .links .btn{min-height:46px;border-radius:8px;font-weight:780;background:linear-gradient(112deg,#056afa,#0735bb);color:white;box-shadow:0 5px 14px #073cb618;transition:transform .2s,filter .2s,box-shadow .2s}
.btn:hover,.nav .links .btn:hover{filter:brightness(1.07);transform:translateY(-1px);box-shadow:0 7px 21px #0742bb30}
.notice{padding:5px 15px;font-size:.77rem;color:#315587;background:#f3f7ff}
/* HERO -- le portrait validé est un visuel photo indépendant, pas une capture de page */
.home-hero{background:linear-gradient(135deg,#03122d,#0b3c88);min-height:420px;overflow:hidden;color:#fff}
.hero-photo{position:absolute;right:0;top:0;bottom:0;width:69%;height:100%;object-fit:cover;object-position:58% 40%;filter:none;z-index:-2}
.home-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061b43 0%,#071c43 20%,#0a2859f6 35%,#0a2c5fae 49%,#071e4744 66%,#0a18341c 100%);z-index:-1}
.home-hero:after{content:"";position:absolute;z-index:-1;pointer-events:none;bottom:-125px;left:-125px;width:500px;height:300px;border-radius:50%;border:34px solid #068df530;box-shadow:0 0 0 22px #0079ec12,0 0 70px #0d9cff36;transform:rotate(-18deg)}
.hero-inner{padding:39px 0 57px;min-height:420px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.hero-location{margin:0 0 14px;color:#dcf0ff;font-size:.78rem;letter-spacing:.15em;text-transform:uppercase;font-weight:800}
.hero-location:before{content:"";display:inline-block;vertical-align:2px;margin-right:11px;width:14px;height:8px;background:#09bdf6;transform:skew(-24deg);border-radius:1px}
.home-hero h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(2.2rem,3.65vw,3.57rem);line-height:1.06;letter-spacing:-.045em;font-weight:820;max-width:725px;margin:0 0 16px;color:#fff;text-wrap:balance}
.home-hero h1 em{font-style:normal;color:#19b8fd;background:linear-gradient(115deg,#7cc9ff,#008cff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.hero-description{font-size:.99rem;line-height:1.55;color:#f1f7ff;max-width:535px;margin:0 0 18px;text-shadow:0 1px 5px #001d4060}
.hero-trust{display:flex;flex-wrap:wrap;gap:8px 0;margin:0 0 19px;font-size:.81rem;line-height:1.25;font-weight:660;color:#f6fbff;max-width:630px}
.hero-trust span{display:inline-flex;align-items:center;gap:9px;padding-right:16px;margin-right:16px;border-right:1px solid #6aa2f16b;max-width:205px}
.hero-trust span:last-child{margin-right:0;border-right:0;padding-right:0}
.hero-trust svg{width:27px;height:27px;flex:none;color:#e7f8ff}
.hero-inner .actions{display:flex;gap:13px;flex-wrap:wrap}
.hero-inner .actions .btn{min-height:46px;padding:12px 19px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:14px;font-size:.92rem}
.hero-inner .hero-primary{background:linear-gradient(120deg,#fafcff,#e7f1ff);color:#0733b3;border:1px solid #edf4ff;box-shadow:0 5px 16px #001a4b2b}
.hero-inner .hero-secondary{background:#041c45a3;border:1px solid #b6d4ff;color:white}
.hero-inner .hero-primary:hover{background:#fff;color:#0d3eb6}
.hero-inner .hero-secondary:hover{background:#103770;color:white}
.image-note{display:none}
/* Raccourcis */
.quick-grid{gap:16px;margin-top:-30px}
.quick-card{min-height:82px;padding:15px 19px;gap:13px;border:1px solid #cde0fd;border-bottom:2px solid #8fbaff;border-radius:15px;background:#fff;box-shadow:0 12px 24px #0a398b1b,0 2px 5px #224ba00e;transition:transform .19s,box-shadow .19s,border-color .19s}
.quick-card:hover{transform:translateY(-3px);box-shadow:0 13px 29px #0a398b2b;background:#f9fcff;border-color:#75b6ff}
.quick-icon{width:49px;height:49px;flex:none;background:linear-gradient(155deg,#eff6ff,#dbeafe);color:#0752d1;border-radius:12px}
.quick-icon svg{width:31px;height:31px;stroke-width:1.65}
.quick-card strong{font-size:.93rem;letter-spacing:-.017em;color:#082254}
.quick-card small{font-size:.80rem;color:#547096;line-height:1.35}
/* Devis / pneus : surface la plus importante de la page */
.atelier-start{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px;margin-top:35px;align-items:stretch}
.atelier-start-card{border-radius:19px;padding:clamp(21px,2.25vw,30px);box-shadow:var(--premium-shadow);min-width:0}
.atelier-start h2{font-size:clamp(1.68rem,2.25vw,2.25rem);font-weight:800;letter-spacing:-.049em;line-height:1.11;margin-bottom:8px}
.atelier-service-picker{background:radial-gradient(ellipse at 90% 0%,#153d76 0%,transparent 51%),linear-gradient(135deg,#071f4b,#061a3e 85%);border:1px solid #0e3c79;color:#fff}
.atelier-service-picker>p:first-of-type{font-size:.92rem;line-height:1.48;max-width:450px;margin-bottom:19px}
.atelier-service-picker .atelier-service-emblem{color:#42bafa;opacity:.7;width:46px;height:46px}
#atelier-preparation legend{font-size:.88rem;margin-bottom:11px}
.atelier-service-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.atelier-service-choice{min-height:92px;display:flex;flex-direction:column;justify-content:center;text-align:center;align-items:center;gap:6px;padding:12px 6px;border:1px solid #4d78ad;border-radius:11px;background:linear-gradient(145deg,#153b70cc,#092553aa);color:#fff;font-size:.81rem;font-weight:650;line-height:1.22;box-shadow:inset 0 0 0 1px #ffffff08;transition:border-color .2s,transform .2s,background .2s}
.atelier-service-choice:hover,.atelier-service-choice:focus-within{border-color:#18a8ff;background:linear-gradient(140deg,#245b9d,#0b306b);transform:translateY(-2px)}
.atelier-service-choice:has(input:checked){background:linear-gradient(145deg,#e8f5ff,#c5e4ff);border:2px solid #54beff;color:#062c67}
.atelier-service-icon{width:40px;height:40px;display:block;flex:none;color:#ecf7ff;background:transparent;padding:1px;border-radius:0}
.atelier-service-icon .icon-accent{stroke:#76cbff}
.atelier-service-choice:has(input:checked) .atelier-service-icon{background:transparent;color:#0351c9}
.atelier-service-label{display:block;max-width:100%;text-wrap:balance}
.atelier-service-more summary{color:#d5efff;font-size:.89rem;font-weight:700}
.atelier-service-more[open] .atelier-service-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.atelier-service-actions{margin-top:21px;gap:11px 17px}
.atelier-service-actions .btn{min-height:48px;color:#072a79;border:0;background:linear-gradient(120deg,#f8fbff,#d7e8ff);padding-inline:18px}
.atelier-service-actions .btn:disabled{opacity:.56;box-shadow:none}
.atelier-service-actions a{color:#dcecff;font-size:.84rem}
.atelier-service-picker .atelier-service-note{font-size:.79rem;color:#b7c9ea;margin:16px 0 0}
.atelier-tyres{background:linear-gradient(130deg,#f7faff,#e9f3ff);border:1px solid #bcd8ff;color:#0b285d;padding:clamp(19px,2vw,26px);box-shadow:var(--premium-shadow)}
.atelier-tyres h2{color:#082860}
.atelier-tyres>p{color:#526b8e;font-size:.91rem;margin:0 0 14px}
.atelier-wheel{background:linear-gradient(#e8f4ff,#f6fbff);border-radius:11px 11px 0 0;aspect-ratio:574/194;container-type:inline-size;margin:0;overflow:hidden;box-shadow:inset 0 0 0 1px #bdd7ff}
.atelier-wheel img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
/* Les numéros sont déjà dessinés sur le visuel validé ; leurs zones restent cliquables. */
.atelier-tyre-marker{left:var(--marker-x);top:var(--marker-y);width:13cqw;height:35cqw;max-height:85px;transform:translate(-50%,-12%);opacity:0;min-width:0;padding:0;z-index:2;border-radius:50%;background:transparent;cursor:pointer}
.atelier-tyre-marker:focus-visible{opacity:1;outline:2px solid #005dfd;outline-offset:-2px}
.atelier-tyre-marker .atelier-marker-id,.atelier-tyre-marker .atelier-marker-code,.atelier-tyre-marker .atelier-tyre-slash{display:none}
.atelier-tyre-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0;padding:17px 0 13px;border-top:1px solid #c4d8f5}
.atelier-tyre-fields label{font-size:.79rem;font-weight:700;min-width:0}
.atelier-field-title{display:flex;align-items:center;gap:6px;color:#08295f;white-space:nowrap;font-size:.78rem}
.atelier-field-title>span{flex:none;width:22px;height:22px;font-size:.72rem;font-weight:850;background:linear-gradient(150deg,#006dff,#093cba);box-shadow:0 1px 3px #184a9d25}
.atelier-tyre-fields input{width:100%;min-height:44px;margin-top:7px;padding:9px 10px;font-size:1rem;font-weight:700;color:#0c2759;background:#fff;border:1px solid #bfd3f5;border-radius:8px;box-shadow:0 1px 2px #092d8510}
.atelier-tyre-fields input::placeholder{color:#48618c;opacity:.9}
.atelier-tyre-fields input:focus{border-color:#0e6aff;outline:2px solid #b4d9ff}
.atelier-tyre-bottom{padding:12px 0 0;border-top:1px solid #bfd4f5;gap:12px}
.atelier-tyre-bottom>div{gap:3px}
.atelier-tyre-bottom output{font-size:1rem;font-weight:840;color:#052b74}
.atelier-tyre-bottom>div span{font-size:.77rem}
.atelier-tyre-bottom .btn{min-height:47px;padding:11px 17px;font-size:.88rem;white-space:nowrap}
.atelier-tyres .atelier-tyre-note{font-size:.75rem;line-height:1.45;color:#516c94;margin:10px 0 0}
/* Pages secondaires : préserver la structure existante tout en harmonisant la finition */
.home-services{padding-top:51px}
.home-section-title h2{color:#09285f;font-size:2.25rem}
.service-card{border:1px solid #d3e2f9;background:#f7faff;border-radius:15px;padding:19px;box-shadow:0 4px 15px #092b7510;transition:transform .2s,border-color .2s,box-shadow .2s}
.service-card:hover{background:#eff6ff;border-color:#87b6ff;transform:translateY(-3px);box-shadow:0 11px 25px #08388d1f}
.service-icon{width:48px;height:48px;background:linear-gradient(160deg,#e8f3ff,#d1e6ff);border-radius:11px;color:#1252bb}
.service-icon svg{width:34px;height:34px}
.service-cta{color:#0355c8!important}
.home-process{background:linear-gradient(120deg,#051632,#092a60);border-top:0}
.process-grid>div{border-color:#31b2fb}
.home-contact h2{color:#0a2b68}
.acd-inner{border-radius:15px}
.page .panel,.page .formbox,.page .aside{border-radius:13px}
.page .btn{border-radius:9px}
.footer-navigation a:hover,.page a:hover{color:#075ae8}
@media(max-width:1250px){
 .nav .links{gap:14px}.brand-motto{font-size:.73rem;max-width:198px}
 .atelier-service-options{gap:7px}.atelier-service-choice{min-height:82px;font-size:.75rem}
 .atelier-service-icon{width:36px;height:36px}
 .atelier-tyre-fields{gap:6px}.atelier-field-title{font-size:.73rem;gap:4px}
}
@media(max-width:1060px){
 .home-hero h1{max-width:660px;font-size:clamp(2.1rem,4.2vw,3rem)}
 .home-hero:before{background:linear-gradient(90deg,#061b43 0%,#061b43 26%,#0c285ee6 54%,#0c285e52 100%)}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .atelier-start{grid-template-columns:1fr;gap:17px}
 .atelier-start-card{max-width:100%}
 .atelier-tyres{max-width:none}
 .atelier-tyre-fields{grid-template-columns:repeat(5,minmax(0,1fr))}
 .atelier-service-picker .atelier-service-options{grid-template-columns:repeat(3,minmax(0,1fr))}
 .atelier-service-picker .atelier-service-more .atelier-service-options{grid-template-columns:repeat(3,minmax(0,1fr))}
 .atelier-service-choice{min-height:86px}
}
@media(max-width:900px){
 .nav .links>a:not(.btn){display:none}
 .nav .brand-logo{width:129px;height:62px}
 .brand-motto{max-width:192px}
 .nav{min-height:76px}
 .hero-photo{width:76%;object-position:48% 45%}
 .hero-trust span{font-size:.75rem;max-width:170px}
}
@media(max-width:700px){
 .container,.nav{width:calc(100% - 32px)}
 .nav{gap:8px;min-height:75px}
 .nav .brand{gap:9px}
 .nav .brand-logo{width:107px;height:54px}
 .history-seal{width:45px;height:45px;border-width:2px}
 .history-seal b{font-size:15px}.history-seal small,.history-seal i{font-size:6px}
 .brand-motto{font-size:.68rem;max-width:135px;padding-left:9px}
 .nav .links .btn{font-size:.78rem;min-height:40px;padding:10px}
 .home-hero{min-height:520px}
 .hero-photo{width:100%;height:60%;top:auto;bottom:0;object-position:66% 25%;filter:brightness(.88)}
 .home-hero:before{background:linear-gradient(180deg,#061b43 0%,#09275bf5 43%,#09275bdc 63%,#09275b44 100%)}
 .hero-inner{min-height:520px;padding:30px 0 188px;justify-content:flex-start}
 .home-hero h1{font-size:clamp(2.0rem,7.4vw,2.95rem);line-height:1.07;max-width:620px}
 .hero-description{max-width:540px;font-size:.9rem;line-height:1.45;margin-bottom:13px}
 .hero-trust{margin-bottom:15px;gap:6px 0}
 .hero-trust span{font-size:.72rem;gap:5px;margin-right:10px;padding-right:10px;max-width:155px}
 .hero-trust svg{width:20px;height:20px}
 .hero-inner .actions .btn{padding:9px 13px;min-height:41px;font-size:.80rem}
 .quick-grid{margin-top:-25px;gap:10px}
 .quick-card{min-height:73px;padding:10px;gap:8px;border-radius:12px}
 .quick-icon{width:38px;height:38px}.quick-icon svg{width:26px;height:26px}
 .quick-card strong{font-size:.78rem}.quick-card small{font-size:.70rem}
 .atelier-start{margin-top:24px}
 .atelier-start-card{padding:21px;border-radius:15px}
 .atelier-start h2{font-size:clamp(1.55rem,5vw,1.9rem)}
 .atelier-tyre-fields{grid-template-columns:repeat(5,minmax(0,1fr))}
 .atelier-tyre-fields label{font-size:.68rem}
 .atelier-field-title{font-size:.68rem;flex-wrap:wrap;gap:3px}
 .atelier-field-title>span{width:18px;height:18px;font-size:.60rem}
 .atelier-tyre-fields input{min-height:39px;font-size:.87rem;padding:7px 5px}
 .atelier-tyre-bottom{align-items:stretch}
 .atelier-tyre-bottom .btn{width:100%;justify-content:center}
}
@media(max-width:500px){
 .nav{flex-wrap:nowrap;justify-content:space-between;gap:5px;padding:7px 0}
 .nav .brand-logo{width:98px;height:52px}
 .nav .brand{gap:7px}
 .brand-motto{display:none}
 .nav .links .btn{font-size:.72rem;padding:10px 8px}
 .history-seal{width:44px;height:44px}
 .hero-inner{min-height:550px;padding-top:27px;padding-bottom:200px}
 .home-hero{min-height:550px}
 .home-hero h1{font-size:clamp(1.95rem,8.2vw,2.48rem)}
 .hero-location{font-size:.72rem;margin-bottom:9px}
 .hero-description{font-size:.86rem}
 .hero-trust{font-size:.68rem}
 .hero-trust span{max-width:143px;padding-right:6px;margin-right:6px}
 .hero-trust span:last-child{display:none}
 .hero-photo{height:54%;object-position:66% 22%}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .quick-card{padding:10px 8px;gap:6px;min-height:71px}
 .quick-card strong{font-size:.73rem}.quick-card small{font-size:.66rem}
 .quick-icon{width:31px;height:34px;border-radius:7px}.quick-icon svg{width:23px;height:23px}
 .atelier-service-options,.atelier-service-picker .atelier-service-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .atelier-service-picker .atelier-service-more .atelier-service-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 .atelier-service-choice{min-height:70px;flex-direction:row;text-align:left;justify-content:flex-start;font-size:.77rem;padding:9px 8px}
 .atelier-service-icon{width:32px;height:32px}
 .atelier-tyres{padding:15px}
 .atelier-wheel{border-radius:8px 8px 0 0}
 .atelier-tyre-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 8px}
 .atelier-tyre-fields label{font-size:.78rem}
 .atelier-field-title{font-size:.78rem;flex-wrap:nowrap}
 .atelier-tyre-fields input{font-size:.92rem;min-height:44px;padding:8px}
 .home-section-title h2{font-size:1.75rem}
}
@media(max-width:360px){
 .nav .brand-logo{width:90px;height:48px}.history-seal{width:39px;height:39px}
 .nav .links .btn{font-size:.66rem}
 .hero-trust{display:none}
 .home-hero h1{font-size:1.87rem}
 .hero-inner .actions{gap:8px}.hero-inner .actions .btn{font-size:.76rem;padding:9px}
 .quick-icon{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
