/*
Theme Name: Sandro Clone
Theme URI: https://example.local/sandro-clone
Author: Test technique privé
Author URI: https://example.local
Description: Clone éditorial homepage Sandro Paris — usage strictement local pour évaluation du skill clone-website. Aucune mise en ligne publique autorisée. Reproduit l'identité visuelle SMCP / Sandro Paris à des fins de test technique uniquement.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Test technique privé — non distribuable
License URI: file://./README.md
Text Domain: sandro-clone
Tags: editorial, fashion, e-commerce, fullwidth, custom-header
*/

/* ════════════════════════════════════════════════════════════════════════
   Sandro homepage clone — pure CSS (no framework)
   Design tokens extracted via Playwright getComputedStyle:
   - body bg #fff, body color rgb(14,14,14)
   - body font: supremeLL (Sandro custom) → fallback Inter
   - headings uppercase, weight 300, letter-spacing wide
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --ink: #0e0e0e;
  --muted: #666666;
  --line: #e5e5e5;
  --stone: #f4f2ee;
  --accent: #c8102e;
  --black: #000000;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "supremeLL", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

.container { max-width: 1920px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.hide-md { display: none; }
@media (min-width: 768px) { .hide-md { display: inline-flex; } }

/* ── DISPLAY HEADINGS ──────────────────────────────────────────────────── */
.display {
  font-family: "Inter", "supremeLL", Helvetica, sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.eyebrow.light { color: rgba(255, 255, 255, 0.7); }

/* ── BUTTON: Sandro line CTA (outline) ─────────────────────────────────── */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn-line:hover {
  background: currentColor;
  color: var(--bg);
}
.btn-line.light {
  color: #fff;
  border-color: #fff;
}
.btn-line.light:hover { background: #fff; color: var(--ink); }
.btn-line.dark {
  color: var(--ink);
  border-color: var(--ink);
}

/* ── BUTTON: Sandro solid CTA (white background, black text) ───────────── */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 36px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  min-width: 160px;
}
.btn-solid:hover { background: transparent; color: #fff; }
.btn-solid--centered { z-index: 2; }

/* ════════════════════════════════════════════════════════════════════════
   HEADER — transparent overlay sur hero, devient blanc au scroll
   ════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  gap: 16px;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}
@media (min-width: 1024px) {
  .header-inner {
    height: 88px;
    padding: 0 48px;
    gap: 48px;
    justify-content: flex-start;
  }
}

.burger {
  display: inline-flex;
  padding: 4px;
}
@media (min-width: 1024px) { .burger { display: none; } }

.logo {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1;
  flex-shrink: 0;
  font-size: 30px;
}
@media (min-width: 768px) { .logo { font-size: 36px; } }
@media (min-width: 1024px) { .logo { font-size: 44px; } }

.primary-nav {
  display: none;
  align-items: center;
  gap: 56px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-left: auto;
}
@media (min-width: 1024px) { .primary-nav { display: flex; } }
.primary-nav a {
  position: relative;
  transition: opacity 0.2s ease;
  padding: 6px 0;
}
.primary-nav a:hover { opacity: 0.7; }
.primary-nav a.is-hovered {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.utilities {
  display: flex;
  align-items: center;
  gap: 14px;
}
@media (min-width: 1024px) {
  .utilities { gap: 22px; margin-left: 0; }
  .utilities .burger { display: none; }
}
.utilities button {
  padding: 4px;
  color: inherit;
}
.utilities button:hover { opacity: 0.7; }
.cart { position: relative; }
.cart-count {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-size: 10px;
  line-height: 1;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 50;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px;
  max-width: 1400px;
}
.mega-grid h5 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.mega-grid ul li { margin-bottom: 8px; }
.mega-grid ul a {
  font-size: 12px;
}
.mega-grid ul a:hover { text-decoration: underline; }
.mega-feature {
  background: var(--stone);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  background: var(--black);
  /* Mobile: hero portrait (image fashion vertical) */
  aspect-ratio: 9 / 14;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero { aspect-ratio: 1440 / 811; }
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 64px;
  color: #fff;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-content { padding-bottom: 96px; }
}
.hero-content h1 {
  font-size: 28px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .hero-content h1 { font-size: 44px; }
}
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dots button {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
.hero-dots button.is-active {
  width: 24px;
  background: #fff;
}

/* ════════════════════════════════════════════════════════════════════════
   CATEGORY GRID — image en haut + bandeau label blanc bottom
   ════════════════════════════════════════════════════════════════════════ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 768px) {
  .category-grid { grid-template-columns: repeat(4, 1fr); }
}
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  text-align: center;
  border-right: 1px solid var(--bg);
  border-bottom: 1px solid var(--bg);
}
.cat-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--stone);
}
@media (min-width: 768px) {
  .cat-tile img { aspect-ratio: 369 / 460; }
}
.cat-label {
  display: block;
  padding: 22px 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ════════════════════════════════════════════════════════════════════════
   HALF / HALF (chaussures) — pleine largeur empilé sur mobile
   ════════════════════════════════════════════════════════════════════════ */
.half-half {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .half-half { grid-template-columns: 1fr 1fr; }
}
.half-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
@media (min-width: 768px) {
  .half-tile { aspect-ratio: 720 / 779; }
}
.half-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.half-tile:hover img { transform: scale(1.02); }
.half-meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 48px;
  color: #fff;
  text-align: center;
  gap: 24px;
}
@media (min-width: 768px) {
  .half-meta { padding-bottom: 64px; }
}
.half-meta h2 {
  font-size: 32px;
}
@media (min-width: 768px) {
  .half-meta h2 { font-size: 44px; }
}

/* Boutiques banner — photo full-width + bouton overlay */
.boutiques-banner {
  display: block;
  margin: 0;
}
.boutiques-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
@media (min-width: 768px) {
  .boutiques-tile { aspect-ratio: 1440 / 600; }
}
.boutiques-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.boutiques-tile .btn-solid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ════════════════════════════════════════════════════════════════════════
   EDITORIAL BLOCKS — fond blanc + bouton noir outline
   ════════════════════════════════════════════════════════════════════════ */
.editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .editorial { grid-template-columns: repeat(3, 1fr); }
}
.ed-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background: #fff;
  padding: 64px 32px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: opacity 0.2s ease;
  gap: 24px;
}
.ed-block:hover { opacity: 0.85; }
.ed-block h3 {
  font-size: 26px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.04em;
}
@media (min-width: 768px) {
  .ed-block { padding: 96px 32px; }
  .ed-block h3 { font-size: 32px; }
}

