/* ============================================================
   HIPOTEKEO.COM — Feuille de style principale
   Design : Pro / Immobilier / Conversion
   ============================================================ */

/* ---- Variables -------------------------------------------- */
:root {
  --navy:       #0d1f3c;
  --navy-light: #162a50;
  --navy-dark:  #081228;
  --gold:       #c9a84c;
  --gold-light: #e2c06c;
  --gold-dark:  #a88235;
  --white:      #ffffff;
  --off-white:  #f7f8fc;
  --gray-100:   #f0f2f7;
  --gray-200:   #e4e7ef;
  --gray-400:   #9ca3b4;
  --gray-600:   #5a6481;
  --gray-800:   #2d3450;
  --green:      #27ae60;
  --red:        #e74c3c;
  --shadow-sm:  0 2px 8px rgba(13,31,60,.08);
  --shadow-md:  0 6px 24px rgba(13,31,60,.12);
  --shadow-lg:  0 12px 40px rgba(13,31,60,.18);
  --radius:     10px;
  --radius-lg:  18px;
  --transition: .22s cubic-bezier(.4,0,.2,1);
  --font:       'Inter','Segoe UI',system-ui,sans-serif;
}

/* ---- Reset & base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

h1,h2,h3,h4,h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(1.8rem,4vw,2.8rem); }
h2 { font-size: clamp(1.4rem,3vw,2.1rem); }
h3 { font-size: clamp(1.1rem,2vw,1.5rem); }

p { margin-bottom: 1rem; }
strong { font-weight: 600; }

/* ---- Layout ----------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-wide { max-width: 1400px; }
.container-narrow { max-width: 860px; }

section { padding: 70px 0; }
.section-gray { background: var(--off-white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

/* ---- Boutons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201,168,76,.35);
}
.btn-secondary {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--gray-100);
  color: var(--navy);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Header ----------------------------------------------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.3px;
}
.logo-accent { color: var(--gold); }
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: rgba(255,255,255,.82);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-tel {
  color: var(--gold);
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* ---- Hero ------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 72px;
  color: var(--white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,.06) 0%, transparent 50%);
}
/* .hero::after wave removed */

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
}
.hero-trust-item .icon { color: var(--gold); font-size: 1rem; }

/* ---- Formulaire lead principal ---------------------------- */
.lead-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}
.lead-form-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 6px;
  text-align: center;
}
.lead-form-card .form-subtitle {
  color: var(--gray-600);
  font-size: .85rem;
  text-align: center;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .4px;
}
input, select, textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .92rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
input::placeholder { color: var(--gray-400); }

.form-submit-note {
  font-size: .78rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 10px;
}
.form-submit-note a { color: var(--gray-600); text-decoration: underline; }

/* ---- Step indicators -------------------------------------- */
.form-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.form-step {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: background var(--transition);
}
.form-step.active { background: var(--gold); }
.form-step.done   { background: var(--green); }

/* ---- Stats bar -------------------------------------------- */
.stats-bar {
  background: var(--navy);
  padding: 20px 0;
  color: var(--white);
}
.stats-bar-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
  display: block;
}

/* ---- Section titres --------------------------------------- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-dark);
  background: rgba(201,168,76,.1);
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ---- Cards communes --------------------------------------- */
.cards-grid { display: grid; gap: 24px; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  overflow: hidden;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-light);
}
.card-body { padding: 24px; }
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--gold-dark);
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p  { font-size: .9rem; color: var(--gray-600); margin: 0; }

/* ---- Market stats cards ----------------------------------- */
.market-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.market-card-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray-400);
  font-weight: 600;
  margin-bottom: 8px;
}
.market-card-value {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1;
}
.market-card-sub {
  font-size: .82rem;
  color: var(--gray-600);
}
.evol-up   { color: var(--green); font-weight: 600; }
.evol-down { color: var(--red); font-weight: 600; }

