/* ================================================================
   POLTATRA — Style Apple-inspired
   Clean, minimal, premium. SF Pro / Inter feel.
   Palette : #fff fond · #1d1d1f titres · #c0392b accent rouge
================================================================ */
:root {
  --bg:         #ffffff;
  --bg-soft:    #f5f5f7;
  --bg-dark:    #1d1d1f;
  --surface:    #fbfbfd;
  --border:     #d2d2d7;
  --border-soft:#e8e8ed;
  --red:        #c0392b;
  --red-dark:   #962d22;
  --red-light:  rgba(192,57,43,0.08);
  --text:       #1d1d1f;
  --text-dim:   #6e6e73;
  --text-faint: #a1a1a6;
  --white:      #ffffff;
  --success:    #34c759;
  --danger:     #ff3b30;
  --warning:    #ff9500;
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --radius-pill:999px;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:'Montserrat', 'Inter', sans-serif;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow:     0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.10), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-red: 0 8px 24px rgba(192,57,43,0.25);
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; }
a  { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
p  { color: var(--text-dim); line-height: 1.75; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── NAV ─────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 52px; }
.nav-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 1.25rem;
  letter-spacing: -0.02em; flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-link {
  font-size: 0.82rem; font-weight: 500; color: var(--text-dim);
  padding: 5px 12px; border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-cart {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; font-weight: 500; color: var(--text-dim);
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--bg-soft); transition: all var(--transition);
}
.nav-cart:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 5px 0; transition: all var(--transition); border-radius: 2px; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  padding: 12px 28px; border-radius: var(--radius-pill);
  cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); box-shadow: var(--shadow-red); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-ghost { background: var(--bg-soft); color: var(--text); }
.btn-ghost:hover { background: var(--border-soft); color: var(--text); }
.btn-dark { background: var(--bg-dark); color: var(--white); }
.btn-dark:hover { background: #2d2d2f; color: var(--white); transform: translateY(-1px); }
.btn-danger { background: transparent; color: var(--danger); border: 1.5px solid var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--white); }
.btn-sm { font-size: 0.82rem; padding: 8px 18px; }
.btn-lg { font-size: 1.05rem; padding: 16px 36px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.3s var(--transition); box-shadow: var(--shadow-sm);
}
.card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img {
  aspect-ratio: 4/3;
  min-height: 200px;
  overflow: hidden;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  transition: transform 0.5s ease;
  -webkit-transform: translateZ(0);
}
.card:hover .card-img img { transform: scale(1.04); }
.card-img .no-img { font-size: 3rem; color: var(--border); }
.card-body { padding: 20px; }
.card-category { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; letter-spacing: -0.01em; }
.card-desc { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-top: 1px solid var(--border-soft); }
.card-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text); }
.card-price small { font-size: 0.75rem; color: var(--text-faint); font-weight: 400; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }

/* ── Stock ───────────────────────────────────────────────────── */
.stock-ok  { color: var(--success); font-size: 0.8rem; font-weight: 600; }
.stock-low { color: var(--warning); font-size: 0.8rem; font-weight: 600; }
.stock-out { color: var(--danger); font-size: 0.8rem; font-weight: 600; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-size: 0.8rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; }
.form-control {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); color: var(--text);
  padding: 11px 16px; font-family: var(--font-body); font-size: 0.95rem;
  transition: all var(--transition);
}
.form-control:focus { outline: none; border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px var(--red-light); }
.form-control::placeholder { color: var(--text-faint); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: 0.77rem; color: var(--text-faint); margin-top: 5px; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 48px; }
.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border-soft);
  background: var(--white);
  border-radius: 8px;
  height: 32px;
  width: 32px;
  cursor: pointer;
  font-size: 0.95rem;
}
.form-check { display: flex; align-items: center; gap: 10px; }
.form-check input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--red); cursor: pointer; }

