/* FC Conseil — styles communs des pages intérieures (menu harmonisé).
   Lot C (23/11/2026) : bloc <style id="nav-harmonized-css"> recopié à l'identique dans 66 pages, sorti ici.
   Les pages dont le bloc différait gardent leur version en ligne. Incrémenter ?v= dans les pages à chaque modification. */
/* CSS nav harmonise - extrait de la HOME */
/* NAV */
nav {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
background: rgba(10, 42, 74, 0.97);
backdrop-filter: blur(10px);
display: flex; align-items: center; justify-content: space-between;
padding: 0 2%;
height: 64px;
border-bottom: 1px solid rgba(201,168,76,0.25);
gap: 0.5rem;
}
.nav-brand {
font-family: 'Cormorant Garamond', serif;
font-size: 1.35rem;
font-weight: 700;
color: white;
letter-spacing: 3px;
flex-shrink: 0;
border: 1px solid rgba(201,168,76,0.45);
border-radius: 6px;
padding: 0.3rem 0.9rem;
transition: border-color 0.2s, background 0.2s;
}
.nav-brand:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-brand span { color: var(--gold); }
/* Centre : liens de navigation */
.nav-links {
display: flex; gap: 0; list-style: none; align-items: center;
flex: 1; justify-content: center; margin: 0;
}
.nav-links li.nav-link-item a {
color: rgba(255,255,255,0.68);
text-decoration: none;
font-size: 0.68rem;
letter-spacing: 1.8px;
text-transform: uppercase;
font-weight: 500;
padding: 0 0.9rem;
height: 64px;
display: flex; align-items: center;
transition: color 0.3s, background 0.3s;
border-bottom: 2px solid transparent;
}
.nav-links li.nav-link-item a:hover {
color: var(--gold);
border-bottom-color: var(--gold);
}
/* Droite : boutons d'action */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.nav-cta {
background: var(--gold);
color: var(--navy) !important;
padding: 0.5rem 1.1rem;
font-weight: 700 !important;
border-radius: 2px;
font-size: 0.68rem;
letter-spacing: 1.5px;
text-transform: uppercase;
white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-light) !important; }
/* Icônes nav enrichies */
.nav-icon-btn {
display: flex; flex-direction: column; align-items: center; gap: 3px;
cursor: pointer; text-decoration: none;
padding: 0.45rem 0.6rem;
border-radius: 8px;
border: 1px solid rgba(201,168,76,0.25);
background: rgba(255,255,255,0.04);
color: rgba(255,255,255,0.7);
transition: all 0.25s;
flex-shrink: 0;
min-width: 52px;
}
.nav-icon-btn:hover {
background: rgba(201,168,76,0.12);
border-color: var(--gold);
color: var(--gold);
transform: translateY(-2px);
}
.nav-icon-btn svg { width: 18px; height: 18px; }
.nav-icon-btn .nav-icon-label {
font-size:0.62rem;
letter-spacing: 1px;
text-transform: uppercase;
font-weight: 600;
color: inherit;
line-height: 1;
}
.nav-page-link {
display: flex; align-items: center;
color: rgba(255,255,255,0.65) !important;
text-decoration: none;
font-size: 0.7rem;
letter-spacing: 1.8px;
text-transform: uppercase;
font-weight: 500;
padding: 0 1rem;
height: 64px;
transition: color 0.3s;
border-bottom: 2px solid transparent;
}
.nav-page-link:hover { color: var(--gold) !important; border-bottom-color: var(--gold); }
.nav-page-link.active-page { color: var(--gold) !important; border-bottom-color: var(--gold); }
/* Dropdowns nav */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
display: none;
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
background: rgba(6,18,32,0.98);
backdrop-filter: blur(16px);
border: 1px solid rgba(201,168,76,0.2);
border-radius: 8px;
padding: 0.5rem;
min-width: 240px;
z-index: 200;
box-shadow: 0 8px 32px rgba(0,0,0,0.4);
animation: fadeIn 0.15s ease;
}
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a {
display: flex;
align-items: center;
gap: 0.6rem;
padding: 0.6rem 0.8rem;
font-size: 0.82rem;
color: rgba(255,255,255,0.7);
text-decoration: none;
border-radius: 4px;
letter-spacing: 0.5px;
transition: all 0.15s;
white-space: nowrap;
}
.nav-dropdown-menu a:hover { background: rgba(201,168,76,0.1); color: var(--gold); }
.nav-dropdown-toggle { cursor: pointer; }
.nav-hamburger {
display: none; flex-direction: column; gap: 5px; cursor: pointer;
padding: 0.5rem; background: none; border: none;
}
.nav-hamburger span {
display: block; width: 22px; height: 2px;
background: rgba(255,255,255,0.7); border-radius: 2px; transition: all 0.3s;
}
/* Mobile menu */
.nav-mobile-menu {
display: none; position: fixed; top: 58px; left: 0; right: 0;
background: rgba(6,18,32,0.99); backdrop-filter: blur(16px);
padding: 1.5rem 8%; z-index: 300;
border-bottom: 2px solid rgba(201,168,76,0.25);
flex-direction: column; gap: 0;
box-shadow: 0 8px 32px rgba(0,0,0,0.5);
max-height: calc(100vh - 58px);
overflow-y: auto;
}
.nav-mobile-menu.open { display: flex; }
/* Liens standards */
.nav-mobile-menu a, .nav-mobile-menu button {
color: rgba(255,255,255,0.85); text-decoration: none;
font-size: 1rem; letter-spacing: 0.5px;
font-weight: 500; padding: 1rem 0;
border-bottom: 1px solid rgba(255,255,255,0.06);
background: none; border-left: none; border-right: none; border-top: none;
font-family: 'Jost', sans-serif; cursor: pointer; text-align: left;
transition: color 0.2s, padding-left 0.2s;
width: 100%;
display: flex; align-items: center; gap: 0.8rem;
}
.nav-mobile-menu a:hover, .nav-mobile-menu button:hover {
color: var(--gold);
padding-left: 0.4rem;
}
/* Bouton CTA mobile doré */
.nav-cta-mobile {
background: var(--gold) !important;
color: var(--navy) !important;
text-align: center !important;
justify-content: center !important;
padding: 1rem !important;
margin-top: 1rem;
font-weight: 700 !important;
border-radius: 8px !important;
border-bottom: none !important;
font-size: 1rem !important;
letter-spacing: 1.5px !important;
text-transform: uppercase !important;
box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.nav-cta-mobile:hover {
background: var(--gold-light) !important;
padding-left: 0 !important;
transform: translateY(-1px);
}
.nav-gestion-btn {
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.2);
color: rgba(255,255,255,0.8);
padding: 0.45rem 0.9rem;
font-family: 'Jost', sans-serif;
font-size: 0.78rem;
font-weight: 600;
letter-spacing: 1.5px;
text-transform: uppercase;
cursor: pointer;
border-radius: 2px;
transition: all 0.3s;
white-space: nowrap;
}
.nav-gestion-btn:hover { background: rgba(201,168,76,0.2); border-color: var(--gold); color: var(--gold); }
/* Boutons — plus grands, plus clairs */
.nav-cta, button[onclick*="showPage"] {
font-size: 0.9rem !important;
padding: 0.8rem 1.8rem !important;
border-radius: 6px !important;
}
#qualification .tunnel-nav button { color: rgba(255,255,255,0.6); }
/* Sur mobile : menu-panel toujours caché (remplacé par nav-mobile-menu) */
@media (max-width: 768px) {
  #menu-panel { display: none !important; }
  #gerant-panel { display: none !important; }
}
/* ── MOBILE MENU THÈMES ── */
.nav-mobile-menu { padding: 1rem 5% !important; gap: 0 !important; }
/* nav-gestion-btn styles defined in main CSS */
/* @import déplacé vers <link> head — optimisation LCP */
#gestion-panel body {
font-family: 'Poppins', sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
min-height: 100vh;
padding: 25px;
position: relative;
}
.nav-fiche-btn {
background: var(--gold);
color: var(--navy); border: none; padding: 0.45rem 0.9rem;
font-family: 'Jost', sans-serif; font-size: 0.78rem; font-weight: 700;
letter-spacing: 1.5px; text-transform: uppercase;
cursor: pointer; border-radius: 2px; white-space: nowrap; transition: all 0.3s;
}
.nav-fiche-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Media queries nav */
@media (max-width: 900px) {
.nav-links { display: none; }
.nav-hamburger { display: none !important; }
}