/* ---- Steps / Comment ça marche ---------------------------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  z-index: 0;
}
.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
  position: relative;
}
.how-step h3 { font-size: 1rem; margin-bottom: 8px; }
.how-step p  { font-size: .88rem; color: var(--gray-600); }

/* ---- Témoignages ------------------------------------------ */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.temoignage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  position: relative;
}
.temoignage-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 1;
  font-family: Georgia,serif;
}
.temoignage-text {
  font-size: .92rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  margin-top: 16px;
  font-style: italic;
  line-height: 1.6;
}
.temoignage-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.temoignage-avatar {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.temoignage-info strong { display: block; font-size: .9rem; }
.temoignage-info span  { font-size: .8rem; color: var(--gray-400); }
.stars { color: var(--gold); font-size: 1rem; display: block; margin-bottom: 4px; }

/* ---- FAQ -------------------------------------------------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold-dark); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  padding: 0 0 20px;
}
.faq-item.open .faq-answer {
  display: block;
}

/* ---- Geo page hero ---------------------------------------- */
.geo-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 50px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* .geo-hero::after wave removed */
.geo-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: start;
}
.geo-hero h1 { color: var(--white); font-size: clamp(1.6rem,3.5vw,2.4rem); margin-bottom: 14px; }
.geo-hero h1 span { color: var(--gold); }
.geo-hero-intro { color: rgba(255,255,255,.78); font-size: 1rem; margin-bottom: 24px; }

/* ---- Market grid ------------------------------------------ */
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.market-source {
  font-size: .75rem;
  color: var(--gray-400);
  margin-top: 12px;
  font-style: italic;
}

/* ---- Breadcrumb ------------------------------------------- */
.breadcrumb {
  background: var(--gray-100);
  padding: 12px 0;
  font-size: .82rem;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb-sep { color: var(--gray-400); }
.breadcrumb-current { color: var(--gray-800); font-weight: 600; }

/* ---- Geo children list ------------------------------------ */
.geo-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.geo-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  transition: all var(--transition);
}
.geo-list-item:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(201,168,76,.04);
  transform: translateX(3px);
}
.geo-list-price {
  font-size: .78rem;
  color: var(--gray-400);
  font-weight: 400;
}

/* ---- Outil estimation ------------------------------------- */
.estimator {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 36px;
  border-top: 4px solid var(--gold);
}
.estimator h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  text-align: center;
}
.estimator-range {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  margin: 20px 0;
  color: var(--white);
}
.estimator-value {
  text-align: center;
}
.estimator-value strong {
  display: block;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 800;
}
.estimator-value small {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
}
.range-sep { color: rgba(255,255,255,.4); font-size: 1.5rem; }

/* ---- Barre de progression DPE ----------------------------- */
.dpe-bar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 16px 0;
}
.dpe-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
}
.dpe-letter {
  width: 28px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: .75rem;
  border-radius: 4px;
}
.dpe-fill {
  height: 22px;
  border-radius: 4px;
  transition: width var(--transition);
}
.dpe-A { background: #00a14b; }
.dpe-B { background: #51b848; }
.dpe-C { background: #bcd63f; color: #333 !important; }
.dpe-D { background: #f7d01a; color: #333 !important; }
.dpe-E { background: #f1a000; }
.dpe-F { background: #e8561d; }
.dpe-G { background: #d91c21; }

/* ---- Calculateur déménagement ----------------------------- */
.calc-result {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  display: none;
  margin-top: 20px;
}
.calc-result.visible { display: block; }
.calc-result-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
}
.calc-result-label { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ---- Articles --------------------------------------------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  background: var(--white);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.article-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--gray-100);
}
.article-body { padding: 20px; }
.article-cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gold-dark);
  margin-bottom: 8px;
  display: block;
}
.article-body h3 { font-size: 1rem; margin-bottom: 8px; }
.article-body p  { font-size: .87rem; color: var(--gray-600); margin: 0; }

/* ---- Footer ----------------------------------------------- */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.72);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand { }
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; line-height: 1.6; margin: 0; }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: .88rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: var(--white); }

/* ---- Trust badges ----------------------------------------- */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  box-shadow: var(--shadow-sm);
}
.trust-badge .icon { font-size: 1.1rem; }

/* ---- CTA bannière ----------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 60px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,168,76,.15) 0%, transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p  { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-bottom: 28px; }

/* ---- Cookie banner ---------------------------------------- */
#cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  background: var(--navy-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,.1);
}
#cookie-banner p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.8); flex: 1; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }

/* ---- Alerts ----------------------------------------------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: .92rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-success { background: #edfaf2; border: 1px solid #a8e6c1; color: #1a7a40; }
.alert-error   { background: #fef0ee; border: 1px solid #f5b8b2; color: #c0392b; }
.alert-info    { background: #eef4ff; border: 1px solid #b8d0f5; color: #1a4da8; }

/* ---- Sticky CTA mobile ------------------------------------ */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  padding: 12px 16px;
  z-index: 998;
  box-shadow: 0 -4px 16px rgba(0,0,0,.2);
  gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-inner        { grid-template-columns: 1fr 380px; gap: 40px; }
  .geo-hero-inner    { grid-template-columns: 1fr 360px; gap: 40px; }
  .market-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .how-steps         { grid-template-columns: repeat(2, 1fr); }
  .how-steps::before { display: none; }
}

@media (max-width: 860px) {
  section { padding: 50px 0; }
  .hero            { padding: 50px 0 70px; }
  .hero-inner      { grid-template-columns: 1fr; }
  .lead-form-card  { max-width: 560px; margin: 0 auto; }
  .geo-hero-inner  { grid-template-columns: 1fr; }
  .cards-grid-3    { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-4    { grid-template-columns: repeat(2, 1fr); }
  .temoignages-grid{ grid-template-columns: 1fr; }
  .articles-grid   { grid-template-columns: repeat(2, 1fr); }
  .main-nav        { display: none; position: fixed; top: 68px; left: 0; right: 0; background: var(--navy-dark); flex-direction: column; padding: 16px; border-top: 1px solid rgba(255,255,255,.1); gap: 4px; }
  .main-nav.open   { display: flex; }
  .nav-toggle      { display: block; }
  .stats-bar-inner { gap: 30px; }
  .form-row        { grid-template-columns: 1fr; }
  .sticky-cta-mobile { display: flex; }
  body { padding-bottom: 70px; }
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .cards-grid-2, .cards-grid-3, .cards-grid-4 { grid-template-columns: 1fr; }
  .articles-grid  { grid-template-columns: 1fr; }
  .market-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .how-steps      { grid-template-columns: 1fr; }
  .geo-list       { grid-template-columns: 1fr; }
  .stats-bar-inner{ gap: 20px; }
  .stat-num       { font-size: 1.5rem; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .lead-form-card { padding: 22px 16px; }
  .estimator      { padding: 22px 16px; }
  #cookie-banner  { left: 0; right: 0; bottom: 0; border-radius: 16px 16px 0 0; }
}

/* ---- Animations ------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .5s ease forwards; }

/* ---- Print ------------------------------------------------ */
@media print {
  #site-header, #site-footer, .lead-form-card, .sticky-cta-mobile { display: none; }
}

/* ---- Utilitaires ------------------------------------------ */
.text-center  { text-align: center; }
.text-gold    { color: var(--gold); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--gray-400); }
.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mt-4  { margin-top: 32px; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.mb-4  { margin-bottom: 32px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ---- Extras / équipements form ---------------------------- */
.extras-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.extra-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  transition: all .15s;
  user-select: none;
}
.extra-chip input[type="checkbox"] {
  display: none;
}
.extra-chip:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #f0f3ff;
}
.extra-chip:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.extra-ico {
  font-size: .95rem;
  line-height: 1;
}

/* ---- Timeline délai de vente ----------------------------- */
.del-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.del-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  position: relative;
}
.del-step::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.15);
}
.del-step-last::before { display: none; }
.del-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold, #c9a84c);
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  z-index: 1;
}
.del-step-last .del-dot {
  background: #fff;
  box-shadow: 0 0 0 3px var(--gold, #c9a84c);
}
.del-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.del-jour {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.del-label {
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.del-step-last .del-label {
  color: var(--gold, #c9a84c);
  font-size: .95rem;
}

/* ---- Tool h1 --------------------------------------------- */
.tool-h1 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---- Maillage interne ------------------------------------- */
.mailage-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mailage-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 20px;
  font-size: .83rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  background: var(--white);
  transition: all .15s;
}
.mailage-link:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: #f0f3ff;
}
.mailage-link i { color: var(--gold); font-size: .75rem; }
.mailage-geo {
  background: #f7f8fa;
  border-color: transparent;
}
.mailage-geo:hover { border-color: var(--navy); background: #eef2ff; }
