/*
Theme Name: Matériel Arrosage — jardins irrigués
Version: 1.0
*/
:root{--ink:#193747;--blue:#00688b;--sky:#eef8fc;--line:#bdd3de;--green:#416144;--yellow:#f6d667}*{box-sizing:border-box}html{scroll-behavior:smooth;overflow-x:clip}body{margin:0;background:#fff;color:var(--ink);font:17px/1.65 Arial,sans-serif;min-height:100vh;display:flex;flex-direction:column}main{flex:1;min-width:0}a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:4px}a:hover{text-decoration:underline}h1,h2,h3{font-family:'Trebuchet MS',sans-serif;line-height:1.12;letter-spacing:-.035em;margin:0 0 22px;text-wrap:balance}h1{font-size:clamp(34px,4vw,57px)}h2{font-size:34px}h3{font-size:25px}p{margin:0 0 20px}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}button,a.cta,a.outline{cursor:pointer}button,.cta{background:var(--blue);color:#fff;border:1px solid var(--blue);border-radius:7px;padding:13px 20px;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:47px;line-height:1.25}.outline{display:inline-flex;justify-content:center;align-items:center;border:1px solid var(--blue);border-radius:7px;min-height:47px;padding:10px 18px;line-height:1.3;font-weight:700;text-decoration:none;background:white;color:var(--blue)}button:hover,.cta:hover{background:#004f6a;color:#fff}.outline:hover{background:var(--sky)}:focus-visible{outline:3px solid #a96e00;outline-offset:4px}.site-header{height:93px;padding:0 clamp(20px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:2px solid var(--blue);background:white;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:10px;text-decoration:none!important;color:var(--ink);line-height:1.1;white-space:nowrap;font-size:18px}.brand b{font-size:24px}.site-header nav{display:flex;align-items:center;gap:27px}.site-header nav>a{font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}.site-header nav>a:not(.cta){color:var(--ink);padding:12px 0}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:1.07fr 1fr;gap:20px;align-items:center;padding:50px clamp(24px,4.8vw,72px);min-height:calc(100svh - 93px);max-height:1000px;background:linear-gradient(155deg,#fff 50%,var(--sky) 50%)}.hero-copy{max-width:690px}.context-line{font-size:16px;font-weight:700;color:var(--blue);margin-bottom:19px}.lede{font-family:Georgia,serif;font-size:22px;line-height:1.5;max-width:760px}.hero h1{font-size:clamp(36px,4vw,59px);margin-bottom:24px}.hero .lede{font-size:20px;max-width:580px}.hero-scene{align-self:center}.garden{width:100%;display:block}.water{animation:flow 2s linear infinite}.spray{transform-box:fill-box;transform-origin:center;animation:spray 4s ease-in-out infinite}.scene-key{display:flex;gap:22px;justify-content:center;font-size:13px}.scene-key span:before{content:'';width:8px;height:8px;display:inline-block;border-radius:50%;margin-right:8px;background:var(--blue)}.scene-key span:nth-child(2):before{background:var(--green)}.scene-key span:nth-child(3):before{background:var(--yellow)}.search{display:grid;grid-template-columns:1fr 1.1fr;gap:10px;background:white;border:1px solid var(--line);padding:17px;border-radius:12px;margin:26px 0 20px;box-shadow:0 12px 25px #163c4c0b}.search label{font-size:13px;font-weight:700}.search button{grid-column:1/-1;width:100%}input,select,textarea{display:block;background:white;border:1px solid #8da8b7;border-radius:5px;padding:11px 12px;width:100%;min-width:0;color:var(--ink);line-height:1.4;margin-top:6px}textarea{resize:vertical}label{display:block}input[type=checkbox]{width:19px;height:19px;flex:none;margin-top:4px;accent-color:var(--blue)}.source-line{font-size:13px;line-height:1.6;color:#486471}.territory{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center;padding:80px max(6vw,24px);background:var(--sky)}.territory>div{max-width:470px}.france-map{width:100%;max-height:520px}.small,.map-note,small{font-size:13px}.section{padding:65px max(6vw,24px)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:35px}.section-head h2{margin-bottom:0}.section-head .context-line{margin-bottom:10px}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.post-card{border-bottom:2px solid var(--line);padding-bottom:25px;min-width:0}.post-card img{width:100%;height:220px;object-fit:cover;border-radius:18px 18px 3px 3px;display:block}.post-card>div{padding-top:18px}.post-card h2{font-size:24px;margin:12px 0}.post-card h2 a{text-decoration:none;color:var(--ink)}.post-card p{font-size:15px}.reading{width:min(850px,calc(100% - 48px));margin:64px auto 80px}.reading p{line-height:1.8}.reading h2,.reading h3{margin-top:38px}.site-footer{background:var(--sky);border-top:1px solid var(--line);padding:35px max(6vw,24px);display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-top:auto}.site-footer p{font-size:14px;margin:6px 0}.site-footer nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px 24px;align-content:start}.site-footer a{font-size:13px}.site-footer small{grid-column:1/-1}.page-intro{padding:46px max(6vw,24px);min-height:250px;background:var(--sky);border-bottom:1px solid var(--line)}.page-intro h1{max-width:1050px}.crumb{font-size:13px}.pro-list{display:grid;grid-template-columns:1fr 1fr;gap:22px}.pro-card{padding:27px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.pro-card h2{font-size:23px;margin:14px 0}.pro-card p{margin-bottom:5px}.pro-card .outline{font-size:13px;flex-shrink:0}.pill{color:white;background:var(--blue);font-size:12px;font-weight:700;display:inline-block;padding:5px 10px;border-radius:30px}.map{height:345px;border:1px solid var(--line);border-radius:14px}.map-note{margin:8px 0 32px}.pro-detail{display:grid;grid-template-columns:1fr 1.1fr;gap:60px}.pro-detail .map{height:420px}.identity dl{display:grid;grid-template-columns:1fr 1fr;margin:25px 0}.identity dt,.identity dd{padding:12px 0;margin:0;border-bottom:1px solid var(--line)}.identity dt{font-size:14px}.identity dd{font-weight:700}.identity p{font-size:15px}.empty{background:var(--sky);padding:45px;border-radius:15px;margin-top:30px}.ticker{white-space:nowrap;overflow:hidden;background:var(--blue);color:white;padding:14px 20px;border-radius:6px;word-spacing:7px;animation:ticker 12s ease-in-out infinite}.rubriques{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0 38px}.rubriques a{font-size:14px;text-decoration:none;padding:7px 15px;background:var(--sky);border:1px solid var(--line);border-radius:5px}.pagination{display:flex;justify-content:space-between;margin-top:40px}.article-heading{padding:42px max(6vw,24px) 25px;background:var(--sky);min-height:250px}.article-heading h1{max-width:1000px;font-size:clamp(32px,3.3vw,48px)}.article-heading p{font-size:14px}.article-layout{display:grid;grid-template-columns:minmax(0,780px) minmax(250px,340px);gap:56px;padding:45px max(6vw,24px) 75px;justify-content:center}.article-body{min-width:0;overflow-wrap:anywhere}.article-image{width:100%;max-height:360px;object-fit:cover;border-radius:12px;margin-bottom:30px}.article-content{line-height:1.85}.article-content h2{font-size:31px;margin:35px 0 20px}.article-content h3{font-size:24px;margin-top:28px}.article-content img{display:block;margin:28px auto;max-height:450px;object-fit:contain}.article-content table{width:100%;border-collapse:collapse;font-size:14px}.article-content td,.article-content th{padding:9px;border:1px solid var(--line)}.article-sidebar{min-width:0;align-self:stretch}.article-sidebar .sticky{position:sticky;top:22px}.article-sidebar h2{font-size:22px}.article-sidebar nav a{display:block;font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:3px 0}.sidebar-search{margin-top:25px;background:var(--sky);padding:22px;border-radius:12px}.sidebar-search .search{grid-template-columns:1fr;padding:0;border:0;background:none;box-shadow:none;margin:0}.fact{font-size:14px;margin-top:25px}.article-extra{margin:45px 0}.article-extra h2{font-size:27px}details{border-bottom:1px solid var(--line);padding:15px 0}summary{cursor:pointer;font-weight:700}details p{margin:15px 0}.author-box{display:flex;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:30px}.author-box img,.team img{border-radius:50%;object-fit:cover;aspect-ratio:1;flex:none;width:70px;height:70px}.author-box h2{font-size:22px;margin-bottom:8px}.author-box p{font-size:14px;margin:0}.article-cta{background:var(--sky);padding:30px;border-radius:15px;margin-top:35px}.contact-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:60px}.contact-layout>div:first-child{max-width:460px}.lead-form label{font-size:14px;font-weight:700;margin-bottom:18px}.lead-form .consent{display:flex;gap:12px;font-size:12px;font-weight:400;line-height:1.5}.lead-form .form-buttons{display:flex;gap:14px;justify-content:space-between}.form-buttons [data-back]{background:white;color:var(--blue)}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.trap{position:absolute;left:-10000px;top:0}.form-result{font-size:15px;margin:15px 0 0;color:var(--blue)}.tunnel-layout{min-height:calc(100svh - 93px);height:calc(100svh - 93px);display:grid;grid-template-columns:.9fr 1.1fr;gap:50px;padding:38px max(6vw,24px);background:var(--sky)}.tunnel-layout aside{align-self:center;max-width:440px}.tunnel-layout h1{font-size:42px}.tunnel-layout aside>p{font-size:16px}.tunnel-layout .garden{max-height:240px}.tunnel-layout .trust{font-size:13px;margin:20px 0 0}.tunnel-card{display:flex;background:#fff;border:1px solid var(--line);border-radius:24px;padding:35px;min-width:0;align-items:stretch}.tunnel-card .lead-form{width:100%;display:flex;flex-direction:column;justify-content:space-between}.progress{display:flex;gap:10px;justify-content:space-between;padding-bottom:23px;border-bottom:1px solid var(--line);font-size:13px;color:#435c68}.progress span{padding:7px}.progress .current{background:var(--blue);color:white;border-radius:5px}.tunnel-card [data-step]{margin:auto 0;padding:20px 0}.tunnel-card h2{font-size:32px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:27px 0}.choices button{background:var(--sky);color:var(--ink);border-color:var(--line);min-height:95px;padding:18px;text-align:left}.choices button:hover{border-color:var(--blue);background:#dceef7}.hint{font-size:13px}.team{display:grid;grid-template-columns:repeat(3,1fr);gap:45px}.team img{width:112px;height:112px}.team h2{margin-top:20px;font-size:27px}.calculator{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:30px;background:var(--sky);border-radius:16px}.calculator output{grid-column:1/-1;font-size:35px;font-weight:700;color:var(--blue)}.calculator p{grid-column:1/-1;font-size:14px;margin:0}.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip{position:absolute;top:-100px;left:12px;background:white;z-index:100}.skip:focus{top:10px}[hidden]{display:none!important}@keyframes flow{to{stroke-dashoffset:-38}}@keyframes spray{50%{opacity:.5;transform:scale(.93)}}@keyframes ticker{50%{word-spacing:10px}}
@media(max-height:800px) and (min-width:981px){.hero{padding-top:30px;padding-bottom:25px}.hero h1{font-size:47px}.hero .lede{font-size:18px}.hero .search{margin:20px 0 12px}.tunnel-layout{padding:22px 5vw}.tunnel-layout .garden{display:none}.tunnel-layout h1{font-size:35px}.tunnel-card{padding:23px}.choices button{min-height:77px}.tunnel-card [data-step]{padding:10px 0}.tunnel-card h2{font-size:28px}}
@media(max-width:1100px){.site-header{padding:0 24px}.site-header nav{gap:16px}.site-header nav>a{font-size:12px}.article-layout{gap:35px}.hero h1{font-size:46px}}
@media(max-width:980px){.site-header{height:78px}.brand{font-size:15px}.brand b{font-size:21px}.brand img{width:42px;height:42px}.menu-toggle{display:block;padding:8px 15px;font-size:14px;min-height:42px}.site-header nav{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;padding:22px;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #19374715}.site-header nav.open{display:flex;flex-direction:column;align-items:stretch}.site-header nav>a{font-size:16px}.hero{grid-template-columns:1fr;min-height:calc(100svh - 78px);max-height:none;padding:35px 25px;background:linear-gradient(140deg,white 55%,var(--sky) 55%)}.hero-copy{max-width:720px}.hero-scene{display:none}.hero h1{font-size:42px;max-width:660px}.hero .lede{font-size:19px}.territory{gap:30px;padding:50px 25px}.post-grid{grid-template-columns:1fr 1fr}.pro-list{grid-template-columns:1fr}.article-layout{grid-template-columns:1fr}.article-sidebar{display:none}.pro-detail{grid-template-columns:1fr;gap:25px}.tunnel-layout{height:calc(100svh - 78px);min-height:0;display:block;padding:22px}.tunnel-layout aside{display:none}.tunnel-card{height:100%;padding:25px}.tunnel-card .lead-form{max-width:700px;margin:0 auto}.contact-layout{gap:30px}.team{grid-template-columns:1fr 1fr}}
@media(max-width:600px){body{font-size:16px}.site-header{padding:0 19px}.hero{padding:29px 22px;align-items:start}.hero h1{font-size:36px;margin-bottom:19px}.hero .lede{font-size:18px;line-height:1.5}.context-line{font-size:13px;margin-bottom:17px}.hero .search{margin:25px 0 16px}.search{padding:14px;gap:10px;grid-template-columns:1fr}.search input,.search select{padding:10px}.source-line{font-size:12px}.territory{grid-template-columns:1fr;gap:20px}.territory .france-map{max-height:370px}.section{padding:42px 22px}.section-head{align-items:start;flex-direction:column}.section-head h2,h2{font-size:28px}.post-grid{grid-template-columns:1fr;gap:32px}.post-card img{height:215px}.reading{width:calc(100% - 44px);margin:40px auto 55px}.site-footer{padding:30px 22px;grid-template-columns:1fr}.site-footer nav{justify-content:start;gap:12px 20px}.site-footer small{grid-column:auto}.page-intro{padding:30px 22px;min-height:250px}.page-intro h1{font-size:33px;overflow-wrap:anywhere}.lede{font-size:19px}.pro-card{align-items:start;flex-direction:column;gap:18px}.pro-card h2{font-size:24px}.map{height:280px}.pro-detail .map{height:300px}.identity dl{gap:0 10px}.identity dd{font-size:14px;overflow-wrap:anywhere}.contact-layout{grid-template-columns:1fr}.two-fields{grid-template-columns:1fr;gap:0}.team{grid-template-columns:1fr}.article-layout{padding:25px 22px 50px}.article-heading{padding:30px 22px 20px}.article-heading h1{font-size:33px}.article-content h2{font-size:27px}.article-image{max-height:240px}.author-box{align-items:start}.author-box img{width:58px;height:58px}.author-box h2{font-size:20px}.tunnel-layout{padding:15px}.tunnel-card{padding:19px;border-radius:17px}.tunnel-card h2{font-size:27px}.tunnel-card .progress{font-size:11px;gap:0;padding-bottom:13px}.tunnel-card .progress span{padding:7px 5px}.tunnel-card [data-step]{padding:14px 0}.choices{gap:12px;margin:23px 0}.choices button{min-height:105px;font-size:16px;padding:14px}.tunnel-card .lead-form label{margin-bottom:12px}.tunnel-card .consent{font-size:11px}.form-buttons button{font-size:14px;padding:12px}.calculator{grid-template-columns:1fr;padding:22px}.calculator output,.calculator p{grid-column:auto}.calculator output{font-size:28px}}
@media(max-height:760px) and (max-width:600px){.hero{padding-top:22px;padding-bottom:22px}.hero h1{font-size:31px}.hero .lede{font-size:17px}.hero .search{margin:18px 0 12px}.hero .context-line{margin-bottom:12px}.tunnel-card h2{font-size:25px;margin-bottom:14px}.tunnel-card textarea{height:85px}.tunnel-card [data-step]{padding:10px 0}.tunnel-card .progress{padding-bottom:10px}.choices button{min-height:85px}.tunnel-card input{padding:9px}.form-result{font-size:12px;margin-top:8px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

.sb-srcbox{background:var(--sky);border-left:3px solid var(--blue);padding:22px;margin:35px 0}.sb-sources{list-style:none;padding:0!important;display:grid;gap:10px}.sb-sources a{display:block;background:#fff;border:1px solid var(--line);padding:14px;border-radius:6px;text-decoration:none}.src-t,.src-m{display:block}.src-m{font-size:12px;color:#486471}.sb-src-note{font-size:14px}.article-sidebar .tall{position:static;min-height:100%}.article-sidebar .tall .sidebar-search{position:sticky;top:96px}.crumb{margin-bottom:20px}.tunnel-card .lead-form{position:relative}.map .leaflet-control-attribution{font-size:10px}

.request-note{font-size:12px;line-height:1.45;color:#486471;margin:17px 0 0}.tunnel-card .request-note{font-size:11px}.ticker{animation:none}.ticker-track{display:flex;gap:45px;width:max-content;animation:newsflow 45s linear infinite}.ticker-track a{white-space:nowrap;color:#fff;text-decoration:none;font-size:15px}.ticker:hover .ticker-track,.ticker:focus-within .ticker-track{animation-play-state:paused}@keyframes newsflow{to{transform:translateX(-35%)}}.journal-grid .post-card:first-child{grid-column:span 2}.journal-grid .post-card:first-child img{height:360px}.journal-grid .post-card:first-child h2{font-size:34px}.section>.search{grid-template-columns:1fr 1fr auto}.section>.search button{grid-column:auto;align-self:end}.section:has(>.map){padding-top:35px}@media(max-width:600px){.journal-grid .post-card:first-child{grid-column:auto}.journal-grid .post-card:first-child img{height:240px}.journal-grid .post-card:first-child h2{font-size:27px}.section>.search{grid-template-columns:1fr}.section>.search button{grid-column:1/-1}.request-note{font-size:11px}.tunnel-card .request-note{font-size:10px;margin-top:10px}}

.calculator-request{margin:28px 0 42px;padding:clamp(18px,3vw,32px);border:1px solid var(--line);border-radius:24px;background:#f1f7fa}.calculator-request h2{margin-top:0}

.territory-facts{margin:34px 0;padding:28px;background:#eef8fc;border-radius:24px}.territory-facts p{max-width:82ch}.commune-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px;margin-top:24px}.commune-cards a{display:flex;justify-content:space-between;gap:12px;padding:16px;background:white;border:1px solid #94adba;border-radius:12px;text-decoration:none}.commune-cards span{white-space:nowrap;font-size:14px}

.lecture-encadre{margin:28px 0;padding:24px 28px;border-left:4px solid var(--blue);background:#f1f7fa;border-radius:0 14px 14px 0}.lecture-encadre p:last-child{margin-bottom:0}.repere-infographie{margin:40px 0;padding:26px;background:#eef8fc;border:1px solid var(--line);border-radius:20px}.repere-infographie svg{display:block;width:100%;height:auto}.repere-infographie p{font-size:14px;margin-bottom:0}

.image-credit{font-size:12px;line-height:1.5;margin:-15px 0 32px;color:#486471}

.article-sidebar .sticky{display:flex;flex-direction:column}.article-sidebar .sidebar-search{order:-1;margin:0 0 24px}

.more-articles{margin:35px 0;text-align:center}.more-articles p{font-size:14px;margin-top:12px}
