/*
Theme Name: Electro Menager Parisse
Theme URI: https://electromenagerparisse.fr
Author: Auto
Description: Thème premium WooCommerce pour Electro Menager Parisse — ventilateurs et climatiseurs portables.
Version: 1.0.0
Text Domain: emp
Requires PHP: 7.4
*/

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */
:root{
  --ink:        #14181C;   /* fond sombre principal */
  --ink-soft:   #1D2329;   /* fond sombre secondaire (cartes sur ink) */
  --mist:       #F5F6F2;   /* fond clair / "air" */
  --mist-card:  #ECEAE3;   /* cartes sur fond clair */
  --bronze:     #B6884F;   /* accent premium */
  --bronze-dim: #8E6B3E;   /* accent hover/pressed */
  --slate-air:  #4F6B73;   /* accent froid secondaire */
  --graphite:   #2B2F33;   /* texte sur fond clair */
  --line:       #D8D5CC;   /* filets / dividers clairs */
  --line-dark:  #2C3238;   /* filets sur fond sombre */

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --radius: 2px;
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--mist);
  color:var(--graphite);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;height:auto;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
h1,h2,h3,h4{font-family:var(--font-display);margin:0 0 .4em;font-weight:600;letter-spacing:-0.01em;}
p{margin:0 0 1em;}
.container{max-width:var(--wrap);margin:0 auto;padding:0 28px;}
:focus-visible{outline:2px solid var(--bronze);outline-offset:3px;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important;transition-duration:.001ms !important;scroll-behavior:auto !important;}
}

.eyebrow{
  font-family:var(--font-body);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--bronze);
  display:inline-block;
  margin-bottom:14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 30px;
  font-size:13px;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-weight:600;
  border:1px solid var(--graphite);
  background:transparent;
  color:var(--graphite);
  border-radius:var(--radius);
  transition:background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover{background:var(--graphite);color:var(--mist);}
.btn-primary{
  background:var(--bronze);
  border-color:var(--bronze);
  color:var(--ink);
}
.btn-primary:hover{background:var(--bronze-dim);border-color:var(--bronze-dim);color:var(--mist);}
.btn-ghost-light{
  border-color:rgba(245,246,242,.45);
  color:var(--mist);
}
.btn-ghost-light:hover{background:var(--mist);color:var(--ink);}

/* ==========================================================================
   3. HEADER
   ========================================================================== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:var(--mist);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 28px;
  max-width:var(--wrap);margin:0 auto;
}
.brand{display:flex;align-items:center;gap:12px;}
.brand img{width:38px;height:38px;}
.brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand-text strong{
  font-family:var(--font-display);
  font-size:19px;letter-spacing:.06em;
  text-transform:uppercase;
}
.brand-text span{
  font-size:9.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--slate-air);
}
.main-nav ul{display:flex;gap:34px;}
.main-nav a{
  font-size:13px;letter-spacing:.04em;text-transform:uppercase;font-weight:500;
  position:relative;padding:4px 0;
}
.main-nav a::after{
  content:"";position:absolute;left:0;bottom:-2px;height:1px;width:0;
  background:var(--bronze);transition:width .25s ease;
}
.main-nav a:hover::after{width:100%;}
.header-actions{display:flex;align-items:center;gap:18px;}
.header-actions a{font-size:13px;display:flex;align-items:center;gap:6px;}
.cart-count{
  background:var(--bronze);color:var(--ink);font-size:10px;font-weight:700;
  border-radius:50%;width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;
}
.nav-toggle{display:none;background:none;border:none;width:26px;height:18px;position:relative;}
.nav-toggle span{position:absolute;left:0;width:100%;height:1.5px;background:var(--graphite);transition:.25s;}
.nav-toggle span:nth-child(1){top:0;}
.nav-toggle span:nth-child(2){top:8px;}
.nav-toggle span:nth-child(3){top:16px;}

@media (max-width:880px){
  .main-nav{position:fixed;inset:0;top:73px;background:var(--mist);transform:translateY(-110%);transition:transform .3s ease;padding:40px 28px;}
  .main-nav.is-open{transform:translateY(0);}
  .main-nav ul{flex-direction:column;gap:26px;}
  .main-nav a{font-size:18px;}
  .nav-toggle{display:block;}
}

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero{
  background:var(--ink);
  color:var(--mist);
  position:relative;
  overflow:hidden;
  padding:110px 0 90px;
}
.hero-mark{
  position:absolute;
  right:-90px; top:50%; transform:translateY(-50%);
  width:560px; height:560px;
  opacity:.10;
}
.hero-inner{
  max-width:var(--wrap);margin:0 auto;padding:0 28px;
  position:relative;z-index:2;
  max-width:640px;
}
.hero h1{
  font-size:clamp(36px,5vw,58px);
  line-height:1.05;
  margin-bottom:22px;
}
.hero h1 em{color:var(--bronze);font-style:normal;}
.hero p.lede{
  font-size:17px;color:rgba(245,246,242,.78);max-width:480px;margin-bottom:34px;
}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap;}

/* trust strip */
.trust-strip{
  background:var(--ink-soft);color:var(--mist);
  border-top:1px solid var(--line-dark);
}
.trust-strip ul{
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:18px;
  padding:20px 28px;max-width:var(--wrap);margin:0 auto;
}
.trust-strip li{
  font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  display:flex;align-items:center;gap:10px;color:rgba(245,246,242,.85);
}
.trust-strip li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--bronze);flex:none;}

