/*
Theme Name: Terre
Theme URI: https://exemple.com
Author: Jourdan Wilfried
Description: Thème magazine éditorial chaleureux optimisé Google Discover (schema, performance, E-E-A-T, accessibilité). Palette terre & ocre, typographie soignée. Accueil riche à sections activables (hero mosaïque, articles tendances, édito), article optimisé Discover avec partage social et anti-spam, page contact intégrée. Couleurs, polices, textes et sections 100% personnalisables. Léger et rapide.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: terre
Tags: blog, news, magazine, editorial, custom-colors, custom-logo, featured-images, translation-ready, threaded-comments, full-width-template
*/

:root{
  --bg:#f6f4ec;--ink:#1c2620;--ink-soft:#6a7b6f;--ink-light:#9aa89e;
  --line:#e2ded0;--soft:#fffdf7;--accent:#2f6b4f;--accent-2:#234f3b;--accent-soft:#e4eee8;--gold:#c9a23f;--warn:#b4622d;
  --font:'Spectral',Georgia,serif;--font-head:'Bricolage Grotesque',sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html,body{overflow-x:hidden;max-width:100%}
/* Conteneur global (comme Pulse) : englobe header + main + footer.
   Pleine largeur mais confine tout débordement → aucune pub/iframe injectée
   ne peut décaler la mise en page, sur aucune page. */
.shell{width:100%;max-width:100%;overflow-x:hidden;position:relative}
/* Conteneur principal */
main#main{display:block;width:100%;max-width:100%;overflow:hidden}
/* Confinement renforcé : aucune insertion tierce (pub auto, iframe) ne peut élargir la page */
.wrap{position:relative}
.wrap > *{max-width:100%;box-sizing:border-box}
ins.adsbygoogle{max-width:100%!important;overflow:hidden}
body{background:var(--bg);color:var(--ink);font-family:var(--font);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
/* Sécurité : empêche tout contenu tiers injecté (pub, embed) de déborder en largeur */
.wrap > *,main img,main iframe,main video,main embed,main object,.content img,.content iframe{max-width:100%}
.grid,.cats,.rub-grid,.pop-grid,.lead-grid{min-width:0}
.grid > *,.cats > *{min-width:0}
h1,h2,h3{font-weight:800;line-height:1.1;letter-spacing:-.02em}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.wrap{max-width:1180px;margin:0 auto;padding:0 26px}


h1,h2,h3,h4{font-family:var(--font-head);font-weight:800;line-height:1.1;letter-spacing:-.02em;overflow-wrap:break-word;word-wrap:break-word}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* Header */
.head{background:rgba(246,244,236,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.admin-bar .head{top:32px}
@media screen and (max-width:782px){.admin-bar .head{top:46px}}
.head-in{display:flex;align-items:center;justify-content:space-between;padding:18px 26px;max-width:1180px;margin:0 auto}
/* Menu style CENTRÉ : logo au-dessus, nav centré dessous */
.head-center .head-in{flex-direction:column;gap:12px}
.head-center .logo{justify-content:center}
.head-center .nav{justify-content:center}
.head-center .header-search{display:none}
.head-center .burger{position:absolute;left:26px;top:18px}
/* Menu style BARRE COULEUR : fond accent, texte blanc */
.head-color{background:var(--accent);border-bottom:0}
.head-color .logo{color:#fff}
.head-color .logo .d{background:#fff;color:var(--accent)}
.head-color .nav a{color:rgba(255,255,255,.9)}
.head-color .nav a:hover{color:#fff}
.head-color .header-search{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.15)}
.head-color .header-search input{color:#fff}
.head-color .header-search input::placeholder{color:rgba(255,255,255,.7)}
.head-color .header-search button{color:#fff}
.head-color .burger{color:#fff}
.logo{font-family:var(--font-head);font-weight:800;font-size:22px;letter-spacing:-.02em;display:flex;align-items:center;gap:10px}
.brand{display:flex;flex-direction:column;gap:2px}
.brand-tagline{font-family:var(--font);font-size:12.5px;color:var(--ink-soft);font-weight:400;line-height:1.3}
.head-center .brand{align-items:center;text-align:center}
.head-color .brand-tagline{color:rgba(255,255,255,.8)}
.logo .d{width:34px;height:34px;border-radius:11px;background:var(--accent);display:grid;place-items:center;color:#fff;font-size:18px;font-weight:800;font-family:var(--font-head);text-transform:uppercase;flex-shrink:0}
.logo img{max-height:40px;width:auto}
.nav{display:flex;gap:24px;font-family:var(--font-head);font-size:14px;font-weight:600}
.nav a{color:var(--ink-soft);transition:color .15s}
.nav a:hover{color:var(--accent)}
.head-cta{background:var(--accent);color:#fff;padding:9px 18px;border-radius:30px;font-family:var(--font-head);font-size:13px;font-weight:700}
.burger{display:none;background:none;border:0;font-size:24px;cursor:pointer;color:var(--ink)}

/* HERO mosaïque : 1 grand + 3 dessous */
.lead{padding:30px 0}
.hbig{position:relative;border-radius:18px;overflow:hidden;min-height:420px;display:flex;align-items:flex-end;margin-bottom:18px}
.hbig img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hbig .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,28,21,.92),rgba(15,28,21,.35) 45%,transparent 75%)}
.hbig .c{position:relative;padding:38px;color:#fff;z-index:1;max-width:680px}
.tag{display:inline-block;font-family:var(--font-head);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.07em;padding:6px 13px;border-radius:30px;background:var(--accent-2);color:#1c2620;margin-bottom:14px}
.tag.w{background:var(--warn);color:#fff}
.hbig h1,.hbig h2{font-family:var(--font-head);font-weight:800;font-size:36px;color:#fff;text-shadow:0 2px 20px rgba(0,0,0,.3);line-height:1.08}
.hbig p{color:rgba(255,255,255,.92);font-size:16px;margin-top:12px;max-width:540px}
.hrow{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hm{position:relative;border-radius:14px;overflow:hidden;min-height:180px;display:flex;align-items:flex-end}
.hm img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hm .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,28,21,.95),rgba(15,28,21,.2) 60%,transparent)}
.hm .c{position:relative;padding:16px;color:#fff;z-index:1}
.hm .tag{padding:3px 9px;font-size:10px;margin-bottom:8px}
.hm h3{font-family:var(--font-head);font-weight:700;font-size:16px;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.4)}
/* Titres de héro : limités à un nombre de lignes propre (s'adapte à TOUS les styles, jamais de débordement) */
.lead h1,.lead h2,.lead h3,.lead h4{overflow-wrap:break-word;word-wrap:break-word;hyphens:none;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
.lead .hbig h1,.lead .hbig h2{-webkit-line-clamp:3;line-clamp:3}
.lead .hm h3{-webkit-line-clamp:3;line-clamp:3}
.lead .hm h2{-webkit-line-clamp:2;line-clamp:2}
.hero-split .hs-txt h1{-webkit-line-clamp:3;line-clamp:3}
.lead .c,.lead .hs-txt{min-width:0;max-width:100%}

/* HERO — Style Grille de 3 */
.hero-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hero-grid3 .hm{min-height:0;aspect-ratio:3/4;max-height:420px}
.hero-grid3 .hm .c{padding:14px}
.hero-grid3 .hm h3{font-size:15px;line-height:1.2;overflow-wrap:break-word;word-wrap:break-word;hyphens:auto}
/* HERO — Style Duo */
.hero-duo{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.hero-duo .hm{min-height:0;aspect-ratio:16/10}
.hero-duo .hm h2{font-family:var(--font-head);font-weight:800;font-size:22px;color:#fff;text-shadow:0 1px 10px rgba(0,0,0,.4)}
/* HERO — Style Grand + 2 empilés */
.hero-big2{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}
.hero-big2 .hbig{margin-bottom:0;min-height:380px}
.hero-big2 .hero-col{display:grid;grid-template-rows:1fr 1fr;gap:18px}
.hero-big2 .hero-col .hm{min-height:181px}
.hero-big2 .hero-col .hm h3{font-size:15px;line-height:1.25}
/* HERO — Style Split éditorial */
.hero-split{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:18px;overflow:hidden;background:var(--accent)}
.hero-split .hs-img{position:relative;min-height:360px}
.hero-split .hs-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-split .hs-txt{padding:40px;color:#fff;display:flex;flex-direction:column;justify-content:center}
.hero-split .hs-txt h1{font-family:var(--font-head);font-weight:800;font-size:30px;color:#fff;margin-bottom:12px;line-height:1.1}
.hero-split .hs-txt h1 a{color:#fff}
.hero-split .hs-txt p{color:rgba(255,255,255,.92);font-size:15px;line-height:1.6}
.hero-split .hs-more{margin-top:18px;font-family:var(--font-head);font-weight:700;font-size:13px;color:var(--accent-2)}

/* Pub */
.ad{background:var(--soft);border:1px dashed var(--line);border-radius:12px;padding:18px;text-align:center;color:var(--ink-light);font-size:13px;margin:14px 0}

/* QUI SOMMES-NOUS (remontée, bandeau vert) */
/* PRÉSENTATION — base commune */
.about{border-radius:20px;margin:6px 0 30px;overflow:hidden}
.about .kik{font-family:var(--font-head);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.1em;margin-bottom:10px}
.about h2{font-family:var(--font-head);font-weight:800;font-size:clamp(22px,2.4vw,28px);margin-bottom:12px;overflow-wrap:break-word;word-wrap:break-word}
.about p{font-size:16px;line-height:1.7}
.about-txt{min-width:0}
.about-img{border-radius:14px;overflow:hidden;aspect-ratio:4/3;max-height:340px;align-self:center}
.about-img img{width:100%;height:100%;object-fit:cover;display:block}
.about-stats{display:flex;gap:28px;margin-top:18px;flex-wrap:wrap}
.about-stats .n{font-family:var(--font-head);font-weight:800;font-size:30px;color:var(--accent);line-height:1}
.about-stats .l{font-size:12px;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.05em;margin-top:4px}
/* Style image gauche / image droite : sur fond accent */
.ab-imgleft,.ab-imgright{background:var(--accent);color:#fff;padding:34px 40px;display:grid;grid-template-columns:1fr 1.3fr;gap:34px;align-items:start}
.ab-imgright{grid-template-columns:1.3fr 1fr}
.ab-imgleft.about-solo,.ab-imgright.about-solo{grid-template-columns:1fr}
.ab-imgleft .kik,.ab-imgright .kik{color:var(--accent-2)}
.ab-imgleft h2,.ab-imgright h2{color:#fff}.ab-imgleft p,.ab-imgright p{color:rgba(255,255,255,.93);font-size:15px;line-height:1.65}
.ab-imgleft .about-stats .n,.ab-imgright .about-stats .n{color:var(--accent-2)}
.ab-imgleft .about-stats .l,.ab-imgright .about-stats .l{color:rgba(255,255,255,.8)}
/* Style image ronde : sur fond carte */
.ab-round{background:var(--soft);border:1px solid var(--line);padding:38px;display:grid;grid-template-columns:auto 1fr;gap:34px;align-items:center}
.ab-round .kik{color:var(--accent)}
.about-round{width:180px;height:180px;border-radius:50%;overflow:hidden;flex-shrink:0;border:5px solid var(--accent-soft)}
.about-round img{width:100%;height:100%;object-fit:cover}
.ab-round .about-stats .n{color:var(--accent)}
/* Style image en fond : texte par-dessus */
.ab-cover{position:relative;min-height:340px;display:flex;align-items:center;padding:0}
.about-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.about-ov{position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,28,21,.92) 45%,rgba(15,28,21,.45))}
.ab-cover .about-txt{position:relative;z-index:1;padding:48px;max-width:620px;color:#fff}
.ab-cover .kik{color:var(--accent-2)}.ab-cover h2{color:#fff}.ab-cover p{color:rgba(255,255,255,.93)}
.ab-cover .about-stats .n{color:var(--accent-2)}.ab-cover .about-stats .l{color:rgba(255,255,255,.8)}
/* Style texte seul : sur fond accent, pleine largeur, élégant */
.ab-textonly{background:var(--accent);color:#fff;padding:40px 48px;text-align:center}
.ab-textonly .about-txt{max-width:820px;margin:0 auto}
.ab-textonly .kik{color:var(--accent-2)}
.ab-textonly h2{color:#fff}
.ab-textonly p{color:rgba(255,255,255,.93)}
.ab-textonly .about-stats{justify-content:center}
.ab-textonly .about-stats .n{color:var(--accent-2)}.ab-textonly .about-stats .l{color:rgba(255,255,255,.8)}
/* Couleur de fond personnalisée : adaptation automatique du texte */
.about.about-on-dark .kik{color:rgba(255,255,255,.85)}
.about.about-on-dark h2,.about.about-on-dark p{color:#fff}
.about.about-on-dark .about-stats .n{color:#fff}
.about.about-on-dark .about-stats .l{color:rgba(255,255,255,.8)}
.about.about-on-light .kik{color:var(--accent)}
.about.about-on-light h2{color:var(--ink)}
.about.about-on-light p{color:var(--ink-soft)}
.about.about-on-light .about-stats .n{color:var(--accent)}
.about.about-on-light .about-stats .l{color:var(--ink-soft)}

/* DOSSIER de la semaine (nouveau) */
.dossier{border:2px solid var(--accent);border-radius:16px;padding:22px 28px;display:flex;gap:16px;align-items:center;margin-bottom:36px;background:var(--soft)}
.dossier .pin{font-family:var(--font-head);font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);background:var(--accent-soft);padding:7px 13px;border-radius:30px;white-space:nowrap}
.dossier h3{font-family:var(--font-head);font-weight:700;font-size:19px}

/* Titres de section */
.sec{padding:0 0 42px}
.sec-h{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.sec-h h2{font-family:var(--font-head);font-weight:800;font-size:23px}
.sec-h .bar{flex:1;height:2px;background:var(--line)}
.sec-h a{font-family:var(--font-head);color:var(--accent);font-weight:700;font-size:13px;white-space:nowrap}

/* GRILLE DE CARTES (pages catégorie, archives, recherche, à découvrir alt) */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{display:block}
.card .ph{border-radius:14px;overflow:hidden;aspect-ratio:4/3;margin-bottom:11px;background:var(--accent-soft)}
.card .ph img{width:100%;height:100%;object-fit:cover}
.card .k{font-family:var(--font-head);font-weight:700;font-size:11px;text-transform:uppercase;color:var(--accent);letter-spacing:.04em}
.card h3{font-family:var(--font-head);font-weight:700;font-size:16px;margin-top:6px;line-height:1.25}
.card .meta{font-size:12px;color:var(--ink-light);margin-top:8px}

/* À DÉCOUVRIR : lignes image+texte */
.feed{display:grid;gap:18px}
.feed .row{display:grid;grid-template-columns:210px 1fr;gap:22px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}
.feed .row .ph{border-radius:12px;overflow:hidden;aspect-ratio:16/10}
.feed .row .ph img{width:100%;height:100%;object-fit:cover}
.feed .row .k{font-family:var(--font-head);font-weight:700;font-size:11px;text-transform:uppercase;color:var(--accent);letter-spacing:.05em}
.feed .row h3{font-family:var(--font-head);font-weight:700;font-size:21px;margin:7px 0}
.feed .row p{color:var(--ink-soft);font-size:15px}

/* RUBRIQUES illustrées */
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.catbox{position:relative;border-radius:16px;overflow:hidden;min-height:150px;display:flex;align-items:flex-end;background:var(--accent);background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 70%,#000))}
.catbox img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.catbox .ic{position:absolute;top:18px;right:18px;font-size:34px;opacity:.9;z-index:1}
.catbox .c{position:relative;padding:18px;color:#fff;z-index:1}
.catbox h3{font-family:var(--font-head);font-weight:700;font-size:18px;color:#fff}
.catbox span{font-size:13px;opacity:.85}
/* Rubriques — style Pastilles */
.rub-chips{display:flex;flex-wrap:wrap;gap:10px}
.rub-chips a{display:flex;align-items:center;gap:8px;background:var(--soft);border:1px solid var(--line);border-radius:30px;padding:10px 18px;font-family:var(--font-head);font-weight:600;font-size:14px;transition:.15s}
.rub-chips a:hover{background:var(--accent-soft);border-color:var(--accent)}
.rub-chips .ic{font-size:18px}
/* Plus lus — style Liste verticale */
.pop-vlist{max-width:620px}
.pop-vlist .pop{display:flex;gap:14px;padding:13px 0;border-bottom:1px solid var(--line);border-top:0;align-items:center}
.pop-vlist .num{font-family:var(--font-head);font-weight:800;font-size:22px;color:var(--accent-2);min-width:34px;line-height:1}
.pop-vlist h4{font-family:var(--font-head);font-weight:600;font-size:16px}

/* TENDANCES (nouveau) */
.trend{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:30px}
.trend-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 40px}
.trend a{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
.trend .n{font-family:var(--font-head);font-weight:800;font-size:26px;color:var(--accent-2);min-width:30px;line-height:1}
.trend h4{font-family:var(--font-head);font-weight:600;font-size:16px;line-height:1.25}
.trend .m{font-size:12px;color:var(--ink-light);margin-top:3px}

/* ÉDITO / CITATION (nouveau) */
.edito{background:var(--ink);color:var(--bg);border-radius:20px;padding:46px;text-align:center;margin:6px 0 42px}
.edito .q{font-family:var(--font-head);font-weight:500;font-size:27px;line-height:1.3;max-width:760px;margin:0 auto 20px;font-style:italic}
.edito .q::before{content:"« ";color:var(--accent-2)}.edito .q::after{content:" »";color:var(--accent-2)}
.edito .sign{font-family:var(--font-head);font-weight:700;font-size:14px;color:var(--accent-2);text-transform:uppercase;letter-spacing:.05em}

/* BLOC PAR RUBRIQUE */
.rub-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:18px}
.rub-feat{position:relative;border-radius:14px;overflow:hidden;min-height:300px;display:flex;align-items:flex-end}
.rub-feat img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rub-feat .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,28,21,.92),transparent 60%)}
.rub-feat .c{position:relative;padding:22px;color:#fff;z-index:1}
.rub-feat h3{font-family:var(--font-head);color:#fff;font-size:20px;font-weight:700}
.rl{display:flex;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.rl .ph{width:88px;height:64px;border-radius:10px;overflow:hidden;flex-shrink:0}
.rl .ph img{width:100%;height:100%;object-fit:cover}
.rl h4{font-family:var(--font-head);font-weight:600;font-size:15px;line-height:1.25}

/* PLUS LUS */
.pop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px 30px}
.pop{display:flex;gap:14px;align-items:flex-start;padding:12px 0;border-top:2px solid var(--line)}
.pop .num{font-family:var(--font-head);font-weight:800;font-size:30px;color:var(--line);line-height:1}
.pop h4{font-family:var(--font-head);font-weight:600;font-size:15px;line-height:1.3}
.pop .k{font-size:12px;color:var(--accent);font-family:var(--font-head);font-weight:700}

/* CHIFFRES CLÉS */
.stats-band{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:center}
.stats-band .b{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:26px}
.stats-band .n{font-family:var(--font-head);font-weight:800;font-size:38px;color:var(--accent)}
.stats-band .l{font-size:13px;color:var(--ink-soft);margin-top:4px}

/* NEWSLETTER + RÉSEAUX combinés */
.news-combo{background:var(--accent);background:linear-gradient(135deg,var(--accent),color-mix(in srgb,var(--accent) 72%,#000));border-radius:20px;padding:40px;display:grid;grid-template-columns:1.5fr 1fr;gap:34px;align-items:center;color:#fff;margin-bottom:30px}
.news-combo h2{font-family:var(--font-head);color:#fff;font-size:26px;font-weight:800;margin-bottom:8px}
.news-combo p{opacity:.9;font-size:15px;margin-bottom:16px}
.news-form{display:flex;gap:10px}
.news-form input{flex:1;padding:13px 16px;border:0;border-radius:10px;font-family:var(--font);font-size:15px}
.news-form button{padding:13px 22px;background:var(--accent-2);color:var(--ink);border:0;border-radius:10px;font-family:var(--font-head);font-weight:700;cursor:pointer}
.news-combo .socials{border-left:1px solid rgba(255,255,255,.25);padding-left:34px}
.news-combo .socials p{font-family:var(--font-head);font-weight:700;margin-bottom:12px}
.news-combo .socials .row-s{display:flex;gap:10px;flex-wrap:wrap}
.news-combo .socials .row-s a{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.15);display:grid;place-items:center;color:#fff;font-weight:700}

/* NOUS CONTACTER */
.contact{display:grid;grid-template-columns:1.5fr 1fr;gap:30px;align-items:center;background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:38px;margin-bottom:30px}
.contact h2{font-family:var(--font-head);font-size:25px;font-weight:800;margin-bottom:10px}
.contact p{color:var(--ink-soft);margin-bottom:18px}
.contact .btns{display:flex;gap:12px;flex-wrap:wrap}
.contact .btns a{padding:12px 22px;border-radius:10px;font-family:var(--font-head);font-weight:700;font-size:14px}
.contact .btns .p{background:var(--accent);color:#fff}
.contact .btns .s{background:var(--bg);color:var(--ink);border:1px solid var(--line)}
.contact .vis{font-size:80px;text-align:center}

/* FOOTER complet */
.foot{background:var(--ink);color:#fff;padding:50px 0 30px;margin-top:20px}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}
.foot-widgets h4{font-family:var(--font-head);font-weight:700;font-size:15px;margin-bottom:12px;color:#fff}
.foot-widgets ul{list-style:none;padding:0;margin:0}
.foot-widgets li{margin-bottom:8px}
.foot-widgets a{color:rgba(255,255,255,.75)}
.foot-widgets a:hover{color:#fff}
.foot-widgets .widget{margin-bottom:18px}
.foot .logo{color:#fff;margin-bottom:14px}
.foot .logo .d{background:var(--accent-2);color:var(--ink)}
.foot p{opacity:.7;font-size:14px;max-width:280px}
.foot h4{font-family:var(--font-head);font-size:15px;margin-bottom:14px;color:var(--accent-2)}
.foot ul{list-style:none}
.foot li{padding:5px 0}
.foot a{opacity:.78;font-size:14px}
.foot a:hover{opacity:1}
.foot-bottom{border-top:1px solid rgba(255,255,255,.15);margin-top:34px;padding-top:22px;text-align:center;opacity:.6;font-size:13px}

/* Responsive */
@media(max-width:820px){
  .hrow,.cats,.pop-grid,.stats-band,.trend-grid,.rub-grid,.grid,.hero-grid3{grid-template-columns:1fr 1fr}
  .hero-duo,.hero-big2,.hero-split,.hero-col{grid-template-columns:1fr}
  .about,.news-combo,.contact,.feed .row,.foot-grid,.ab-imgleft,.ab-imgright,.ab-round{grid-template-columns:1fr}
  .about-round{margin:0 auto}
  .about .stats,.news-combo .socials{border:0;padding:0}
  .hbig h1,.hbig h2{font-size:28px}
  .nav,.head-cta{display:none}.burger{display:block}
}
@media(max-width:520px){.cats,.hrow,.pop-grid,.stats-band,.trend-grid,.grid{grid-template-columns:1fr}}

/* ============ PAGE ARTICLE (single) ============ */
/* Article : colonne de lecture étroite */
.article{max-width:740px;margin:0 auto;padding:30px 0 60px}

/* Fil d'Ariane */
.crumb{font-size:13px;color:var(--ink-light);margin-bottom:18px;display:flex;gap:7px;flex-wrap:wrap}
.crumb a:hover{color:var(--accent)}
.crumb .sep{opacity:.5}

.cat-pill{display:inline-block;background:var(--accent);color:#fff;font-size:12px;font-weight:700;padding:6px 14px;border-radius:30px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:16px}
h1.title{font-size:38px;line-height:1.1;margin-bottom:16px}
.excerpt{font-size:19px;color:var(--ink-soft);margin-bottom:22px;line-height:1.5}

/* Ligne auteur + partage */
.byline{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-wrap:wrap}
.author{display:flex;align-items:center;gap:11px}
.author .av{width:46px;height:46px;border-radius:50%;overflow:hidden;background:var(--accent-soft);flex-shrink:0}
.author .av img{width:100%;height:100%;object-fit:cover}
.author .nm{font-weight:700;font-size:15px}
.author .meta{font-size:13px;color:var(--ink-light)}

/* Boutons de partage (légers, sans script externe) */
.share{display:flex;gap:8px}
.share a{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;font-size:16px;color:#fff;transition:transform .15s}
.share a:hover{transform:translateY(-3px)}
.share .wa{background:#25d366}
.share .fb{background:#1877f2}
.share .x{background:#000}
.share .pin{background:#e60023}
.share .cp{background:var(--ink-light)}

/* Image hero */
.hero-img{margin:24px 0;border-radius:18px;overflow:hidden;aspect-ratio:16/9;background:var(--accent-soft)}
.hero-img img{width:100%;height:100%;object-fit:cover}
.cap{font-size:13px;color:var(--ink-light);font-style:italic;margin-top:8px}

/* Pub */
.ad{background:var(--soft);border:1px dashed var(--line);border-radius:12px;padding:18px;text-align:center;color:var(--ink-light);font-size:13px;margin:26px 0}

/* Table des matières */
.toc{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:6px 22px;margin:26px 0}
.toc summary{cursor:pointer;list-style:none;padding:14px 0;font-weight:700;font-size:16px;display:flex;align-items:center;gap:9px}
.toc summary::-webkit-details-marker{display:none}
.toc summary::after{content:"▾";margin-left:auto;color:var(--ink-light);transition:transform .2s}
.toc[open] summary::after{transform:rotate(180deg)}
.toc .ic{color:var(--accent)}
.toc ol{list-style:none;counter-reset:t;margin:0;padding:0 0 16px}
.toc li{counter-increment:t;margin:8px 0}
.toc li::before{content:counter(t) ". ";color:var(--accent);font-weight:700}
.toc a{color:var(--ink-soft)}
.toc a:hover{color:var(--accent)}

/* Contenu */
.content{font-size:18px;line-height:1.8;color:#2a2a32}
.content p{margin-bottom:22px}
.content h2{font-size:26px;margin:36px 0 14px}
.content h3{font-size:21px;margin:28px 0 10px}
.content ul,.content ol{margin:0 0 22px 22px}
.content li{margin-bottom:10px}
.content a{color:var(--accent);text-decoration:underline;font-weight:600}
.content img{border-radius:14px;margin:18px 0}
.content blockquote{border-left:4px solid var(--accent);padding:6px 0 6px 22px;margin:26px 0;font-size:21px;font-weight:600;color:var(--accent);font-style:italic}

/* Tags */
.tags{display:flex;gap:9px;flex-wrap:wrap;margin:30px 0}
.tags a{background:var(--soft);border:1px solid var(--line);border-radius:30px;padding:8px 16px;font-size:13px;font-weight:600;color:var(--ink-soft)}
.tags a:hover{border-color:var(--accent);color:var(--accent)}

/* Partage bas (répété) */
.share-bottom{display:flex;align-items:center;gap:14px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0}
.share-bottom b{font-size:15px}

/* Fiche auteur (E-E-A-T) */
.bio{display:flex;gap:16px;background:var(--soft);border-radius:18px;padding:24px;margin:30px 0;align-items:flex-start}
.bio .av{width:64px;height:64px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--accent-soft)}
.bio .av img{width:100%;height:100%;object-fit:cover}
.bio .lb{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--accent);margin-bottom:4px}
.bio .nm{font-size:18px;font-weight:800;margin-bottom:6px}
.bio p{font-size:14.5px;color:var(--ink-soft);line-height:1.6}
.bio .author-all{display:inline-block;margin-top:10px;font-size:14px;font-weight:700;color:var(--accent);text-decoration:none}
.bio .author-all:hover{text-decoration:underline}
.author-card{display:flex;gap:18px;align-items:flex-start;background:var(--soft);border-radius:18px;padding:24px;margin:24px auto;max-width:760px;width:100%;box-sizing:border-box}
.author-card .av{width:80px;height:80px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--accent-soft)}
.author-card .av img{width:100%;height:100%;object-fit:cover}
.author-card .author-bio{font-size:15px;color:var(--ink-soft);line-height:1.65;margin:0 0 8px}
.author-card .author-count{font-size:13px;font-weight:700;color:var(--accent)}
/* Page auteur développée (bio longue + lire la suite) */
.author-page{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:30px;margin:24px auto 0;max-width:820px;width:100%;box-sizing:border-box}
.author-head{display:flex;gap:18px;align-items:center;margin-bottom:18px}
.author-head .av{width:96px;height:96px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--accent-soft)}
.author-head .av img{width:100%;height:100%;object-fit:cover}
.author-head .nm{font-family:var(--font-head);font-weight:800;font-size:26px}
.author-head .author-site{font-size:14px;color:var(--accent);font-weight:600}
.author-bio-long p{font-size:16px;color:var(--ink-soft);line-height:1.7;margin:0 0 14px}
.author-bio-long p:last-child{margin-bottom:0}
/* Aperçu limité à 3 lignes pile, avec fondu, avant "Lire la suite" */
.author-bio-long.is-collapsible{position:relative;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.author-bio-long.is-collapsible::after{content:"";position:absolute;bottom:0;left:0;right:0;height:1.7em;background:linear-gradient(to bottom,transparent,var(--soft))}
.author-bio-long.is-collapsible.open{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
.author-bio-long.is-collapsible.open::after{display:none}
.bio-toggle{margin-top:12px;background:var(--accent);color:#fff;border:0;border-radius:30px;padding:10px 22px;font-family:var(--font-head);font-weight:700;font-size:14px;cursor:pointer}
.bio-toggle:hover{background:var(--accent-2)}

/* Newsletter en fin d'article (PAS de pop-up : intégrée, safe pour Discover) */
.news-inline{background:var(--ink);border-radius:20px;padding:36px;color:#fff;margin:34px 0;text-align:center}
.news-inline h3{font-size:23px;color:#fff;margin-bottom:8px}
.news-inline p{color:#b8b8c4;margin-bottom:20px;font-size:15px}
.news-inline form{display:flex;gap:10px;max-width:420px;margin:0 auto}
.news-inline input{flex:1;border:0;border-radius:30px;padding:14px 20px;font-family:var(--font);font-size:15px;outline:none}
.news-inline button{background:var(--accent);color:#fff;border:0;border-radius:30px;padding:14px 24px;font-family:var(--font);font-weight:700;font-size:14px;cursor:pointer}

/* À lire ensuite */
.related h2{font-size:24px;margin-bottom:20px}
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.rel{display:block}
.rel .ph{border-radius:14px;overflow:hidden;aspect-ratio:4/3;margin-bottom:11px;background:var(--accent-soft)}
.rel .ph img{width:100%;height:100%;object-fit:cover}
.rel .k{font-size:11px;font-weight:700;color:var(--accent);text-transform:uppercase;margin-bottom:5px}
.rel h3{font-size:15px;line-height:1.3}

/* Commentaires */
.comments{margin-top:40px;padding-top:30px;border-top:1px solid var(--line)}
.comments h2{font-size:22px;margin-bottom:18px}
.comment-form{display:flex;flex-direction:column;gap:12px;max-width:600px}
.comment-form textarea,.comment-form input{border:1px solid var(--line);border-radius:12px;padding:13px 16px;font-family:var(--font);font-size:15px;outline:none}
.comment-form textarea:focus,.comment-form input:focus{border-color:var(--accent)}
.comment-form textarea{min-height:110px;resize:vertical}
.comment-form .row{display:flex;gap:12px}
.comment-form .row input{flex:1}
.comment-form button{align-self:flex-start;background:var(--accent);color:#fff;border:0;border-radius:30px;padding:13px 28px;font-family:var(--font);font-weight:700;cursor:pointer}
.hp{position:absolute;left:-9999px}

.foot{background:var(--ink);color:#a9a9b4;padding:36px 0;margin-top:40px;text-align:center;font-size:14px}
.foot a{color:#fff}

@media(max-width:680px){
  h1.title{font-size:29px}
  .nav{display:none}
  .rel-grid{grid-template-columns:1fr}
  .byline{flex-direction:column;align-items:flex-start}
  .news-inline form{flex-direction:column}
}

/* ============ PAGE CONTACT ============ */
.crumb{font-size:13px;color:var(--ink-light);margin:24px 0;display:flex;gap:7px}
.crumb .sep{opacity:.5}

/* En-tête de page */
.page-head{text-align:center;padding:30px 0 44px}
.page-head .eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:14px}
.page-head h1{font-size:42px;margin-bottom:14px}
.page-head p{color:var(--ink-soft);max-width:520px;margin:0 auto;font-size:17px}

/* Layout contact : formulaire + infos */
.contact-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:30px;padding-bottom:70px;align-items:start}

/* Formulaire */
.form-card{background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:36px}
.form-card h2{font-size:22px;margin-bottom:6px}
.form-card .sub{color:var(--ink-soft);font-size:14.5px;margin-bottom:24px}
.field{margin-bottom:18px}
.field label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}
.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:12px;padding:13px 16px;font-family:var(--font);font-size:15px;outline:none;background:#fff;transition:border-color .15s}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--accent)}
.field textarea{min-height:130px;resize:vertical}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hp{position:absolute;left:-9999px}
.submit{background:var(--accent);color:#fff;border:0;border-radius:30px;padding:15px 34px;font-family:var(--font);font-weight:700;font-size:15px;cursor:pointer;transition:.18s}
.submit:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(79,70,229,.3)}
.consent{display:flex;align-items:flex-start;gap:9px;font-size:13px;color:var(--ink-light);margin-bottom:20px}
.consent input{width:16px;height:16px;margin-top:3px;flex-shrink:0;accent-color:var(--accent)}

/* Colonne infos */
.info-card{border:1px solid var(--line);border-radius:20px;padding:30px;margin-bottom:20px}
.info-card h3{font-size:18px;margin-bottom:18px}
.info-item{display:flex;gap:13px;align-items:flex-start;margin-bottom:18px}
.info-item .ic{width:42px;height:42px;border-radius:12px;background:var(--accent-soft);display:grid;place-items:center;font-size:18px;flex-shrink:0}
.info-item .lb{font-size:12px;color:var(--ink-light);margin-bottom:2px}
.info-item .vl{font-size:15px;font-weight:600}
.info-item a:hover{color:var(--accent)}
.socials-card{background:var(--ink);border-radius:20px;padding:30px;color:#fff;text-align:center}
.socials-card h3{color:#fff;font-size:17px;margin-bottom:16px}
.socials-card .row{display:flex;gap:11px;justify-content:center}
.socials-card a{width:48px;height:48px;border-radius:13px;background:rgba(255,255,255,.1);display:grid;place-items:center;font-size:19px;color:#fff;transition:.18s}
.socials-card a:hover{background:var(--accent)}

.foot{background:var(--ink);color:#a9a9b4;padding:36px 0;margin-top:20px;text-align:center;font-size:14px}
.foot a{color:#fff}

@media(max-width:780px){
  .contact-grid{grid-template-columns:1fr}
  .page-head h1{font-size:32px}
  .nav{display:none}
  .field-row{grid-template-columns:1fr}
}

/* ============ ÉLÉMENTS WORDPRESS COMPLÉMENTAIRES ============ */
/* Accessibilité */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;z-index:999;padding:10px 16px;background:var(--accent);color:#fff;border-radius:0 0 8px 0}
.skip-link:focus{left:0;top:0}

/* Menu mobile */
.burger{display:none;background:none;border:0;font-size:24px;cursor:pointer;color:var(--ink)}
.mobile-nav{position:fixed;inset:0;background:rgba(21,21,26,.5);z-index:100;opacity:0;visibility:hidden;transition:.25s}
.mobile-nav.open{opacity:1;visibility:visible}
.mobile-nav .panel{position:absolute;top:0;right:0;width:82%;max-width:330px;height:100%;background:#fff;padding:26px;overflow-y:auto;transform:translateX(100%);transition:.25s}
.mobile-nav.open .panel{transform:translateX(0)}
.mobile-nav .close{background:none;border:0;font-size:32px;cursor:pointer;margin-bottom:18px;color:var(--ink)}
.mobile-nav ul{list-style:none;margin:0;padding:0}
.mobile-nav a{display:block;padding:13px 0;font-weight:700;font-size:17px;border-bottom:1px solid var(--line);color:var(--ink)}

/* Pagination */
.pagination{display:flex;gap:8px;justify-content:center;margin:40px 0;flex-wrap:wrap}
.pagination .page-numbers{display:grid;place-items:center;min-width:42px;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:10px;font-weight:600;color:var(--ink-soft)}
.pagination .page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}
.pagination a.page-numbers:hover{border-color:var(--accent);color:var(--accent)}

/* Archive / catégorie */
.arch-head{padding:40px 0 10px;text-align:center}
.arch-head .eyebrow{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:12px}
.arch-head h1{font-size:38px;margin-bottom:12px}
.arch-head p{color:var(--ink-soft);max-width:600px;margin:0 auto;font-size:16px}

/* Liste de commentaires */
.commentlist{list-style:none;margin:24px 0;padding:0}
.commentlist li{margin-bottom:20px;padding:18px;background:var(--soft);border-radius:14px}
.commentlist .comment-author{font-weight:700;font-size:14px;display:flex;align-items:center;gap:9px}
.commentlist .comment-author img{border-radius:50%}
.commentlist .comment-meta{font-size:12px;color:var(--ink-light);margin:4px 0 8px}
.commentlist .comment-content{font-size:15px;line-height:1.6}
.commentlist .reply{margin-top:8px;font-size:13px;font-weight:600}
.commentlist .reply a{color:var(--accent)}
.comment-respond{margin-top:24px}
.comment-form-comment label,.comment-form-author label,.comment-form-email label,.comment-form-url label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url],.comment-form textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 15px;font-family:var(--font);font-size:15px;outline:none;margin-bottom:14px}
.comment-form .form-submit input{background:var(--accent);color:#fff;border:0;border-radius:30px;padding:13px 28px;font-family:var(--font);font-weight:700;cursor:pointer}
.terre-hp{position:absolute!important;left:-9999px!important}

/* Widget */
.widget{margin-bottom:24px}
.widget h3{font-size:16px;margin-bottom:12px}

/* Recherche */
.search-form{display:flex;gap:10px;max-width:500px;margin:20px auto}
.search-form input[type=search]{flex:1;border:1px solid var(--line);border-radius:30px;padding:13px 20px;font-family:var(--font);font-size:15px;outline:none}
.search-form button{background:var(--accent);color:#fff;border:0;border-radius:30px;padding:0 26px;cursor:pointer;font-weight:700}

/* 404 */
.error404-box{text-align:center;padding:80px 0}
.error404-box h1{font-size:90px;color:var(--accent);line-height:1}
.error404-box p{color:var(--ink-soft);margin:14px 0 24px;font-size:17px}

/* Header search WP */
.header-search{display:flex;border:1px solid var(--line);border-radius:30px;overflow:hidden;max-width:200px}
.header-search input{border:0;padding:7px 12px;font-family:var(--font);font-size:13px;outline:none;flex:1;background:transparent}
.header-search button{border:0;background:none;padding:0 12px;cursor:pointer;color:var(--ink-light)}

/* Pub générique */
.ad{margin:26px 0;text-align:center}

/* Responsive header */
@media(max-width:880px){.burger{display:block}}

/* ============ Table des matières (générée par inc/toc.php : .terre-toc) ============ */
.terre-toc{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:6px 22px;margin:26px 0}
.terre-toc summary{cursor:pointer;list-style:none;padding:14px 0;font-weight:700;font-size:16px;display:flex;align-items:center;gap:9px}
.terre-toc summary::-webkit-details-marker{display:none}
.terre-toc summary::after{content:"▾";margin-left:auto;color:var(--ink-light);transition:transform .2s}
.terre-toc[open] summary::after{transform:rotate(180deg)}
.terre-toc .toc-ic{color:var(--accent)}
.terre-toc ol{list-style:none;counter-reset:t;margin:0;padding:0 0 16px}
.terre-toc li{counter-increment:t;margin:8px 0}
.terre-toc li::before{content:counter(t) ". ";color:var(--accent);font-weight:700}
.terre-toc li.sub{margin-left:18px;font-size:14px}
.terre-toc a{color:var(--ink-soft)}
.terre-toc a:hover{color:var(--accent)}

/* Formulaire newsletter de démo (avant branchement plugin) */
.news-form-demo{display:flex;gap:10px;max-width:420px}
.news-combo .news-form-demo{max-width:440px}
.news-form-demo input{flex:1;border:0;border-radius:30px;padding:14px 20px;font-family:var(--font);font-size:15px;outline:none}
.news-form-demo button{background:var(--accent);color:#fff;border:0;border-radius:30px;padding:14px 24px;font-family:var(--font);font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap}
.news-inline .news-form-demo{margin:0 auto}

/* Tags WordPress dans l'article */
.tags a{display:inline-block;background:var(--soft);border:1px solid var(--line);border-radius:30px;padding:8px 16px;font-size:13px;font-weight:600;color:var(--ink-soft);margin:4px 4px 0 0}
.tags a:hover{border-color:var(--accent);color:var(--accent)}

/* ============ Police des titres (var --font-head, fallback --font) ============ */
h1,h2,h3,.logo,.title,.big h1,.hero h1,.sec-h h2,.rub-head h2,.page-head h1{font-family:var(--font-head,var(--font))}

/* ============ Fil d'Ariane généré par inc/breadcrumb.php (.breadcrumb) ============ */
.breadcrumb{font-size:13px;color:var(--ink-light);margin:24px 0 18px;display:flex;gap:7px;flex-wrap:wrap}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb .sep{opacity:.5}
.breadcrumb .current{color:var(--ink-soft)}

/* ============ Motif + icône pour rubriques sans image ============ */
.catbox .cat-motif{position:absolute;inset:0;background:linear-gradient(135deg,var(--accent),var(--accent-2,#7c6cff));display:grid;place-items:center}
.catbox .cat-motif .ic{font-size:54px;opacity:.92;filter:drop-shadow(0 4px 12px rgba(0,0,0,.3));line-height:1}

/* ============ Motif décoratif bloc présentation (si pas d'image) ============ */

.about-motif::before{content:"";position:absolute;width:150px;height:150px;border:2px solid rgba(255,255,255,.12);border-radius:50%;top:-40px;right:-30px}
.about-motif::after{content:"";position:absolute;width:100px;height:100px;background:rgba(255,255,255,.08);border-radius:24px;bottom:-24px;left:-20px;transform:rotate(20deg)}

/* =========================================================
 * WOOCOMMERCE — Habillage (le plugin d'affiliation gère le reste)
 * ========================================================= */

/* Le contenu Woo vit maintenant dans .wrap (cf inc/woocommerce.php),
   donc on retire les max-width:1180px sur les blocs internes (sinon double bornage). */
.wc-wrap{padding:0}
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin:18px 0 0;padding:0}
.woocommerce div.product .woocommerce-product-gallery{position:relative;float:none;width:auto}
.woocommerce div.product .summary{float:none;width:auto;padding:0;margin:0}
.woocommerce div.product .product_title{font-family:var(--font-head);font-weight:800;font-size:clamp(22px,2.4vw,30px);line-height:1.15;margin-bottom:14px;color:var(--ink);overflow-wrap:break-word}
.woocommerce div.product p.price,.woocommerce div.product span.price{font-family:var(--font-head);font-weight:800;font-size:22px;color:var(--gold);margin-bottom:14px;display:block}
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .summary > p{font-size:15.5px;color:var(--ink-soft);line-height:1.65;margin-bottom:14px}
.woocommerce-product-gallery__image img{border-radius:14px}
.woocommerce-product-gallery .flex-control-thumbs{margin-top:10px}
.woocommerce-product-gallery .flex-control-thumbs li{margin:4px}
.woocommerce-product-gallery .flex-control-thumbs img{border-radius:8px;opacity:.7}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active{opacity:1}

/* Onglets sous le produit — restent dans .wrap, plus de max-width séparé */
.woocommerce div.product .woocommerce-tabs{margin:30px 0 0;max-width:none}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;border-bottom:1px solid var(--line);margin:0 0 22px}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:none;border-radius:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li{padding:0;margin-right:18px;font-family:var(--font-head);font-weight:700;font-size:15px}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:var(--ink-soft);padding:10px 0;display:inline-block;border-bottom:2px solid transparent;text-decoration:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--accent);border-bottom-color:var(--accent)}
.woocommerce div.product .woocommerce-Tabs-panel{font-size:15.5px;line-height:1.7;color:var(--ink-soft);max-width:820px}
.woocommerce div.product .woocommerce-Tabs-panel h2{font-family:var(--font-head);font-weight:800;font-size:20px;margin:10px 0 12px;color:var(--ink)}
.woocommerce div.product .woocommerce-Tabs-panel p{margin-bottom:14px}
.woocommerce div.product .woocommerce-Tabs-panel table{width:100%;border-collapse:collapse;margin:14px 0;font-size:14.5px}
.woocommerce div.product .woocommerce-Tabs-panel table th,
.woocommerce div.product .woocommerce-Tabs-panel table td{padding:10px 12px;border:1px solid var(--line);text-align:left;vertical-align:top}
.woocommerce div.product .woocommerce-Tabs-panel table th{background:var(--soft);font-family:var(--font-head);font-weight:700;color:var(--ink)}

/* Section "Produits similaires" / "upsells" */
.woocommerce div.product .related,.woocommerce div.product .upsells{margin-top:36px}
.woocommerce div.product .related > h2,.woocommerce div.product .upsells > h2{font-family:var(--font-head);font-weight:800;font-size:22px;margin-bottom:16px;color:var(--ink)}

/* Bouton "Voir l'offre" (produit externe) géré par le plugin :
   on l'embellit juste si le plugin pose une classe générique button */
.woocommerce a.button,.woocommerce button.button,.woocommerce .single_add_to_cart_button{
  background:var(--accent);color:#fff;border:0;border-radius:10px;padding:14px 22px;font-family:var(--font-head);font-weight:800;font-size:16px;text-decoration:none;display:inline-block;cursor:pointer;transition:.15s
}
.woocommerce a.button:hover,.woocommerce button.button:hover{filter:brightness(1.08);transform:translateY(-1px)}

/* Boutique / catégorie produits : grille style Terre */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;list-style:none;margin:0 0 24px;padding:0}
.woocommerce ul.products li.product{width:auto;margin:0;background:var(--soft);border-radius:14px;padding:16px;float:none;clear:none}
.woocommerce ul.products li.product a{text-decoration:none}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--font-head);font-weight:700;font-size:16px;line-height:1.25;color:var(--ink);padding:10px 0 4px}
.woocommerce ul.products li.product img{border-radius:10px;margin-bottom:0;width:100%;height:auto}
.woocommerce ul.products li.product .price{color:var(--gold);font-weight:700;font-size:15px;margin-bottom:8px;display:block}
.woocommerce ul.products li.product .button{font-size:13px;padding:9px 14px}

/* En-tête de page boutique/catégorie */
.woocommerce-products-header{margin:20px 0 24px}
.woocommerce-products-header .woocommerce-products-header__title{font-family:var(--font-head);font-weight:800;font-size:32px;color:var(--ink);margin-bottom:6px}
.term-description{font-size:15.5px;color:var(--ink-soft);line-height:1.65}

/* Pagination */
.woocommerce nav.woocommerce-pagination{margin-top:24px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;gap:6px;list-style:none;padding:0;margin:0;border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;margin:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{padding:8px 13px;border-radius:8px;font-family:var(--font-head);font-weight:600;background:var(--soft);color:var(--ink);text-decoration:none;border:0}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--accent);color:#fff}

/* Notifications WooCommerce */
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:10px;border-top:0;background:var(--soft);padding:14px 18px;font-size:14.5px}

/* Responsive */
@media (max-width:820px){
  .woocommerce div.product{grid-template-columns:1fr;gap:22px;padding:0}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:14px}
}
@media (max-width:480px){
  .woocommerce ul.products{grid-template-columns:1fr}
}
