/*
Theme Name: Lelièvre Motoculture
Description: Site vitrine sur une page, éditable avec Gutenberg.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: lelievre
*/
:root{--forest:#173d2d;--cream:#f7f7f0;--lime:#d7f279}*{box-sizing:border-box}body{margin:0;color:var(--forest);background:var(--cream);font-family:Arial,Helvetica,sans-serif;font-size:17px;line-height:1.65}a{color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #367bd7;outline-offset:5px}img{max-width:100%;height:auto}figure{margin:0}h1,h2,h3{line-height:1.14;letter-spacing:-.035em;font-weight:750}h1{font-size:clamp(45px,6vw,82px);margin:18px 0 25px}h2{font-size:clamp(30px,3.7vw,48px);margin:12px 0 24px}h3{font-size:23px;margin:22px 0 12px}p{margin:0 0 20px}.ll-header{max-width:1250px;margin:auto;padding:22px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px}.ll-header .custom-logo,.ll-logo{display:block;width:235px;height:auto}.ll-phone{text-decoration:none;font-weight:700;white-space:nowrap;font-size:18px}.ll-hero{max-width:1440px;margin:auto;display:grid;grid-template-columns:1fr 1.1fr;align-items:stretch;min-height:540px}.ll-hero-copy{padding:65px max(25px,calc((100vw - 1200px)/2)) 65px 40px;padding-right:40px;max-width:650px;justify-self:end}.ll-hero-copy>p:not(.ll-eyebrow){max-width:440px;color:#506354}.ll-eyebrow{font-size:11px;letter-spacing:.17em;font-weight:700;margin:0 0 16px}.ll-hero-image{min-height:480px}.ll-hero-image figure,.ll-hero-image img{width:100%;height:100%;object-fit:cover}.ll-section{max-width:1250px;margin:auto;padding:75px 25px}.ll-section>p:not(.ll-eyebrow){max-width:700px;color:#58675e}.ll-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:36px}.ll-card{padding:26px;background:#fff;border:1px solid #e4e9de;border-radius:16px;overflow:hidden}.ll-card figure{height:220px}.ll-card img{width:100%;height:100%;object-fit:contain}.ll-card p{font-size:15px;color:#58675e;margin-bottom:0}.ll-partners{padding-top:10px;text-align:center}.ll-brands{display:flex;flex-wrap:wrap;justify-content:center;gap:28px;align-items:center;margin-top:32px}.ll-brands figure{width:130px;height:70px;display:flex;align-items:center;justify-content:center}.ll-brands img{max-height:65px;object-fit:contain}.ll-services{max-width:none;background:var(--forest);color:white;padding:75px max(25px,calc((100vw - 1200px)/2))}.ll-services .ll-eyebrow{color:var(--lime)}.ll-service{border-top:1px solid #668171;padding:18px 0}.ll-service p{color:#dae4dc;font-size:16px}.ll-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:36px}.ll-hours{border-left:1px solid #cdd6c9;padding-left:45px}.wp-block-button__link{background:var(--forest);color:white;border-radius:8px;padding:14px 24px;font-size:16px;font-weight:700;text-decoration:none;display:inline-block}.wp-block-button__link:hover{background:#285b41}.ll-footer{border-top:1px solid #dce1d7;padding:28px 25px;max-width:1250px;margin:auto;display:flex;justify-content:space-between;gap:20px;font-size:13px}.ll-skip{position:absolute;left:20px;top:-100px;padding:12px;background:white;z-index:99999}.ll-skip:focus{top:10px}.ll-standard{max-width:1000px;margin:50px auto;padding:0 24px}.editor-styles-wrapper{font-family:Arial,Helvetica,sans-serif;color:var(--forest);background:var(--cream)}.editor-styles-wrapper .wp-block{max-width:1250px}.editor-styles-wrapper .ll-grid>.wp-block{min-width:0}.editor-styles-wrapper .ll-hero-copy{padding:35px}.editor-styles-wrapper .ll-services{padding:50px 30px}@media(max-width:780px){.ll-hero{grid-template-columns:1fr}.ll-hero-copy{justify-self:stretch;padding:45px 25px;max-width:none}.ll-hero-image{min-height:0;height:340px}.ll-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ll-contact-grid{grid-template-columns:1fr;gap:20px}.ll-hours{border-left:0;border-top:1px solid #cdd6c9;padding:20px 0 0}.ll-section{padding:50px 22px}.ll-services .ll-grid{grid-template-columns:1fr}.ll-card figure{height:180px}}@media(max-width:480px){.ll-header{padding:17px 20px;flex-wrap:wrap}.ll-header .custom-logo,.ll-logo{width:185px}.ll-phone{font-size:15px}.ll-grid{grid-template-columns:1fr}.ll-card figure{height:220px}.ll-footer{flex-direction:column}.ll-hero-image{height:280px}}

/* En-tête : logo agrandi et appel mis en valeur. */
.ll-header .custom-logo,.ll-logo{width:300px;height:auto}
.ll-phone{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--forest);color:#fff;padding:15px 23px;border-radius:9px;font-size:20px;line-height:1.3;box-shadow:0 3px 9px #173d2d12}
.ll-phone:hover{background:#285b41;color:#fff}
.ll-phone-icon{width:24px;height:24px;flex-shrink:0}
@media(max-width:600px){.ll-header{gap:18px;flex-wrap:wrap}.ll-header .custom-logo,.ll-logo{width:230px}.ll-phone{font-size:18px;padding:13px 18px;gap:10px}.ll-phone-icon{width:22px;height:22px}}
@media(max-width:480px){.ll-header{justify-content:center}.ll-header>div{display:flex;justify-content:center;width:100%}}

/* Accueil compact inspiré de la maquette validée. */
.ll-hero{min-height:0;align-items:center;grid-template-columns:1fr 1.1fr}
.ll-hero-copy{padding:30px 38px;justify-self:stretch;max-width:none}
.ll-hero-copy h1{font-size:clamp(42px,4.5vw,64px);line-height:1.02;letter-spacing:-.04em;margin:16px 0 18px}
.ll-hero-copy .ll-eyebrow{font-size:14px;line-height:1.35;letter-spacing:.025em;border-left:5px solid #c7ee54;padding-left:13px;margin:0 0 14px}
.ll-hero-copy>p:not(.ll-eyebrow){font-size:20px;line-height:1.45;max-width:490px;margin:0 0 24px;color:var(--forest)}
.ll-hero-copy .wp-block-button__link{font-size:22px;padding:16px 32px;min-width:245px;text-align:center}
.ll-hero-image{height:420px;min-height:0;align-self:stretch}
.ll-hero-image figure{height:100%;margin:0}
.ll-hero-image img{height:100%;width:100%;object-fit:cover;object-position:50% 60%;display:block}
@media(min-width:781px) and (max-width:1000px){.ll-hero-copy{padding:28px 24px}.ll-hero-copy .ll-eyebrow{font-size:13px}.ll-hero-copy>p:not(.ll-eyebrow){font-size:18px}.ll-hero-image{height:440px}.ll-hero-copy .wp-block-button__link{font-size:20px;min-width:220px}}
@media(max-width:780px){.ll-hero{grid-template-columns:1fr}.ll-hero-copy{padding:32px 24px}.ll-hero-copy h1{font-size:clamp(40px,8vw,56px)}.ll-hero-image{height:310px}.ll-hero-copy>p:not(.ll-eyebrow){font-size:19px}.ll-hero-copy .wp-block-button__link{font-size:20px;min-width:230px}}
@media(max-width:480px){.ll-hero-image{height:260px}.ll-hero-copy .ll-eyebrow{font-size:13px}.ll-hero-copy .wp-block-button__link{max-width:100%;min-width:0;padding:16px 28px}}

/* Version 1.3 : introduction, matériels et partenaires. */
@media(min-width:1001px){.ll-hero-copy{padding-left:76px;padding-right:22px}}
@media(min-width:781px) and (max-width:1000px){.ll-hero-copy{padding-left:40px;padding-right:20px}}
.ll-hero + .ll-section{padding-bottom:32px}
.ll-hero + .ll-section > .ll-eyebrow{display:block;background:var(--forest);color:#fff;font-size:clamp(18px,2vw,25px);line-height:1.35;letter-spacing:.025em;padding:19px 24px;margin:0 0 28px;border-radius:8px;max-width:none}
.ll-grid > .ll-card:nth-child(1) figure{overflow:hidden}
.ll-grid > .ll-card:nth-child(1) figure img{transform:scale(1.25)}
.ll-grid > .ll-card:nth-child(4) figure,.ll-grid > .ll-card:nth-child(5) figure{margin-left:-18px;margin-right:-18px}
.ll-partners{padding-top:16px;padding-bottom:48px}
.ll-partners > .ll-eyebrow{font-size:clamp(20px,2.2vw,28px);line-height:1.3;letter-spacing:.045em;margin-bottom:12px}
.ll-brands{margin-top:16px}
@media(max-width:780px){.ll-hero + .ll-section{padding-bottom:24px}.ll-hero + .ll-section > .ll-eyebrow{padding:16px 18px}.ll-partners{padding-top:12px;padding-bottom:36px}}

/* Prestations et services — 1.4 */
.ll-services.ll-services-v14{padding:0;max-width:none;background:#103d29}
.ll-services-layout{display:grid;grid-template-columns:1.6fr 1fr;max-width:1440px;margin:0 auto;align-items:stretch}
.ll-services-copy{padding:32px 30px;align-self:center;min-width:0}
.ll-services-copy h2{font-size:clamp(25px,2.8vw,39px);line-height:1.15;margin:0 0 30px;padding-left:17px;border-left:6px solid #d9ef36;color:#fff}
.ll-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.ll-services-grid .ll-service{border-top:0;padding:0 20px;margin:0;border-left:1px solid #ffffff70}
.ll-services-grid .ll-service:first-child{padding-left:0;border-left:0}
.ll-services-grid .ll-service:last-child{padding-right:0}
.ll-services-grid h3{display:flex;align-items:center;gap:11px;font-size:20px;line-height:1.2;margin:0 0 12px;color:#fff}
.ll-services-grid h3:before{content:"";display:block;flex:0 0 35px;width:35px;height:35px;background:#d9ef36;mask:var(--ll-service-icon) center/contain no-repeat;-webkit-mask:var(--ll-service-icon) center/contain no-repeat}
.ll-services-grid p{font-size:16px;line-height:1.45;color:#f5f7f0;margin:0}
.ll-workshop-photo{margin:0!important;min-width:0;min-height:320px;height:100%}
.ll-workshop-photo img{display:block;width:100%;height:100%;min-height:320px;object-fit:cover;object-position:62% center}
@media(max-width:1050px){.ll-services-layout{grid-template-columns:1fr}.ll-workshop-photo{height:320px}.ll-workshop-photo img{object-position:center 45%}.ll-services-copy{padding:30px 25px}}
@media(max-width:600px){.ll-services-grid{grid-template-columns:1fr;gap:22px}.ll-services-grid .ll-service{border-left:0;border-top:1px solid #ffffff50;padding:20px 0 0}.ll-services-grid .ll-service:first-child{border-top:0;padding-top:0}.ll-services-copy h2{font-size:28px;margin-bottom:25px}.ll-services-grid h3{font-size:21px}.ll-workshop-photo,.ll-workshop-photo img{min-height:260px;height:260px}}

.ll-service-vente{--ll-service-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l3%2013h12l3-10H6M8%2020h.01M19%2020h.01%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E")}

.ll-service-location{--ll-service-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%221%22%2F%3E%3Cpath%20d%3D%22M7%202v6M17%202v6M3%2011h18M7%2015h2M14%2015h2M7%2018h2%22%2F%3E%3C%2Fsvg%3E")}

.ll-service-entretien{--ll-service-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%206%204%204m-9%204-5%205a2%202%200%200%201-3-3l6-6a6%206%200%200%201%207-8l-3%203%203%203%203-3a6%206%200%200%201-8%207M3%202l3%201%202%203-2%202-3-2-1-3M8%208l13%2013M15%2017l2-2%22%2F%3E%3C%2Fsvg%3E")}
.ll-workshop-photo{position:relative}
.ll-workshop-photo img{position:absolute;inset:0}

/* Horaires, contact et signature — 1.5 */
.ll-contact.ll-contact-v15{max-width:1250px;padding:35px 35px 40px}
.ll-contact-v15>h2{font-size:clamp(30px,3.4vw,43px);line-height:1.15;border-left:6px solid #d9ef36;padding-left:18px;margin:0 0 28px}
.ll-contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:45px}
.ll-contact-v15 h3{font-size:24px;line-height:1.25;display:flex;align-items:center;gap:16px;margin:0 0 18px}
.ll-opening-box{background:#eef0e5;border-radius:14px;padding:20px 25px;margin-left:50px}
.ll-opening-box p{font-size:18px;line-height:1.5;margin:0 0 12px}
.ll-opening-box p:last-child{margin-bottom:0}
.ll-opening-box .ll-closed{font-size:16px;color:#405a46}
.ll-visit{border-left:1px solid #bdc8ba;padding-left:45px}
.ll-contact-v15 .ll-address{margin:0 0 14px 50px;font-size:19px;line-height:1.35}
.ll-contact-phone{display:flex;align-items:center;gap:16px;margin:0 0 16px;font-size:25px;font-weight:800}
.ll-contact-phone a{color:var(--forest);text-decoration:none}
.ll-contact-phone a:hover{text-decoration:underline}
.ll-visit .wp-block-buttons{margin-left:50px}
.ll-directions .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:14px;min-width:240px;padding:12px 24px;font-size:22px;line-height:1.2}
.ll-calendar-heading:before,.ll-pin-heading:before,.ll-contact-phone:before,.ll-directions .wp-block-button__link:before{content:"";display:inline-block;width:34px;height:34px;flex:0 0 34px;background:#326c28;mask:var(--ll-contact-icon) center/contain no-repeat;-webkit-mask:var(--ll-contact-icon) center/contain no-repeat}
.ll-directions .wp-block-button__link:before{background:#fff;width:26px;height:26px;flex-basis:26px}
.ll-footer{max-width:none;display:block;background:#103d29;color:#fff;border:0;padding:22px 30px 16px;text-align:center}
.ll-footer-signature{display:flex;align-items:center;justify-content:center;gap:55px;max-width:1000px;margin:0 auto 15px}
.ll-footer-signature:before,.ll-footer-signature:after{content:"";height:1px;background:#e9eed39c;flex:1}
.ll-footer-brand{line-height:1.05;color:#fff;text-decoration:none;display:flex;flex-direction:column;font-size:29px;font-weight:800}
.ll-footer-brand small{font-size:12px;letter-spacing:4px;font-weight:400;margin-top:5px}
.ll-footer-meta{font-size:12px;color:#e0e9df;display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.ll-footer-meta a{color:inherit}
@media(max-width:700px){.ll-contact-layout{grid-template-columns:1fr;gap:26px}.ll-contact.ll-contact-v15{padding:30px 22px}.ll-visit{border-left:0;border-top:1px solid #bdc8ba;padding:25px 0 0}.ll-opening-box{margin-left:0}.ll-contact-v15 h3{font-size:22px}.ll-footer-signature{gap:24px}.ll-footer-brand{font-size:25px}}
@media(max-width:380px){.ll-contact-v15 .ll-address,.ll-visit .wp-block-buttons{margin-left:0}.ll-directions .wp-block-button__link{min-width:0}.ll-contact-v15 h3{font-size:20px}}

.ll-calendar-heading{--ll-contact-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%202v6M17%202v6M3%2011h18M7%2015h2M14%2015h2M7%2018h2%22%2F%3E%3C%2Fsvg%3E")}

.ll-pin-heading{--ll-contact-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2022s8-9%208-14a8%208%200%200%200-16%200c0%205%208%2014%208%2014Z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E")}

.ll-contact-phone{--ll-contact-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%202%202%205c0%208%209%2017%2017%2017l3-3-6-4-3%203c-3-1-6-4-7-7l3-3Z%22%2F%3E%3C%2Fsvg%3E")}

.ll-directions .wp-block-button__link{--ll-contact-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%202-8%2020-3-9-9-3%2020-8ZM11%2013%2022%202%22%2F%3E%3C%2Fsvg%3E")}
