/*
Theme Name: Obsèques Direct
Theme URI: https://obsequesdirect.fr
Author: Obsèques Direct
Author URI: https://obsequesdirect.fr
Description: Thème premium pour Obsèques Direct – assurance obsèques en capital et en prestations. Design institutionnel, orienté conversion de leads.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://obsequesdirect.fr
Text Domain: obseques-direct
Tags: assurance, obsèques, lead-generation, premium
*/

/* ═══════════════════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════════════════ */
:root {
  --blue:        #0F2D4A;
  --blue-mid:    #1A4A72;
  --blue-light:  #E8F1F8;
  --gold:        #C9A84C;
  --gold-light:  #F5EDD6;
  --white:       #FFFFFF;
  --grey:        #F5F7FA;
  --grey-border: #E2E8F0;
  --text:        #1A1A2E;
  --text-muted:  #6B7A8D;
  --radius:      12px;
  --shadow-sm:   0 2px 12px rgba(15,45,74,0.08);
  --shadow-md:   0 8px 32px rgba(15,45,74,0.12);
  --shadow-lg:   0 20px 60px rgba(15,45,74,0.16);
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width:100%; height:auto; display:block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', serif;
  color: var(--blue);
  line-height: 1.2;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 24px;
}

/* LOGO */
.site-logo { flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }

/* NAV */
#primary-navigation { flex: 1; }
#primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
#primary-navigation ul li a {
  display: block;
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item > a {
  background: var(--grey);
  color: var(--blue);
  font-weight: 600;
}
#primary-navigation ul li.menu-devis > a {
  background: var(--gold-light);
  color: var(--gold);
  font-weight: 700;
  border: 1px solid rgba(201,168,76,.3);
}
#primary-navigation ul li.menu-devis > a:hover {
  background: var(--gold);
  color: var(--white);
}

/* PHONE BUTTON */
.header-phone {
  flex-shrink: 0;
  margin-left: auto;
}
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue) !important;
  padding: 8px 16px;
  border-radius: 10px;
  border: 2px solid var(--blue);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-phone:hover {
  background: var(--blue);
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(15,45,74,.2);
}
.btn-phone:hover .btn-phone-icon svg {
  stroke: var(--white);
}
.btn-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background .2s;
}
.btn-phone:hover .btn-phone-icon {
  background: var(--white);
}
.btn-phone:hover .btn-phone-icon svg {
  stroke: var(--blue);
}
.btn-phone-icon svg { width:17px; height:17px; stroke: var(--white); fill:none; stroke-width:2; flex-shrink:0; }
.btn-phone-info { display:flex; flex-direction:column; line-height:1.25; }
.btn-phone-num { font-size:16px; font-weight:800; letter-spacing:.3px; color: var(--blue); }
.btn-phone:hover .btn-phone-num { color: var(--white); }
.btn-phone-sub { font-size:10.5px; font-weight:400; color: var(--text-muted); }
.btn-phone:hover .btn-phone-sub { color: rgba(255,255,255,.8); }

/* HAMBURGER */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all .3s;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1A4A72 55%, #0D3A5C 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:'';
  position:absolute; top:-120px; right:-120px;
  width:600px; height:600px;
  background: radial-gradient(circle, rgba(201,168,76,.13) 0%, transparent 70%);
  pointer-events:none;
}
.hero::after {
  content:'';
  position:absolute; bottom:-60px; left:-60px;
  width:400px; height:400px;
  background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%);
  pointer-events:none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.hero-badge::before {
  content:'';
  width:6px; height:6px;
  background: var(--gold);
  border-radius:50%;
}

.hero h1 {
  font-size: 50px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero h1 em { font-style:normal; color: var(--gold); }

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 100px;
}
.hero-pill svg { width:13px; height:13px; stroke: var(--gold); fill:none; stroke-width:2.5; flex-shrink:0; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.12);
  gap: 1px;
  margin-top: 40px;
}
.hero-stat {
  padding: 22px 18px;
  background: rgba(255,255,255,.05);
}
.hero-stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,.6); line-height:1.4; }