/* Service strip light (white background, icons + label) */
.service-strip-light {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 16px;
}
.service-grid-light {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .service-grid-light {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}
.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.service-item svg { flex-shrink: 0; opacity: 0.85; }

/* ════════════════════════════════════════════════════════════════════════
   STORES
   ════════════════════════════════════════════════════════════════════════ */
.stores {
  background: var(--stone);
  padding: 64px 0;
}
@media (min-width: 768px) { .stores { padding: 96px 0; } }
.stores-inner { max-width: 1400px; padding: 0 24px; text-align: center; }
@media (min-width: 1024px) { .stores-inner { padding: 0 48px; } }
.stores-title {
  font-size: 28px;
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .stores-title { font-size: 40px; }
}
.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
@media (min-width: 768px) {
  .stores-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .stores-grid { grid-template-columns: repeat(6, 1fr); }
}
.store-city {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.store-name {
  font-size: 12px;
  margin-bottom: 4px;
}
.store-addr {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}
.stores-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  color: #fff;
}

.newsletter {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.newsletter .container {
  max-width: 1400px;
  padding: 32px 16px;
  text-align: left;
}
@media (min-width: 768px) {
  .newsletter .container { padding: 48px 48px; }
}
.newsletter-title-min {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--ink);
}
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-family: inherit;
}
.newsletter-form input::placeholder {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 0;
  font-weight: 600;
}
.newsletter-mini {
  font-size: 11px;
  color: var(--muted);
  margin-top: 14px;
}

.footer-columns .container { max-width: 1400px; padding: 56px 24px; }
@media (min-width: 1024px) { .footer-columns .container { padding: 56px 48px; } }
.columns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (min-width: 768px) { .columns-grid { grid-template-columns: repeat(4, 1fr); } }
.columns-grid h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}
.columns-grid li { margin-bottom: 10px; }
.columns-grid a {
  font-size: 12px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.columns-grid a:hover { opacity: 1; }

.social-row { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.social-inner {
  max-width: 1400px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .social-inner { flex-direction: row; padding: 28px 48px; }
}
.social-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}
.social-links a { opacity: 0.7; transition: opacity 0.2s ease; }
.social-links a:hover { opacity: 1; }

.bottom-strip { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.bottom-inner {
  max-width: 1400px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}
@media (min-width: 768px) {
  .bottom-inner { flex-direction: row; padding: 28px 48px; }
}
.legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.legal-links a:hover { opacity: 1; }