@media (max-width: 768px) {
.hero-content { grid-template-columns: 1fr; gap: 2rem; }
.hero-stats { grid-template-columns: 1fr !important; }
.about-inner { grid-template-columns: 1fr; gap: 2rem; }
.contact-inner { grid-template-columns: 1fr; }
.form-row { grid-template-columns: 1fr; }
.about-values { grid-template-columns: 1fr; }
/* Masquer éléments nav non essentiels sur mobile */
.nav-actions .nav-fiche-btn,
.nav-actions .nav-gestion-btn { display: none; }
.nav-actions .nav-cta { display: none; }
/* Masquer dropdowns desktop sur mobile */
#nav-pages .nav-dropdown { display: none; }
/* Masquer le bouton MENU desktop — remplacé par #nav-mobile-trigger */
#menu-btn-desktop { display: none !important; }
/* Afficher le bouton unique mobile */
#nav-mobile-trigger { display: flex !important; }
/* Nav links desktop masqués sur mobile */
#nav-pages > li:not(.nav-dropdown) { display: none; }
}

@media (max-width: 768px) {
body { font-size:16px!important; }
p, li, span, div, a, button, input, select, textarea {
font-size: max(14px, 1em) !important;
}
.hero-title { font-size: 1.8rem !important; }
.hero-desc { font-size: 0.95rem !important; line-height: 1.75 !important; }
.hero-badge { font-size: 0.82rem !important; }
nav { padding: 0 4% !important; }
.nav-brand { font-size: 1.1rem !important; }
.results-grid { grid-template-columns: 1fr !important; }
.seo-text-grid { grid-template-columns: 1fr !important; }
/* #menu-panel hidden via JS */
}

