/* ============ KRAKEN DTC — Common styles partagés ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #B8986A;
  --gold-dark: #9A7E54;
  --cream: #FAF7F2;
  --cream-2: #F2EEE6;
  --charcoal: #1C1917;
  --gray: #6B6760;
  --gray-light: #D9D5CC;
  --gray-lighter: #EDEAE3;
  --max: 1280px;
  --radius: 4px;
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.08);
}
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; font-weight: 600;
  border-radius: 999px; transition: all .2s; font-size: 14px;
  letter-spacing: 0.02em; text-transform: uppercase; border: none; cursor: pointer;
}
.btn-primary { background: var(--charcoal); color: var(--cream); }
.btn-primary:hover { background: var(--gold); }
.btn-ghost { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn-ghost:hover { background: var(--charcoal); color: var(--cream); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 15px; }

/* Trust bar (top) */
.trust-bar {
  background: var(--charcoal); color: var(--cream-2); text-align: center;
  padding: 10px 0; font-size: 13px; letter-spacing: 0.05em;
}
@media (max-width: 640px) { .trust-bar { font-size: 11px; padding: 8px 16px; } }

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-light); padding: 16px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; letter-spacing: 0.02em; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav a { color: var(--charcoal); padding: 4px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.header-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer; background: transparent;
  border: none; transition: all .2s; position: relative;
}
.icon-btn:hover { background: var(--cream-2); }
.icon-btn .badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--gold); color: white;
  width: 16px; height: 16px; border-radius: 50%;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.menu-burger { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-burger { display: flex; }
}

/* Section heading */
.section-head { text-align: center; padding: 80px 0 40px; }
.section-head .eyebrow {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; font-weight: 600;
}
.section-head p { color: var(--gray); margin-top: 12px; }
@media (max-width: 640px) { .section-head { padding: 60px 0 32px; } }

/* Reassurance */
.reass {
  background: var(--charcoal); color: var(--cream); padding: 60px 0;
}
.reass-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.reass-item .icon { font-size: 28px; margin-bottom: 12px; color: var(--gold); }
.reass-item .title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.reass-item .desc { font-size: 13px; color: var(--gray-light); }
@media (max-width: 640px) { .reass-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* Footer */
.footer {
  background: var(--charcoal); color: var(--gray-light); padding: 60px 0 24px;
  border-top: 1px solid #2A2725;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid #2A2725;
}
.footer-brand .logo-f { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--cream); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--cream); margin-bottom: 16px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 13px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Product card (réutilisé partout) */
.product-card { cursor: pointer; }
.product-card .img-wrap {
  aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius);
  margin-bottom: 12px; background: var(--cream-2); position: relative;
}
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .img-wrap img { transform: scale(1.04); }
.product-card .name { font-size: 14px; font-weight: 500; color: var(--charcoal); margin-bottom: 4px; line-height: 1.4; }
.product-card .price { font-size: 14px; color: var(--gray); }

/* Page links indicator (pour les previews) */
.preview-nav {
  position: fixed; bottom: 16px; left: 16px; z-index: 200;
  background: var(--charcoal); color: var(--cream); border-radius: 8px;
  padding: 8px 12px; font-size: 12px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.preview-nav a { color: var(--gold); padding: 4px 8px; border-radius: 4px; }
.preview-nav a:hover { background: rgba(255,255,255,0.1); }
.preview-nav strong { color: var(--cream); margin-right: 4px; }
/* Styles specific to home page */

.hero { padding: 80px 0; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-text .eyebrow { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.hero-text h1 { margin-bottom: 24px; }
.hero-text p { font-size: 17px; color: var(--gray); margin-bottom: 32px; max-width: 480px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .hero { padding: 40px 0; } .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero-text { order: 2; } }

.trust-signals { background: var(--cream-2); padding: 32px 0; border-top: 1px solid var(--gray-light); border-bottom: 1px solid var(--gray-light); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-item .num { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--gold); margin-bottom: 4px; }
.trust-item .txt { font-size: 13px; color: var(--gray); letter-spacing: 0.03em; }
@media (max-width: 768px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

.cats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }
.cat-card { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; cursor: pointer; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card .label { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; color: var(--cream); background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7)); font-family: 'Cormorant Garamond', serif; font-size: 22px; }
@media (max-width: 768px) { .cats-grid { grid-template-columns: repeat(2, 1fr); padding: 0 16px 60px; } }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }
@media (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px 60px; } }

.story { background: var(--cream-2); padding: 100px 0; margin: 80px 0 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-image { aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-text .eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.story-text p { font-size: 17px; line-height: 1.7; color: var(--gray); margin: 24px 0; }
@media (max-width: 768px) { .story-grid { grid-template-columns: 1fr; gap: 32px; } .story { padding: 60px 0; } }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: var(--max); margin: 0 auto; padding: 0 24px 100px; }
.testi { background: var(--cream); border: 1px solid var(--gray-light); padding: 32px; border-radius: 4px; }
.testi .stars { color: var(--gold); margin-bottom: 16px; font-size: 16px; }
.testi .quote { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; line-height: 1.5; margin-bottom: 20px; }
.testi .author { font-size: 13px; font-weight: 600; }
.testi .meta { font-size: 12px; color: var(--gray); margin-top: 2px; }
@media (max-width: 768px) { .testi-grid { grid-template-columns: 1fr; padding: 0 16px 60px; } }