/* ── Alerts ──────────────────────────────────────────────────── */
.alert { padding: 12px 18px; border-radius: var(--radius-sm); font-size: 0.9rem; border: 1px solid; }
.alert-success { background: rgba(52,199,89,0.08); border-color: rgba(52,199,89,0.3); color: #1a8a3d; }
.alert-error, .alert-danger { background: rgba(255,59,48,0.08); border-color: rgba(255,59,48,0.3); color: #cc2c22; }
.alert-info { background: var(--red-light); border-color: rgba(192,57,43,0.2); color: var(--red); }
.flash-messages { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.error-list { list-style: none; }
.error-list li { padding: 9px 14px; background: rgba(255,59,48,0.06); border: 1px solid rgba(255,59,48,0.2); border-radius: var(--radius-sm); color: #cc2c22; font-size: 0.87rem; margin-bottom: 6px; }

/* ── Badge ───────────────────────────────────────────────────── */
.badge { font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: var(--radius-pill); display: inline-block; }
.badge-red     { background: var(--red-light); color: var(--red); }
.badge-success { background: rgba(52,199,89,0.1); color: #1a8a3d; }
.badge-danger  { background: rgba(255,59,48,0.1); color: #cc2c22; }
.badge-neutral { background: var(--bg-soft); color: var(--text-dim); }

/* ── Page header ─────────────────────────────────────────────── */
.page-header { background: var(--bg-soft); border-bottom: 1px solid var(--border-soft); padding: 48px 0; }
.page-header h1 { color: var(--text); margin-bottom: 8px; }
.page-header p  { color: var(--text-dim); font-size: 1.05rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-faint); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-faint); } .breadcrumb a:hover { color: var(--red); }

/* ── Section label ───────────────────────────────────────────── */
.section-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: block; }
.section-title { color: var(--text); margin-bottom: 12px; }

/* ── Divider ─────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border-soft); margin: 32px 0; }

/* ── Auth ────────────────────────────────────────────────────── */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg-soft); }
.auth-box { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.auth-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.auth-logo-srl { color: var(--text-dim); font-size: 0.95em; -webkit-text-fill-color: var(--text-dim); }

/* Logo drapeau : blanc en haut, rouge en bas (comme la photo) */
.brand-flag-text {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #e31e24 50%, #c0392b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.brand-flag-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: #6e6e73;
}
.brand-flag-badge .brand-flag-text {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #e31e24 50%, #c0392b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.nav-logo-srl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72em;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.75);
}
.footer-logo .nav-logo-srl {
  color: rgba(255, 255, 255, 0.65);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.65);
}
.auth-subtitle { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 28px; }
.auth-lang { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.auth-page { background: var(--bg-soft); }
.auth-page .auth-wrap { min-height: 100vh; }
.auth-page .auth-box { max-width: 420px; padding: 36px 32px; }
.auth-page .form-control { width: 100%; max-width: 100%; }
.auth-page .btn-block { width: 100%; }
.cart-checkout-form input.form-control,
.cart-checkout-form textarea.form-control { autocomplete: off; }

/* ── Table ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-faint); padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border-soft); color: var(--text); vertical-align: middle; }
tbody tr:hover td { background: var(--bg-soft); }
tbody tr:last-child td { border-bottom: none; }

/* ── Cart ────────────────────────────────────────────────────── */
.cart-item { display: flex; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border-soft); }
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 80px; height: 80px; flex-shrink: 0; background: var(--bg-soft); border-radius: var(--radius-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-soft); }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 600; color: var(--text); margin-bottom: 4px; font-size: 0.95rem; }
.cart-item-price { color: var(--text-dim); font-size: 0.9rem; }
.qty-control { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-pill); padding: 4px; }
.qty-form { margin: 0; display: inline; }
.qty-btn {
  width: 36px; height: 36px; border: none; border-radius: 50%;
  background: var(--white); color: var(--text); font-size: 1.2rem; font-weight: 700;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: inline-flex; align-items: center; justify-content: center;
}
.qty-btn:hover:not(:disabled) { background: var(--red); color: var(--white); }
.qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.qty-value { min-width: 28px; text-align: center; font-weight: 700; font-size: 0.95rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-items-panel { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 8px 24px; box-shadow: var(--shadow-sm); }
.cart-item { align-items: flex-start; }
.cart-item-side { text-align: right; flex-shrink: 0; }
.cart-item-line-total { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--text); }
.cart-item-line-vat { font-size: 0.75rem; color: var(--text-faint); margin-bottom: 10px; }
.cart-summary { position: sticky; top: 88px; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--text-dim); font-size: 0.9rem; }
.cart-summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 24px; }
.cart-summary-total-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--red); }
.cart-checkout-form { margin-top: 8px; }
.address-fieldset { border: none; margin: 0 0 16px; padding: 0; }
.address-fieldset legend { margin-bottom: 12px; }
.address-grid {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 12px 14px;
}
.address-grid-street { grid-column: 1 / -1; }
@media (max-width: 520px) {
  .address-grid { grid-template-columns: 1fr; }
}
.product-price-ht-hint { font-size: 0.82rem; color: var(--text-faint); margin-top: 8px; font-weight: 500; }
.order-total small { font-size: 0.55em; font-weight: 600; color: var(--text-faint); }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }
.qty-btn { background: var(--bg-soft); border: 1px solid var(--border-soft); color: var(--text); width: 30px; height: 30px; border-radius: var(--radius-pill); cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 600; transition: all var(--transition); }
.qty-btn:hover { background: var(--border-soft); }
.qty-input { width: 48px; text-align: center; background: var(--bg-soft); border: 1px solid var(--border-soft); color: var(--text); padding: 4px; border-radius: var(--radius-sm); font-size: 0.9rem; }
.cart-summary { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 70px; }

