/* ============================================================
   ACJ SERVICES FINANCIERS — Feuille de style commune
   style.css  |  Tous droits réservés
   ============================================================ */

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

/* ── VARIABLES ── */
:root {
  --noir:  #0C0E12;
  --noir2: #13161C;
  --noir3: #1A1E27;
  --or:    #C8963E;
  --or2:   #E4B86A;
  --blanc: #F2EFE8;
  --gris:  #8A8F9E;
  --teal:  #2DD4BF;
  --rouge: #E05555;
  --vert:  #4CAF80;
}

/* ── BASE ── */
html { font-size: 22px; scroll-behavior: smooth; }
body { background: var(--noir); color: var(--blanc); font-family: 'Outfit', sans-serif; overflow-x: hidden; }
.conteneur { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ── ANNONCE ── */
.annonce { background: var(--or); text-align: center; padding: 9px 20px; font-size: 17px; font-weight: 600; color: var(--noir); letter-spacing: .04em; }
.annonce strong { font-weight: 700; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 48px;
  background: rgba(12,14,18,.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200,150,62,.1);
}
.logo { text-decoration: none; display: inline-block; line-height: 0; max-height: 90px; }
.logo img { height: 90px !important; width: auto !important; max-height: 90px; display: block; }
.nav-liens { display: flex; gap: 32px; list-style: none; }
.nav-liens a { font-size: 18px; font-weight: 500; color: rgba(242,239,232,.55); text-decoration: none; transition: color .2s; }
.nav-liens a:hover, .nav-liens a.actif { color: var(--or); }
.nav-droite { display: flex; align-items: center; gap: 14px; }
.btn-nav-conseil { font-size: 15px; font-weight: 600; color: var(--teal); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; background: none; border: none; transition: opacity .2s; }
.btn-nav-conseil:hover { opacity: .7; }
.btn-nav-rdv, .btn-rdv { background: var(--or); color: var(--noir); font-weight: 600; font-size: 18px; padding: 10px 20px; border-radius: 100px; border: none; cursor: pointer; transition: all .2s; }
.btn-nav-rdv:hover, .btn-rdv:hover { background: var(--or2); transform: translateY(-1px); }

/* ── EN-TÊTES DE PAGE (pages secondaires) ── */
.page-hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--or), transparent); }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 65% at 75% 50%, rgba(200,150,62,.05) 0%, transparent 65%); pointer-events: none; }
.page-hero h1 { font-family: 'Fraunces', serif; font-size: clamp(42px, 4vw, 70px); font-weight: 900; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 14px; }
.page-hero h1 em { font-style: italic; color: var(--or); font-weight: 300; }
.page-hero p { font-size: 21px; color: var(--gris); line-height: 1.75; font-weight: 300; max-width: 520px; }
.page-hero p strong { color: var(--blanc); font-weight: 600; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 17px; color: var(--gris); margin-bottom: 28px; }
.breadcrumb a { color: var(--or); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: rgba(138,143,158,.4); }

