/*!
Theme Name: L'art du Shopping Raffiné
Theme URI: https://example.com/lart-shopping
Author: Votre Nom
Author URI: https://example.com
Description: Thème WordPress élégant pour une boutique raffinée. Design moderne avec palette terre, typographies serif et sans-serif haut de gamme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
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: lart-shopping
Tags: e-commerce, boutique, élégant, raffiné, woocommerce-ready
*/

/* ===========================
   VARIABLES & RESET
   =========================== */
:root{
  --ink:#1c231d;
  --stone:#eeeae1;
  --stone-2:#e2ddd0;
  --forest:#1a2b24;
  --brass:#9c7a3c;
  --brass-light:#c9ac6f;
  --wine:#6b2737;
  --line:rgba(28,35,29,0.14);
  --radius:2px;
  --max-width:1180px;
}

*{box-sizing:border-box;margin:0;padding:0;}

body{
  background:var(--stone);
  color:var(--ink);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}

a{color:inherit;text-decoration:none;}
img{max-width:100%;height:auto;display:block;}
ul,ol{list-style:none;}

.wrap{max-width:var(--max-width);margin:0 auto;padding:0 32px;}

.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--brass);
  display:inline-block;
}

h1,h2,h3,h4,h5,h6{
  font-family:'Fraunces',serif;
  font-weight:500;
  line-height:1.06;
}

p{margin-bottom:1em;}

/* ===========================
   HEADER
   =========================== */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(238,234,225,0.92);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}

.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 0;
}

.site-title{
  font-family:'Fraunces',serif;
  font-style:italic;
  font-size:22px;
  font-weight:500;
  margin:0;
}
.site-title a{color:var(--ink);}

.site-description{display:none;}

.main-navigation{
  display:flex;gap:34px;font-size:13px;letter-spacing:.03em;
}
.main-navigation a{
  position:relative;padding-bottom:2px;
  color:var(--ink);
}
.main-navigation a:hover{color:var(--brass);}

.header-icons{
  display:flex;gap:20px;align-items:center;font-size:13px;
}
.search-toggle, .account-link{
  cursor:pointer;
}
.cart-button{
  display:flex;align-items:center;gap:6px;
  border:1px solid var(--ink);border-radius:20px;
  padding:6px 14px;font-family:'IBM Plex Mono',monospace;font-size:12px;
  background:transparent;color:var(--ink);
}
.cart-button .count{
  background:var(--ink);color:var(--stone);
  border-radius:50%;width:18px;height:18px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:10px;
}

/* ===========================
   HERO
   =========================== */
.hero-section{
  display:grid;grid-template-columns:1fr 1fr;gap:0;
  align-items:stretch;
  background:var(--stone);
}

.hero-copy{
  display:flex;flex-direction:column;justify-content:center;
  padding:80px 60px 80px 32px;
  max-width:560px;
}
.hero-copy .eyebrow{margin-bottom:18px;}
.hero-copy h1{font-size:56px;margin-bottom:22px;letter-spacing:-.01em;}
.hero-copy h1 em{font-style:italic;color:var(--brass);font-weight:400;}
.hero-copy p{font-size:16px;line-height:1.6;color:#4b5148;max-width:420px;margin-bottom:34px;}

.btn-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:15px 28px;font-size:13px;letter-spacing:.05em;
  text-transform:uppercase;font-weight:500;
  border-radius:var(--radius);
  transition:all .25s ease;
  cursor:pointer;
  border:none;
}
.btn-primary{background:var(--forest);color:var(--stone);}
.btn-primary:hover{background:var(--ink);}
.btn-ghost{border:1px solid var(--ink);background:transparent;color:var(--ink);}
.btn-ghost:hover{background:var(--ink);color:var(--stone);}