/* ==========================================================================
   5. SECTIONS GÉNÉRALES
   ========================================================================== */
section{padding:90px 0;}
.section-head{max-width:560px;margin-bottom:50px;}
.section-head h2{font-size:clamp(28px,3.4vw,40px);}
.section-head p{color:#5b5f63;font-size:15.5px;}

/* univers / catégories */
.univers-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--line);}
.univers-card{
  background:var(--mist);padding:54px 44px;min-height:360px;
  display:flex;flex-direction:column;justify-content:flex-end;
  position:relative;overflow:hidden;
}
.univers-card .uc-icon{width:46px;height:46px;margin-bottom:26px;opacity:.9;}
.univers-card h3{font-size:26px;margin-bottom:10px;}
.univers-card p{color:#5b5f63;font-size:14.5px;margin-bottom:22px;max-width:320px;}
.univers-card a{font-size:12.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;border-bottom:1px solid var(--bronze);padding-bottom:4px;}
.univers-card.alt{background:var(--ink);color:var(--mist);}
.univers-card.alt p{color:rgba(245,246,242,.65);}
@media (max-width:760px){.univers-grid{grid-template-columns:1fr;}}

/* ==========================================================================
   6. PRODUITS / WOOCOMMERCE
   ========================================================================== */
.products-row, ul.products{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:30px !important;
  margin:0 !important;
  list-style:none !important;
}
@media (max-width:980px){ul.products{grid-template-columns:repeat(2,1fr) !important;}}
@media (max-width:540px){ul.products{grid-template-columns:1fr !important;}}

ul.products li.product{
  background:var(--mist-card);
  padding:0;
  position:relative;
  list-style:none;
}
ul.products li.product a{display:block;}
ul.products li.product img{
  width:100%;aspect-ratio:1/1;object-fit:cover;background:#fff;
}
ul.products li.product .emp-card-body{padding:20px 20px 24px;}
ul.products li.product h2,
ul.products li.product h3{
  font-size:15px;font-family:var(--font-body);font-weight:500;margin-bottom:6px;
  color:var(--graphite);
}
ul.products li.product .price{
  font-family:var(--font-display);font-size:17px;color:var(--ink);
}
ul.products li.product .price del{color:#9a978f;font-size:13px;margin-right:6px;}
ul.products li.product .price ins{text-decoration:none;color:var(--bronze-dim);}
ul.products li.product .button{
  margin-top:14px;display:inline-block;width:100%;text-align:center;
  padding:11px 0;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;font-weight:600;
  border:1px solid var(--ink);background:transparent;color:var(--ink);transition:.25s;
}
ul.products li.product .button:hover{background:var(--ink);color:var(--mist);}
.onsale{
  position:absolute;top:14px;left:14px;z-index:2;
  background:var(--bronze);color:var(--ink);
  font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;font-weight:700;
  padding:5px 10px;border-radius:1px;
}
.star-rating{display:none;}

.cta-band{
  background:var(--ink);text-align:center;
}
.cta-band .container{display:flex;flex-direction:column;align-items:center;gap:8px;padding:60px 28px;color:var(--mist);}

/* page catégorie / boutique */
.shop-banner{
  background:var(--ink);color:var(--mist);padding:60px 0 36px;text-align:left;
}
.shop-banner h1{font-size:clamp(28px,4vw,42px);margin-bottom:8px;}
.shop-banner p{color:rgba(245,246,242,.7);max-width:560px;}
.woocommerce-result-count, .woocommerce-ordering{font-size:13px;color:#5b5f63;}
.woocommerce-ordering select{border:1px solid var(--line);padding:8px 10px;background:var(--mist);}

/* fiche produit */
.woocommerce div.product .summary{padding-left:10px;}
.woocommerce div.product .product_title{font-family:var(--font-display);font-size:30px;}
.woocommerce div.product p.price{font-size:24px;color:var(--ink);font-family:var(--font-display);margin-bottom:18px;}
.woocommerce div.product .woocommerce-product-details__short-description{color:#5b5f63;}
.woocommerce div.product form.cart .button{
  background:var(--bronze);border:none;color:var(--ink);padding:16px 36px;
  font-size:13px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;border-radius:var(--radius);
}
.woocommerce div.product form.cart .button:hover{background:var(--bronze-dim);}
.woocommerce-tabs ul.tabs li a{font-size:13px;text-transform:uppercase;letter-spacing:.05em;}
.emp-trust-badges{display:flex;gap:24px;flex-wrap:wrap;margin-top:26px;padding-top:22px;border-top:1px solid var(--line);}
.emp-trust-badges span{font-size:12px;color:#5b5f63;display:flex;align-items:center;gap:8px;}
.emp-trust-badges span::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--bronze);}

/* panier / checkout */
.woocommerce-cart table.shop_table, .woocommerce-checkout table.shop_table{border:none;}
.woocommerce table.shop_table th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line);}
.woocommerce #payment ul.payment_methods, .woocommerce-checkout-review-order{background:var(--mist-card);padding:24px;}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
  background:var(--ink);color:var(--mist);border-radius:var(--radius);border:none;
  font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;padding:13px 24px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover{background:var(--bronze);color:var(--ink);}
.woocommerce a.button.checkout, .woocommerce #payment #place_order{
  background:var(--bronze);color:var(--ink);font-weight:700;
}
.woocommerce a.button.checkout:hover, .woocommerce #payment #place_order:hover{background:var(--bronze-dim);color:var(--mist);}

