/*
Theme Name: Thème 3 AM Kit
Theme URI: https://example.com/theme3-am-kit
Description: Thème e-commerce autonome (refonte « luxe éditorial » : ivoire, encre profonde, accent laiton) conçu pour le kit AM-Kit. Page d'accueil à sections réglables (hero, statistiques, boutique à onglets, blog). Agnostique : tout le contenu se règle dans Personnaliser. Requiert WooCommerce ; s'associe au plugin AM-Kit Import.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Author: AM-Kit
Text Domain: theme3-am-kit
Tags: e-commerce, elegant, custom-colors, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   Palette & variables — refonte « luxe éditorial »
   (ivoire chaud, encre profonde, accent laiton ; sérif d'affichage + sans géométrique)
   ========================================================================= */
:root{
  --bg:#fafaf8; --band:#eef0ec; --card:#ffffff; --card-2:#eef0ec;
  --espresso:#1c3531; --espresso-2:#143029; --ink:#1c3531;
  --muted:#7c8783; --line:#e6e4dd; --gold:#1f4d47; --gold-2:#4e8577;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r:6px; --rs:4px;
  --wrap:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--sans); font-size:16px; line-height:1.65; font-weight:400;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
a:hover{color:#17403a}
h1,h2,h3,h4{font-family:var(--serif); font-weight:500; color:var(--espresso); line-height:1.1; margin:0 0 .4em}
.t3-wrap{max-width:var(--wrap); margin:0 auto; padding:0 26px}
.t3-eyebrow{font-family:var(--sans); font-weight:500; font-size:12px; letter-spacing:.24em; text-transform:uppercase; color:var(--gold); text-align:center; margin:0 0 10px}
/* Bandeau de titre de section : contenu centré. */
.t3-band{background:transparent; padding:30px 26px 8px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center}
.t3-band .t3-eyebrow{margin:0 0 10px}
.t3-band .t3-title{font-family:var(--serif); font-weight:500; color:var(--espresso); font-size:clamp(32px,3.6vw,46px); line-height:1.05; margin:0}
.t3-btn{display:inline-flex; align-items:center; gap:10px; font-family:var(--sans); font-weight:500; font-size:12px; letter-spacing:.14em; text-transform:uppercase; padding:14px 28px; border-radius:2px; background:var(--espresso); color:#fff; border:none; cursor:pointer; transition:.16s}
.t3-btn:hover{background:var(--gold); color:#fff}
.t3-btn.ghost{background:transparent; color:var(--espresso); border:1.5px solid var(--espresso)}
.t3-btn.ghost:hover{background:var(--espresso); color:#fff}
.t3-btn.gold{background:var(--gold); color:#fff}
.t3-btn.gold:hover{background:var(--gold-2)}

/* =========================================================================
   En-tête
   ========================================================================= */
.t3-header{background:rgba(250,250,248,.92); backdrop-filter:blur(8px); position:sticky; top:0; z-index:40; border-bottom:1px solid var(--line)}
.t3-header .t3-bar{display:flex; align-items:center; gap:32px; padding:18px 26px; max-width:var(--wrap); margin:0 auto}
.t3-logo{font-family:var(--serif); font-weight:600; font-size:28px; letter-spacing:.04em; color:var(--espresso)}
.t3-logo img{max-height:44px; width:auto}
.t3-nav{margin:0 auto}
.t3-menu{display:flex; gap:30px; align-items:center; list-style:none; margin:0; padding:0}
.t3-menu a{font-family:var(--sans); font-weight:500; font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--espresso); padding-bottom:3px; border-bottom:1.5px solid transparent}
.t3-menu a:hover{border-color:var(--gold); color:var(--espresso)}
.t3-menu .current-menu-item>a{border-color:var(--gold)}
.t3-head-actions{display:flex; align-items:center; gap:18px}
.t3-ico{width:20px; height:20px; color:var(--espresso)}
.t3-ico-btn{width:42px; height:42px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#eef0ec; color:var(--espresso); border:1px solid var(--line); transition:.16s}
.t3-ico-btn svg{width:18px; height:18px}
.t3-ico-btn:hover{background:var(--espresso); color:#fff}
.t3-ico-btn.is-accent{background:var(--gold); color:#fff; border-color:var(--gold)}
.t3-ico-btn.is-accent:hover{background:var(--gold-2)}
.t3-head-cta{font-family:var(--sans); font-weight:600; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--espresso)}
.t3-head-cta:hover{color:var(--gold)}

/* Hero « modèle Fashion » */
.t3-mhero{background:#e7ece9; overflow:hidden}
.t3-mhero-grid{max-width:var(--wrap); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; align-items:stretch; min-height:520px}
.t3-mhero-copy{padding:64px 26px; align-self:center}
.t3-mhero-badge{display:inline-block; background:var(--espresso); color:#fff; font-family:var(--sans); font-weight:600; font-size:12px; letter-spacing:.18em; text-transform:uppercase; padding:9px 18px; border-radius:4px; margin-bottom:24px}
.t3-mhero-copy h1{font-family:var(--sans); font-weight:600; font-size:clamp(34px,4.6vw,58px); line-height:1.04; text-transform:uppercase; color:var(--espresso); margin:0 0 24px}
.t3-mhero-sub{font-family:var(--sans); font-weight:300; font-size:17px; line-height:1.6; color:#3a4a44; margin:0 0 30px; max-width:46ch}
.t3-mhero-cta{display:inline-flex; align-items:center; justify-content:center; font-family:var(--sans); font-weight:600; font-size:12px; letter-spacing:.18em; text-transform:uppercase; padding:16px 36px; border-radius:999px; border:1.5px solid var(--espresso); color:var(--espresso); background:transparent; transition:.16s}
.t3-mhero-cta:hover{background:var(--espresso); color:#fff}
.t3-mhero-img{align-self:stretch; min-height:520px; background:#d3dcd6 center/cover no-repeat; background-image:repeating-linear-gradient(45deg,#d3dcd6,#d3dcd6 14px,#c8d3cc 14px,#c8d3cc 28px)}
@media(max-width:800px){
  .t3-mhero-grid{grid-template-columns:1fr; min-height:0}
  .t3-mhero-img{min-height:320px; order:-1}
  .t3-mhero-copy{padding:44px 22px}
}
.t3-burger{display:none; flex-direction:column; gap:5px; width:42px; height:42px; border:0; background:transparent; cursor:pointer; padding:9px}
.t3-burger span{display:block; height:2px; background:var(--espresso); border-radius:2px}

/* =========================================================================
   Hero
   ========================================================================= */
.t3-hero{padding:38px 0 10px}
.t3-hero-grid{display:grid; grid-template-columns:1.55fr 1fr; gap:16px}
.t3-hero-main{position:relative; border-radius:var(--r); overflow:hidden; min-height:540px; background:#cbb7a6 center/cover no-repeat; display:flex; flex-direction:column; justify-content:space-between}
.t3-hero-main::after{content:""; position:absolute; inset:0; background:linear-gradient(95deg, rgba(24,18,13,.72) 0%, rgba(24,18,13,.42) 46%, rgba(24,18,13,.06) 80%)}
.t3-hero-copy{position:relative; z-index:1; padding:46px 44px 0; max-width:580px; color:#fff}

/* Statistiques intégrées au bas de l'image du hero */
.t3-hero-stats{position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:40px; padding:0 44px 40px}
.t3-hero-stat .num{font-family:var(--serif); font-weight:500; font-size:30px; color:#fff; line-height:1.1}
.t3-hero-stat .lab{font-family:var(--sans); font-weight:400; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:rgba(255,255,255,.78); margin-top:4px}
.t3-hero-copy h1{color:#fff; font-family:var(--serif); font-weight:500; font-size:clamp(38px,4.4vw,60px); line-height:1.04; margin:0 0 18px}
.t3-hero-copy p{color:rgba(255,255,255,.9); font-weight:300; font-size:16px; line-height:1.7; margin:0 0 26px; max-width:46ch}
.t3-hero-copy .t3-eyebrow{text-align:left; color:rgba(255,255,255,.82); letter-spacing:.22em; margin-bottom:14px}
.t3-hero-badge{position:absolute; left:44px; bottom:34px; z-index:2; display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.96); border-radius:999px; padding:8px 16px 8px 10px}
.t3-hero-badge .av{display:flex}
.t3-hero-badge .av span{width:26px; height:26px; border-radius:50%; border:2px solid #fff; margin-left:-8px; background:var(--band) center/cover}
.t3-hero-badge .tx{font-family:var(--sans); font-size:12.5px; color:var(--espresso); line-height:1.2}
.t3-hero-badge .tx b{display:block; font-size:14px; font-weight:600}
.t3-hero-badge .st{color:var(--gold); font-size:12px}
/* Colonne de droite : 1 grande carte + 2 petites côte à côte en dessous */
.t3-hero-side{display:grid; grid-template-rows:1.55fr 1fr; gap:16px; min-height:540px}
.t3-hero-side-row{display:grid; grid-template-columns:1fr 1fr; gap:16px; min-height:0}
.t3-hero-side-row .t3-hero-card:only-child{grid-column:1 / -1}
.t3-hero-card{position:relative; border-radius:var(--r); overflow:hidden; background:var(--band); display:block; min-height:0}
.t3-hero-card .ph{position:absolute; inset:0; background:#d9c8b6 center/cover no-repeat; display:block}
.t3-hero-card .ph img{width:100%; height:100%; object-fit:cover; display:block}
.t3-hero-card .tag{position:absolute; top:14px; left:14px; z-index:2; max-width:calc(100% - 28px); background:var(--espresso); color:#fff; font-family:var(--sans); font-weight:500; font-size:10px; letter-spacing:.12em; text-transform:uppercase; padding:6px 13px; border-radius:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.t3-hero-card .ph{transition:.3s}
.t3-hero-card:hover .ph{transform:scale(1.03)}

/* =========================================================================
   Statistiques (bloc autonome, si utilisé hors hero)
   ========================================================================= */
.t3-stats{padding:34px 0}
.t3-stats-inner{background:var(--band); border-radius:var(--r); padding:30px 26px}
.t3-stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px}
.t3-stat{text-align:center; padding:6px 12px; border-left:1px solid rgba(28,53,49,.16)}
.t3-stat:first-child{border-left:0}
.t3-stat .num{font-family:var(--serif); font-weight:500; font-size:34px; color:var(--espresso); line-height:1}
.t3-stat .lab{font-family:var(--sans); font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:6px}

/* =========================================================================
   Section boutique (onglets + grille)
   ========================================================================= */
.t3-shop{padding:56px 0 40px}
.t3-tabs{display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin:30px 0 34px}
.t3-tab{font-family:var(--sans); font-weight:500; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); background:transparent; border:1px solid var(--line); cursor:pointer; padding:10px 22px; border-radius:2px; transition:.16s}
.t3-tab:hover{color:var(--espresso); border-color:var(--gold)}
.t3-tab.is-active{background:var(--espresso); color:#fff; border-color:var(--espresso)}
.t3-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px}
.t3-panel{display:none}
.t3-panel.is-active{display:block}

/* Carte produit */
.t3-pc{background:var(--card); border:1px solid var(--line); border-radius:5px; overflow:hidden; display:flex; flex-direction:column; position:relative; transition:.18s}
.t3-pc:hover{transform:translateY(-4px); box-shadow:0 20px 40px -26px rgba(28,53,49,.5)}
.t3-pc .wish{position:absolute; top:12px; right:12px; z-index:2; width:32px; height:32px; border-radius:50%; background:#fff; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--espresso)}
.t3-pc .wish:hover{color:var(--gold)}
.t3-pc .img{aspect-ratio:1/1; background:var(--card-2); display:flex; align-items:center; justify-content:center; padding:18px; overflow:hidden}
.t3-pc .img img{width:100%; height:100%; object-fit:contain}
.t3-pc .body{padding:16px 16px 20px; display:flex; flex-direction:column; text-align:center; flex:1}
.t3-pc .nm{font-family:var(--serif); font-weight:500; font-size:19px; color:var(--espresso); margin:0}
.t3-pc .rate{font-family:var(--sans); font-size:12px; color:var(--muted); margin:7px 0}
.t3-pc .rate .s{color:var(--gold); letter-spacing:2px}
.t3-pc .price{font-family:var(--sans); font-weight:500; font-size:18px; color:var(--espresso); margin:2px 0 14px}
.t3-pc .t3-btn{margin-top:auto; align-self:center; width:100%; justify-content:center}
.t3-shop-more{text-align:center; margin-top:36px}

/* =========================================================================
   Section éditoriale (« Pourquoi… ») — 2 colonnes
   ========================================================================= */
.t3-edito{background:var(--band); margin-top:24px}
.t3-edito .t3-wrap{max-width:1040px; padding-top:64px; padding-bottom:64px}
.t3-edito-h{font-family:var(--serif); font-weight:500; color:var(--espresso); font-size:clamp(28px,3.2vw,40px); line-height:1.12; margin:0 0 24px; max-width:22ch}
.t3-edito-body{column-count:2; column-gap:52px; font-size:16.5px; font-weight:300; line-height:1.8; color:#333d39}
.t3-edito-body p{margin:0 0 18px; break-inside:avoid}
.t3-edito-body p:last-child{margin-bottom:0}
@media(max-width:760px){ .t3-edito-body{column-count:1} }

/* =========================================================================
   Blog
   ========================================================================= */
.t3-blog{padding:60px 0 56px}
.t3-blog-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px}
.t3-art{background:var(--card); border:1px solid var(--line); border-radius:5px; overflow:hidden; display:flex; flex-direction:column; transition:.18s}
.t3-art:hover{transform:translateY(-4px); box-shadow:0 20px 40px -26px rgba(28,53,49,.5)}
.t3-art .ph{aspect-ratio:4/5; background:var(--band) center/cover; overflow:hidden}
.t3-art .ph img{width:100%; height:100%; object-fit:cover}
.t3-art .body{padding:18px}
.t3-art h3{font-family:var(--serif); font-weight:500; font-size:19px; margin:0 0 8px; text-align:center; line-height:1.2}
.t3-art p{font-family:var(--sans); font-weight:300; font-size:13.5px; color:var(--muted); margin:0 0 14px; text-align:center; line-height:1.55}
.t3-art .meta{display:flex; justify-content:space-between; font-family:var(--sans); font-size:11px; letter-spacing:.06em; color:var(--muted); border-top:1px solid var(--line); padding-top:12px}

/* =========================================================================
   Pied de page
   ========================================================================= */
.t3-footer{background:var(--espresso-2); color:#d7ddd9; margin-top:0}
.t3-footer .t3-foot-top{display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:32px; padding:56px 0 30px}
.t3-foot-brand{font-family:var(--serif); font-weight:500; font-size:26px; color:#fff; margin-bottom:12px}
.t3-foot-tag{font-family:var(--sans); font-weight:300; font-size:13.5px; color:#9fb0a9; max-width:36ch; line-height:1.65}
.t3-foot-h{font-family:var(--sans); font-weight:600; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-2); margin-bottom:14px}
.t3-footer ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-family:var(--sans); font-weight:300; font-size:13.5px}
.t3-footer a:hover{color:#fff}
.t3-foot-bottom{border-top:1px solid rgba(255,255,255,.12); padding:18px 0; font-family:var(--sans); font-size:12px; letter-spacing:.04em; color:#9fb0a9; text-align:center}

/* =========================================================================
   Contenu générique (pages, articles, WooCommerce shell)
   ========================================================================= */
.t3-main{padding:44px 0 48px; min-height:50vh}
.t3-page-title{font-family:var(--serif); font-weight:500; font-size:clamp(32px,3.6vw,46px); margin:0 0 20px}
.t3-content{max-width:74ch; font-size:17px; line-height:1.78; font-weight:400; color:var(--ink)}
.t3-content h2{font-family:var(--serif); font-weight:500; font-size:28px; margin:30px 0 12px}
.t3-content p{margin:0 0 16px}
.t3-content a{color:var(--gold)}
.t3-content a:hover{color:#17403a}
.woocommerce, .woocommerce-page{font-family:var(--sans)}

/* =========================================================================
   Responsive
   ========================================================================= */
@media(max-width:1000px){
  .t3-hero-grid{grid-template-columns:1fr}
  .t3-hero-main{min-height:420px}
  .t3-hero-side{grid-template-rows:auto auto; min-height:0}
  .t3-hero-card.is-tall{min-height:240px}
  .t3-hero-side-row .t3-hero-card{min-height:170px}
  .t3-grid,.t3-blog-grid{grid-template-columns:repeat(2,1fr)}
  .t3-stats-grid{grid-template-columns:repeat(2,1fr); gap:14px}
  .t3-stat:nth-child(3){border-left:0}
  .t3-footer .t3-foot-top{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .t3-menu, .t3-head-actions .t3-head-cta{display:none}
  .t3-burger{display:flex}
  .t3-nav.is-open .t3-menu{display:flex; position:absolute; left:0; right:0; top:100%; flex-direction:column; background:var(--bg); border-bottom:1px solid var(--line); padding:10px 22px; gap:0}
  .t3-nav.is-open .t3-menu li{border-top:1px solid var(--line)}
  .t3-nav.is-open .t3-menu a{display:block; padding:13px 0}
  .t3-header .t3-bar{position:relative}
  .t3-hero-side-row{grid-template-columns:1fr}
  .t3-grid,.t3-blog-grid,.t3-stats-grid,.t3-footer .t3-foot-top{grid-template-columns:1fr}
  .t3-stat{border-left:0}
  .t3-hero-copy{padding:30px 24px 0}
  .t3-hero-stats{gap:20px; padding:0 24px 26px}
  .t3-hero-stat .num{font-size:22px}
}

/* Contenu libre ajouté à la page d'accueil (blocs / shortcodes) */
.t3-free{padding:44px 0 48px}
.t3-free .t3-content{max-width:none}

/* =========================================================================
   Bloc « marques coup de cœur »
   ========================================================================= */
.t3-brands-head{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:30px; padding-top:8px}
.t3-brands-h{font-family:var(--serif); font-weight:500; font-size:clamp(28px,3.2vw,40px); line-height:1.1; margin:0; color:var(--espresso)}
.t3-brands-sub{margin:8px 0 0; color:var(--muted); font-size:15px; font-family:var(--sans)}
.t3-brands-cta{display:inline-flex; align-items:center; gap:10px; font-family:var(--sans); font-weight:500; font-size:12px; letter-spacing:.14em; text-transform:uppercase; padding:15px 28px; background:var(--espresso); color:#fff; border-radius:999px; transition:.16s}
.t3-brands-cta:hover{background:var(--gold); color:#fff}
.t3-brands-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:12px}
.t3-brand{display:flex; align-items:center; gap:20px; border-radius:12px; padding:24px 26px; min-height:150px; transition:.16s; background:var(--band); border:1px solid var(--line); text-decoration:none}
.t3-brand:hover{transform:translateY(-3px); border-color:var(--gold); box-shadow:0 16px 34px -24px rgba(28,53,49,.4)}
.t3-brand-logo{flex:0 0 auto; width:120px; aspect-ratio:3/4; background:#fff; border-radius:8px; display:flex; align-items:center; justify-content:center; text-align:center; padding:0; overflow:hidden; font-family:var(--serif); font-weight:600; font-size:15px; color:var(--espresso); line-height:1.2}
.t3-brand-logo img{width:100%; height:100%; object-fit:cover; display:block}
.t3-brand-tx b{display:block; font-family:var(--serif); font-weight:500; font-size:22px; color:var(--espresso); line-height:1.15}
.t3-brand-tx i{font-family:var(--sans); font-style:italic; font-size:14px; color:rgba(28,53,49,.72)}
@media(max-width:900px){ .t3-brands-grid{grid-template-columns:1fr} }

/* =========================================================================
   Bloc « À propos » (styles conservés, non utilisés par défaut — l'éditorial
   vient désormais du plugin AM-Kit via .t3-edito). Agnostique.
   ========================================================================= */
.t3-about{background:var(--band); margin-top:24px}
.t3-about .t3-wrap{padding-top:64px; padding-bottom:64px}
.t3-about-grid{display:grid; grid-template-columns:1fr 1.35fr; gap:48px; align-items:center}
.t3-about-copy h2{font-family:var(--serif); font-weight:500; font-size:clamp(28px,3.2vw,40px); line-height:1.12; margin:0 0 22px; color:var(--espresso)}
.t3-about-copy p{margin:0 0 16px; font-size:15.5px; line-height:1.7; color:#333d39; font-weight:300}
.t3-about-copy p.is-lead{color:var(--espresso); font-weight:600; margin-bottom:26px}
.t3-about-cta{display:inline-flex; align-items:center; gap:10px; font-family:var(--sans); font-weight:500; font-size:12px; letter-spacing:.14em; text-transform:uppercase; padding:15px 28px; background:var(--espresso); color:#fff; border-radius:999px; transition:.16s}
.t3-about-cta:hover{background:var(--gold); color:#fff}
.t3-about-imgs{display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:14px; height:520px}
.t3-about-imgs .ph{border-radius:20px; background:repeating-linear-gradient(45deg,#d8c8b2,#d8c8b2 12px,#cfbea6 12px,#cfbea6 24px); overflow:hidden}
.t3-about-imgs .ph a{display:block; width:100%; height:100%}
.t3-about-imgs .ph img{width:100%; height:100%; object-fit:cover; display:block; transition:.3s}
.t3-about-imgs .ph a:hover img{transform:scale(1.04)}
@media(max-width:900px){ .t3-about-grid{grid-template-columns:1fr} .t3-about-imgs{height:340px} }

/* =========================================================================
   HABILLAGE DU PLUGIN AM-Kit AUX COULEURS DU THÈME
   Le plugin dessine les fiches produit, les pages catégorie, le comparatif et
   les facettes dans un conteneur .am-kit-render qui utilise des variables CSS.
   On remappe ces variables sur la palette du Thème 3 → tout le site adopte le
   même vert/blanc. Spécificité « body … » pour l'emporter sur le CSS du plugin.
   ========================================================================= */
body .am-kit-render{
  --green-900:#1c3531; --green-800:#1c3531; --green-700:#1f4d47; --green-600:#4e8577;
  --gold:#1f4d47; --gold-bright:#4e8577; --gold-soft:#dfe7e2;
  --paper:#fafaf8; --paper-2:#eef0ec; --card:#ffffff; --card-2:#eef0ec;
  --ink:#1c3531; --muted:#7c8783; --line:#e6e4dd; --prose:#333d39;
  --sans:'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --eeat-bg:#1c3531; --eeat-fg:#ffffff; --eeat-fg-soft:#a9c0b8; --eeat-accent:#4e8577;
}

/* =========================================================================
   MODÈLE B — Fiche produit & page catégorie (dessinées par le thème)
   ========================================================================= */
.t3-crumb{font-family:var(--sans); font-size:13px; color:var(--muted); padding:26px 0 0; display:flex; gap:8px; flex-wrap:wrap; align-items:center}
.t3-crumb a{color:var(--gold); font-weight:500}
.t3-crumb span{color:var(--line)}

/* Haut de fiche : galerie + boîte d'achat */
.t3-pdp-top{display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:start; margin:24px 0 12px}
/* Boîte d'achat COLLANTE (reste visible en scrollant) — comme la référence. */
.t3-buybox{position:sticky; top:84px; align-self:start}
.t3-gal-main{aspect-ratio:1/1; background:var(--card); border:1px solid var(--line); border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; padding:26px}
.t3-gal-img,.t3-gal-main img{width:100%; height:100%; object-fit:contain; display:block}
.t3-pdp-title{font-family:var(--serif); font-weight:500; font-size:clamp(28px,3.4vw,42px); line-height:1.1; color:var(--espresso); margin:0 0 14px}
.t3-pdp-rate{font-family:var(--sans); font-size:13px; color:var(--muted); margin:0 0 12px}
.t3-pdp-rate .s{color:var(--gold)}
.t3-badge{display:inline-flex; align-items:center; gap:5px; font-family:var(--sans); font-weight:600; font-size:11.5px; letter-spacing:.04em; text-transform:uppercase; padding:5px 11px; border-radius:4px}
.t3-badge.ok{background:var(--espresso); color:#fff}
.t3-badge.no{background:#f4e3df; color:#a8321f}
.t3-pdp-badge{margin:0 0 16px}
.t3-verdict{background:var(--band); border-left:3px solid var(--gold); border-radius:0 6px 6px 0; padding:14px 18px; font-size:16.5px; color:var(--espresso); margin:0 0 20px}
.t3-offers{background:var(--card); border:1px solid var(--line); border-radius:12px; padding:22px 24px}
.t3-offers-lab{font-family:var(--sans); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}
.t3-offers-price{font-family:var(--serif); font-weight:600; font-size:32px; color:var(--espresso); margin:2px 0 16px}
.t3-offers-btns{display:flex; flex-direction:column; gap:10px}
.t3-offers-btns .t3-btn{width:100%; justify-content:center}
.t3-offers-soon{font-family:var(--sans); font-size:13px; color:var(--muted)}
.t3-affil{font-family:var(--sans); font-size:11.5px; line-height:1.55; color:var(--muted); margin:14px 0 0}

/* Corps de fiche : occupe toute la largeur (la prose reste limitée pour la lisibilité). */
.t3-pdp-body{max-width:none}
.t3-sec{margin:44px 0}
.t3-sec h2{font-family:var(--serif); font-weight:500; font-size:clamp(24px,2.6vw,32px); color:var(--espresso); line-height:1.12; margin:0 0 18px}
.t3-prose{font-size:16.5px; font-weight:300; line-height:1.8; color:#333d39; max-width:70ch}
.t3-prose p{margin:0 0 16px}
.t3-spectable{width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:10px; overflow:hidden; font-family:var(--sans); font-size:14.5px}
.t3-spectable td{padding:13px 18px; border-bottom:1px solid var(--line)}
.t3-spectable tr td:first-child{font-weight:600; color:var(--espresso); width:42%; background:var(--band)}
.t3-spectable tr:last-child td{border-bottom:none}

/* Forts / faibles */
.t3-ff{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.t3-ff-col{background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px 22px}
.t3-ff-h{font-family:var(--sans); font-weight:600; font-size:12px; letter-spacing:.08em; text-transform:uppercase; margin:0 0 12px}
.t3-ff-col.pro .t3-ff-h{color:#1f7a53}
.t3-ff-col.con .t3-ff-h{color:#b3402e}
.t3-ff-col ul{list-style:none; margin:0; padding:0}
.t3-ff-col li{position:relative; padding:6px 0 6px 24px; font-size:15px; line-height:1.5}
.t3-ff-col li::before{position:absolute; left:0; top:6px; font-weight:700}
.t3-ff-col.pro li::before{content:"\2713"; color:#1f7a53}
.t3-ff-col.con li::before{content:"\00d7"; color:#b3402e}

/* Pour qui */
.t3-pcs{display:grid; grid-template-columns:1fr 1fr; gap:18px}
.t3-pc-col{background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px 22px}
.t3-pc-col h3{font-family:var(--sans); font-weight:600; font-size:14px; letter-spacing:.04em; text-transform:uppercase; margin:0 0 12px}
.t3-pc-col.pro h3{color:#1f7a53}
.t3-pc-col.con h3{color:#b3402e}
.t3-pc-col ul{list-style:none; margin:0; padding:0}
.t3-pc-col li{padding:6px 0; font-size:15.5px; line-height:1.5}

/* FAQ */
.t3-faq details{border:1px solid var(--line); border-radius:10px; margin-bottom:10px; background:var(--card); overflow:hidden}
.t3-faq summary{cursor:pointer; list-style:none; padding:16px 20px; font-family:var(--sans); font-weight:600; color:var(--espresso); position:relative}
.t3-faq summary::-webkit-details-marker{display:none}
.t3-faq summary::after{content:"+"; position:absolute; right:20px; top:50%; transform:translateY(-50%); color:var(--gold); font-size:1.3rem; font-weight:400}
.t3-faq details[open] summary::after{content:"\2212"}
.t3-faq .a{padding:0 20px 18px; color:#333d39; line-height:1.7}
.t3-faq .a p{margin:0}

/* E-E-A-T — vert du thème (harmonie), colonnes resserrées, avatar à anneau vert.
   Les textes sont raccourcis côté PHP (~2 lignes) pour un bloc léger. */
.t3-eeat{background:#1c3531; border-radius:14px; padding:26px 30px; margin:48px 0 0}
.t3-eeat-in{display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:22px}
.t3-ee-col{color:#c9dbd4; font-family:var(--sans); font-size:14px; line-height:1.6}
.t3-ee-who{display:flex; gap:14px; align-items:flex-start}
.t3-ee-av{flex:0 0 auto}
.t3-ee-av-ini,.t3-ee-av-img{display:inline-flex; align-items:center; justify-content:center; width:52px; height:52px; border-radius:50%; background:#f4ecd8; color:#13342a; font-family:var(--sans); font-weight:800; font-size:20px; border:2px solid #4e8577; object-fit:cover}
.t3-ee-lab{font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:#86c9b3; margin:0 0 8px}
.t3-ee-name{font-family:var(--serif); font-weight:600; font-size:19px; color:#fff; margin:0 0 6px}
.t3-eeat p{margin:0; color:#c9dbd4}
.t3-eeat a{color:#86c9b3; font-weight:600; white-space:nowrap}
.t3-eeat a:hover{color:#a9dcc9}

/* Page catégorie */
.t3-cat-head{margin:20px 0 8px; max-width:78ch}
.t3-cat-h1{font-family:var(--serif); font-weight:500; font-size:clamp(30px,4vw,52px); line-height:1.06; color:var(--espresso); margin:0 0 14px}
.t3-cat-byline{font-family:var(--sans); font-size:13.5px; color:var(--muted); display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin:0 0 14px}
.t3-cat-byline .au{color:var(--gold); font-weight:600}
.t3-cat-byline a{color:inherit}
.t3-cat-intro{font-size:18px; font-weight:300; line-height:1.65; color:#333d39; margin:0; max-width:74ch}

/* Comparatif */
.t3-cmp-scroll{overflow-x:auto}
.t3-cmp{width:100%; border-collapse:collapse; background:var(--card); border:1px solid var(--line); border-radius:12px; overflow:hidden; font-family:var(--sans); font-size:14px}
.t3-cmp th{background:var(--espresso); color:#fff; text-align:left; font-size:11.5px; letter-spacing:.05em; text-transform:uppercase; font-weight:600; padding:12px 14px}
.t3-cmp td{padding:13px 14px; border-top:1px solid var(--line); color:#333d39; vertical-align:top}
.t3-cmp td.nm{font-weight:600; color:var(--espresso)}
.t3-cmp td.nm a{color:inherit}
.t3-cmp td.pr{font-weight:600; color:var(--espresso); white-space:nowrap}
@media(max-width:640px){
  .t3-cmp{display:block; border:none; background:transparent}
  .t3-cmp thead{display:none}
  .t3-cmp tr{display:block; background:var(--card); border:1px solid var(--line); border-radius:10px; margin-bottom:12px; padding:4px 14px}
  .t3-cmp td{display:flex; justify-content:space-between; gap:16px; text-align:right; border:none; border-top:1px solid var(--line); padding:10px 0}
  .t3-cmp td::before{content:attr(data-l); font-weight:700; font-size:11px; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); text-align:left}
  .t3-cmp td.nm{display:block; text-align:left; border-top:none; font-size:16px; padding-top:12px}
  .t3-cmp td.nm::before{display:none}
}

/* Accordéons catégorie */
.t3-acc details{background:var(--card); border:1px solid var(--line); border-left:3px solid transparent; border-radius:10px; overflow:hidden; margin-bottom:14px}
.t3-acc details[open]{border-left-color:var(--gold)}
.t3-acc summary{cursor:pointer; list-style:none; padding:18px 22px; font-family:var(--serif); font-weight:600; font-size:19px; color:var(--espresso)}
.t3-acc summary::-webkit-details-marker{display:none}
.t3-acc .body{padding:0 22px 22px; font-size:16px; line-height:1.75; color:#333d39}
.t3-acc .body p{margin:0 0 14px}

@media(max-width:900px){
  .t3-pdp-top{grid-template-columns:1fr; gap:26px}
  .t3-ff,.t3-pcs{grid-template-columns:1fr}
  .t3-eeat-in{grid-template-columns:1fr; gap:26px}
}
