/* Reset & base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark:    #0d1117;
  --darker:  #090c10;
  --accent:  #3b82f6;
  --accent2: #60a5fa;
  --text:    #e2e8f0;
  --muted:   #94a3b8;
  --border:  #1e2a3a;
  --card:    #111827;
  --radius:  8px;
  --max:     1100px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Site header ── */
/*
  Background colour options:
  Light blue (current, matches Wix):  #dce8f5
  Deep navy (matches dark theme):     #0d1b2e
  Warm white:                         #f5f5f0
  Charcoal:                           #1a1f2e
*/
.site-header {
  background: #dce8f5;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Top strip — nav links right-aligned */
.header-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.4rem 1.5rem 0;
  gap: 0.1rem;
}

.header-nav a {
  color: #1a2e4a;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s;
}

.header-nav a:hover,
.header-nav a.active {
  background: rgba(0,0,0,0.08);
  text-decoration: none;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  color: #1a2e4a;
  font-size: 1.4rem;
}

/* Banner row — star | title | star */
.header-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem 1rem;
  gap: 2rem;
}

.header-star {
  height: 110px;
  width: auto;
  flex-shrink: 0;
}

.header-title {
  text-align: center;
  flex: 1;
  max-width: 500px;
}

.header-title h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #1a2e4a;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.header-title p {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  font-style: italic;
  color: #2c4a6e;
  font-weight: 400;
}

/* Mobile header */
@media (max-width: 700px) {
  .nav-toggle { display: block; }

  .header-nav {
    justify-content: space-between;
    padding: 0.4rem 1rem;
  }

  .header-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #dce8f5;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 0.5rem 1rem;
  }

  .header-nav-links.open { display: flex; }

  .header-star { height: 70px; }
  .header-banner { gap: 1rem; padding: 0.5rem 1rem 0.75rem; }
}

/* Keep old .nav-links name working for toggle script */
.nav-links { display: flex; gap: 0.1rem; list-style: none; }
.nav-links li { display: contents; }

/* ── Hero ── */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 600px;
}

.hero-bg {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

.hero-text {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #fff;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.6rem 2rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-badge:hover { background: #2563eb; text-decoration: none; }

.hero-product {
  width: min(520px, 80vw);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6));
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.75rem 2.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s;
}

.hero-cta:hover { background: #2563eb; text-decoration: none; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.1s;
  cursor: pointer;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); text-decoration: none; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-outline  { border: 1px solid var(--border); color: var(--text); margin-left: 0.75rem; }

/* ── Sections ── */
section { padding: 4rem 1.5rem; }
section:nth-child(even) { background: var(--card); }

.section-inner { max-width: var(--max); margin: 0 auto; }

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* ── Feature grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--accent2);
}

.feature-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.feature-card li {
  color: var(--muted);
  font-size: 0.92rem;
  padding-left: 1.1rem;
  position: relative;
}

.feature-card li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Specs bar ── */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.spec {
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.spec-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Team ── */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.team-photo-colin    { object-fit: cover; object-position: center 15%; }
.team-photo-rodolphe { object-fit: cover; object-position: center 20%; }

.team-body {
  padding: 1.5rem;
}

.team-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.2rem; }
.team-card .role { color: var(--accent2); font-size: 0.85rem; margin-bottom: 0.75rem; }
.team-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; }

/* ── Retailers ── */
.retailers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.retailer-card {
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.retailer-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.retailer-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1rem; }

/* ── Guides ── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.guide-card {
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.2s;
}

.guide-card:hover { border-color: var(--accent); }
.guide-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.guide-card p { font-size: 0.82rem; color: var(--muted); }

.guide-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.download-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Contact form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.contact-info h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); margin-bottom: 0.75rem; font-size: 0.95rem; }
.contact-info a { color: var(--accent2); }

form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

label { font-size: 0.85rem; color: var(--muted); display: block; margin-bottom: 0.3rem; }

input, textarea, select {
  width: 100%;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea { resize: vertical; min-height: 130px; }

/* ── Newsletter ── */
.newsletter {
  background: linear-gradient(135deg, #0f1f35 0%, var(--darker) 100%);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  text-align: center;
}

.newsletter-inner { max-width: 500px; margin: 0 auto; }
.newsletter h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.newsletter p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
}

/* ── Footer ── */
footer {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--darker) 0%, #0f1f35 100%);
  padding: 3.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; text-shadow: 0 2px 12px rgba(0,0,0,0.9); }
.page-hero p { color: #e2e8f0; margin-top: 0.5rem; font-size: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.95); }

/* ── Responsive nav ── */
@media (max-width: 700px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--darker);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.15rem;
  }

  .nav-links.open { display: flex; }
  .nav-links a { display: block; }
}
