/* ============================================================
   PRET immo — Feuille de style principale
   Palette : Navy #1B2D5F | Gold #C4922A | White #FFFFFF
   ============================================================ */

:root {
  --navy:      #1B2D5F;
  --navy-dark: #12204A;
  --navy-light:#243872;
  --gold:      #C4922A;
  --gold-light:#D4A843;
  --gold-pale: #F5EDD8;
  --white:     #FFFFFF;
  --off-white: #F8F7F4;
  --gray-100:  #F2F2F2;
  --gray-200:  #E5E5E5;
  --gray-400:  #9CA3AF;
  --gray-700:  #374151;
  --text:      #1C1C2E;
  --radius:    8px;
  --shadow:    0 2px 16px rgba(27,45,95,.10);
  --shadow-md: 0 4px 24px rgba(27,45,95,.15);
  --transition: .25s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Segoe UI', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Google Fonts import ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Lato:wght@300;400;700&display=swap');

/* ══════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: .8rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, #0d1830 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,146,42,.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,146,42,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,146,42,.2);
  border: 1px solid rgba(196,146,42,.4);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 24px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.80);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  padding: 6px 14px;
  border-radius: 24px;
  font-size: .8rem;
  color: rgba(255,255,255,.85);
}
.hero-pill svg { color: var(--gold); flex-shrink: 0; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196,146,42,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.10);
  border-color: var(--white);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-sm { padding: 8px 18px; font-size: .82rem; }

/* ══════════════════════════════════════
   SECTIONS COMMUNES
══════════════════════════════════════ */
.section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--off-white); }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--gray-700);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   STATS BAR
══════════════════════════════════════ */
.stats-bar {
  background: var(--navy-dark);
  padding: 28px 24px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.65); }

/* ══════════════════════════════════════
   CARDS SOLUTIONS
══════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.card-desc {
  color: var(--gray-700);
  font-size: .9rem;
  line-height: 1.7;
  flex: 1;
}
.card-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color var(--transition);
  align-self: flex-start;
}
.card-link:hover { color: var(--navy); }

/* ══════════════════════════════════════
   ÉTAPES / STEPS
══════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  margin-top: 48px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
}
.step-desc { font-size: .9rem; color: var(--gray-700); line-height: 1.7; }

/* ══════════════════════════════════════
   WHY US — PILLIERS
══════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 32px;
}
.pillar-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.pillar-desc { font-size: .9rem; color: var(--gray-700); line-height: 1.7; }

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 72px 24px;
  text-align: center;
  color: var(--white);
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   PAGE HEADER (inner pages)
══════════════════════════════════════ */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 72px 24px 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,146,42,.18) 0%, transparent 70%);
}
.page-header-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.page-header-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.page-header p {
  color: rgba(255,255,255,.80);
  max-width: 600px;
  line-height: 1.8;
}

/* ══════════════════════════════════════
   FORMS
══════════════════════════════════════ */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: var(--shadow-md);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-pale);
}
.form-note {
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.form-group label .req { color: var(--gold); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,146,42,.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #dc2626; }
.form-group .field-error {
  color: #dc2626;
  font-size: .75rem;
  display: none;
}
.form-group .field-error.visible { display: block; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; cursor: pointer; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .84rem;
  color: var(--gray-700);
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] {
  width: 17px; height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}
/* honeypot - invisible */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-submit { margin-top: 12px; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius);
  padding: 20px;
  color: #166534;
  font-weight: 700;
  text-align: center;
  margin-top: 16px;
}
.form-error-global {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--radius);
  padding: 16px;
  color: #991b1b;
  font-size: .85rem;
  margin-top: 12px;
}

/* ══════════════════════════════════════
   CONTACT BLOCKS
══════════════════════════════════════ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.contact-card {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  background: var(--white);
}
.contact-card-icon {
  width: 52px; height: 52px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
}
.contact-card-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.contact-card-value {
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
}
.contact-card-value a { color: var(--navy); }
.contact-card-value a:hover { color: var(--gold); }

/* ══════════════════════════════════════
   INFO BOX (légal, alerte)
══════════════════════════════════════ */
.info-box {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .88rem;
  color: var(--gray-700);
  margin-top: 24px;
}
.info-box strong { color: var(--navy); }

/* ══════════════════════════════════════
   PROSE (legal, privacy pages)
══════════════════════════════════════ */
.prose {
  max-width: 760px;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.prose p { margin-bottom: 14px; color: var(--gray-700); line-height: 1.8; }
.prose ul { margin: 10px 0 14px 20px; }
.prose ul li { margin-bottom: 6px; color: var(--gray-700); line-height: 1.7; list-style: disc; }
.prose a { color: var(--gold); text-decoration: underline; }

/* ══════════════════════════════════════
   CHECKLIST (bullet avec coche)
══════════════════════════════════════ */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--gray-700);
}
.check-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ══════════════════════════════════════
   TWO-COL LAYOUT (about, sidebar)
══════════════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.two-col-wide { grid-template-columns: 3fr 2fr; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 56px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo img { height: 56px; width: auto; margin-bottom: 16px; }
.footer-tagline { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.60); max-width: 300px; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { font-size: .85rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }
.footer-contact span { font-size: .85rem; color: rgba(255,255,255,.65); }
.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.40); }
.footer-disclaimer {
  font-size: .75rem;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 14px 24px;
  text-align: center;
  color: rgba(255,255,255,.35);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col-wide { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    z-index: 999;
    gap: 18px;
    align-items: flex-start;
  }
  .nav-cta { margin-top: 4px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-card { padding: 28px 20px; }
  .hero { padding: 72px 24px 60px; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cta-actions { flex-direction: column; align-items: center; }
}