/* FORM CARD */
.form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 32px 80px rgba(0,0,0,.28), 0 0 0 1px rgba(255,255,255,.08);
  position: sticky;
  top: 94px;
}
.form-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 5px;
}
.form-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--grey-border);
}
.form-card-sub strong { color: var(--gold); }

.btn-tally {
  display: block;
  width: 100%;
  background: var(--gold);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .2s, transform .2s, box-shadow .2s;
  font-family: 'Outfit', sans-serif;
}
.btn-tally:hover {
  background: #B8943E;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,.4);
  color: var(--white);
}

.form-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 13px;
  justify-content: center;
}
.form-guarantee svg { width:13px; height:13px; stroke:#22C55E; fill:none; stroke-width:2.5; flex-shrink:0; }

.form-divider { height:1px; background: var(--grey-border); margin: 22px 0; }

.form-assureurs-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.form-assureurs-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.assureurs-badges { display:flex; flex-wrap:wrap; gap:7px; }
.assureur-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid rgba(15,45,74,.12);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--blue);
  padding: 16px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.85);
  font-size: 13.5px;
  white-space: nowrap;
}
.trust-item svg { width:17px; height:17px; stroke: var(--gold); fill:none; stroke-width:2; flex-shrink:0; }

/* ═══════════════════════════════════════════════════════════
   SECTIONS COMMUNES
═══════════════════════════════════════════════════════════ */
.section { padding: 80px 0; }
.section-grey { background: var(--grey); }

.section-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════
   CARDS — 3 AVANTAGES
═══════════════════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card::before {
  content:'';
  position:absolute; top:0; left:0; right:0; height:3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.card:hover { transform:translateY(-6px); box-shadow: var(--shadow-lg); border-color:transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width:52px; height:52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items:center; justify-content:center;
  margin-bottom: 20px;
}
.card-icon svg { width:26px; height:26px; stroke: var(--blue); fill:none; stroke-width:2; }
.card h3 { font-size:20px; margin-bottom:12px; }
.card p { font-size:15px; color: var(--text-muted); line-height:1.7; }

/* ═══════════════════════════════════════════════════════════
   COMPARE — CAPITAL VS PRESTATIONS
═══════════════════════════════════════════════════════════ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
.compare-card { border-radius:20px; padding:40px; position:relative; overflow:hidden; }
.compare-card.capital { background: var(--blue); }
.compare-card.prestations { background: var(--gold-light); border:1.5px solid rgba(201,168,76,.3); }

.compare-badge {
  display: inline-block;
  font-size: 11px; font-weight:700;
  letter-spacing:2px; text-transform:uppercase;
  padding: 5px 14px; border-radius:100px;
  margin-bottom: 18px;
}
.capital .compare-badge { background:rgba(201,168,76,.2); color:var(--gold); border:1px solid rgba(201,168,76,.3); }
.prestations .compare-badge { background:rgba(15,45,74,.1); color:var(--blue); border:1px solid rgba(15,45,74,.15); }

.compare-card h3 { font-size:26px; margin-bottom:14px; }
.capital h3 { color:var(--white); }
.prestations h3 { color:var(--blue); }
.compare-card > p { font-size:15px; line-height:1.7; margin-bottom:24px; }
.capital > p { color:rgba(255,255,255,.75); }
.prestations > p { color:var(--text-muted); }

.compare-list { margin-bottom:30px; }
.compare-list li {
  display:flex; align-items:flex-start; gap:10px;
  font-size:14px; padding:7px 0;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.prestations .compare-list li { border-bottom-color:rgba(15,45,74,.08); }
.compare-list li:last-child { border-bottom:none; }
.compare-list li::before { content:'✓'; font-weight:700; flex-shrink:0; margin-top:1px; }
.capital .compare-list li { color:rgba(255,255,255,.85); }
.capital .compare-list li::before { color:var(--gold); }
.prestations .compare-list li { color:var(--text-muted); }
.prestations .compare-list li::before { color:var(--blue); }

.btn-compare {
  display:inline-block; text-decoration:none;
  padding:13px 24px; border-radius:10px;
  font-size:14px; font-weight:600;
  transition:background .2s;
  font-family:'Outfit',sans-serif;
}
.capital .btn-compare { background:var(--gold); color:var(--white); }
.capital .btn-compare:hover { background:#B8943E; color:var(--white); }
.prestations .btn-compare { background:var(--blue); color:var(--white); }
.prestations .btn-compare:hover { background:var(--blue-mid); color:var(--white); }

/* ═══════════════════════════════════════════════════════════
   ÉTAPES
═══════════════════════════════════════════════════════════ */
.etapes-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:0; margin-top:56px; position:relative;
}
.etapes-grid::before {
  content:'';
  position:absolute; top:27px; left:10%; right:10%; height:2px;
  background: linear-gradient(to right, var(--blue-light), var(--blue), var(--blue-light));
  z-index:0;
}
.etape { text-align:left; padding:0 24px; position:relative; z-index:1; }
.etape-num {
  width:56px; height:56px;
  background:var(--blue); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display',serif;
  font-size:22px; font-weight:700; color:var(--gold);
  margin-bottom:18px;
  border:4px solid var(--white);
  box-shadow:0 0 0 2px var(--blue);
}
.etape h4 { font-size:16px; font-weight:700; color:var(--blue); margin-bottom:8px; font-family:'Outfit',sans-serif; }
.etape p { font-size:14px; color:var(--text-muted); line-height:1.6; }

