/* ============================================
   Caroline Pansart — Immobilier · Dessin bâtiment · Investissement
   Charte premium : bleu nuit · doré · blanc · rouge profond
   ============================================ */

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

:root {
  --navy:        #0a1733;   /* bleu nuit principal */
  --navy-deep:   #060f24;   /* fond le plus sombre */
  --navy-2:      #0f1f44;   /* cartes / surfaces */
  --navy-3:      #16284f;   /* surfaces hover */
  --gold:        #c9a24d;   /* doré principal */
  --gold-soft:   #e2c781;   /* doré clair / dégradé */
  --gold-deep:   #a8842f;   /* doré foncé */
  --red:         #8b1e2d;   /* rouge profond */
  --red-soft:    #b5303f;
  --white:       #ffffff;
  --cream:       #f6f1e7;   /* blanc cassé chaud */
  --text:        #e8ecf5;   /* texte clair */
  --muted:       #a9b4cc;   /* texte secondaire */
  --line:        rgba(201,162,77,0.22);
  --shadow:      0 24px 60px rgba(3,8,20,0.55);
  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans:  'Poppins', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--navy-deep);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 4px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  color: var(--white);
  letter-spacing: 0.3px;
}
.section-title .accent { color: var(--gold); font-style: italic; }
.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

/* gold gradient text */
.gold-text {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 45%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #18130a;
  box-shadow: 0 14px 30px rgba(201,162,77,0.28);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(201,162,77,0.4); }
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover { background: var(--gold); color: #18130a; transform: translateY(-3px); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- NAVBAR ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(6,15,36,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar-brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 50%, var(--gold-deep));
  box-shadow: 0 6px 18px rgba(201,162,77,0.3);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}
.navbar-links { display: flex; align-items: center; gap: 30px; }
.navbar-links a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
}
.navbar-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}
.navbar-links a:not(.btn):hover { color: var(--white); }
.navbar-links a:not(.btn):hover::after { width: 100%; }
.navbar-links .btn { padding: 11px 22px; font-size: 0.85rem; color: var(--gold); }
.navbar-links .btn:hover { color: #18130a; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px; z-index: 1001;
}
.hamburger span { display: block; width: 26px; height: 2px; background: var(--gold); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(6,15,36,0.96) 0%, rgba(8,19,46,0.88) 42%, rgba(8,19,46,0.55) 100%),
    linear-gradient(to top, rgba(6,15,36,0.95), transparent 45%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 130px 48px 70px;
  width: 100%;
}
.hero-content { max-width: 760px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero .subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text);
  max-width: 620px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* hero floating cards */
.hero-cards {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: -90px auto 0;
  padding: 0 48px 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hero-card {
  position: relative;
  background: linear-gradient(160deg, rgba(22,40,79,0.92), rgba(10,23,51,0.92));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.hero-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: var(--shadow); }
.hero-card .card-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  display: block;
}
.hero-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.hero-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* ---------- SECTION SHELL ---------- */
section.block { padding: 100px 48px; }
.container { max-width: 1180px; margin: 0 auto; }
.bg-navy { background: var(--navy); }
.bg-deep { background: var(--navy-deep); }
.bg-2 { background: var(--navy-2); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 18px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- POURQUOI (split) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.split-text p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.split-text p strong { color: var(--text); font-weight: 600; }
.pill-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.pill-list li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 500;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s;
}
.pill-list li:hover { transform: translateX(6px); border-color: var(--gold); }
.pill-list .pill-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(201,162,77,0.12);
  color: var(--gold);
  font-size: 1.1rem;
}
.split-visual { position: relative; }
.split-visual img {
  width: 100%; height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.split-visual .frame {
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  z-index: -1;
}
.split-visual .badge-float {
  position: absolute;
  bottom: 22px; left: -22px;
  background: var(--navy-deep);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: var(--shadow);
}
.split-visual .badge-float .num {
  font-family: var(--serif); font-size: 2rem; color: var(--gold); font-weight: 700; line-height: 1;
}
.split-visual .badge-float .lbl { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.5px; }

/* ---------- EXPERTISES ---------- */
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.expertise-card {
  background: linear-gradient(170deg, var(--navy-2), var(--navy));
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.expertise-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--gold); }
.expertise-media { position: relative; height: 200px; overflow: hidden; }
.expertise-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.expertise-card:hover .expertise-media img { transform: scale(1.06); }
.expertise-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,23,51,0.95), rgba(10,23,51,0.1));
}
.expertise-media .tag {
  position: absolute; bottom: 14px; left: 18px; z-index: 2;
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}
.expertise-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.expertise-body h3 {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 600;
  color: var(--white); margin-bottom: 14px;
}
.expertise-body p { color: var(--muted); font-size: 0.94rem; line-height: 1.7; }
.expertise-body .more {
  margin-top: 22px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--gold);
}

