/* Site Theme: assurance-habitation-incendie.be — "Corporate trust" */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --theme-bg: #FFFFFF;
  --theme-bg-alt: #F0F4FF;
  --theme-text: #334155;
  --theme-text-light: #64748B;
  --theme-heading: #1E3A8A;
  --theme-accent: #1E40AF;
  --theme-accent-hover: #1E3A8A;
  --theme-accent-light: #DBEAFE;
  --theme-gold: #D4A843;
  --theme-gold-light: #F5E6C8;
  --theme-gold-hover: #C49832;
  --theme-card-bg: #FFFFFF;
  --theme-card-border: #E2E8F0;
  --theme-font-heading: 'Source Serif 4', Georgia, serif;
  --theme-font-body: 'Inter', -apple-system, sans-serif;
  --theme-radius: 0.5rem;
  --theme-radius-lg: 0.75rem;
  --theme-shadow: 0 1px 4px rgba(30, 64, 175, 0.06);
  --theme-shadow-hover: 0 6px 20px rgba(30, 64, 175, 0.1);
  --theme-transition: 0.3s ease;
}

body {
  font-family: var(--theme-font-body);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  font-weight: 400;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--theme-font-heading);
  color: var(--theme-heading);
  font-weight: 600;
  line-height: 1.2;
}

/* Hero — blue gradient professional */
.hero-section {
  background: linear-gradient(135deg, #1E40AF 0%, #1E3A8A 40%, #1D4ED8 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 1.5rem;
  color: #fff;
}

/* Gold accent line at top */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-gold), var(--theme-gold-light), var(--theme-gold));
}

/* Professional timeline dots */
.hero-section::after {
  content: '';
  position: absolute;
  right: 5%;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 168, 67, 0.3), transparent);
}

.hero-section h1 {
  color: #FFFFFF;
  font-size: 2.75rem;
  font-weight: 700;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.85);
}

/* Cards — professional with gold top accent */
.card,
.bg-white.rounded-lg,
[class*="shadow"] {
  background: var(--theme-card-bg);
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius-lg);
  box-shadow: var(--theme-shadow);
  transition: all var(--theme-transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-accent), var(--theme-gold));
  opacity: 0;
  transition: opacity var(--theme-transition);
}

.card:hover::before {
  opacity: 1;
}

.card:hover,
.bg-white.rounded-lg:hover {
  box-shadow: var(--theme-shadow-hover);
  transform: translateY(-2px);
}

/* Sections */
section:nth-child(even) {
  background-color: var(--theme-bg-alt);
}

/* Trust badge styling */
.badge, .tag, .trust-badge {
  background-color: var(--theme-gold-light);
  color: var(--theme-gold-hover);
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
}

/* Buttons — corporate blue with gold hover */
.btn-primary,
button[type="submit"],
.cta-button {
  background-color: var(--theme-accent) !important;
  color: #fff !important;
  border: none;
  border-radius: var(--theme-radius);
  font-weight: 600;
  padding: 0.875rem 2rem;
  transition: all var(--theme-transition);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
}

.btn-primary:hover,
button[type="submit"]:hover,
.cta-button:hover {
  background-color: var(--theme-accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.3);
}

/* Gold accent lines */
@keyframes goldLine {
  0% { width: 0; }
  100% { width: 60px; }
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--theme-gold);
  margin-top: 0.5rem;
}

/* Stat numbers */
.stat-number,
.text-3xl.font-bold,
.text-4xl.font-bold {
  color: var(--theme-accent);
  font-family: var(--theme-font-heading);
  font-weight: 700;
}

/* Links */
a:not(.btn-primary):not([class*="bg-"]) {
  color: var(--theme-accent);
  transition: color var(--theme-transition);
}

a:not(.btn-primary):not([class*="bg-"]):hover {
  color: var(--theme-gold-hover);
}

/* Form inputs */
input, select, textarea {
  border: 1px solid var(--theme-card-border);
  border-radius: var(--theme-radius);
  transition: all var(--theme-transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--theme-accent);
  box-shadow: 0 0 0 3px var(--theme-accent-light);
  outline: none;
}

/* hr gold */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--theme-gold-light), transparent);
  margin: 2rem 0;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1E3A8A, #1E40AF) !important;
  border-top: 2px solid var(--theme-gold);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-section { padding: 3rem 1rem; }
  .hero-section h1 { font-size: 2rem; }
  .card:hover { transform: none; }
  .card::before { display: none; }
}

@media (min-width: 1024px) {
  .hero-section { padding: 6rem 2rem; }
  .hero-section h1 { font-size: 3.25rem; }
}
