/* ==========================================================================
   Panneau Solaire Hérault — Feuille de style principale
   panneau-solaire-herault.fr
   ========================================================================== */

/* --- Variables & Reset -------------------------------------------------- */
:root {
  /* Palette Ciel Méditerranéen */
  --primary: #0284C7;          /* Bleu azur — navigation, liens, identité */
  --primary-hover: #0369A1;
  --primary-light: #E0F2FE;
  --accent: #F59E0B;           /* Ambre doré — CTAs, énergie, soleil */
  --accent-hover: #D97706;
  --accent-light: #FEF3C7;
  --blue: #1565C0;
  --blue-light: #E3F2FD;
  --green: #2E7D32;
  --green-light: #E8F5E9;
  --dark: #0C1E3C;             /* Bleu nuit profond */
  --heading: #0F2942;
  --text: #374151;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --bg: #F0F9FF;               /* Fond bleu ciel très clair */
  --white: #FFFFFF;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.14);
  --t: 0.3s ease;
  --font: 'Poppins', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

/* --- Typography ---------------------------------------------------------- */
h1 { font-size: clamp(1.75rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.2; color: var(--heading); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.25; color: var(--heading); }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; color: var(--heading); }
h4 { font-size: 1rem; font-weight: 600; color: var(--heading); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities ---------------------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

.subtitle {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
  background: var(--primary-light);
  padding: .3rem 1rem;
  border-radius: 50px;
  margin-bottom: .85rem;
}
.subtitle-green { background: var(--green-light); color: var(--green); }
.subtitle-blue { background: var(--blue-light); color: var(--blue); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }

@media(min-width: 600px) { .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media(min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .grid-4 { grid-template-columns: repeat(4,1fr); }
}

.content-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media(min-width: 768px) {
  .content-2col { grid-template-columns: 1fr 1fr; }
  .content-2col.reverse .content-text { order: 2; }
  .content-2col.reverse .content-media { order: 1; }
}

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,.4);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--accent);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-2px);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.25rem; font-size: .82rem; }
.btn-block { width: 100%; }

/* --- Navigation --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: box-shadow var(--t);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  flex-shrink: 0;
  text-decoration: none;
}
.logo-svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo span { font-weight: 400; }
.logo strong { color: var(--primary); }

.nav-links {
  display: none;
  align-items: center;
  gap: .15rem;
  flex: 1;
  justify-content: center;
}
.nav-links li a {
  padding: .5rem .85rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  transition: var(--t);
  color: var(--text);
  white-space: nowrap;
}
.nav-links li a:hover, .nav-links li a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  border-radius: 8px;
  transition: background var(--t);
}
.nav-toggle:hover { background: var(--bg); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: var(--t);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: .75rem 1.25rem 1.25rem;
  gap: .2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .7rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .95rem;
  color: var(--text);
  transition: var(--t);
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}
.mobile-nav .btn { margin-top: .5rem; justify-content: center; }

@media(min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0C1E3C 0%, #0F3460 60%, #0A2A54 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1400&q=70');
  background-size: cover;
  background-position: center;
  opacity: .18;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12,30,60,.9) 0%, rgba(12,30,60,.5) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 4rem 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.4);
  color: #FBBF24;
  padding: .45rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 .highlight { color: var(--accent); }
.hero .lead {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .83rem;
}
.trust-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Stats Bar ---------------------------------------------------------- */
.stats-bar { background: var(--accent); padding: 1.75rem 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
  text-align: center;
}
@media(min-width: 600px) { .stats-grid { grid-template-columns: repeat(4,1fr); } }
.stat-item { color: var(--white); }
.stat-number {
  font-size: clamp(1.6rem,3vw,2.4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label { font-size: .82rem; opacity: .88; font-weight: 500; }

/* --- Benefit Cards ------------------------------------------------------ */
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--t), box-shadow var(--t);
  border: 2px solid transparent;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}
.card-icon.orange { background: var(--accent-light); }
.card-icon.blue { background: var(--blue-light); }
.card-icon.green { background: var(--green-light); }
.benefit-card h3 { margin-bottom: .6rem; }
.benefit-card p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* --- Zone Cards --------------------------------------------------------- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: .85rem;
}
@media(min-width: 480px) { .zones-grid { grid-template-columns: repeat(3,1fr); } }
@media(min-width: 768px) { .zones-grid { grid-template-columns: repeat(4,1fr); } }
.zone-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem .75rem;
  text-align: center;
  transition: var(--t);
}
.zone-card:hover, .zone-card.featured {
  border-color: var(--primary);
  background: var(--primary-light);
}
.zone-card a {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  color: var(--text);
  text-decoration: none;
}
.zone-card:hover a, .zone-card.featured a { color: var(--primary); }
.zone-icon { font-size: 1.4rem; margin-bottom: .35rem; }
.zone-code { font-size: .72rem; color: var(--text-muted); margin-top: .2rem; }
.zone-card.featured .zone-code { color: var(--primary); opacity: .8; }

/* --- Steps ------------------------------------------------------------- */
.steps-list { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245,158,11,.4);
}
.step-body h3 { margin-bottom: .35rem; }
.step-body p { color: var(--text-muted); font-size: .95rem; margin: 0; }