/* ── Product detail ──────────────────────────────────────────── */
.product-gallery {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-gallery img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
}
.product-gallery .no-img { font-size: 6rem; color: var(--border); }
.product-info-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--text); margin: 16px 0; letter-spacing: -0.03em; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 92vh; display: flex; align-items: center;
  background: var(--bg-dark); position: relative; overflow: hidden;
}
.hero-gradient {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(192,57,43,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 50% 80% at 20% 80%, rgba(192,57,43,0.06) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 24px;
  background: rgba(192,57,43,0.12); border: 1px solid rgba(192,57,43,0.2);
  padding: 6px 14px; border-radius: var(--radius-pill);
}
.hero h1,
.hero h2 {
  color: var(--white); margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 60%, rgba(255,255,255,0.7));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero h1 .sub,
.hero h2 .sub { display: block; font-size: 0.55em; font-weight: 600; letter-spacing: 0.01em; margin-top: 6px; opacity: 0.65; -webkit-text-fill-color: rgba(255,255,255,0.65); }
.btn-hero-ghost { color: rgba(255,255,255,0.88) !important; border-color: rgba(255,255,255,0.28) !important; background: rgba(255,255,255,0.06) !important; }
.btn-hero-ghost:hover { background: rgba(255,255,255,0.14) !important; color: #fff !important; }
.flash-wrap { padding-top: 14px; }
.d-inline { display: inline; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin: 20px 0 36px; max-width: 540px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 48px 0; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.hero-stat-num span { color: var(--red); }
.hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ── Services bar ────────────────────────────────────────────── */
.services-bar {
  background: var(--bg-soft); border-bottom: 1px solid var(--border-soft);
  padding: 18px 0; overflow: hidden;
}
.services-bar-inner { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.service-pill {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-dim);
  letter-spacing: 0.04em;
}
.service-pill::before { content: ''; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }

/* ── Feature grid ────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }
.feature-card {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.3s ease; box-shadow: var(--shadow-sm);
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--border); }
.feature-icon { font-size: 1.8rem; margin-bottom: 14px; }
.feature-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-desc { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }

/* ── Contact cards ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 16px; }
.contact-card {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 24px;
  transition: all 0.2s ease; box-shadow: var(--shadow-sm);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-icon { font-size: 1.5rem; margin-bottom: 12px; }
.contact-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 6px; }
.contact-value { font-size: 1rem; font-weight: 600; color: var(--text); }
.contact-value a { color: var(--text); }
.contact-value a:hover { color: var(--red); }

/* ── Footer ──────────────────────────────────────────────────── */
.footer { background: var(--bg-dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo {
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-desc { font-size: 0.87rem; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-tva { font-size: 0.77rem; color: rgba(255,255,255,0.25); margin-top: 10px; }
.footer-heading { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-phones { display: grid; gap: 14px; }
.footer-phone-block { display: flex; flex-direction: column; gap: 4px; }
.footer-phone-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer-phone-number {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.footer-phone-number:hover { color: #ffb4ad; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.78rem; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 8px; }

/* ── Profil ──────────────────────────────────────────────────── */
.profil-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.profil-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 32px; text-align: center; box-shadow: var(--shadow-sm); }
.profil-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--red-light); border: 2px solid var(--red); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--red); margin: 0 auto 16px; }

/* ── Search / Filter ─────────────────────────────────────────── */
.search-bar { display: flex; gap: 8px; margin-bottom: 28px; }
.search-bar .form-control { flex: 1; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-chip {
  font-size: 0.8rem; font-weight: 600; padding: 6px 16px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--border-soft);
  color: var(--text-dim); background: var(--white); cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.filter-chip:hover, .filter-chip.active { border-color: var(--red); color: var(--red); background: var(--red-light); }

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
.animate-in { animation: fadeInUp 0.5s cubic-bezier(0.4,0,0.2,1) both; }
.animate-in:nth-child(1){animation-delay:.05s} .animate-in:nth-child(2){animation-delay:.1s}
.animate-in:nth-child(3){animation-delay:.15s} .animate-in:nth-child(4){animation-delay:.2s}
.animate-in:nth-child(5){animation-delay:.25s} .animate-in:nth-child(6){animation-delay:.3s}

/* ── Utilities ───────────────────────────────────────────────── */
.text-red{color:var(--red)} .text-white{color:var(--white)} .text-dim{color:var(--text-dim)}
.text-center{text-align:center} .text-right{text-align:right}
.mb-0{margin-bottom:0} .mb-8{margin-bottom:8px} .mb-16{margin-bottom:16px}
.mb-24{margin-bottom:24px} .mb-32{margin-bottom:32px}
.mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mt-32{margin-top:32px}
.flex{display:flex} .items-center{align-items:center} .gap-8{gap:8px} .gap-16{gap:16px}
.w-full{width:100%}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display:none; }
  .nav-links.open { display:flex; flex-direction:column; position:absolute; top:52px; left:0; right:0; background:rgba(255,255,255,0.97); backdrop-filter:blur(20px); border-bottom:1px solid var(--border-soft); padding:12px; }
  .nav-toggle { display:block; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero-stats { gap:24px; }
}
@media (max-width: 640px) {
  .grid-products { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .profil-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .cart-item { flex-wrap:wrap; }
  .hero-stats { flex-direction:column; gap:16px; }
  .contact-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 480px) {
  .contact-grid { grid-template-columns:1fr; }
}


/* ── Home ticker ───────────────────────────────────────────── */
.home-marquee-wrap { padding: 44px 0 20px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.home-marquee-head { margin-bottom: 20px; }
.ticker-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); padding: 0 24px; max-width: 1200px; margin: 0 auto 10px; }
.ticker { overflow: hidden; padding: 8px 0 18px; }
.ticker-track { display: flex; gap: 16px; width: max-content; animation: tickerMove 32s linear infinite; }
.ticker-reverse .ticker-track { animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display:flex; flex-direction:column; gap:8px; min-width:320px; padding:18px 20px; background:#fff; border:1px solid var(--border-soft); border-radius:18px; box-shadow: var(--shadow-sm); color: var(--text); }
.ticker-item strong { font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.ticker-item span:last-child { color: var(--text-dim); font-size: 0.86rem; }
.ticker-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border-soft); }
.ticker-item-soon { background: #fff9f8; }
.ticker-badge { align-self:flex-start; font-size:0.7rem; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; padding:5px 10px; border-radius:999px; background: var(--red-light); color: var(--red); }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Mobile/layout fixes ───────────────────────────────────── */
body { overflow-x: hidden; }
main { overflow-x: hidden; }
.nav-inner { min-height: 64px; height: auto; flex-wrap: wrap; }
.nav-actions { flex-shrink: 0; }
.cart-summary, .profil-card { position: relative; top: auto; }
@media (max-width: 1100px) {
  .container { padding: 0 18px; }
  section.section[style*='background:var(--bg-dark)'] .container > div,
  .page-header + .section-sm .container > div[style*='grid-template-columns:1fr 360px'] { grid-template-columns: 1fr !important; }
}
@media (max-width: 900px) {
  .nav { position: sticky; }
  .nav-inner { gap: 12px; }
  .nav-actions { margin-left: auto; }
  .nav-links.open { top: 64px; }
  .services-bar-inner { justify-content: flex-start; gap: 18px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .feature-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .page-header { padding: 34px 0; }
  .hero { min-height: auto; padding: 64px 0 48px; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn, .btn-lg { width: 100%; justify-content: center; }
  .card-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .search-bar, .filter-bar, .qty-control { flex-wrap: wrap; }
  .contact-grid, .feature-grid { grid-template-columns: 1fr; }
  .ticker-item { min-width: 260px; }
  .nav-actions .btn-sm { padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .nav-logo { font-size: 1.05rem; }
  .nav-cart { padding: 5px 10px; }
  .auth-wrap, .admin-login-wrap { padding: 14px; }
  .cart-item { gap: 12px; }
  .qty-input { width: 58px; }
}


/* ── Empty state / orders ───────────────────────────────────── */
.empty-state { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 42px 28px; text-align: center; box-shadow: var(--shadow-sm); }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 12px; }
.empty-state h3 { color: var(--text); margin-bottom: 8px; }
.empty-state p { max-width: 560px; margin: 0 auto 20px; color: var(--text-dim); }
.orders-list { display: grid; gap: 18px; }
.order-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.order-card-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.order-card-head h3 { color: var(--text); margin: 0; font-size: 1.2rem; }
.order-card-kicker { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--red); margin-bottom: 6px; }
.order-card-meta { display: grid; gap: 8px; justify-items: end; }
.order-total { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text); }
.order-status { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: var(--radius-pill); font-size: 0.78rem; font-weight: 700; text-transform: capitalize; }
.order-status-pending, .order-status-confirmed { background: rgba(255, 149, 0, 0.12); color: #b56a00; }
.order-status-shipped { background: rgba(0, 122, 255, 0.12); color: #0a66cc; }
.order-status-delivered { background: rgba(52,199,89,0.12); color: #1a8a3d; }
.order-status-cancelled { background: rgba(255,59,48,0.12); color: #c12a20; }
.order-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.order-block { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 14px 16px; }
.order-block-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 8px; }
.order-block p { margin: 0; color: var(--text-dim); white-space: pre-line; }
.order-items { border-top: 1px solid var(--border-soft); padding-top: 10px; display: grid; gap: 10px; }
.order-item-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.order-item-main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.order-item-thumb { width: 58px; height: 58px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-soft); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.order-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-item-name { color: var(--text); font-weight: 700; margin-bottom: 3px; }
.order-item-sub { color: var(--text-dim); font-size: 0.88rem; }
.order-item-total { color: var(--text); font-weight: 800; white-space: nowrap; }
.order-tracker-block {
  margin-bottom: 18px; padding: 20px 22px;
  background: linear-gradient(180deg, #f4fbf6 0%, #fff 100%);
  border: 1px solid #c8e6d0; border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px rgba(30, 107, 58, 0.08);
}
.order-tracker-block .order-block-title { margin-bottom: 16px; color: #1e6b3a; }
.order-tracker {
  --track-done: #2d8a4e;
  --track-current: #1e6b3a;
  --track-upcoming: #c5d9cb;
  --track-line: #dceee2;
  position: relative; padding: 12px 6px 8px;
}
.order-tracker--pending,
.order-tracker--confirmed {
  --track-done: #ff9500;
  --track-current: #d97800;
  --track-line: #ffe4bf;
}
.order-tracker--shipped,
.order-tracker--delivered {
  --track-done: #2d8a4e;
  --track-current: #1e6b3a;
  --track-line: #dceee2;
}
.order-tracker-rail {
  position: absolute; left: 10%; right: 10%; top: 28px;
  height: 6px; background: var(--track-line); border-radius: 999px; z-index: 0;
  overflow: hidden;
}
.order-tracker-fill {
  height: 100%;
  background: linear-gradient(90deg, #3ecf6e 0%, #2d8a4e 55%, #1e6b3a 100%);
  border-radius: 999px; transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0; box-shadow: 0 0 12px rgba(45, 138, 78, 0.35);
}
.order-tracker-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px; position: relative; z-index: 1;
}
.order-tracker-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px; min-width: 0;
}
.order-tracker-dot {
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid var(--track-upcoming); background: var(--white);
  box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
}
.order-tracker-step--done .order-tracker-dot {
  border-color: var(--track-done); background: linear-gradient(145deg, #3ecf6e, #2d8a4e);
  box-shadow: 0 2px 8px rgba(45, 138, 78, 0.35);
}
.order-tracker-step--current .order-tracker-dot {
  border-color: var(--track-current); background: var(--white);
  box-shadow: 0 0 0 5px rgba(62, 207, 110, 0.28);
  transform: scale(1.08);
}
.order-tracker-check {
  color: #fff; font-size: 0.75rem; font-weight: 800; line-height: 1;
}
.order-tracker-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--track-current);
  animation: order-tracker-pulse 1.4s ease-in-out infinite;
}
@keyframes order-tracker-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}
.order-tracker-label { font-size: 0.8rem; font-weight: 700; color: var(--text-faint); line-height: 1.25; }
.order-tracker-step--done .order-tracker-label { color: #1e6b3a; }
.order-tracker-step--current .order-tracker-label { color: var(--track-current); font-size: 0.85rem; }
.order-tracker-desc {
  font-size: 0.74rem; color: #4a7c59; line-height: 1.4; max-width: 150px;
  padding: 6px 10px; background: rgba(62, 207, 110, 0.12); border-radius: var(--radius-pill);
}
.order-tracker--cancelled {
  padding: 14px 16px; background: rgba(255, 59, 48, 0.06);
  border-radius: var(--radius); border: 1px dashed rgba(255, 59, 48, 0.35);
}
.order-tracker-cancelled-inner { display: flex; align-items: flex-start; gap: 12px; }
.order-tracker-cancelled-icon {
  width: 28px; height: 28px; border-radius: 50%; background: #ffeceb;
  color: #c12a20; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.order-tracker-cancelled-msg { margin: 0; font-weight: 700; color: #c12a20; }
.order-tracker-cancelled-sub { margin: 6px 0 0; font-size: 0.85rem; color: var(--text-dim); }

@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .order-card-head { flex-direction: column; }
  .order-card-meta { justify-items: start; }
}

@media (max-width: 640px) {
  .order-card { padding: 18px; }
  .order-item-row { flex-direction: column; align-items: stretch; }
  .order-item-total { padding-left: 72px; }
  .order-tracker-block { padding: 14px; }
  .order-tracker { padding: 6px 2px; }
  .order-tracker-dot { width: 22px; height: 22px; border-width: 2px; }
  .order-tracker-label { font-size: 0.74rem; }
  .order-tracker-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .order-tracker-rail { display: none; }
  .order-tracker-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 10px; }
  .order-tracker-desc { max-width: none; }
}

/* ===============================================================
   V7 CLEAN NAV OVERRIDES — desktop + mobile stable
=============================================================== */
.nav-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: var(--text) !important;
  flex-shrink: 0;
}

.nav-logo-img-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.nav-logo-img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block !important;
}

.nav-logo-text {
  font-size: 1.45rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.nav-logo { display: inline-flex !important; align-items: baseline !important; gap: 2px !important; }

.preview-banner {
  background: #fff8e6;
  border-bottom: 1px solid #f0d78c;
  color: #7a5d00;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
}

/* ── Geo banner & contact ───────────────────────────────────── */
.geo-banner {
  background: var(--bg-dark);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.82rem;
}
.geo-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.geo-banner-text { font-weight: 600; letter-spacing: 0.02em; }
.geo-banner-contact { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.geo-banner-phone { color: var(--white); font-weight: 600; }
.geo-banner-phone:hover { color: #ffb4ad; }
.badge-satisfied {
  display: inline-flex;
  align-items: center;
  background: rgba(52,199,89,0.15);
  color: #34c759;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(52,199,89,0.35);
}
.badge-satisfied-lg { font-size: 0.78rem; padding: 7px 14px; }

/* ── Language switcher ──────────────────────────────────────── */
.lang-switcher { display: flex; gap: 4px; margin-right: 8px; }
.lang-btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--text-dim);
  border: 1px solid var(--border-soft);
  background: var(--white);
}
.lang-btn:hover, .lang-btn.active { color: var(--red); border-color: var(--red); background: var(--red-light); }

.nav-link-featured { color: var(--red) !important; font-weight: 700 !important; }

/* ── About hero (first on homepage) ─────────────────────────── */
.about-hero { padding-top: 72px; padding-bottom: 72px; background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%); }
.about-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-hero-desc { font-size: 1.05rem; max-width: 560px; }
.about-hero-contact { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 24px 0 0; }
.contact-phone-large { display: flex; flex-direction: column; gap: 4px; color: var(--text); }
.contact-phone-large:hover { color: var(--red); }
.contact-phone-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.contact-phone-number { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }
.about-hero-stats { display: grid; gap: 14px; }
.about-stat-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.about-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--text); }
.about-stat-num span { color: var(--red); }
.about-stat-label { font-size: 0.85rem; color: var(--text-dim); margin-top: 4px; }

.contact-card-highlight { border-color: var(--red); box-shadow: var(--shadow); }
.contact-card-dark { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 28px; }
.contact-card-dark-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.contact-card-dark-phone { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--white); }

.crane-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.crane-features { margin: 0; padding-left: 20px; color: var(--text-dim); display: grid; gap: 10px; }
.crane-visual { background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.crane-visual-icon { font-size: 5rem; margin-bottom: 16px; }
.crane-visual-caption { margin-top: 16px; color: var(--text-dim); font-size: 0.9rem; }

.pay-secure-hint { font-size: 0.75rem; color: var(--text-faint); text-align: center; margin-top: 12px; line-height: 1.5; }
.pay-mode-badge { font-size: 0.8rem; color: var(--amber, #e8a838); text-align: center; margin-top: 10px; padding: 8px 12px; background: rgba(232,168,56,0.12); border-radius: 6px; line-height: 1.4; }
.checkout-error-hint {
  color: #c0392b;
  margin: 0 0 12px;
  padding: 12px 14px;
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: 8px;
  line-height: 1.5;
  font-size: 0.85rem;
}
.checkout-error-hint:empty {
  display: none !important;
  margin: 0;
  padding: 0;
  border: none;
}
/* Panier : pas d’effet 3D — évite le bouton qui « tremble » au survol */
.cart-summary--checkout {
  transform: none !important;
  transition: box-shadow 0.25s ease;
}
.cart-summary--checkout:hover {
  transform: none !important;
  box-shadow: var(--shadow);
}
.cart-checkout-form .btn-pay,
.cart-checkout-form .btn-primary {
  position: relative;
  z-index: 1;
  transform: none !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.cart-checkout-form .btn-pay:hover:not(:disabled),
.cart-checkout-form .btn-primary:hover:not(:disabled) {
  transform: none !important;
  box-shadow: var(--shadow-red);
}
.cart-checkout-form .btn-pay:disabled {
  opacity: 0.72;
  cursor: wait;
}
.btn-pay { font-weight: 700; }

.footer-logo-img { height: 48px; width: auto; margin-bottom: 12px; }
.footer-logo-round {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(192, 57, 43, 0.35);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .about-hero-grid, .crane-page-grid { grid-template-columns: 1fr; }
  .geo-banner-inner { flex-direction: column; text-align: center; }
  .lang-switcher { margin-right: 0; }
}

/* ── Effets 3D / pro (légers, performants) ───────────────────── */
.scene-3d { perspective: 1200px; }
.card-3d {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
  will-change: transform;
}
.card-3d:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-3deg) scale(1.02);
  box-shadow: 0 28px 50px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(192, 57, 43, 0.12);
}
.glass-panel {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.about-hero-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-hero-photo { min-height: 360px; }
.about-hero-grid { grid-template-columns: 1fr 1fr; }
.about-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
@media (max-width: 640px) {
  .about-hero-stats-row { grid-template-columns: 1fr; }
}
.hero-3d { position: relative; overflow: hidden; }
.hero-has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 29, 31, 0.88), rgba(29, 29, 31, 0.55)),
    var(--hero-bg) center/cover no-repeat;
  z-index: 0;
}
.hero-has-bg .hero-gradient { opacity: 0.35; }
.hero-has-bg .container { position: relative; z-index: 1; }
.page-header-3d.has-cover {
  position: relative;
  color: var(--white);
  background: var(--bg-dark);
  overflow: hidden;
}
.page-header-3d.has-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75)),
    var(--cover) center/cover no-repeat;
}
.page-header-3d.has-cover .container { position: relative; z-index: 1; }
.page-header-3d.has-cover h1,
.page-header-3d.has-cover p,
.page-header-3d.has-cover .breadcrumb,
.page-header-3d.has-cover .breadcrumb a { color: var(--white); }
.crane-gallery { display: flex; flex-direction: column; gap: 14px; }
.crane-gallery-main img,
.crane-thumb img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}
.crane-gallery-main img { min-height: 280px; max-height: 420px; object-fit: cover; }
.crane-gallery-main--contain img { object-fit: contain; min-height: 200px; max-height: none; height: auto; width: 100%; background: var(--bg-soft); }
.crane-gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crane-thumb img { height: 140px; }
.crane-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .card-3d:hover { transform: translateY(-6px); }
}

