/* page-family-office.css — ce qui appartient en propre à family-office.
 *
 * Le commun vit dans style.css. Ce fichier ne contient que les écarts :
 * 26 règles strictement identiques à style.css ont été retirées,
 * 47 conservées. À charger APRÈS style.css.
 *
 * Extrait le 10-08-2026 par _gabarit-css.py.
 */

:root {
    --bg: #0a0f1a;
    --bg2: #0e1322;
    --surface: #141b2d;
    --border: rgba(160,180,210,0.08);
    --text: #ffffff;
    --text-muted: #b7c2d4;
    --accent: #2d3e6b;
    --accent-light: #4a5f8f;
    --accent-pale: #8a9cbd;
    --accent-dim: rgba(45,62,107,0.15);
    --gold: #b8965a;
    --gold-light: #d4b478;
    --display: 'Inter Tight', 'Helvetica Now Display', Helvetica, Arial, sans-serif;
    --body: 'Carlito', Calibri, 'Segoe UI', sans-serif;
  }

html { scroll-behavior: smooth; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: none; /* noise overlay retiré — rendu lisse */
    pointer-events: none;
    z-index: 9999;
  }

/* HERO */
  .hero {
    min-height: 52vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7rem 2rem 3rem;
    position: relative;
  }

.hero > * { position: relative; z-index: 2; }

.hero h1 {
    font-family: var(--display);
    /* Le plancher etait a 3rem : sur un ecran de 390 px, « Investissements
       prives » debordait de 6 px hors du cadre, et de 76 px a 320 px. Le
       plancher descend a 1.9rem, la pente et le plafond ne bougent pas, donc
       le rendu sur grand ecran est inchange. */
    font-size: clamp(1.9rem, 7vw, 6.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    max-width: 900px;
    opacity: 0;
    animation: fadeUp 1.2s 0.5s forwards;
  }

.hero-sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.7;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeUp 1s 0.8s forwards;
  }

/* DIVIDER */
  .divider { display: flex; align-items: center; justify-content: center; padding: 0 4rem; gap: 2rem; }

section { padding: 8rem 4rem; }

.section-desc {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
  }

/* SERVICE PILLARS */
  .pillars-outer { background: var(--bg2); }

.pillars-header { margin-bottom: 5rem; }

.service-pillar {
    margin-bottom: 5rem;
    padding: 3.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    position: relative;
  }

.service-pillar:last-child { margin-bottom: 0; }

.service-pillar::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 2rem;
    right: 2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

.pillar-label {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
    margin-bottom: 1rem;
  }

.service-pillar h3 {
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
  }

.service-pillar > p {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 800px;
    margin-bottom: 2.5rem;
  }

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

.service-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: border-color 0.3s;
  }

.service-item:hover { border-color: rgba(74,95,143,0.25); }.service-item h3,
.service-item h4,
.service-item h5 {
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 400;
  }

.service-item p {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.7;
  }

/* QUOTE */
  .quote-section { background: var(--surface); }

.quote-block {
    position: relative;
    padding: 4rem 5rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    max-width: 900px;
    margin: 0 auto;
  }

.quote-block::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 3rem;
    right: 3rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

.quote-block blockquote {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.65;
    color: var(--text);
  }

.quote-attribution {
    margin-top: 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 400;
  }

/* FEATURES */
  .features-section { background: var(--bg2); }

.features-header { text-align: center; margin-bottom: 4rem; }

.features-header .section-title { margin: 0 auto 1.5rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
  }

.feature-card {
    background: var(--bg2);
    padding: 3rem 2.5rem;
    transition: all 0.4s;
    position: relative;
  }

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 2.5rem; right: 2.5rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.5s;
  }

.feature-card:hover::after { transform: scaleX(1); }

.feature-card:hover { background: var(--surface); }.feature-card h3,
.feature-card h4,
.feature-card h5 { font-family: var(--display); font-size: 1.3rem; font-weight: 400; margin-bottom: 1rem; }

.feature-card p { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); line-height: 1.8; }

/* CTA */
  .cta-section {
    text-align: center;
    padding: 10rem 4rem;
    position: relative;
  }

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, var(--bg) 0%, rgba(12,16,24,0.4) 30%, rgba(12,16,24,0.4) 70%, var(--bg) 100%),
      url('../webp/mountain4.webp') center/cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
    filter: saturate(0.2) brightness(0.6);
  }

.cta-section > * { position: relative; z-index: 2; }

/* BUTTONS */
  .btn-primary {
    display: inline-block;
    padding: 1rem 2.8rem;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--accent-light);
    color: var(--bg);
    border: none;
    cursor: pointer;
    transition: all 0.4s;
  }

/* FOOTER */
  footer { padding: 4rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.footer-links { display: flex; gap: 2rem; }

.footer-copy { font-size: 0.72rem; color: var(--text-muted); font-weight: 400; }

/* ── Points de rupture ── */

@media (max-width: 1024px) {
    section { padding: 6rem 2rem; }
    nav { padding: 1.2rem 2rem; }
    nav.scrolled { padding: 0.8rem 2rem; }
    .services-list { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .quote-block { padding: 3rem 2.5rem; }
    footer { flex-direction: column; gap: 2rem; text-align: center; }
  }

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
  }

@media (max-width: 600px) {
    section { padding: 5rem 1.5rem; }
    .cta-section { padding: 7rem 1.5rem; }
    .quote-block { padding: 2.5rem 1.5rem; }
    .service-pillar { padding: 2.5rem 1.5rem; }
  }

/* Image de cette page. Le traitement est commun, dans style.css. */
.hero {
  --hero-image: url('../webp/hero-lavaux-village.webp');
}