/* ═══════════════════════════════════════════════════════════
   CHIFFRES CLÉS
═══════════════════════════════════════════════════════════ */
.chiffres-grid {
  display:grid; grid-template-columns:repeat(4,1fr);
  border-radius:20px; overflow:hidden;
  border:1px solid var(--grey-border); margin-top:48px;
}
.chiffre-item {
  padding:40px 28px;
  border-right:1px solid var(--grey-border);
  background:var(--white);
  transition:background .3s;
}
.chiffre-item:last-child { border-right:none; }
.chiffre-item:hover { background:var(--blue); }
.chiffre-item:hover .chiffre-num,
.chiffre-item:hover .chiffre-label { color:var(--white); }
.chiffre-item:hover .chiffre-desc { color:rgba(255,255,255,.6); }
.chiffre-num {
  font-family:'Playfair Display',serif;
  font-size:42px; font-weight:700; color:var(--blue);
  display:block; line-height:1; margin-bottom:8px;
  transition:color .3s;
}
.chiffre-label { font-size:15px; font-weight:600; color:var(--blue); margin-bottom:8px; transition:color .3s; display:block; }
.chiffre-desc { font-size:13px; color:var(--text-muted); line-height:1.5; transition:color .3s; }

/* ═══════════════════════════════════════════════════════════
   ASSUREURS BLOCK
═══════════════════════════════════════════════════════════ */
.assureurs-block {
  margin-top:56px;
  display:grid; grid-template-columns:1fr 1fr;
  gap:56px; align-items:start;
  padding:48px; background:var(--white);
  border-radius:20px; border:1px solid var(--grey-border);
}
.assureurs-block-title { font-size:26px; font-weight:700; color:var(--blue); margin-bottom:14px; }
.assureurs-block-text { font-size:15px; color:var(--text-muted); line-height:1.75; }