.nav-mobile-form {
  margin: 0;
  width: 100%;
}

.nav-link-button {
  width: 100%;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.nav-mobile-only {
  display: none !important;
}

@media (min-width: 901px) {
  .nav-inner {
    min-height: 72px !important;
    height: 72px !important;
    flex-wrap: nowrap !important;
  }

  .nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 !important;
    gap: 2px !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    min-height: 64px !important;
    height: 64px !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
  }

  .nav-actions {
    display: none !important;
  }

  .nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    margin-left: auto !important;
    border-radius: 12px !important;
    background: var(--bg-soft) !important;
    border: 1px solid var(--border-soft) !important;
  }

  .nav-toggle span {
    width: 22px !important;
    height: 2px !important;
    margin: 3px 0 !important;
  }

  .nav-links {
    display: none !important;
  }

  .nav-links.open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    background: #fff !important;
    border: 1px solid var(--border-soft) !important;
    border-radius: 16px !important;
    padding: 12px !important;
    gap: 6px !important;
    box-shadow: var(--shadow-lg) !important;
    z-index: 1200 !important;
  }

  .nav-links.open .nav-link {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 0.96rem !important;
    border-radius: 12px !important;
    color: var(--text) !important;
  }

  .nav-mobile-only {
    display: inline-flex !important;
  }
}

