/* ============================================================
   ReconMarine — Surveillance Professionnelle
   Dark Navy + Cyan — Tactical Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand:        #0a1628;
  --brand-light:  #0f2040;
  --accent:       #00bcd4;
  --accent-dark:  #0097a7;
  --accent-glow:  rgba(0,188,212,0.2);
  --gold:         #ffd54f;
  --red:          #ef5350;
  --green:        #26a69a;
  --text:         #dce8f0;
  --muted:        #7a9ab0;
  --border:       rgba(255,255,255,0.07);
  --border-cyan:  rgba(0,188,212,0.25);
  --bg:           #060d18;
  --bg2:          #080f1c;
  --surface:      rgba(255,255,255,0.04);
  --surface2:     rgba(255,255,255,0.07);
  --white:        #ffffff;
  --card-shadow:  0 2px 16px rgba(0,0,0,.5);
  --card-shadow-hover: 0 8px 40px rgba(0,188,212,.18);
  --radius:       8px;
  --radius-sm:    5px;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width:    1200px;
  --content-width: 760px;
  --grad-cyan:    linear-gradient(135deg, #006064 0%, #00bcd4 100%);
  --grad-dark:    linear-gradient(180deg, #0a1628 0%, #060d18 100%);

  /* Category colors */
  --cat-culture:      #7c3aed;
  --cat-technologie:  #00bcd4;
  --cat-finances:     #26a69a;
  --cat-sante:        #ef5350;
  --cat-art-de-vivre: #ffa726;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.2; color: var(--white); }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── TOP BAR ── */
.top-bar {
  background: var(--brand);
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .2px;
  padding: 0;
}
.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.top-bar a { color: var(--muted); }
.top-bar a:hover { color: var(--accent); }

/* ── HEADER ── */
.site-header {
  background: rgba(6,13,24,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 20px;
}
.site-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  font-size: 1.2rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--grad-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0,188,212,.4);
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.site-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.site-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.site-nav a:hover, .site-nav a.active { color: var(--accent); background: var(--accent-glow); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--grad-cyan);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(0,188,212,.35);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,188,212,.5); color: #fff; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--border-cyan); color: var(--accent); background: var(--accent-glow); }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}
.cart-btn:hover { border-color: var(--border-cyan); color: var(--accent); }
.cart-count {
  background: var(--accent);
  color: var(--bg);
  font-size: .65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--muted); border-radius: 2px; }
.mobile-nav { display: none; background: var(--brand); border-top: 1px solid var(--border); padding: 14px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: var(--muted); font-size: .9rem; padding: 10px 0; border-bottom: 1px solid var(--border); transition: all .2s; }
.mobile-nav a:hover { color: var(--accent); padding-left: 8px; }