/* ---------- METHODE R.E.V.E. ---------- */
.reve {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(139,30,45,0.22), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(201,162,77,0.14), transparent 50%),
    var(--navy-deep);
  overflow: hidden;
}
.reve::before {
  content: 'R.E.V.E';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30vw;
  color: rgba(201,162,77,0.03);
  letter-spacing: 2vw;
  white-space: nowrap;
  pointer-events: none;
}
.reve-head { text-align: center; position: relative; z-index: 2; margin-bottom: 60px; }
.reve-stamp {
  width: 132px; height: 132px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  background: radial-gradient(circle at 35% 30%, rgba(201,162,77,0.18), rgba(10,23,51,0.9));
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(139,30,45,0.35), 0 18px 40px rgba(0,0,0,0.5);
}
.reve-stamp::after {
  content: '';
  position: absolute; inset: 9px;
  border: 1px dashed rgba(201,162,77,0.55);
  border-radius: 50%;
}
.reve-stamp span {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: var(--gold);
}
.reve-stamp small {
  display: block;
  font-family: var(--sans);
  font-size: 0.5rem;
  letter-spacing: 2px;
  color: var(--red-soft);
  text-transform: uppercase;
  margin-top: 2px;
}
.reve-steps {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  max-width: 1100px; margin: 0 auto;
}
.reve-step {
  text-align: center;
  padding: 38px 24px 34px;
  background: linear-gradient(180deg, rgba(15,31,68,0.85), rgba(6,15,36,0.85));
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.reve-step:hover { transform: translateY(-8px); border-color: var(--gold); }
.reve-letter {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.reve-step h3 {
  font-size: 1.05rem; color: var(--white); font-weight: 600; margin-bottom: 10px;
}
.reve-step p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.reve-step .step-index {
  position: absolute; top: 16px; right: 18px;
  font-size: 0.72rem; color: var(--red-soft); letter-spacing: 1px; font-weight: 600;
}

/* ---------- POUR QUI ---------- */
.profiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.profile {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 32px 30px;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  transition: transform 0.3s, background 0.3s;
}
.profile:hover { transform: translateY(-5px); background: var(--navy-3); }
.profile .p-icon {
  font-size: 1.6rem;
  width: 54px; height: 54px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(201,162,77,0.1);
  border: 1px solid var(--line);
}
.profile h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--white); font-weight: 600; line-height: 1.3; }

/* ---------- LA REUNION ---------- */
.reunion { position: relative; overflow: hidden; }
.reunion .split-visual img { min-height: 400px; }

/* ---------- CONTACT ---------- */
.contact-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info-col .lead { margin-bottom: 32px; }
.coord-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.coord-list li { display: flex; align-items: center; gap: 16px; color: var(--text); }
.coord-list .c-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(201,162,77,0.1);
  border: 1px solid var(--line);
  color: var(--gold); font-size: 1.1rem;
}
.coord-list .c-label { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); display: block; }
.coord-list .c-value { font-weight: 500; color: var(--white); }
.coord-list a.c-value:hover { color: var(--gold); }

.contact-card {
  background: linear-gradient(170deg, var(--navy-2), var(--navy));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 42px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text); font-weight: 500; margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(6,15,36,0.7);
  border: 1px solid rgba(201,162,77,0.18);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #6f7c98; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,77,0.12);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 130px; resize: vertical; }
.contact-card .btn-gold { width: 100%; justify-content: center; font-size: 1rem; margin-top: 6px; }
.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 16px; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  padding: 60px 48px 36px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-tagline { color: var(--muted); font-size: 0.9rem; max-width: 360px; margin-top: 4px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  color: var(--muted); font-size: 0.82rem;
}
.footer-bottom .footer-links a { margin-left: 18px; }
.footer-bottom .footer-links a:hover { color: var(--gold); }

/* ---------- PAGE HEADER (legal pages) ---------- */
.page-header { text-align: center; padding: 130px 24px 50px; background: var(--navy); border-bottom: 1px solid var(--line); }
.page-header h1 { font-family: var(--serif); font-size: clamp(2rem,4vw,2.8rem); color: var(--gold); font-weight: 600; }
.legal-content {
  max-width: 880px; margin: 60px auto 90px;
  padding: 0 24px;
}
.legal-content h2 { font-family: var(--serif); color: var(--gold); margin: 34px 0 12px; font-size: 1.4rem; font-weight: 600; }
.legal-content p { color: var(--muted); margin-bottom: 12px; }
.legal-content strong { color: var(--white); }

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  color: #18130a; border: none; border-radius: 50%;
  cursor: pointer; font-size: 1.3rem;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.4); z-index: 999;
  transition: transform 0.25s;
}
.scroll-top:hover { transform: translateY(-4px); }
.scroll-top.visible { display: flex; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .split, .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .split-visual .frame { inset: 14px -10px -10px 14px; }
  .expertise-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .reve-steps { grid-template-columns: repeat(2, 1fr); }
  .profiles { grid-template-columns: 1fr; }
  .hero-cards { grid-template-columns: 1fr; max-width: 460px; }
}
@media (max-width: 768px) {
  .navbar { padding: 14px 22px; }
  .navbar-links {
    position: fixed; top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--navy-deep);
    flex-direction: column; align-items: flex-start;
    padding: 90px 32px 32px; gap: 24px;
    transition: right 0.35s ease;
    border-left: 1px solid var(--line);
  }
  .navbar-links.open { right: 0; }
  .navbar-links a { font-size: 1.05rem; }
  .hamburger { display: flex; }
  section.block { padding: 70px 22px; }
  .hero-inner { padding: 110px 22px 60px; }
  .hero-cards { padding: 0 22px 70px; margin-top: -60px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-card { padding: 28px; }
  .reve::before { font-size: 44vw; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 480px) {
  .reve-steps { grid-template-columns: 1fr; }
}