.hero-visual{
  position:relative;
  background:var(--forest);
  display:flex;align-items:center;justify-content:center;
  padding:60px;
}
.hero-frame{
  position:relative;
  width:100%;max-width:420px;aspect-ratio:3/4;
  background:linear-gradient(160deg,#2a3d33,#1a2b24);
  border:1px solid rgba(201,172,111,.35);
  display:flex;align-items:flex-end;
}
.hero-frame::before{
  content:'';position:absolute;inset:14px;
  border:1px solid rgba(201,172,111,.25);
  pointer-events:none;
}
.hero-plate{
  position:relative;width:100%;
  padding:18px 22px;
  background:rgba(28,35,29,.55);
  border-top:1px solid rgba(201,172,111,.3);
  font-family:'IBM Plex Mono',monospace;
  color:var(--stone);
}
.hero-plate .num{font-size:10px;color:var(--brass-light);letter-spacing:.1em;display:block;margin-bottom:6px;}
.hero-plate .name{font-family:'Fraunces',serif;font-style:italic;font-size:18px;font-weight:400;color:var(--stone);}
.hero-plate .price{font-size:12px;color:var(--brass-light);margin-top:6px;display:block;}

/* ===========================
   TRUST BAR
   =========================== */
.trust-bar{
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  background:var(--stone-2);
}
.trust-bar .wrap{
  display:flex;justify-content:space-between;flex-wrap:wrap;
  padding:22px 32px;gap:20px;
}
.trust-item{
  display:flex;align-items:center;gap:10px;
  font-size:12.5px;letter-spacing:.02em;color:#4b5148;
}
.trust-item .dot{
  width:6px;height:6px;border-radius:50%;background:var(--brass);
  flex-shrink:0;
}

/* ===========================
   SECTIONS
   =========================== */
section.block{padding:88px 0;}

.section-header{
  display:flex;justify-content:space-between;align-items:flex-end;
  margin-bottom:44px;flex-wrap:wrap;gap:16px;
}
.section-header h2{font-size:38px;}
.section-header .sub{color:#5b6157;font-size:14px;max-width:360px;line-height:1.6;}
.section-header .header-text{flex:1;}

.view-all-link{
  font-size:12.5px;letter-spacing:.05em;text-transform:uppercase;
  border-bottom:1px solid var(--ink);padding-bottom:3px;
  white-space:nowrap;color:var(--ink);
}
.view-all-link:hover{color:var(--brass);}

/* ===========================
   PRODUCT GRID
   =========================== */
.products-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:26px;
}

.product-card{
  background:#fff;
  border:1px solid var(--line);
  transition:transform .3s ease, box-shadow .3s ease;
  position:relative;
  overflow:hidden;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 30px -18px rgba(28,35,29,.35);
}

.product-card .product-image{
  aspect-ratio:4/5;
  background:linear-gradient(155deg,#e2ddd0,#cfc9b8);
  position:relative;overflow:hidden;
}
.product-card .product-image img{
  width:100%;height:100%;object-fit:cover;
}
.product-badge{
  position:absolute;top:12px;left:12px;
  background:var(--wine);color:#fff;
  font-family:'IBM Plex Mono',monospace;
  font-size:10px;letter-spacing:.08em;text-transform:uppercase;
  padding:5px 9px;
}

.quick-add{
  position:absolute;bottom:0;left:0;right:0;
  background:var(--forest);color:var(--stone);
  text-align:center;padding:12px;font-size:12px;letter-spacing:.04em;
  text-transform:uppercase;
  transform:translateY(100%);
  transition:transform .3s ease;
  border:none;width:100%;cursor:pointer;font-family:inherit;
}
.product-card:hover .quick-add{transform:translateY(0);}

.product-info{
  padding:18px 18px 20px;
}
.product-category{
  font-family:'IBM Plex Mono',monospace;font-size:10px;
  letter-spacing:.08em;text-transform:uppercase;color:var(--brass);
  display:block;margin-bottom:6px;
}
.product-info h3{
  font-size:19px;font-style:italic;font-weight:400;margin-bottom:10px;
}
.product-info h3 a{color:var(--ink);}

.price-row{
  display:flex;justify-content:space-between;align-items:center;
}
.price{font-family:'IBM Plex Mono',monospace;font-size:14px;color:var(--ink);}
.price del{color:#999;margin-right:6px;}
.price ins{background:transparent;color:var(--wine);text-decoration:none;font-weight:600;}
.stars{font-size:11px;color:var(--brass);}

/* ===========================
   CATEGORY TILES
   =========================== */
.categories-grid{
  display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px;
}
.category-tile{
  position:relative;min-height:340px;
  background:linear-gradient(160deg,#2a3d33,#1a2b24);
  display:flex;align-items:flex-end;padding:26px;
  overflow:hidden;
  color:var(--stone);
}
.category-tile:nth-child(2){background:linear-gradient(160deg,#4a3428,#2b1e18);}
.category-tile:nth-child(3){background:linear-gradient(160deg,#3a2530,#221319);}

.category-tile h3{
  color:var(--stone);font-size:26px;font-style:italic;font-weight:400;margin:0;
}
.category-tile .cat-label{
  position:absolute;top:22px;left:26px;
  font-family:'IBM Plex Mono',monospace;color:var(--brass-light);
  font-size:11px;letter-spacing:.1em;text-transform:uppercase;
}
.category-tile a{
  display:block;width:100%;height:100%;
}
.category-tile:hover{opacity:.95;}

/* ===========================
   TESTIMONIALS
   =========================== */
.testimonials-section{
  background:var(--forest);color:var(--stone);
}
.testimonials-section .section-header h2{color:var(--stone);margin-top:8px;}
.testimonials-section .eyebrow{color:var(--brass-light);}

.testimonials-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:rgba(201,172,111,.2);
}
.testimonial{
  background:var(--forest);padding:40px 34px;
}
.testimonial p{
  font-family:'Fraunces',serif;font-style:italic;
  font-size:19px;line-height:1.5;margin-bottom:22px;
  color:var(--stone);
}
.testimonial .author{
  font-family:'IBM Plex Mono',monospace;font-size:11px;
  letter-spacing:.05em;color:var(--brass-light);text-transform:uppercase;
  display:block;
}

/* ===========================
   NEWSLETTER
   =========================== */
.newsletter-section{
  background:var(--wine);color:#fff;
  padding:70px 0;text-align:center;
}
.newsletter-section h2{font-size:32px;margin-bottom:14px;color:#fff;}
.newsletter-section p{
  max-width:460px;margin:0 auto 28px;opacity:.85;font-size:14px;color:#fff;
}
.newsletter-form{
  display:flex;gap:10px;justify-content:center;
  max-width:420px;margin:0 auto;
}
.newsletter-form input[type="email"]{
  flex:1;padding:14px 16px;border:1px solid rgba(255,255,255,.4);
  background:transparent;color:#fff;font-size:13px;
  font-family:inherit;
}
.newsletter-form input[type="email"]::placeholder{color:rgba(255,255,255,.6);}
.newsletter-form button{
  padding:14px 24px;background:#fff;color:var(--wine);
  font-size:12px;letter-spacing:.05em;text-transform:uppercase;
  font-weight:600;border:none;cursor:pointer;font-family:inherit;
}
.newsletter-form button:hover{background:var(--stone);}
.newsletter-message{
  margin-top:14px;font-size:13px;color:#fff;min-height:1.2em;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer{
  background:var(--ink);color:var(--stone);
  padding:64px 0 28px;
}
.footer-widgets{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;margin-bottom:50px;
}
.site-footer h4{
  font-family:'IBM Plex Mono',monospace;font-size:11px;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--brass-light);margin-bottom:16px;font-weight:500;
}
.site-footer ul{
  display:flex;flex-direction:column;gap:10px;
}
.site-footer ul a{
  font-size:13.5px;color:rgba(238,234,225,.8);
}
.site-footer ul a:hover{color:var(--brass-light);}
.footer-logo{
  font-family:'Fraunces',serif;font-style:italic;
  font-size:24px;margin-bottom:14px;
}
.footer-about{
  font-size:13px;color:rgba(238,234,225,.6);
  line-height:1.6;max-width:280px;
}
.footer-bottom{
  border-top:1px solid rgba(238,234,225,.15);
  padding-top:22px;
  display:flex;justify-content:space-between;
  font-size:11.5px;color:rgba(238,234,225,.5);
  flex-wrap:wrap;gap:10px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width:900px){
  .hero-section{grid-template-columns:1fr;}
  .hero-visual{order:-1;padding:40px;}
  .hero-copy{padding:50px 24px;}
  .hero-copy h1{font-size:38px;}
  .main-navigation{display:none;}
  .products-grid{grid-template-columns:repeat(2,1fr);}
  .categories-grid{grid-template-columns:1fr;}
  .testimonials-grid{grid-template-columns:1fr;}
  .footer-widgets{grid-template-columns:1fr 1fr;}
  .section-header h2{font-size:28px;}
  section.block{padding:60px 0;}
}

@media (max-width:600px){
  .hero-copy h1{font-size:32px;}
  .products-grid{grid-template-columns:1fr;}
  .footer-widgets{grid-template-columns:1fr;}
  .newsletter-form{flex-direction:column;}
  .btn-row{flex-direction:column;align-items:stretch;}
  .btn{justify-content:center;}
}

/* ===========================
   MENU MOBILE (fallback)
   =========================== */
.menu-toggle{
  display:none;
  background:transparent;border:none;
  font-size:20px;cursor:pointer;color:var(--ink);
}
@media (max-width:900px){
  .menu-toggle{display:block;}
  .main-navigation.toggled{
    display:flex;flex-direction:column;
    position:absolute;top:100%;left:0;right:0;
    background:var(--stone);padding:20px 32px;
    border-bottom:1px solid var(--line);
    gap:14px;
  }
}

/* ===========================
   WOOCOMMERCE (mini compat)
   =========================== */
.woocommerce-notices-wrapper{margin:20px auto;max-width:var(--max-width);padding:0 32px;}
.woocommerce-error,.woocommerce-info,.woocommerce-message{
  background:#fff;border:1px solid var(--line);
  padding:14px 18px;margin-bottom:20px;
  border-left:3px solid var(--brass);
}
.woocommerce-error{border-left-color:var(--wine);}
