/* ==========================================================================
   Vinvalais.com – Marius Pitteloud & Fils
   Couleurs et typographies reprises du thème du site Odoo d'origine
   ========================================================================== */
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #00203f;       /* couleur principale */
  --navy-2: #0b3460;
  --mint: #adefd1;       /* couleur secondaire */
  --mint-soft: #e3f8ee;
  --light: #f0f3f5;
  --footer: #14212e;
  --copy: #141414;
  --ink: #212529;
  --muted: #6b7680;
  --line: #dde3e8;
  --white: #fff;
  --ok: #2e7d4f; --ok-bg: #e5f4ea;
  --warn: #9a6400; --warn-bg: #fff3d6;
  --bad: #b3261e; --bad-bg: #fbe7e5;
  --info: #0b4f8a; --info-bg: #e3eefa;
  --wine-blanc: #c9b458; --wine-rouge: #7a1f2b; --wine-rose: #d97a8a; --wine-special: #b9772a;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 32, 63, .08);
  --head: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 500; line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }
small { font-size: .85em; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.narrow-wide { max-width: 980px; }
.center { text-align: center; }
.right { text-align: right; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.ok { color: var(--ok); font-weight: 500; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.hp { position: absolute; left: -9999px; }
.h2 { font-size: 1.45rem; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .6rem 1.15rem; border-radius: 6px; border: 1px solid transparent; font: 500 1rem var(--body); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .1s; line-height: 1.3; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: var(--light); color: var(--navy); }
.btn-light:hover { background: #e2e8ec; }
.btn-success { background: #28a745; color: #fff; }
.btn-success:hover { background: #218838; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-danger:hover { background: #c82333; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* ---------- En-tête ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand-logo { height: 60px; width: auto; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.nav-link { padding: .5rem .9rem; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 400; }
.nav-link:hover { color: var(--navy); background: var(--light); }
.nav-link.active { background: var(--navy); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link { position: relative; display: inline-flex; padding: 8px; color: var(--ink); border-radius: 50%; }
.icon-link:hover { background: var(--light); }
.icon-link .icon { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 0; right: -2px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--mint); color: var(--navy); font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle .icon { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .header-inner { min-height: 70px; gap: 12px; }
  .brand-logo { height: 48px; }
  .menu-toggle { display: inline-flex; }
  .btn-contact { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none; margin: 0; }
  .main-nav.open { display: flex; }
  .nav-link { padding: .8rem 1rem; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.pt-0 { padding-top: 0; }
.bg-light { background: var(--light); }
.section-title { font-size: 2rem; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.page-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: .5em; }
.lead-sm { font-size: 1.08rem; color: #3d4650; max-width: 720px; }
.flash-wrap { padding-top: 20px; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }

/* ---------- Accueil ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.display { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; letter-spacing: -.01em; margin-bottom: .3em; }
.lead { font-size: 1.3rem; color: var(--navy); font-family: var(--head); margin-bottom: .6em; }
.hero-text p { font-size: 1.1rem; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-shape { position: absolute; width: 88%; aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; background: var(--mint); opacity: .55; transform: rotate(-8deg); }
.hero-logo { position: relative; width: min(340px, 78%); aspect-ratio: 441/477; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); background: #fff; }

.arches-wrap { padding: 0 0 24px; }
.arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arch { height: clamp(260px, 38vw, 470px); border-radius: 200px 200px 14px 14px; background-color: var(--light); background-size: 300% auto; background-repeat: no-repeat; }
.arch-0 { background-position: 0% 50%; margin-top: 40px; }
.arch-1 { background-position: 50% 50%; }
.arch-2 { background-position: 100% 50%; margin-top: 40px; }

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.welcome .prose { font-size: 1.12rem; border-left: 3px solid var(--mint); padding-left: 28px; }

.featured-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 36px; }
.featured-card { background: #fff; border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; text-align: center; }
.featured-card:hover { transform: translateY(-4px); color: var(--ink); }
.featured-img { aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 12px; }
.featured-img img { max-height: 100%; object-fit: contain; }
.featured-card h3 { font-size: 1.15rem; margin: 8px 0 0; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.perk { display: flex; gap: 16px; align-items: flex-start; }
.perk .icon { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--mint-soft); color: var(--navy); }
.perk p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- À propos ---------- */
.intro-title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; text-align: center; font-weight: 400; color: var(--navy); }
.three-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.col-title { font-style: italic; font-size: 1.35rem; padding-bottom: 10px; border-bottom: 2px solid var(--mint); display: inline-block; }
.carousel { position: relative; border-radius: 14px; overflow: hidden; background: var(--light); }
.carousel-track { display: flex; transition: transform .5s ease; }
.carousel-slide { flex: 0 0 100%; margin: 0; position: relative; }
.carousel-slide img { width: 100%; height: clamp(280px, 52vw, 600px); object-fit: cover; }
.carousel-slide figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(0,32,63,.82); color: #fff; padding: 6px 14px; border-radius: 6px; font-size: .95rem; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.carousel-btn.prev { left: 16px; } .carousel-btn.next { right: 16px; }
.carousel-dots { position: absolute; bottom: 18px; right: 20px; display: flex; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.6); cursor: pointer; padding: 0; }
.carousel-dots button.on { background: var(--mint); }

/* ---------- Qui sommes-nous / équipe / historique ---------- */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.who-card { text-decoration: none; color: var(--ink); text-align: center; }
.who-img { border-radius: 200px 200px 14px 14px; overflow: hidden; aspect-ratio: 3/4; background: var(--light); }
.who-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.who-card:hover img { transform: scale(1.04); }
.who-label { display: inline-block; margin-top: 16px; font-family: var(--head); font-size: 1.3rem; padding: 6px 18px; border-radius: 30px; background: var(--light); }
.who-card:hover .who-label { background: var(--navy); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 24px; }
.team-card { text-align: center; }
.team-img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; max-width: 240px; background: var(--light); border: 6px solid var(--mint-soft); }
.team-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 2px; }
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 24px 0; }
.masonry figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--light); }
.masonry img { width: 100%; height: 100%; object-fit: cover; }
.hist-text { max-width: 820px; margin: 36px auto; font-size: 1.08rem; }

/* ---------- Rétrospective ---------- */
.retro-banner { height: clamp(200px, 32vw, 380px); background-size: cover; background-position: center; background-color: var(--light); }
.retro-list { display: flex; flex-direction: column; gap: 48px; margin: 40px 0 64px; }
.retro-item { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.retro-item.reverse .retro-img { order: 2; }
.retro-img { border-radius: 12px; overflow: hidden; background: var(--light); }
.retro-img img { width: 100%; height: auto; }
.retro-year { display: inline-block; font-family: var(--head); font-size: 2.2rem; color: var(--navy); border-bottom: 3px solid var(--mint); margin-bottom: 12px; }
.retro-text p { font-size: 1.18rem; font-family: var(--head); font-style: italic; line-height: 1.6; }
.two-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.two-imgs img { border-radius: 12px; width: 100%; }

/* ---------- Boutique ---------- */
.shop-head { padding: 56px 0 24px; background: linear-gradient(180deg, var(--light), #fff); }
.shop-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; padding: .45rem 1rem; border-radius: 30px; cursor: pointer; font: inherit; color: var(--ink); }
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.select-wine { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.select-wine select { min-width: 220px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.wine-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; scroll-margin-top: 110px; }
.wine-card:hover { box-shadow: var(--shadow); }
.wine-card.flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 60% { box-shadow: 0 0 0 4px var(--mint); } 100% { box-shadow: none; } }
.wine-card.is-hidden { display: none; }
.wine-card.is-inactive { opacity: .6; }
.wine-img { background: radial-gradient(circle at 50% 70%, var(--light), #fff 70%); aspect-ratio: 1/1; display: grid; place-items: center; padding: 18px; }
.wine-img img { max-height: 100%; width: auto; object-fit: contain; }
.wine-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.wine-name { font-size: 1.35rem; margin: 8px 0 6px; }
.wine-name small { color: var(--muted); font-weight: 400; }
.wine-desc { color: #4a545e; font-size: .95rem; flex: 1; }
.tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.tag-blanc::before { background: var(--wine-blanc); } .tag-rouge::before { background: var(--wine-rouge); }
.tag-rose::before { background: var(--wine-rose); } .tag-special::before { background: var(--wine-special); }
.add-form { margin-top: auto; }
.fmt-label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.fmt-select { width: 100%; margin-top: 4px; }
.buy-row { display: flex; gap: 10px; }
.qty { display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty input { width: 48px; border: 0; text-align: center; font: inherit; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 34px; border: 0; background: var(--light); cursor: pointer; font-size: 1.1rem; color: var(--navy); }
.add-btn { flex: 1; }
.price-line { margin: 10px 0 0; font-size: .95rem; }
.price-now { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.soon { margin-top: auto; font-style: italic; }
.shop-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.info-box { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--light); }
.info-box .icon { width: 30px; height: 30px; color: var(--navy); }
.info-box p { margin: 4px 0 0; font-size: .95rem; color: #3d4650; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 8px; box-shadow: var(--shadow); transition: transform .3s, opacity .3s; z-index: 200; max-width: calc(100% - 32px); opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast a { color: var(--mint); margin-left: 8px; }

/* ---------- Formulaires ---------- */
.form label { display: block; margin-bottom: 14px; font-size: .92rem; font-weight: 500; color: #3d4650; }
input, select, textarea { width: 100%; padding: .62rem .8rem; border: 1px solid #c9d2d9; border-radius: 6px; font: 400 1rem var(--body); color: var(--ink); background: #fff; margin-top: 4px; }
.fmt-select, .select-wine select, .qty-input { margin-top: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(173, 239, 209, .7); }
input[disabled] { background: var(--light); color: var(--muted); }
.form label.check, label.check { display: block; position: relative; padding-left: 28px; font-weight: 400; }
label.check input { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-zip { display: grid; grid-template-columns: 120px 1fr; gap: 0 16px; }
fieldset { border: 0; padding: 0; margin: 0 0 20px; }
legend { font-family: var(--head); font-weight: 500; font-size: 1.15rem; margin-bottom: 12px; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.card.pad { padding: 28px; }
.card.soft { background: var(--light); border-color: transparent; }
fieldset.card { padding: 24px; }
fieldset.card legend { float: left; width: 100%; }
fieldset.card legend + * { clear: both; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 18px; display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.alert .icon { margin-top: 3px; }
.alert span { flex: 1; }
.alert-success { background: var(--ok-bg); color: #1d5636; }
.alert-error { background: var(--bad-bg); color: #8a1c15; display: block; }
.alert-info { background: var(--info-bg); color: #0a3d6b; }
.alert-warn { background: var(--warn-bg); color: #6d4700; display: block; }
.alert.big { display: block; font-size: 1.05rem; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 30px; font-size: .8rem; font-weight: 500; white-space: nowrap; }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-done { background: #e6e9ec; color: #39424a; }
.badge-bad { background: var(--bad-bg); color: var(--bad); }

/* ---------- Panier & commande ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-table, .table { width: 100%; border-collapse: collapse; }
.cart-table th, .table th { text-align: left; font-weight: 500; font-size: .85rem; color: var(--muted); padding: 10px 8px; border-bottom: 1px solid var(--line); }
.cart-table td, .table td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th.right, .table td.right, .cart-table .right { text-align: right; }
.table tfoot td { border: 0; padding: 6px 8px; }
.table tfoot .total td { font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.cart-wine { display: flex; align-items: center; gap: 14px; }
.cart-wine img { width: 56px; height: 56px; object-fit: contain; background: var(--light); border-radius: 8px; padding: 4px; }
.cart-wine div { display: flex; flex-direction: column; }
.qty-input { width: 80px; }
.icon-btn { background: none; border: 0; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 6px; }
.icon-btn:hover { color: var(--bad); background: var(--bad-bg); }
.cart-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.summary { background: var(--light); border-radius: var(--radius); padding: 24px; position: sticky; top: 110px; }
.summary h2 { font-size: 1.3rem; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 0 0 18px; }
.summary dd { margin: 0; text-align: right; }
.summary .total { font-weight: 700; font-size: 1.2rem; color: var(--navy); padding-top: 10px; border-top: 1px solid #cfd8de; }
.sum-items { list-style: none; padding: 0; margin: 0 0 16px; font-size: .92rem; }
.sum-items li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #cfd8de; }
.progress { height: 8px; background: #dbe3e8; border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--navy); }
.empty-state { text-align: center; padding: 48px 0; color: var(--muted); }
.empty-state .icon { width: 56px; height: 56px; margin: 0 auto 12px; display: block; color: #b6c2cb; }
.steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; flex-wrap: wrap; counter-reset: s; }
.steps li { counter-increment: s; font-size: .9rem; color: var(--muted); padding: 6px 14px 6px 8px; border-radius: 30px; background: var(--light); }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-right: 8px; font-weight: 700; }
.steps li.done::before { content: "✓"; background: var(--mint); }
.steps li.current { background: var(--navy); color: #fff; }
.steps li.current::before { color: var(--navy); }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; cursor: pointer; font-weight: 400 !important; }
.radio-card input { width: auto; margin-top: 5px; }
.radio-card span { display: flex; flex-direction: column; }
.radio-card small { color: var(--muted); }
.radio-card:has(input:checked) { border-color: var(--navy); background: var(--mint-soft); }
.checkout-main .alert-info { margin-bottom: 20px; }

/* ---------- Compte ---------- */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 920px; }
.account-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.verify { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 30px; font-size: .95rem; }
.verify.ok { background: var(--ok-bg); color: var(--ok); }
.verify.pending { background: var(--warn-bg); color: var(--warn); }
.account-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.order-detail { margin-bottom: 28px; }
.order-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bank-box { background: var(--mint-soft); border-radius: 8px; padding: 18px 20px; margin: 20px 0; }
.bank-box h3 { font-size: 1.1rem; display: flex; gap: 8px; align-items: center; }
.bank-box pre { font: 500 1rem/1.6 var(--body); white-space: pre-wrap; margin: 0; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--light); }
details.pw { margin-top: 20px; }
details.pw summary { cursor: pointer; color: var(--navy); margin-bottom: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--navy); color: #fff; border-radius: 14px; padding: 28px; }
.contact-card h5 { color: #fff; font-size: 1.05rem; letter-spacing: .03em; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-list .icon { color: var(--mint); margin-top: 3px; }
.contact-list a { color: #fff; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--footer); color: var(--light); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-title { color: #fff; font-size: 1.05rem; letter-spacing: .03em; }
.site-footer p { margin-bottom: .8em; }
.site-footer a { color: var(--light); }
.site-footer a:hover { color: var(--mint); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; }
.muted-link { opacity: .6; font-size: .9rem; }
.footer-copy { background: var(--copy); color: #fff; padding: 14px 0; font-size: .9rem; }

/* ---------- Avertissement d'âge ---------- */
.age-gate { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 20, 30, .72); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }
.age-box { background: #fff; border-radius: 12px; padding: 32px 28px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.age-box h2 { font-size: 1.7rem; font-weight: 400; color: var(--navy); }
.age-q { font-weight: 700; }
.age-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.age-refused { margin-top: 18px; color: var(--bad); font-weight: 500; }
body.age-locked { overflow: hidden; }

/* ---------- Installation ---------- */
.install { background: var(--light); }
.install main { padding: 48px 0; }
.install .card { box-shadow: var(--shadow); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .cart-layout, .account-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { min-height: 280px; order: -1; }
  .featured-grid, .team-grid, .masonry { grid-template-columns: repeat(2, 1fr); }
  .three-cols, .perks, .shop-info { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .summary { position: static; }
  .retro-item { grid-template-columns: 1fr; gap: 18px; }
  .retro-item.reverse .retro-img { order: 0; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .arches { gap: 10px; }
  .arch { border-radius: 100px 100px 10px 10px; }
  .arch-0, .arch-2 { margin-top: 20px; }
  .who-grid, .auth-grid, .grid2, .footer-grid, .two-imgs { grid-template-columns: 1fr; }
  .welcome .prose { padding-left: 18px; }
  .select-wine { width: 100%; }
  .select-wine select { flex: 1; min-width: 0; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; position: relative; }
  .cart-table td { border: 0; padding: 4px 0; }
  .cart-table td[data-label]::before { content: attr(data-label) " : "; color: var(--muted); font-size: .85rem; }
  .cart-table td:last-child { position: absolute; top: 10px; right: 0; width: auto; }
  .table { font-size: .9rem; }
  .card.pad { padding: 20px; }
}