.animate-in-pending { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-in-visible { opacity: 1; transform: translateY(0); }
.alert-dismissing { opacity: 0; transition: opacity 0.4s ease; }
.empty-state-icon--box {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
  background: linear-gradient(145deg, var(--bg-soft), var(--border-soft));
  box-shadow: var(--shadow-sm);
}
.thumb-placeholder {
  display: block; width: 100%; height: 100%; min-height: 48px;
  background: linear-gradient(145deg, var(--bg-soft), var(--border-soft));
  border-radius: var(--radius-sm);
}
.crane-visual-placeholder {
  min-height: 220px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-soft) 0%, #e8e8ed 50%, var(--red-light) 100%);
}
.order-cancel-form { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.order-cancel-note { margin-top: 16px; font-size: 0.88rem; color: var(--text-dim); }
.order-eta { margin: 0 0 14px; font-size: 0.9rem; color: var(--text-dim); }
.order-card-actions { margin-top: 12px; }
.order-card--highlight { box-shadow: 0 0 0 2px var(--red), var(--shadow-lg); }
.orders-filter-bar { flex-wrap: wrap; gap: 10px; align-items: center; }
.orders-filter-custom.is-hidden { display: none; }
.is-hidden { display: none !important; }

.account-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.account-tab {
  padding: 10px 16px; border-radius: var(--radius-pill); border: 1px solid var(--border-soft);
  background: var(--white); color: var(--text-dim); font-size: 0.85rem; font-weight: 600;
}
.account-tab:hover { border-color: var(--red); color: var(--red); }
.account-panels { display: flex; flex-direction: column; gap: 16px; }
.account-panels > [data-account-panel] { display: none; }
.account-panels > [data-account-panel].is-active { display: block; }
.account-panel {
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.account-panel.account-logout-panel { display: flex !important; }
.account-panel h3 { color: var(--text); margin-bottom: 20px; }
.account-tab.is-active {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}
.profil-contact-phones { display: grid; gap: 10px; font-size: 0.82rem; }
.profil-contact-row { display: flex; flex-direction: column; gap: 2px; }
.profil-contact-row a { color: var(--red); font-weight: 600; }
.account-order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 16px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--white);
}
.account-order-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}
.account-order-cancel-form { margin: 0; }
.card-no-animate,
.card .card-img,
.card .card-img img {
  opacity: 1 !important;
  visibility: visible !important;
}
.card-no-animate { transform: none !important; }
.animate-in-pending .card-img,
.animate-in-pending .card-img img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.account-order-list { display: grid; gap: 10px; }
.account-order-id { font-weight: 700; color: var(--text); }
.account-order-meta { font-size: 0.85rem; color: var(--text-dim); }
.account-order-side { text-align: right; }
.account-order-total { font-weight: 800; color: var(--text); margin-top: 6px; }
.account-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.account-quick-links { display: grid; gap: 10px; }
.account-quick-links--orders {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}
.account-buy-again-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.account-logout-panel {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
}

