/*
Theme Name: L'Epicerie de Nanie - Base44 Style
Theme URI: https://epiceriedenanie.fr/
Author: L'Epicerie de Nanie
Description: Theme WordPress sur mesure, chaleureux et moderne, inspire de la direction visuelle du site vitrine Base44 de L'Epicerie de Nanie.
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: epicerie-nanie
*/
:root{
 --bg:#f8f5ed;--paper:#fffdf8;--paper2:#f0eadc;--sage:#dce6d7;--green:#536b4d;--deep:#243b2f;--ink:#263029;--muted:#6d766e;--line:#e2dccd;--accent:#cda46a;--white:#fff;--shadow:0 18px 55px rgba(39,53,43,.11);--radius:30px
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{text-decoration:none;color:inherit}img{display:block;max-width:100%}.container{width:min(1180px,calc(100% - 40px));margin:auto}
.announcement{background:var(--deep);color:#eff4ef;font-size:13px}.announcement-inner{min-height:39px;display:flex;align-items:center;justify-content:center;gap:18px;text-align:center}.announcement a{text-decoration:underline;text-underline-offset:3px}
.site-header{position:sticky;top:0;z-index:50;background:rgba(248,245,237,.91);backdrop-filter:blur(18px);border-bottom:1px solid rgba(92,106,93,.12)}.header-inner{min-height:86px;display:flex;align-items:center;gap:30px}.site-brand{display:flex;align-items:center;gap:13px;min-width:max-content}.brand-seal{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-family:Georgia,serif;font-size:28px;font-style:italic;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.brand-text strong{display:block;font-family:Georgia,serif;font-size:24px;line-height:1}.brand-text small{display:block;margin-top:5px;font-size:10px;letter-spacing:2.1px;text-transform:uppercase;color:#778077}.desktop-nav{margin-left:auto;display:flex;align-items:center;gap:28px;font-size:14px;font-weight:650}.desktop-nav a:not(.nav-cta){position:relative}.desktop-nav a:not(.nav-cta):after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:1px;background:var(--green);transition:.2s}.desktop-nav a:hover:after{right:0}.nav-cta{padding:12px 18px;border-radius:999px;background:var(--green);color:white}.menu-toggle{display:none;margin-left:auto;border:0;background:transparent;font-size:26px;cursor:pointer}
.hero{padding:42px 0 22px}.hero-panel{position:relative;min-height:650px;border-radius:42px;overflow:hidden;background:#d7ded3;box-shadow:var(--shadow)}.hero-panel img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(25,43,33,.86) 0%,rgba(25,43,33,.68) 38%,rgba(25,43,33,.23) 70%,rgba(25,43,33,.08) 100%)}.hero-copy{position:relative;z-index:2;max-width:680px;padding:105px 72px;color:#fff}.kicker{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.28);font-size:11px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase}.kicker.dark{background:var(--sage);border-color:transparent;color:var(--deep)}.hero h1{font-family:Georgia,serif;font-size:clamp(48px,6vw,78px);line-height:1.02;letter-spacing:-1.8px;margin:23px 0 22px;font-weight:500}.hero h1 em{font-weight:400;color:#f0d9b7}.hero p{font-size:18px;color:#edf2ee;max-width:600px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:14px 22px;border:1px solid var(--green);background:var(--green);color:#fff;font-weight:750;font-size:14px;transition:.2s}.button:hover{transform:translateY(-2px);background:var(--deep);border-color:var(--deep)}.button.light{background:#fff;color:var(--deep);border-color:#fff}.button.ghost{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.55);backdrop-filter:blur(8px)}.button.outline{background:transparent;color:var(--deep);border-color:#aeb9ae}
.quick-benefits{margin-top:-4px;padding:0 0 38px}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.benefit{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:20px;display:flex;gap:14px;align-items:center}.benefit-icon{flex:0 0 43px;width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:var(--sage);font-size:20px}.benefit strong,.benefit small{display:block}.benefit strong{font-size:14px}.benefit small{font-size:12px;color:var(--muted);margin-top:2px}
.section{padding:82px 0}.section-head{max-width:760px;margin-bottom:36px}.section-head.center{text-align:center;margin-left:auto;margin-right:auto}.section-head h2,.split-copy h2,.values h2,.store-copy h2,.cta-copy h2{font-family:Georgia,serif;font-size:clamp(36px,4.5vw,58px);font-weight:500;line-height:1.08;letter-spacing:-1px;margin:15px 0 15px}.section-head p,.split-copy p,.store-copy p{color:var(--muted)}
.split{display:grid;grid-template-columns:1.04fr .96fr;gap:72px;align-items:center}.image-stack{position:relative;padding:0 34px 34px 0}.image-stack:before{content:"";position:absolute;right:0;bottom:0;width:74%;height:72%;background:var(--sage);border-radius:34px}.image-main{position:relative;border-radius:34px;overflow:hidden;box-shadow:var(--shadow)}.image-main img{height:560px;width:100%;object-fit:cover}.image-badge{position:absolute;right:-3px;bottom:54px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:16px 20px;box-shadow:var(--shadow);min-width:210px}.image-badge strong{display:block;font-family:Georgia,serif;font-size:21px}.image-badge span{font-size:12px;color:var(--muted)}.split-copy .lead{font-size:18px;color:#4e5a51}.mini-checks{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin:24px 0}.mini-checks div{background:var(--paper);border:1px solid var(--line);padding:12px 14px;border-radius:15px;font-size:13px;font-weight:650}
.rayons{background:#eee8dc}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.category-card{background:var(--paper);border:1px solid rgba(81,98,82,.12);border-radius:26px;padding:28px;min-height:235px;position:relative;overflow:hidden;transition:.22s}.category-card:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:var(--sage);opacity:.45;right:-45px;bottom:-45px}.category-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.category-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--sage);font-size:25px}.category-card h3{font-family:Georgia,serif;font-size:25px;margin:21px 0 9px}.category-card p{font-size:14px;color:var(--muted);max-width:90%;margin:0}.category-card .micro{position:absolute;left:28px;bottom:24px;font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:var(--green);font-weight:800}
.values{background:var(--deep);color:#fff}.values-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:72px;align-items:center}.values p{color:#cbd5cd;max-width:530px}.value-list{display:grid;gap:12px}.value{border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);border-radius:20px;padding:18px 20px;display:grid;grid-template-columns:42px 1fr;gap:12px}.value b{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e4d2b5;color:var(--deep);font-family:Georgia,serif}.value strong,.value small{display:block}.value small{color:#b7c4ba;margin-top:3px}
.local{background:var(--bg)}.local-cloud{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:25px}.place-pill{padding:10px 14px;border-radius:999px;background:var(--paper);border:1px solid var(--line);font-size:13px;color:#536057}
.store-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.store-card{background:var(--paper);border:1px solid var(--line);border-radius:30px;padding:38px}.store-card.soft{background:var(--sage);border-color:transparent}.store-copy .address{font-size:18px;color:var(--deep);font-weight:700}.store-copy a{text-decoration:underline;text-underline-offset:3px}.hours{margin-top:8px}.hour{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid rgba(47,64,49,.15);font-size:13px}.hour:last-child{border-bottom:0}.hour b{text-align:right}
.cta{padding:22px 0 82px}.cta-panel{background:linear-gradient(125deg,#50694e,#304535);border-radius:34px;padding:58px 62px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:40px;overflow:hidden;position:relative}.cta-panel:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.13);border-radius:50%;right:-100px;top:-120px}.cta-copy p{color:#dce5dd;max-width:630px}.cta-copy h2{margin-bottom:10px}
.site-footer{background:#1c2d24;color:#dbe4dd;padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:38px}.site-footer h4{color:#fff;margin:2px 0 14px}.site-footer p,.site-footer a{display:block;color:#aebdb2;font-size:13px;margin:7px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:38px;padding-top:18px;display:flex;justify-content:space-between;color:#8fa095;font-size:12px}
.content-page{padding:70px 0}.content-page article{background:var(--paper);border-radius:26px;padding:40px;border:1px solid var(--line)}
@media(max-width:980px){.desktop-nav{position:absolute;left:20px;right:20px;top:78px;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:20px;display:none;flex-direction:column;align-items:stretch;box-shadow:var(--shadow)}.desktop-nav.open{display:flex}.menu-toggle{display:block}.hero-panel{min-height:610px}.hero-copy{padding:78px 45px}.benefit-grid{grid-template-columns:1fr 1fr}.split,.values-grid,.store-grid{grid-template-columns:1fr;gap:42px}.cards{grid-template-columns:1fr 1fr}.image-main img{height:470px}.footer-grid{grid-template-columns:1fr 1fr}.cta-panel{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.container{width:min(100% - 24px,1180px)}.announcement-inner{font-size:11px;min-height:34px}.header-inner{min-height:72px}.brand-seal{width:44px;height:44px;font-size:24px}.brand-text strong{font-size:20px}.hero{padding-top:18px}.hero-panel{min-height:590px;border-radius:28px}.hero-copy{padding:68px 25px}.hero h1{font-size:47px}.hero p{font-size:16px}.actions{flex-direction:column;align-items:flex-start}.benefit-grid,.cards{grid-template-columns:1fr}.benefit{padding:15px}.section{padding:64px 0}.split{gap:30px}.image-stack{padding:0}.image-stack:before{display:none}.image-main{border-radius:25px}.image-main img{height:400px}.image-badge{right:12px;bottom:15px}.mini-checks{grid-template-columns:1fr}.category-card{min-height:210px}.store-card{padding:27px 22px}.cta{padding-bottom:62px}.cta-panel{padding:38px 26px;border-radius:26px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:5px}.hour{font-size:12px}}

/* Pages juridiques */
.content-page{padding:72px 0;background:#f6f1e7;min-height:65vh}.content-page article{max-width:900px;margin:0 auto;background:#fff;padding:clamp(28px,5vw,64px);border-radius:30px;box-shadow:0 18px 50px rgba(42,58,39,.08)}.content-page article h1{font-size:clamp(2.2rem,5vw,4rem);margin:0 0 28px;color:#29452f}.content-page article h2{font-size:1.45rem;margin:34px 0 10px;color:#365c3e}.content-page article p,.content-page article li{line-height:1.75;color:#4e554d}.content-page article a{color:#365c3e;text-decoration:underline}.legal-intro{padding:16px 18px;background:#f4f7ef;border-radius:14px;border-left:4px solid #6f8d68}.footer-cookie-link{display:block;background:none;border:0;padding:0;margin:8px 0 0;color:inherit;font:inherit;cursor:pointer;text-align:left;opacity:.88}.footer-cookie-link:hover{text-decoration:underline}

/* Gestionnaire de cookies */
.nanie-cookie[hidden]{display:none}.nanie-cookie{position:fixed;inset:0;z-index:99999;background:rgba(21,30,21,.48);display:flex;align-items:flex-end;justify-content:center;padding:20px}.nanie-cookie-card{position:relative;width:min(760px,100%);background:#fffdf8;border-radius:28px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.25)}.nanie-cookie-card h2{margin:6px 0 10px;font-size:clamp(1.7rem,4vw,2.5rem);color:#29452f}.nanie-cookie-card p{line-height:1.6;color:#525a51}.cookie-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:30px;cursor:pointer;color:#526052}.cookie-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:22px}.cookie-btn{min-width:150px}.cookie-customize{border:0;background:transparent;text-decoration:underline;cursor:pointer;font-weight:700;color:#365c3e}.cookie-settings{margin-top:22px;border-top:1px solid #dedfd9;padding-top:10px}.cookie-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #ecebe5}.cookie-row div{display:flex;flex-direction:column;gap:4px}.cookie-row small{color:#747b72}.cookie-row input{width:22px;height:22px;accent-color:#486a4d}.cookie-always{font-size:.82rem;background:#edf3e9;padding:7px 10px;border-radius:999px;color:#365c3e;white-space:nowrap}.cookie-save{margin-top:18px}.cookie-more{font-size:.9rem;margin-bottom:0}.cookie-more a{color:#365c3e}@media(max-width:620px){.nanie-cookie{padding:10px}.nanie-cookie-card{padding:24px 18px;border-radius:22px}.cookie-main-actions{display:grid;grid-template-columns:1fr 1fr}.cookie-main-actions .cookie-customize{grid-column:1/-1}.cookie-btn{min-width:0;width:100%}.cookie-row{align-items:flex-start}}