/* ── HERO ── */
.hero {
  background: var(--grad-dark);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,188,212,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-cyan);
  background: var(--accent-glow);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 16px;
  line-height: 1.12;
}
.hero h1 span {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead { font-size: .98rem; color: var(--muted); margin-bottom: 32px; line-height: 1.75; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 0 0 1px var(--border-cyan);
}
.hero-img-wrap img { width: 100%; object-fit: cover; }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--border-cyan); transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.product-img { background: rgba(255,255,255,.03); padding: 24px; text-align: center; }
.product-img img { max-height: 180px; margin: 0 auto; object-fit: contain; }
.product-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.badge-popular { background: var(--grad-cyan); color: #fff; }
.badge-new { background: rgba(38,166,154,.9); color: #fff; }
.badge-premium { background: rgba(255,213,79,.15); border: 1px solid rgba(255,213,79,.4); color: var(--gold); }
.badge-ptz { background: rgba(124,58,237,.2); border: 1px solid rgba(124,58,237,.4); color: #a78bfa; }
.badge-360 { background: rgba(239,83,80,.15); border: 1px solid rgba(239,83,80,.4); color: #ef9a9a; }
.product-name { font-family: var(--font-serif); font-size: 1.05rem; color: var(--white); margin-bottom: 8px; line-height: 1.3; }
.product-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-price { font-size: 1.2rem; font-weight: 800; color: var(--white); }
.product-price span { font-size: .7rem; color: var(--muted); font-weight: 500; }

/* ── TRUST / FEATURES ── */
.trust-bar { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-items { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.trust-icon { font-size: 1.6rem; }
.trust-item strong { color: var(--white); display: block; font-size: .88rem; }
.trust-item span { color: var(--muted); font-size: .8rem; }

/* ── SECTION ── */
.section { padding: 64px 0; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section-header { margin-bottom: 40px; }
.section-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 8px; }
.section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.section-sub { font-size: .93rem; color: var(--muted); margin-top: 8px; max-width: 560px; line-height: 1.7; }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0f2040 0%, #0a1628 100%);
  border: 1px solid var(--border-cyan);
  border-radius: 14px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(0,188,212,.12) 0%, transparent 70%);
}
.cta-text h3 { font-size: 1.3rem; margin-bottom: 8px; }
.cta-text p { font-size: .88rem; color: var(--muted); }

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { border-color: var(--border-cyan); transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.blog-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tag { font-size: .7rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; }
.blog-card-title { font-family: var(--font-serif); font-size: .95rem; color: var(--white); line-height: 1.35; margin-bottom: 8px; flex: 1; }
.blog-card-desc { font-size: .8rem; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.blog-card-meta { font-size: .75rem; color: var(--muted); }
.blog-card-link { color: var(--accent); font-size: .82rem; font-weight: 600; margin-top: 10px; }

/* ── GUIDE TABLE ── */
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: .875rem; }
thead { background: var(--surface2); }
thead th { text-align: left; padding: 12px 16px; font-weight: 700; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--border); }
tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(0,188,212,.04); }
td { padding: 12px 16px; color: var(--muted); line-height: 1.5; }
td:first-child { color: var(--white); font-weight: 600; }
td strong { color: var(--white); }

/* ── ARTICLE ── */
.article-wrap, .page-wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 52px 20px 80px;
}
.article-wrap h1, .page-wrap h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.meta { font-size: .78rem; color: var(--muted); margin-bottom: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tag-label {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--border-cyan);
  color: var(--accent);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-wrap h2, .page-wrap h2 { font-size: 1.35rem; margin: 40px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.article-wrap h3, .page-wrap h3 { font-size: 1rem; font-family: var(--font-sans); font-weight: 700; color: var(--accent); margin: 24px 0 8px; }
.article-wrap p, .page-wrap p { font-size: .93rem; color: var(--muted); margin-bottom: 14px; line-height: 1.8; }
.article-wrap ul, .page-wrap ul { padding-left: 1.2rem; list-style: disc; }
.article-wrap li, .page-wrap li { font-size: .91rem; color: var(--muted); margin-bottom: 7px; line-height: 1.7; }
.article-wrap a, .page-wrap a { color: var(--accent); text-decoration: underline; }
.article-wrap strong, .page-wrap strong { color: var(--text); }

/* Disclosure box */
.disclosure {
  background: rgba(0,188,212,.06);
  border: 1px solid var(--border-cyan);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 20px 0;
}
.disclosure strong { color: var(--accent); }

/* ── BREADCRUMB ── */
.breadcrumb { font-size: .76rem; color: var(--muted); padding: 12px 0; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 6px; opacity: .5; }

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all .2s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); background: rgba(0,188,212,.05); box-shadow: 0 0 0 3px rgba(0,188,212,.12); }
.form-textarea { resize: vertical; min-height: 110px; }

/* ── FOOTER ── */
.site-footer {
  background: var(--brand);
  border-top: 1px solid var(--border);
  padding: 52px 0 0;
  margin-top: 80px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-logo-icon {
  width: 32px; height: 32px; border-radius: 7px;
  background: var(--grad-cyan);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 800; color: #fff;
  font-family: var(--font-sans);
  box-shadow: 0 0 12px rgba(0,188,212,.3);
}
.footer-brand p { font-size: .8rem; color: var(--muted); line-height: 1.75; }
.footer-col h4 { font-family: var(--font-sans); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .8rem; color: var(--muted); opacity: .75; }
.footer-col a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 20px;
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom span { font-size: .76rem; color: var(--muted); }
.footer-bottom a { font-size: .76rem; color: var(--muted); margin-left: 16px; }
.footer-bottom a:hover { color: var(--accent); }

/* ── COOKIE BANNER ── */
.cookie-bar {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(8,15,28,.96); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 540px; width: calc(100% - 32px); z-index: 999;
  backdrop-filter: blur(16px); box-shadow: 0 12px 48px rgba(0,0,0,.5);
}
.cookie-bar.hidden { display: none; }
.cookie-bar p { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.cookie-bar a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-cookie-refuse { background: transparent; border: 1px solid var(--border); color: var(--muted); padding: 6px 13px; border-radius: var(--radius-sm); font-size: .78rem; font-weight: 600; cursor: pointer; transition: all .2s; }
.btn-cookie-refuse:hover { border-color: rgba(255,255,255,.2); color: var(--text); }
.btn-cookie-accept { background: var(--grad-cyan); border: none; color: #fff; padding: 6px 14px; border-radius: var(--radius-sm); font-size: .78rem; font-weight: 700; cursor: pointer; transition: all .2s; }
.btn-cookie-accept:hover { opacity: .88; }

/* ── CART NOTIFICATION ── */
.cart-notif {
  position: fixed; bottom: 20px; right: 20px;
  background: var(--green); color: #fff;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: .84rem; font-weight: 700; z-index: 998;
  box-shadow: 0 6px 24px rgba(38,166,154,.4);
  display: none; animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-wrap { max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 0 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { flex-direction: column; padding: 28px 24px; text-align: center; }
  .cookie-bar { flex-direction: column; text-align: center; }
  .cookie-actions { justify-content: center; }
}