.order-tracker--pending .order-tracker-fill,
.order-tracker--confirmed .order-tracker-fill {
  background: linear-gradient(90deg, #ffb347 0%, #ff9500 55%, #d97800 100%);
  box-shadow: 0 0 12px rgba(255, 149, 0, 0.35);
}
.order-tracker--pending .order-tracker-step--done .order-tracker-dot,
.order-tracker--confirmed .order-tracker-step--done .order-tracker-dot {
  border-color: #ff9500;
  background: linear-gradient(145deg, #ffb347, #ff9500);
}
.order-tracker--pending .order-tracker-step--done .order-tracker-label,
.order-tracker--confirmed .order-tracker-step--done .order-tracker-label {
  color: #b56a00;
}

@media (max-width: 900px) {
  .nav-hide-mobile { display: none !important; }

  .card-img {
    aspect-ratio: unset;
    height: 220px;
    min-height: 220px;
  }
  .card-img img {
    position: relative;
    height: 100%;
    min-height: 220px;
    max-height: none;
  }
  .product-gallery {
    aspect-ratio: unset;
    min-height: 280px;
    height: auto;
  }
  .product-gallery img {
    height: auto;
    min-height: 240px;
    max-height: 70vh;
  }
  .ticker-thumb {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    flex-shrink: 0;
  }
  .cart-item-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
  }
}

@media (max-width: 768px) {
  .crane-page-grid { grid-template-columns: 1fr; gap: 28px; }
  .crane-page-grid .crane-gallery { order: -1; }
  .crane-gallery-main--contain img {
    max-height: min(70vh, 520px);
    object-fit: contain;
    width: 100%;
    height: auto;
  }
  .crane-thumb img { height: auto; max-height: 160px; object-fit: contain; }
}

@media (max-width: 640px) {
  .container {
    padding: 0 14px !important;
  }

  .nav-logo-img-wrap {
    width: 34px;
    height: 34px;
    min-width: 34px;
  }

  .nav-logo-text {
    font-size: 1.05rem !important;
  }

  .nav-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }

  .nav-links.open {
    left: 10px !important;
    right: 10px !important;
    padding: 10px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   V11 — UI Apple · marketing · profondeur 3D
═══════════════════════════════════════════════════════════════ */
.top-strip {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px 0;
}
.top-strip-tagline { font-weight: 600; letter-spacing: 0.02em; }
.top-strip-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.top-strip-link { color: rgba(255, 255, 255, 0.85); font-weight: 600; font-size: 0.82rem; }
.top-strip-link--secondary { opacity: 0.95; }
@media (max-width: 720px) {
  .top-strip-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .top-strip-actions { width: 100%; flex-direction: column; align-items: flex-start; }
}
.top-strip-link:hover { color: #fff; }
.top-strip-fb {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}
.nav-glass {
  background: rgba(29, 29, 31, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.nav-glass .nav-link {
  color: rgba(255, 255, 255, 0.85);
}
.nav-glass .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-glass .nav-cart {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.nav-glass .nav-cart:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}
.nav-glass .btn-ghost {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.nav-glass .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}
.nav-glass .btn-dark {
  background: #fff;
  color: var(--text);
}
.nav-glass .lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}
.nav-glass .lang-btn.active,
.nav-glass .lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.nav-glass .nav-toggle span {
  background: #fff;
}
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-head-center { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.section-lead { font-size: 1.05rem; max-width: 540px; margin: 0 auto; }
.about-hero-cta { margin-top: 28px; }
.crane-lead { font-size: 1.1rem; margin-bottom: 24px; }
.crane-cta { margin-top: 32px; flex-wrap: wrap; }

.depth-card {
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s ease;
}
.depth-card:hover {
  transform: translateY(-8px) rotateX(3deg) rotateY(-2deg);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(192, 57, 43, 0.1);
}
.feature-card {
  position: relative;
  padding-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 60%, rgba(192, 57, 43, 0.04));
  pointer-events: none;
}
.feature-mark {
  display: none;
}
.feature-mark span {
  display: none;
}
.feature-title { margin: 0 0 8px; font-size: 1.05rem; }
.feature-icon { display: none; }

.hero-immersive { isolation: isolate; }
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}
.hero-glow {
  position: absolute;
  width: 60%;
  height: 60%;
  top: 10%;
  right: -10%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.22), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-has-bg .hero-gradient { opacity: 0.5; }
.hero-has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 29, 31, 0.92), rgba(29, 29, 31, 0.55));
  z-index: 0;
}
.hero-has-bg .container { position: relative; z-index: 1; }