/* ── ÉTIQUETTES DE SECTION ── */
.etiquette { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.etiquette-ligne { width: 28px; height: 1.5px; background: var(--or); }
.etiquette-texte { font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.section-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.section-label-ligne { width: 28px; height: 1.5px; background: var(--or); }
.section-label-texte { font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--or); }
.section-titre { font-family: 'Fraunces', serif; font-size: clamp(36px, 3vw, 56px); font-weight: 900; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 12px; }
.section-titre em { font-style: italic; color: var(--or); font-weight: 300; }
.section-sous { font-size: 21px; color: var(--gris); line-height: 1.75; font-weight: 300; max-width: 560px; }
.section-sous strong { color: var(--blanc); font-weight: 600; }

/* ── BOUTONS COMMUNS ── */
.btn-primaire { background: var(--or); color: var(--noir); font-weight: 700; font-size: 20px; padding: 15px 28px; border-radius: 100px; border: none; cursor: pointer; transition: all .25s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-primaire:hover { background: var(--or2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,150,62,.3); }
.btn-secondaire { background: transparent; color: var(--blanc); font-weight: 600; font-size: 20px; padding: 15px 28px; border-radius: 100px; border: 1.5px solid rgba(242,239,232,.18); cursor: pointer; transition: all .25s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.btn-secondaire:hover { border-color: var(--or); color: var(--or); }
.btn-or { background: var(--or); color: var(--noir); font-weight: 700; font-size: 20px; padding: 14px 24px; border-radius: 100px; border: none; cursor: pointer; transition: all .25s; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn-or:hover { background: var(--or2); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,150,62,.28); }
.btn-contour { background: transparent; color: var(--blanc); font-weight: 500; font-size: 18px; padding: 12px 24px; border-radius: 100px; border: 1px solid rgba(242,239,232,.15); cursor: pointer; transition: all .25s; text-align: center; display: block; width: 100%; }
.btn-contour:hover { border-color: var(--or); color: var(--or); }
.btn-lien { display: inline-flex; align-items: center; gap: 8px; color: var(--or); font-size: 20px; font-weight: 600; text-decoration: none; padding: 12px 0; transition: gap .2s; }
.btn-lien:hover { gap: 14px; }

/* ── DIVIDER ── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(200,150,62,.12), transparent); margin: 0; }

/* ── ANIMATION REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

/* ── FOOTER ── */
footer { background: var(--noir2); border-top: 1px solid rgba(200,150,62,.08); padding: 40px 48px 24px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 36px; }
.footer-marque { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { font-family: 'Fraunces', serif; font-size: 25px; font-weight: 700; color: var(--blanc); }
.footer-logo span { color: var(--or); }
.footer-tagline { font-size: 18px; color: var(--gris); line-height: 1.6; }
.footer-amf { display: inline-flex; align-items: center; gap: 8px; background: rgba(200,150,62,.08); border: 1px solid rgba(200,150,62,.2); border-radius: 8px; padding: 8px 12px; width: fit-content; margin-top: 4px; }
.footer-amf-texte { font-size: 15px; color: var(--or); font-weight: 600; }
.footer-col-titre { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin-bottom: 16px; }
.footer-liens { display: flex; flex-direction: column; gap: 10px; }
.footer-liens a { font-size: 18px; color: rgba(242,239,232,.45); text-decoration: none; transition: color .2s; }
.footer-liens a:hover { color: var(--or); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(242,239,232,.05); flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 15px; color: rgba(138,143,158,.4); }

/* Footer simplifié (pages secondaires) */
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ── CRÉDIT VSYSTÈME ── */
.footer-credit { font-size: 15px; color: rgba(138,143,158,.35); }
.footer-credit strong { font-family: 'Fraunces', serif; font-size: 17px; color: rgba(200,150,62,.5); }
.footer-credit-bar { background: var(--noir2); border-top: 1px solid rgba(200,150,62,.08); padding: 16px 48px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-credit-bar span { font-size: 15px; color: rgba(138,143,158,.45); letter-spacing: .04em; }
.footer-credit-bar strong { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 700; color: rgba(200,150,62,.6); }

/* ── CHAMPS DE FORMULAIRE (partagés calculateurs + contact) ── */
.champ { display: flex; flex-direction: column; gap: 7px; }
.champ-label { font-size: 17px; font-weight: 600; color: rgba(242,239,232,.7); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.champ-info { font-size: 14px; color: var(--gris); font-weight: 400; background: var(--noir3); border: 1px solid rgba(242,239,232,.06); padding: 2px 7px; border-radius: 4px; }
.champ input[type="number"], .champ input[type="text"], .champ input[type="email"], .champ input[type="tel"], .champ select, .champ textarea {
  width: 100%; background: var(--noir2); border: 1.5px solid rgba(242,239,232,.09); border-radius: 10px;
  padding: 11px 14px; font-size: 20px; font-weight: 500; color: var(--blanc);
  font-family: 'Outfit', sans-serif; outline: none; transition: border-color .2s; resize: none;
  -moz-appearance: textfield;
}
.champ input::-webkit-outer-spin-button, .champ input::-webkit-inner-spin-button { -webkit-appearance: none; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--or); background: var(--noir3); }
.champ select option { background: var(--noir2); }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(138,143,158,.5); }
.champs-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── RESPONSIVE COMMUN ── */
@media (max-width: 768px) {
  nav { padding: 8px 20px; }
  .nav-liens { display: none; }
  .conteneur { padding: 0 20px; }
  .champs-grille { grid-template-columns: 1fr; }
  footer { padding: 32px 20px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