.assureur-critere { display:flex; align-items:flex-start; gap:16px; padding:18px 0; border-bottom:1px solid var(--grey-border); }
.assureur-critere:last-child { border-bottom:none; }
.assureur-critere-icon {
  width:42px; height:42px; background:var(--blue);
  border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.assureur-critere-icon svg { width:20px; height:20px; stroke:var(--gold); fill:none; stroke-width:2; }
.assureur-critere-title { font-size:15px; font-weight:700; color:var(--blue); margin-bottom:4px; }
.assureur-critere-desc { font-size:13.5px; color:var(--text-muted); line-height:1.6; }

/* ═══════════════════════════════════════════════════════════
   TABLEAU COMPARATIF
═══════════════════════════════════════════════════════════ */
.tableau-wrapper { margin-top:48px; border-radius:16px; overflow:hidden; border:1px solid var(--grey-border); }
table { width:100%; border-collapse:collapse; }
table thead { background:var(--blue); }
table th { padding:18px 24px; text-align:left; font-size:13px; font-weight:600; color:var(--white); letter-spacing:.5px; }
table th:not(:first-child) { text-align:center; }
table td { padding:16px 24px; font-size:14.5px; color:var(--text); border-bottom:1px solid var(--grey-border); vertical-align:middle; }
table td:not(:first-child) { text-align:center; }
table tbody tr:last-child td { border-bottom:none; }
table tbody tr:hover { background:var(--blue-light); }
table tbody tr:nth-child(even) { background:var(--grey); }
table tbody tr:nth-child(even):hover { background:var(--blue-light); }
.check { color:#22C55E; font-size:18px; }
.cross { color:#EF4444; font-size:18px; }
.partial { color:var(--gold); font-size:13px; font-weight:600; }

/* ═══════════════════════════════════════════════════════════
   TÉMOIGNAGES
═══════════════════════════════════════════════════════════ */
.temoignages-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:48px; }
.temoignage-card {
  background:var(--white); border:1px solid var(--grey-border);
  border-radius:16px; padding:28px;
  transition:transform .3s, box-shadow .3s;
}
.temoignage-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.stars { display:flex; gap:3px; margin-bottom:14px; }
.star { color:var(--gold); font-size:16px; }
.temoignage-text { font-size:15px; color:var(--text-muted); line-height:1.7; margin-bottom:18px; font-style:italic; }
.temoignage-text::before { content:'«\00a0'; }
.temoignage-text::after  { content:'\00a0»'; }
.temoignage-author { display:flex; align-items:center; gap:12px; }
.author-avatar {
  width:44px; height:44px; border-radius:50%; background:var(--blue);
  display:flex; align-items:center; justify-content:center;
  font-family:'Playfair Display',serif; font-size:18px; font-weight:700; color:var(--gold);
  flex-shrink:0;
}
.author-name { font-weight:600; font-size:15px; color:var(--blue); }
.author-city { font-size:12.5px; color:var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-list { margin-top:48px; display:flex; flex-direction:column; gap:12px; }
.faq-item { border:1px solid var(--grey-border); border-radius:12px; overflow:hidden; background:var(--white); }
.faq-question {
  width:100%; background:none; border:none;
  padding:22px 28px; text-align:left; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  font-size:16px; font-weight:600; color:var(--blue);
  font-family:'Outfit',sans-serif; transition:background .2s;
}
.faq-question:hover { background:var(--grey); }
.faq-icon {
  width:28px; height:28px; background:var(--blue-light); border-radius:50%;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  font-size:18px; color:var(--blue); transition:all .3s; line-height:1;
}
.faq-item.open .faq-icon { background:var(--blue); color:var(--white); transform:rotate(45deg); }
.faq-answer { padding:0 28px; max-height:0; overflow:hidden; transition:all .4s ease; }
.faq-item.open .faq-answer { max-height:300px; padding:0 28px 24px; }
.faq-answer p { font-size:15px; color:var(--text-muted); line-height:1.75; }

/* ═══════════════════════════════════════════════════════════
   CTA FINAL
═══════════════════════════════════════════════════════════ */
.cta-final {
  background:var(--blue); padding:80px 0;
  position:relative; overflow:hidden;
}
.cta-final::before {
  content:'';
  position:absolute; top:-150px; right:-150px;
  width:500px; height:500px;
  background:radial-gradient(circle, rgba(201,168,76,.15) 0%, transparent 70%);
  pointer-events:none;
}
.cta-final-inner {
  display:grid; grid-template-columns:1fr auto;
  align-items:center; gap:48px; position:relative; z-index:1;
}
.cta-final h2 { font-size:38px; color:var(--white); margin-bottom:12px; }
.cta-final > .cta-final-inner > div > p { font-size:17px; color:rgba(255,255,255,.7); font-weight:300; }
.cta-btns { display:flex; flex-direction:column; gap:12px; flex-shrink:0; }

.btn-gold {
  display:inline-flex; align-items:center; gap:10px;
  background:var(--gold); color:var(--white) !important;
  padding:16px 32px; border-radius:10px;
  font-size:16px; font-weight:700;
  transition:background .2s, transform .2s, box-shadow .2s;
  font-family:'Outfit',sans-serif; white-space:nowrap;
}
.btn-gold:hover { background:#B8943E; transform:translateY(-2px); box-shadow:0 8px 24px rgba(201,168,76,.4); }

.btn-outline-white {
  display:inline-flex; align-items:center; gap:10px;
  background:transparent; color:var(--white) !important;
  padding:16px 32px; border-radius:10px;
  font-size:15px; font-weight:500;
  border:1.5px solid rgba(255,255,255,.3);
  transition:all .2s; font-family:'Outfit',sans-serif; white-space:nowrap;
}
.btn-outline-white:hover { background:rgba(255,255,255,.08); border-color:var(--white); }
.btn-outline-white svg { width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2.5; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
#site-footer { background:var(--blue); color:rgba(255,255,255,.65); padding:60px 0 0; }
.footer-grid {
  display:grid; grid-template-columns:280px 1fr 1fr 1fr;
  gap:48px; padding-bottom:48px;
}
.footer-logo img { height:44px; width:auto; margin-bottom:16px; filter:brightness(0) invert(1); }
.footer-desc { font-size:14px; line-height:1.7; }
.footer-col h4 {
  color:var(--white); font-size:13px; font-weight:700;
  letter-spacing:1px; text-transform:uppercase;
  margin-bottom:18px; font-family:'Outfit',sans-serif;
}
.footer-col a { display:block; color:rgba(255,255,255,.6); font-size:14px; padding:5px 0; transition:color .2s; }
.footer-col a:hover { color:var(--gold); }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.1);
  padding:22px 0; display:flex;
  justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap;
  font-size:13px;
}
.footer-legal { display:flex; gap:20px; flex-wrap:wrap; }
.footer-legal a { color:rgba(255,255,255,.5); transition:color .2s; }
.footer-legal a:hover { color:var(--gold); }

/* ═══════════════════════════════════════════════════════════
   CONTENU WORDPRESS (pages/articles standards)
═══════════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1A4A72 100%);
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:'';
  position:absolute; top:-100px; right:-100px;
  width:500px; height:500px;
  background:radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  pointer-events:none;
}
.page-hero-inner { position:relative; z-index:1; }
.page-hero h1 { font-size:42px; color:var(--white); margin-bottom:14px; }
.page-hero p { font-size:17px; color:rgba(255,255,255,.75); max-width:560px; font-weight:300; line-height:1.7; }

.page-content { padding: 72px 0; }
.page-content-inner { display:grid; grid-template-columns:1fr 340px; gap:56px; align-items:start; }

.entry-content h2 { font-size:28px; margin:40px 0 16px; color:var(--blue); }
.entry-content h3 { font-size:22px; margin:30px 0 12px; color:var(--blue); }
.entry-content p { font-size:16px; color:var(--text-muted); line-height:1.8; margin-bottom:18px; }
.entry-content ul, .entry-content ol { margin:16px 0 20px 24px; }
.entry-content li { font-size:16px; color:var(--text-muted); line-height:1.7; margin-bottom:6px; list-style:disc; }
.entry-content strong { color:var(--blue); font-weight:600; }
.entry-content a { color:var(--blue); text-decoration:underline; }
.entry-content a:hover { color:var(--gold); }

/* Sidebar */
.sidebar { position:sticky; top:94px; display:flex; flex-direction:column; gap:24px; }
.sidebar-card {
  background:var(--white); border:1px solid var(--grey-border);
  border-radius:16px; padding:28px; overflow:hidden; position:relative;
}
.sidebar-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(to right, var(--blue), var(--gold));
}
.sidebar-card h3 { font-size:18px; margin-bottom:10px; }
.sidebar-card p { font-size:14px; color:var(--text-muted); line-height:1.65; margin-bottom:18px; }
.sidebar-card .btn-gold { width:100%; justify-content:center; font-size:14px; padding:13px 20px; }
.sidebar-card .btn-phone { width:100%; justify-content:center; margin-top:10px; font-size:14px; }

/* Bloc nav pages */
.pages-nav { display:flex; flex-direction:column; gap:6px; }
.pages-nav a {
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 16px; border-radius:10px;
  font-size:14px; font-weight:500; color:var(--blue);
  background:var(--grey); transition:background .2s, color .2s;
}
.pages-nav a:hover, .pages-nav a.active { background:var(--blue); color:var(--white); }
.pages-nav a::after { content:'→'; font-size:12px; }

/* ═══════════════════════════════════════════════════════════
   BLOG
═══════════════════════════════════════════════════════════ */
.blog-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; margin-top:48px; }
.blog-card {
  background:var(--white); border:1px solid var(--grey-border);
  border-radius:16px; overflow:hidden;
  transition:transform .3s, box-shadow .3s;
}
.blog-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.blog-card-img { height:200px; background:var(--blue-light); overflow:hidden; }
.blog-card-img img { width:100%; height:100%; object-fit:cover; }
.blog-card-body { padding:24px; }
.blog-card-cat {
  display:inline-block; font-size:11px; font-weight:700;
  letter-spacing:1.5px; text-transform:uppercase;
  color:var(--gold); margin-bottom:10px;
}
.blog-card h3 { font-size:18px; margin-bottom:10px; color:var(--blue); line-height:1.3; }
.blog-card h3 a { color:var(--blue); transition:color .2s; }
.blog-card h3 a:hover { color:var(--gold); }
.blog-card p { font-size:14px; color:var(--text-muted); line-height:1.65; margin-bottom:16px; }
.blog-card-meta { font-size:12px; color:var(--text-muted); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width:1100px) {
  .hero-grid { grid-template-columns:1fr; }
  .hero h1 { font-size:38px; }
  .cards-grid { grid-template-columns:1fr 1fr; }
  .compare-grid { grid-template-columns:1fr; }
  .chiffres-grid { grid-template-columns:1fr 1fr; }
  .temoignages-grid { grid-template-columns:1fr 1fr; }
  .etapes-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .etapes-grid::before { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .cta-final-inner { grid-template-columns:1fr; }
  .assureurs-block { grid-template-columns:1fr; gap:32px; padding:32px; }
  .page-content-inner { grid-template-columns:1fr; }
  .sidebar { position:static; }
  #primary-navigation { display:none; }
  .nav-toggle { display:flex; }
  .blog-grid { grid-template-columns:1fr 1fr; }

  /* Header 1 ligne : logo | téléphone compact | hamburger */
  .header-phone { margin-left: auto; }
  .btn-phone {
    padding: 6px 10px;
    gap: 8px;
    border-width: 1.5px;
  }
  .btn-phone-icon {
    width: 30px;
    height: 30px;
  }
  .btn-phone-icon svg { width: 14px; height: 14px; }
  .btn-phone-num { font-size: 14px; }
  .btn-phone-sub { display: none; }
  .nav-toggle { margin-left: 8px; }
}
@media (max-width:640px) {
  .container { padding:0 20px; }
  .hero { padding:56px 0 48px; }
  .hero h1 { font-size:30px; }
  .section-title { font-size:28px; }
  .cards-grid { grid-template-columns:1fr; }
  .temoignages-grid { grid-template-columns:1fr; }
  .etapes-grid { grid-template-columns:1fr; }
  .chiffres-grid { grid-template-columns:1fr 1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .cta-final h2 { font-size:28px; }
  .blog-grid { grid-template-columns:1fr; }
  .trust-bar-inner { gap:12px; }
  .trust-item { font-size:12px; }
}

/* ═══════════════════════════════════════════════════════════
   MENU MOBILE
═══════════════════════════════════════════════════════════ */
#primary-navigation.nav-open {
  display:block;
  position:fixed; top:72px; left:0; right:0; bottom:0;
  background:var(--white); z-index:199;
  overflow-y:auto; padding:24px;
  border-top:1px solid var(--grey-border);
  box-shadow: var(--shadow-lg);
}
#primary-navigation.nav-open ul { flex-direction:column; gap:4px; }
#primary-navigation.nav-open ul li a { font-size:16px; padding:14px 16px; }
