/*
Theme Name:   E-Solaire Tech
Theme URI:    https://e-solaire.ch
Description:  Thème enfant GeneratePress pour e-solaire.ch — Photovoltaïque & Mobilité Électrique en Suisse. Design Solar Tech.
Author:       E-Solaire
Author URI:   https://e-solaire.ch
Template:     generatepress
Version:      1.0.0
Text Domain:  est-child
*/

/* === Brand tokens — Solar Tech Suisse === */
:root {
  --est-bleu:        #0B2545;
  --est-bleu-dk:     #061a36;
  --est-jaune:       #FFB400;
  --est-jaune-dk:    #D89800;
  --est-cyan:        #22D3EE;
  --est-cyan-dk:     #0891B2;
  --est-blanc:       #F8F9FB;
  --est-blanc-dk:    #E5E7EB;
  --est-anthra:      #1F2937;
  --est-anthra-lt:   #6B7280;
}

/* === Typography === */
body, .entry-content, .entry-summary {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--est-anthra);
  line-height: 1.65;
}
h1, h2, h3, h4, .site-title, .est-display {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--est-bleu);
}

/* === Header === */
.site-header { background: #fff; border-bottom: 1px solid var(--est-blanc-dk); }
.main-navigation { background: transparent; }
.main-navigation .menu > li > a { color: var(--est-anthra); font-weight: 500; }
.main-navigation .menu > li > a:hover { color: var(--est-jaune-dk); }

/* === Buttons === */
.est-btn {
  display: inline-block;
  background: var(--est-jaune);
  color: var(--est-bleu) !important;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  transition: all 0.2s ease;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 180, 0, 0.25);
}
.est-btn:hover { background: var(--est-jaune-dk); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 180, 0, 0.35); }
.est-btn--ghost { background: transparent; color: var(--est-bleu) !important; border: 1.5px solid var(--est-bleu); box-shadow: none; }
.est-btn--ghost:hover { background: var(--est-bleu); color: white !important; }

/* === Product cards === */
.est-product-card {
  background: white;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--est-blanc-dk);
  transition: transform 0.2s, box-shadow 0.2s;
}
.est-product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11, 37, 69, 0.08); }

/* === Data sections (KPI cards) === */
.est-kpi {
  background: linear-gradient(135deg, var(--est-bleu) 0%, var(--est-bleu-dk) 100%);
  color: white;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
}
.est-kpi .est-kpi-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--est-jaune);
  display: block;
  letter-spacing: -0.02em;
}
.est-kpi .est-kpi-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* === Footer === */
.site-footer { background: var(--est-bleu); color: white; }
.site-footer a { color: var(--est-cyan); }
.site-footer a:hover { color: var(--est-jaune); }

/* === Hero gradient === */
.est-hero-gradient {
  background: linear-gradient(135deg, var(--est-bleu) 0%, var(--est-bleu-dk) 60%, #0e3b6b 100%);
  color: white;
}

/* === Prose adjustments === */
.prose h2 { color: var(--est-bleu); font-family: 'Space Grotesk', sans-serif; }
.prose a { color: var(--est-cyan-dk); }
.prose strong { color: var(--est-bleu); }