/* ==========================================================================
   7. EDITORIAL / POURQUOI PARISSE
   ========================================================================== */
.pourquoi{background:var(--mist);}
.pourquoi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;border-top:1px solid var(--line);padding-top:50px;}
.pourquoi-item{padding-right:20px;}
.pourquoi-item .num{font-family:var(--font-display);font-size:13px;color:var(--bronze);letter-spacing:.1em;margin-bottom:14px;display:block;}
.pourquoi-item h3{font-size:19px;margin-bottom:10px;}
.pourquoi-item p{color:#5b5f63;font-size:14.5px;}
@media (max-width:820px){.pourquoi-grid{grid-template-columns:1fr;gap:34px;}}

/* ==========================================================================
   8. NEWSLETTER
   ========================================================================== */
.newsletter{background:var(--slate-air);color:var(--mist);text-align:center;}
.newsletter h2{font-size:clamp(24px,3vw,32px);margin-bottom:10px;}
.newsletter p{color:rgba(245,246,242,.82);margin-bottom:26px;}
.newsletter-form{display:flex;justify-content:center;gap:0;max-width:440px;margin:0 auto;}
.newsletter-form input[type=email]{
  flex:1;padding:14px 16px;border:1px solid rgba(245,246,242,.4);background:transparent;color:var(--mist);font-size:14px;
}
.newsletter-form input[type=email]::placeholder{color:rgba(245,246,242,.6);}
.newsletter-form button{
  padding:14px 22px;background:var(--ink);color:var(--mist);border:1px solid var(--ink);
  font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer{background:var(--ink);color:rgba(245,246,242,.75);padding:70px 0 28px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;padding-bottom:50px;border-bottom:1px solid var(--line-dark);}
.footer-brand .brand-text strong, .footer-brand .brand-text span{color:var(--mist);}
.footer-brand p{font-size:13.5px;color:rgba(245,246,242,.55);max-width:260px;margin-top:16px;}
.footer-col h4{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--mist);margin-bottom:18px;}
.footer-col li{margin-bottom:11px;font-size:13.5px;}
.footer-col a:hover{color:var(--bronze);}
.footer-bottom{display:flex;justify-content:space-between;padding-top:24px;font-size:12px;color:rgba(245,246,242,.45);flex-wrap:wrap;gap:10px;}
.footer-legal-line{margin-top:14px;font-size:11px;line-height:1.7;color:rgba(245,246,242,.35);}
@media (max-width:820px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:540px){.footer-grid{grid-template-columns:1fr;}}

/* ==========================================================================
   10. PAGES LÉGALES (mentions légales, CGV)
   ========================================================================== */
.legal-page{padding:70px 0 100px;max-width:760px;}
.legal-page h1{font-size:clamp(30px,4vw,42px);margin-bottom:30px;}
.legal-page h2{font-size:21px;margin-top:46px;margin-bottom:14px;color:var(--ink);}
.legal-page p{color:#4a4e52;font-size:15px;line-height:1.75;}
.legal-page a{color:var(--bronze-dim);text-decoration:underline;}
.legal-list{margin:0 0 1.2em;padding-left:20px;}
.legal-list li{color:#4a4e52;font-size:15px;line-height:1.8;margin-bottom:6px;list-style:disc;}
.legal-list strong{color:var(--graphite);}