@media print {
  nav, .nav-wrapper, .nav-bar, .mobile-menu-btn,
  .nav-cta, .floating-btns, .chat-bubble, #chatbot,
  .chatbot-container, .scroll-top, footer,
  .service-modal-overlay, #modal-overlay,
  #patrimoine-panel, #outils-pro-panel,
  #panel-rentabilite-invest, #panel-prixm2-invest,
  section#coaching, section#qualification,
  section#comparateur-assurance,
  .hero-btns, .hero-form-wrap, .pill-nav,
  .tunnel-card button, .floating-call-btn
  { display: none !important; }

  body {
    background: white !important;
    color: #1a1a2e !important;
    font-size: 11pt !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  h1, h2, h3, h4 { color: #0A2A4A !important; }
  p, li, span, td, th { color: #1a1a2e !important; }

  .hero-section, section#hero {
    background: white !important;
    padding: 1cm 1.5cm !important;
    border-bottom: 2px solid #C9A84C !important;
  }
  .hero-section h1, .hero-section h2 { color: #0A2A4A !important; }

  /* Fonds sombres -> blanc */
  section {
    background: white !important;
    color: #1a1a2e !important;
  }
  .service-card {
    background: #f9f7f2 !important;
    border: 1px solid #C9A84C !important;
    color: #1a1a2e !important;
    break-inside: avoid;
  }
  .service-card * { color: #1a1a2e !important; }

  .tunnel-result, .tunnel-card {
    background: #f0f0f0 !important;
    color: #1a1a2e !important;
    border: 1px solid #ccc !important;
  }
  .tunnel-result * { color: #1a1a2e !important; }

  @page {
    margin: 1.5cm;
    size: A4 portrait;
  }
  section { break-inside: avoid; page-break-inside: avoid; }
  a[href]:after { content: none !important; }
}

@media (max-width: 768px) {
/* ── NAV ── */
nav { padding: 0 4%; height: 58px; }
.nav-links { display: none; }
.nav-hamburger { display: none !important; }
.nav-fiche-btn, .nav-gestion-btn { display: none !important; }
.nav-cta { display: none !important; }
/* Ancien bouton MENU desktop → masqué sur mobile */
#menu-btn-desktop { display: none !important; }
/* Séparateur entre menu-btn et nav-cta → masqué aussi */
#menu-btn-desktop + div { display: none !important; }
/* Bouton unique mobile → visible */
#nav-mobile-trigger { display: flex !important; }
.nav-brand { font-size: 1.1rem; letter-spacing: 2px; }
/* ── HERO ── */
#hero { padding-top: 58px; min-height: auto; padding-bottom: 3rem; }
.hero-content { 
grid-template-columns: 1fr !important; 
gap: 2.5rem; 
padding: 2rem 5% 1rem;
}
.hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem) !important; }
.hero-desc { font-size: 1rem !important; line-height: 1.5 !important; margin-bottom: 1.5rem !important; }
/* hero-badge mobile handled in component CSS */
.hero-actions { 
flex-direction: column; gap: 0.8rem;
}
.hero-actions a, .btn-primary { 
text-align: center !important; 
width: 100% !important;
padding: 1rem !important;
box-sizing: border-box;
}
.hero-stats { 
grid-template-columns: repeat(3,1fr) !important; 
gap: 0.8rem;
}
.stat-card { padding: 1.2rem 0.6rem !important; }
.stat-card div[style*="58px"] { 
width: 44px !important; height: 44px !important;
margin-bottom: 0.6rem !important;
}
.stat-card span[style*="0.9rem"] { font-size: 0.72rem !important; }
.stat-card span[style*="0.62rem"] { font-size:0.62rem !important; letter-spacing: 1px !important; }
/* ── SECTIONS padding ── */
section { padding: 3rem 5% !important; }
.section-header { margin-bottom: 2rem; }
.section-title { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
/* ── SERVICES ── */
.services-grid { grid-template-columns: 1fr !important; gap: 1rem; }
.service-card { padding: 1.8rem 1.4rem; }
/* ── POURQUOI ── */
.pourquoi-grid { grid-template-columns: 1fr 1fr !important; gap: 1rem; }
/* ── À PROPOS ── */
.about-inner { grid-template-columns: 1fr !important; gap: 2rem; }
.about-philosophy { grid-template-columns: 1fr !important; gap: 0.8rem; }
.about-stats-row { grid-template-columns: repeat(3,1fr); gap: 0.6rem; }
.about-stat-num { font-size: 1.4rem !important; }
.about-portrait-wrap { padding: 2rem 1.5rem; }
.about-portrait-initials { width: 90px !important; height: 90px !important; font-size: 2.2rem !important; }
/* ── PROCESS ── */
.process-step { 
grid-template-columns: 50px 1fr !important; 
gap: 1rem; 
padding: 1.2rem;
}
.step-num { font-size: 2.5rem; }
/* ── SIMULATEUR ── */
.tunnel-form-grid { grid-template-columns: 1fr !important; }
.tunnel-steps { flex-direction: column; gap: 0.5rem; }
.tunnel-step-btn { width: 100%; text-align: center; }
.tunnel-result-details { grid-template-columns: 1fr 1fr !important; }
.tunnel-card { padding: 1.4rem 1rem; }
.tunnel-reassurance { gap: 0.8rem; flex-direction: column; align-items: center; }
#qualification { padding: 3rem 5%; }
/* ── COACHING ── */
.coaching-tabs { flex-direction: column; gap: 0.4rem; }
.coaching-tab { width: 100%; text-align: center; }
/* ── BARRE EXPLORER ── */
.explore-icons { gap: 0.6rem; }
.explore-icon-btn { min-width: 70px; padding: 0.7rem 0.6rem; }
.explore-icon-btn svg { width: 18px; height: 18px; }
.explore-icon-btn span { font-size:0.62rem; }
/* ── CONTACT ── */
[style*="repeat(4,1fr)"] { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }
[style*="grid-template-columns: 1fr 1.2fr"] { grid-template-columns: 1fr !important; gap: 2rem !important; }
.contact-inner { grid-template-columns: 1fr !important; }
.form-row { grid-template-columns: 1fr !important; }
/* ── FOOTER ── */
footer { 
flex-direction: column !important; 
text-align: center; 
padding: 2rem 5%;
gap: 1.2rem;
}
  .footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: white;
    letter-spacing: 2px;
  }
  .footer-brand span { color: var(--gold); }
  .footer-center { text-align: center; }
  .footer-text { font-size: 0.78rem; }

  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
/* ── CHATBOT ── */
#fc-chat-window { 
width: calc(100vw - 16px) !important; 
right: 8px !important; 
bottom: 75px !important;
height: 70vh !important;
max-height: 520px !important;
border-radius: 16px !important;
}
#fc-chat-btn { bottom: 14px !important; right: 14px !important; }
/* ── MODALES ── */
.service-modal-overlay { align-items: flex-start !important; padding: 0 !important; }
.service-modal {
width: 100% !important; max-width: 100% !important;
border-radius: 14px 14px 0 0 !important;
margin: auto 0 0 0 !important;
max-height: 95vh !important;
overflow-y: auto !important;
-webkit-overflow-scrolling: touch;
}
.modal-form { grid-template-columns: 1fr !important; }
.modal-form .mf-full { grid-column: span 1 !important; }
.modal-header { padding: 1.2rem !important; }
.modal-header-text h2 { font-size: 1.1rem !important; }
.modal-body { padding: 1rem 1.2rem 2rem !important; }
.modal-submit { font-size: 0.88rem !important; padding: 1rem !important; min-height: 48px; }
.modal-close { top: 0.8rem !important; right: 0.8rem !important; }
.modal-icon { width: 40px !important; height: 40px !important; font-size: 1.2rem !important; }
.guide-modal { max-height: 92vh !important; }
.guide-modal-header { padding: 1.4rem 1.5rem !important; }
.guide-modal-body { padding: 1.4rem 1.5rem !important; }
.guide-step { gap: 1rem; }
.guide-step-num { font-size: 1.8rem; width: 36px; }
/* ── TEXTES ── */
body { font-size: 0.95rem; }
h2 { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }
h3 { font-size: clamp(1.1rem, 4.5vw, 1.5rem) !important; }
p { line-height: 1.75; }
/* ── BOUTONS touch-friendly ── */
.btn-primary, .btn-outline, .form-submit, .tunnel-calc-btn, .tunnel-cta-btn {
min-height: 48px;
font-size: 0.78rem !important;
}
a[href^="tel"], a[href^="mailto"] { min-height: 44px; display: flex; align-items: center; }
/* ── FICHE FINANCEMENT ── */
.fiche-body { padding: 16px 12px !important; }
.fiche-header-card { padding: 20px 16px !important; }
.mf-row, .mf-row-3 { grid-template-columns: 1fr !important; }
.fiche-credit-row { grid-template-columns: 1fr !important; }
}

@media (max-width: 380px) {
.hero-stats { grid-template-columns: 1fr !important; }
.pourquoi-grid { grid-template-columns: 1fr !important; }
.about-stats-row { grid-template-columns: 1fr 1fr !important; }
[style*="repeat(4,1fr)"] { grid-template-columns: 1fr !important; gap: 0.8rem !important; }
.nav-cta { font-size: 0.82rem !important; padding: 0.45rem 0.7rem !important; letter-spacing: 1px !important; }
}

@media (max-width: 768px) {
body { font-size: 15px; }
.mf-group label { font-size: 0.82rem !important; letter-spacing: 1px !important; }
.mf-group input, .mf-group select, .mf-group textarea { font-size: 1rem !important; min-height: 48px; }
.coaching-tab { font-size: 0.78rem !important; min-height: 44px; }
.modal-submit { min-height: 52px !important; font-size: 0.92rem !important; }
/* Zones cliquables plus grandes */
.nav-page-link { min-height: 44px !important; }
a[href="tel:0671231538"] { min-height: 44px; }
/* Bouton appel chat repositionné pour ne pas masquer le bouton téléphone */
#fc-chat-btn { bottom: 20px !important; right: 16px !important; }
#mobile-call-btn { bottom: 20px !important; left: 16px !important; }
}

@media (max-width: 390px) {
.hero-stats { grid-template-columns: 1fr !important; }
.pourquoi-grid { grid-template-columns: 1fr !important; }
.zone-cards { grid-template-columns: 1fr !important; }
.trois-paves { grid-template-columns: 1fr !important; }
.trois-paves > a:last-child { grid-column: auto !important; }
.about-stats-row { grid-template-columns: 1fr 1fr !important; }
.hero-title { font-size: 1.65rem !important; }
.nav-brand { font-size: 1rem !important; letter-spacing: 1.5px !important; }
.preuve-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
button, .nav-cta, a[onclick], input[type="submit"] {
min-height: 44px;
}
.coaching-card-btn { padding: 0.8rem 1.2rem !important; font-size: 0.82rem !important; }
.hero-title { font-size: 1.75rem !important; line-height: 1.2 !important; }
}
