/* ============================================================
   LE FRANC SUISSE — CSS Premium Swiss Design
   ============================================================ */

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

/* ---- VARIABLES ---- */
:root {
  --red:       #C8102E;
  --red-dark:  #9e0d24;
  --red-light: #f5e6e9;
  --white:     #FFFFFF;
  --gold:      #B8860B;
  --gold-light:#f0e6c0;
  --gray-50:   #f8f9fa;
  --gray-100:  #f1f3f5;
  --gray-200:  #e9ecef;
  --gray-300:  #dee2e6;
  --gray-500:  #6c757d;
  --gray-700:  #495057;
  --gray-900:  #212529;
  --text:      #1a1a2e;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --radius:    12px;
  --radius-lg: 20px;
  --transition: .25s ease;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { line-height: 1.7; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(200,16,46,.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,16,46,.4); }
.btn-secondary {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-secondary:hover { background: var(--red); color: var(--white); transform: translateY(-2px); }
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(184,134,11,.3);
}
.btn-gold:hover { background: #9a6e08; transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--red);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 var(--gray-200), var(--shadow-sm);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--red);
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active { color: var(--red); background: var(--red-light); }

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 50px;
  padding: 4px;
  flex-shrink: 0;
}
.lang-switcher a {
  padding: 5px 10px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: var(--transition);
  text-transform: uppercase;
}
.lang-switcher a:hover { color: var(--red); }
.lang-switcher a.active { background: var(--red); color: white; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1a0a0e 0%, #C8102E 50%, #9e0d24 100%);
  color: white;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-cross {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  opacity: .08;
  font-size: 280px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  font-family: 'Inter', sans-serif;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.hero p { font-size: 1.1rem; opacity: .9; margin-bottom: 36px; max-width: 550px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat-val {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: white;
}
.hero-stat-label {
  font-size: .82rem;
  opacity: .7;
  margin-top: 2px;
}

/* ---- BADGES ---- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge-red    { background: var(--red); color: white; }
.badge-gold   { background: var(--gold); color: white; }
.badge-green  { background: #28a745; color: white; }
.badge-blue   { background: #0077B6; color: white; }
.badge-gray   { background: var(--gray-200); color: var(--gray-700); }

/* ---- CATEGORY GRID ---- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.cat-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.cat-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.cat-icon-red  { background: var(--red-light); color: var(--red); }
.cat-icon-gold { background: var(--gold-light); color: var(--gold); }
.cat-icon-blue { background: #e0f0f8; color: #0077B6; }
.cat-icon-green{ background: #e6f4ea; color: #28a745; }
.cat-icon-purple{ background: #ede7f6; color: #7b1fa2; }
.cat-icon-orange{ background: #fff3e0; color: #f57c00; }
.cat-card h3 { font-size: .95rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 6px; }
.cat-card p { font-size: .8rem; color: var(--gray-500); }

/* ---- DEAL CARDS ---- */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.deal-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.deal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.deal-card-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.deal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.deal-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--red);
  flex-shrink: 0;
}
.deal-name { font-weight: 700; font-size: 1rem; }
.deal-type { font-size: .78rem; color: var(--gray-500); }
.deal-body { padding: 20px 24px; }
.deal-desc { font-size: .9rem; color: var(--gray-700); margin-bottom: 16px; line-height: 1.6; }
.deal-perks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.deal-perk {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: var(--gray-700);
  background: var(--gray-50);
  padding: 5px 10px;
  border-radius: 50px;
}
.deal-perk::before { content: '✓'; color: #28a745; font-weight: 700; }
.deal-footer {
  padding: 16px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.deal-price { font-size: 1.3rem; font-weight: 800; color: var(--red); }
.deal-price span { font-size: .8rem; font-weight: 400; color: var(--gray-500); }

/* ---- COMPARISON TABLE ---- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table th {
  background: var(--red);
  color: white;
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: .88rem;
}
.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
  vertical-align: middle;
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:nth-child(even) td { background: var(--gray-50); }
.comparison-table tr:hover td { background: var(--red-light); }
.check { color: #28a745; font-weight: 700; }
.cross { color: #dc3545; }

/* ---- FEATURE BLOCKS ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
.feature-card p { font-size: .9rem; color: var(--gray-500); }

/* ---- SECTION TITLES ---- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--gray-500); max-width: 600px; margin: 0 auto; }
.section-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red);
  margin-bottom: 10px;
}

/* ---- BG VARIANTS ---- */
.bg-gray { background: var(--gray-50); }
.bg-red { background: var(--red); color: white; }
.bg-dark { background: var(--text); color: white; }
.bg-gradient { background: linear-gradient(135deg, var(--red-light) 0%, #fff5f7 100%); }

/* ---- NEWSLETTER ---- */
.newsletter-box {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '✉';
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 120px;
  opacity: .06;
}
.newsletter-box h2 { color: white; margin-bottom: 12px; }
.newsletter-box p { opacity: .85; margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: .95rem;
  outline: none;
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.3); }

/* ---- BLOG CARDS ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.blog-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.blog-card-body { padding: 24px; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: .8rem;
  color: var(--gray-500);
}
.blog-card h3 { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: .88rem; color: var(--gray-500); margin-bottom: 16px; }
.blog-read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-read-more:hover { gap: 10px; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,.7);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: white; font-size: .9rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: .88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}
.footer-disclaimer {
  background: rgba(255,255,255,.05);
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: .78rem;
  margin-bottom: 30px;
  border-left: 3px solid var(--gold);
}

/* ---- REVEAL ON SCROLL ---- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--gray-500);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--gray-300); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, #1a0a0e 0%, #C8102E 60%, #9e0d24 100%);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 1; max-width: 720px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { opacity: .9; font-size: 1.05rem; }

/* ---- RATING STARS ---- */
.stars { color: #ffc107; font-size: 1rem; letter-spacing: 1px; }

/* ---- AFFILIATE DISCLAIMER ---- */
.affiliate-note {
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: .82rem;
  color: #5a4000;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 40px;
}

/* ---- MOBILE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; box-shadow: var(--shadow-md); padding: 20px; gap: 8px; z-index: 999; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 24px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .deals-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .comparison-table { font-size: .8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .lang-switcher a { padding: 4px 7px; font-size: .72rem; }
}