/* ============================================================
   Meihua Clothing — Site vitrine professionnel
   Palette : bleu nuit (#0e1c2f) / or (#c8a24e) / ivoire (#f7f5f0)
   ============================================================ */

:root {
  --navy: #0e1c2f;
  --navy-2: #14283f;
  --navy-3: #1c3450;
  --gold: #c8a24e;
  --gold-light: #dfc07a;
  --ivory: #f7f5f0;
  --white: #ffffff;
  --grey: #6b7280;
  --grey-light: #e8e6e1;
  --text: #2b3440;
  --shadow: 0 10px 30px rgba(14, 28, 47, .12);
  --shadow-lg: 0 20px 50px rgba(14, 28, 47, .18);
  --radius: 6px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, .serif {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  color: var(--navy);
  line-height: 1.25;
}

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

/* ---------- Boutons / CTA ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar strong { color: var(--gold-light); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--grey-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max); margin: 0 auto; }
.logo img { height: 52px; width: auto; }
.main-nav ul { display: flex; gap: 34px; align-items: center; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .03em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all .25s;
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--navy) url('/img/banner.jpg') center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,20,35,.88) 0%, rgba(10,20,35,.65) 55%, rgba(10,20,35,.35) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 720px; padding: 90px 24px; }
.hero-content .kicker {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 22px;
}
.hero-content p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (interior pages) */
.page-hero {
  /*background: var(--navy) linear-gradient(100deg, rgba(10,20,35,.92), rgba(10,20,35,.72)), url('/img/banner.jpg') center/cover no-repeat;*/
  background:linear-gradient(100deg, rgba(10, 20, 35, .92), rgba(10, 20, 35, .72)),var(--navy, #0a1423) url(/img/banner.jpg) center / cover no-repeat;
  background-blend-mode: normal;
  padding: 90px 0 70px;
  color: #fff;
}
.page-hero .kicker { color: var(--gold-light); text-transform: uppercase; letter-spacing: .3em; font-size: 12px; font-weight: 600; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 640px; margin-top: 14px; }
.breadcrumb { margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.65); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span.sep { margin: 0 8px; color: rgba(255,255,255,.4); }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--ivory); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 12.5px;
  font-weight: 700;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 14px 0 16px; }
.section-head p { color: var(--grey); }
.gold-line { width: 64px; height: 3px; background: var(--gold); margin: 18px auto 0; }

/* ---------- Feature cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-top: 3px solid var(--gold);
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-num {
  font-family: Georgia, serif;
  font-size: 40px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 12px; }
.feature-card p { color: var(--grey); font-size: 14.5px; }

/* ---------- Products grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--ivory); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.product-cat { color: var(--gold); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; margin-bottom: 8px; }
.product-body h3 { font-size: 19px; margin-bottom: 10px; }
.product-body h3 a:hover { color: var(--gold); }
.product-body p { color: var(--grey); font-size: 14.5px; flex: 1; }
.product-link {
  margin-top: 18px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.product-link:hover { color: var(--gold); }
.center-cta { text-align: center; margin-top: 56px; }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-img::after {
  content: "";
  position: absolute;
  width: 120px; height: 120px;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  top: -22px; left: -22px;
  z-index: -1;
}
.split-text .kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .28em; font-size: 12.5px; font-weight: 700; }
.split-text h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 14px 0 20px; }
.split-text p { color: var(--grey); margin-bottom: 16px; }
.split-list { margin: 22px 0 30px; }
.split-list li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--text); font-weight: 500; }
.split-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-family: Georgia, serif; font-size: 44px; color: var(--gold-light); line-height: 1.1; }
.stat .label { margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.75); letter-spacing: .05em; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(105deg, var(--navy) 55%, var(--navy-3));
  color: #fff;
  padding: 74px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  border: 40px solid rgba(200,162,78,.15);
  border-radius: 50%;
}
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; position: relative; z-index: 2; }
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); }
.cta-inner p { color: rgba(255,255,255,.75); margin-top: 10px; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  margin-bottom: 18px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 600;
  color: var(--navy);
  font-size: 16.5px;
  list-style: none;
  position: relative;
  padding-right: 56px;
  font-family: Georgia, serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--gold);
  transition: transform .3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--grey); }
.faq-item .faq-body h4 { margin: 14px 0 6px; font-size: 16px; }
.faq-item .faq-body ol, .faq-item .faq-body ul { padding-left: 20px; list-style: decimal; }
.faq-item .faq-body li { margin-bottom: 8px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.product-detail .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ivory); }
.product-detail .img-wrap img { width: 100%; }
.product-info .product-cat { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; font-weight: 700; }
.product-info h2 { font-size: clamp(28px, 3.4vw, 38px); margin: 12px 0 18px; font-weight: 800; color: var(--navy); }
.product-info .lead { font-size: 17px; color: var(--text); margin-bottom: 22px; }
.product-features { margin: 26px 0 30px; }
.product-features li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.product-features li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}
.product-specs {
  background: var(--ivory);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
  font-size: 14.5px;
}
.product-specs dt { font-weight: 700; color: var(--navy); margin-top: 12px; }
.product-specs dt:first-child { margin-top: 0; }
.product-specs dd { color: var(--grey); margin-left: 0; }
.detail-section { padding: 70px 0; }
.detail-section h2 { font-size: 26px; margin-bottom: 22px; }
.detail-section p { color: var(--grey); margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 30px; margin-bottom: 18px; }
.contact-info p { color: var(--grey); margin-bottom: 26px; }
.contact-line { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.contact-line .ico {
  width: 44px; height: 44px; flex: 0 0 44px;
  background: var(--navy);
  color: var(--gold-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-line h4 { font-size: 16px; color: var(--navy); margin-bottom: 2px; }
.contact-line p { color: var(--grey); font-size: 14.5px; margin: 0; }
.contact-form-card {
  background: #fff;
  border: 1px solid var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--navy); margin-bottom: 7px; }
.form-group label .req { color: #c0392b; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--grey-light);
  border-radius: 3px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: #fcfcfb;
  transition: border-color .25s, box-shadow .25s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,162,78,.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 13px; color: var(--grey); margin-top: 14px; }
.form-alert {
  display: none;
  margin-bottom: 20px;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.6;
}
.form-alert.success { display: block; background: #e8f6ee; border: 1px solid #b3e0c5; color: #1e6e41; }
.form-alert.error { display: block; background: #fdecec; border: 1px solid #f3c1c1; color: #a94442; }
.form-alert .tick { font-weight: 700; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); font-size: 14.5px; }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 20px; font-family: Georgia, serif; }
.site-footer .logo img { height: 46px; margin-bottom: 18px; }
.site-footer p { margin-bottom: 12px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-3, .grid-4, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .split, .contact-grid, .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-img::after { display: none; }
}

@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 22px; }

  /* Mobile nav */
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0; right: -300px;
    width: 280px; height: 100vh;
    background: var(--navy);
    transition: right .35s ease;
    z-index: 200;
    padding: 80px 34px 34px;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 6px; align-items: flex-start; }
  .main-nav a { color: #fff; display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; }
  .main-nav a:hover, .main-nav a.active { color: var(--gold-light); border-bottom-color: var(--gold); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle.open span { background: var(--navy); }
  .nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150; }
  .nav-overlay.show { display: block; }
  .hero { min-height: 480px; }
}