/* --- Reassurance -------------------------------------------------------- */
.reassurance-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: center;
}
.reassurance-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  background: var(--white);
  border: 2px solid #d1fae5;
  border-radius: 50px;
  padding: .65rem 1.25rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--green);
  white-space: nowrap;
}
.reassurance-item .check {
  width: 20px;
  height: 20px;
  background: var(--green);
  border-radius: 50%;
  color: white;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- CTA Section -------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #0C3A6E 100%);
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-section .btn-secondary { margin-left: 1rem; }

/* --- Feature List ------------------------------------------------------- */
.feature-list { display: flex; flex-direction: column; gap: .7rem; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  line-height: 1.55;
}
.feature-item .fi-check {
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: .18rem;
  flex-shrink: 0;
}

/* --- Image Rounded ------------------------------------------------------ */
.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-rounded img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* --- Accordion / FAQ ---------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: .97rem;
  font-weight: 600;
  color: var(--heading);
  text-align: left;
  transition: var(--t);
  gap: 1rem;
}
.faq-trigger:hover { background: var(--bg); }
.faq-trigger.open { background: var(--primary-light); color: var(--primary); }
.faq-icon { font-size: 1.3rem; transition: transform var(--t); flex-shrink: 0; font-weight: 400; }
.faq-trigger.open .faq-icon { transform: rotate(45deg); }
.faq-body {
  display: none;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  color: var(--text-muted);
  line-height: 1.7;
  font-size: .95rem;
  border-top: 1px solid var(--border);
}
.faq-body.open { display: block; }
.faq-body p { margin-bottom: .75rem; }
.faq-body p:last-child { margin: 0; }

/* --- Breadcrumb --------------------------------------------------------- */
.breadcrumb-bar {
  padding: .85rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  align-items: center;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 .2rem; opacity: .5; }

/* --- Page Hero (inner pages) -------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, #0C1E3C 0%, #0F3460 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.page-hero .container {
  position: relative;
  z-index: 2;
}
.page-hero .subtitle { background: rgba(245,158,11,.2); color: #FBBF24; }
.page-hero h1 { color: var(--white); margin: .5rem 0 1rem; }
.page-hero .lead { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; }

/* --- Aide Cards --------------------------------------------------------- */
.aide-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.aide-card.blue { border-color: var(--blue); }
.aide-card.green { border-color: var(--green); }
.aide-card h3 { margin-bottom: .4rem; }
.aide-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  margin: .5rem 0 1rem;
  display: block;
}
.aide-card p { color: var(--text-muted); font-size: .93rem; }
.aide-card .btn { margin-top: 1.25rem; }

/* --- Table -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  min-width: 500px;
}
.data-table th {
  background: var(--dark);
  color: var(--white);
  padding: .9rem 1rem;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}
.data-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--border); }
.data-table tr:nth-child(even) td { background: var(--bg); }
.data-table tr:last-child td { border-bottom: none; }

/* --- Info Boxes --------------------------------------------------------- */
.info-box {
  background: var(--blue-light);
  border: 2px solid #90caf9;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-box h4 { color: var(--blue); margin-bottom: .5rem; }
.info-box p { color: #1565c0; margin: 0; font-size: .93rem; }
.success-box {
  background: var(--green-light);
  border: 2px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.success-box h4 { color: var(--green); margin-bottom: .5rem; }
.success-box p { color: #2e7d32; margin: 0; font-size: .93rem; }
.warning-box {
  background: #fffbeb;
  border: 2px solid #fbbf24;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.warning-box h4 { color: #b45309; margin-bottom: .5rem; }
.warning-box p { color: #6b4a0d; margin: 0; font-size: .93rem; }

/* --- Iframe Container --------------------------------------------------- */
.iframe-wrapper {
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
  overflow: hidden;
}
.iframe-wrapper iframe { display: block; }
.iframe-fallback {
  text-align: center;
  padding: 2rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-muted);
}
.iframe-fallback a { color: var(--primary); font-weight: 600; }

/* --- Legal pages -------------------------------------------------------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border); }
.legal-content h3 { margin-top: 1.75rem; margin-bottom: .6rem; color: var(--primary); }
.legal-content ul { list-style: disc; padding-left: 1.5rem; display: flex; flex-direction: column; gap: .4rem; margin: .75rem 0; }
.legal-content a { color: var(--primary); }
.legal-content a:hover { text-decoration: underline; }

/* --- City Page ---------------------------------------------------------- */
.city-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; }
@media(min-width: 640px) { .city-stats { grid-template-columns: repeat(3,1fr); } }
.city-stat-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  border: 2px solid var(--border);
}
.city-stat-card .cs-num { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.city-stat-card .cs-label { font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media(min-width: 600px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width: 960px) { .footer-grid { grid-template-columns: 2.5fr 1fr 1fr 1fr; } }

.footer-brand .logo { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.65; max-width: 280px; }
.footer-brand .footer-dept {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.35);
  color: #FBBF24;
  padding: .35rem .85rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  margin-top: 1rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--t);
}
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.55); transition: color var(--t); }
.footer-bottom a:hover { color: var(--accent); }

/* --- Cookie Banner ------------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1e293b;
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: .88rem; flex: 1; min-width: 200px; }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }

/* --- Floating CTA ------------------------------------------------------- */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}
.floating-cta.show { opacity: 1; transform: scale(1); pointer-events: auto; }
.floating-cta .btn { box-shadow: 0 8px 32px rgba(245,158,11,.5); }
@media(max-width: 480px) { .floating-cta { bottom: 1rem; right: 1rem; } }

/* --- Scroll Reveal ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }
.reveal.d4 { transition-delay: .4s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Utilities ---------------------------------------------------------- */
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-blue { color: var(--blue); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-0 { margin-bottom: 0; }
.gap-1 { gap: 1rem; }
.divider { border: none; border-top: 2px solid var(--border); margin: 2.5rem 0; }
.pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.pill-green { background: var(--green-light); color: var(--green); }
.pill-blue { background: var(--blue-light); color: var(--blue); }
.pill-accent { background: var(--accent-light); color: var(--accent-hover); }

/* --- Responsive tweaks -------------------------------------------------- */
@media(max-width: 480px) {
  .btn-lg { padding: .9rem 1.75rem; font-size: .95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
