/* =========================================================
   HANSEN CHILD THEME — BASE VISUELLE
   Bleu premium, lisibilité, pages formations et landing pages
========================================================= */

:root {
  --hansen-bg: #f5f8fb;
  --hansen-white: #ffffff;
  --hansen-text: #172033;
  --hansen-muted: #637083;
  --hansen-blue: #0f355e;
  --hansen-blue-2: #174a7c;
  --hansen-blue-soft: #e7f0f8;
  --hansen-gold: #c89b54;
  --hansen-gold-soft: #f3e6d0;
  --hansen-border: #dbe5ef;
  --hansen-dark: #0b223d;
  --hansen-shadow: 0 22px 70px rgba(15, 53, 94, .12);
}

body {
  color: var(--hansen-text);
  background: var(--hansen-bg);
  line-height: 1.7;
}

body, button, input, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Global content readability */
.entry-content,
.page-content,
.post-content {
  color: var(--hansen-text);
}

.entry-content p,
.page-content p,
.post-content p {
  font-size: 17px;
  line-height: 1.75;
  color: #2c3a4f;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--hansen-blue);
  line-height: 1.18;
  font-weight: 750;
}

.entry-content h1,
.page-content h1,
.post-content h1 {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.035em;
}

.entry-content h2,
.page-content h2,
.post-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.025em;
  margin-top: 1.25em;
}

.entry-content h3,
.page-content h3,
.post-content h3 {
  font-size: clamp(22px, 3vw, 28px);
}

/* Links and buttons */
a {
  color: var(--hansen-blue-2);
}

.wp-block-button__link,
button,
input[type="submit"],
.hansen-btn,
a.hansen-btn {
  display: inline-block;
  background: var(--hansen-gold);
  color: #1f1609 !important;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
.hansen-btn:hover {
  transform: translateY(-1px);
  opacity: .96;
  box-shadow: 0 10px 28px rgba(200,155,84,.24);
}

.hansen-btn-secondary,
a.hansen-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--hansen-blue) !important;
  border: 1px solid rgba(15,53,94,.35);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none !important;
}

/* Basic cards for Gutenberg usage */
.hansen-card {
  background: var(--hansen-white);
  border: 1px solid var(--hansen-border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 36px rgba(15,53,94,.06);
}

.hansen-card-soft {
  background: var(--hansen-blue-soft);
  border: 1px solid var(--hansen-border);
  border-radius: 24px;
  padding: 30px;
}

.hansen-checklist {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.hansen-checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  list-style: none !important;
}

.hansen-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hansen-blue-2);
  font-weight: 900;
}

/* =========================================================
   HANSEN LANDING SYSTEM
   Usage: page template “Hansen Landing” + sections below
========================================================= */

.hansen-landing-page {
  background: var(--hansen-bg);
  color: var(--hansen-text);
  overflow: hidden;
}

.hansen-landing-page * {
  box-sizing: border-box;
}

.hansen-container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.hansen-section {
  padding: 80px 0;
}

.hansen-section-white { background: var(--hansen-white); }
.hansen-section-soft { background: var(--hansen-blue-soft); }
.hansen-section-blue {
  background: var(--hansen-blue);
  color: rgba(255,255,255,.88);
}

.hansen-section-blue h1,
.hansen-section-blue h2,
.hansen-section-blue h3,
.hansen-section-blue p {
  color: #fff;
}

.hansen-hero {
  padding: 92px 0 82px;
  background:
    radial-gradient(circle at top right, rgba(200,155,84,.18), transparent 34%),
    linear-gradient(135deg, #f5f8fb 0%, #e7f0f8 62%, #ffffff 100%);
}

.hansen-hero-grid,
.hansen-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.hansen-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hansen-eyebrow {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15,53,94,.08);
  color: var(--hansen-blue);
  font-size: 14px;
  font-weight: 850;
  margin-bottom: 22px;
}

.hansen-landing-page h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.04;
  color: var(--hansen-blue);
  letter-spacing: -.04em;
  margin: 0 0 24px;
}

.hansen-landing-page h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.14;
  color: var(--hansen-blue);
  letter-spacing: -.025em;
  margin: 0 0 18px;
}

.hansen-landing-page h3 {
  color: var(--hansen-blue);
  font-size: 23px;
  margin: 0 0 12px;
}

.hansen-lead {
  font-size: 21px;
  color: #314057;
  max-width: 760px;
}

.hansen-hero-card,
.hansen-price-card,
.hansen-form-box,
.hansen-spotlight {
  background: var(--hansen-white);
  border: 1px solid var(--hansen-border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--hansen-shadow);
}

.hansen-badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--hansen-gold-soft);
  color: #6a4917;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 18px;
}

.hansen-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hansen-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--hansen-muted);
  font-size: 15px;
}

.hansen-proof span::before {
  content: "✓";
  color: var(--hansen-blue);
  font-weight: 900;
  margin-right: 7px;
}

.hansen-section-title {
  max-width: 860px;
  margin-bottom: 42px;
}

.hansen-muted { color: var(--hansen-muted); }

.hansen-quote {
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.18;
  max-width: 980px;
  color: var(--hansen-blue);
  letter-spacing: -.02em;
  font-weight: 850;
}

.hansen-module {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hansen-border);
}

.hansen-module:last-child { border-bottom: none; }

.hansen-module-label {
  font-weight: 850;
  color: var(--hansen-gold);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
}

.hansen-pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hansen-price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hansen-price-card-featured {
  border: 2px solid var(--hansen-gold);
  transform: translateY(-5px);
}

.hansen-price {
  font-size: 34px;
  color: var(--hansen-blue);
  font-weight: 900;
  margin: 8px 0 14px;
}

.hansen-date {
  color: var(--hansen-muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.hansen-form {
  display: grid;
  gap: 14px;
}

.hansen-form input,
.hansen-form textarea,
.hansen-form select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--hansen-border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.hansen-form textarea {
  min-height: 120px;
  resize: vertical;
}

@media (max-width: 960px) {
  .hansen-hero-grid,
  .hansen-grid-2,
  .hansen-grid-3,
  .hansen-pricing {
    grid-template-columns: 1fr;
  }

  .hansen-section,
  .hansen-hero {
    padding: 64px 0;
  }

  .hansen-module {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hansen-price-card-featured {
    transform: none;
  }
}