.page-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
}
.page-header-3d.has-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.78));
  z-index: 0;
}
.page-header-3d.has-cover .container { position: relative; z-index: 1; }

.no-img-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(160deg, var(--bg-soft), #ececf0);
}
.card-title-link { color: inherit; }
.card-title-link:hover { color: var(--red); }

.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.trust-title { color: var(--white); margin-bottom: 12px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.trust-lead { color: rgba(255, 255, 255, 0.5); margin-bottom: 28px; max-width: 520px; }
.section-label-light { color: rgba(255, 255, 255, 0.45); }
.trust-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.trust-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.depth-card-dark:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}
.trust-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.trust-check::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.trust-item-title { font-weight: 600; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }
.trust-item-desc { font-size: 0.83rem; color: rgba(255, 255, 255, 0.42); }
.trust-aside { display: flex; flex-direction: column; gap: 14px; }
.trust-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
}
.trust-panel-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.trust-panel-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}
.trust-panel-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--red);
}
.trust-panel-static { font-weight: 700; color: var(--white); }
.trust-fb-btn { color: rgba(255, 255, 255, 0.9); border-color: rgba(255, 255, 255, 0.15); }

.contact-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-bottom: 14px;
  background: linear-gradient(145deg, var(--bg-soft), #e8e8ed);
  border: 1px solid var(--border-soft);
  position: relative;
}
.contact-mark--phone::after {
  content: '';
  position: absolute;
  inset: 10px 12px;
  border: 2px solid var(--red);
  border-radius: 4px;
}
.contact-mark--mail::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  height: 12px;
  border: 2px solid var(--red);
  border-radius: 2px;
}
.contact-mark--vat::after {
  content: 'TVA';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 800;
  color: var(--red);
}
.contact-mark--social {
  background: linear-gradient(145deg, #1877f2, #0d65d9);
  border: none;
}
.contact-mark--social::after {
  content: 'f';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: #fff;
  font-size: 1.1rem;
}
.contact-icon { display: none; }

.footer-social { margin: 14px 0 8px; }
.footer-social-link {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
}
.footer-social-link:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.geo-banner { display: none; }
.badge-satisfied { display: none !important; }

@media (max-width: 900px) {
  .trust-grid { grid-template-columns: 1fr; }
}
