/* ============================================================
   CapitalConseil France – Feuille de styles principale
   ============================================================ */

/* ── Variables ── */
:root {
  --navy:       #0d2144;
  --navy-light: #163166;
  --gold:       #c9a84c;
  --gold-light: #e0c06e;
  --white:      #ffffff;
  --light-bg:   #f5f7fa;
  --text:       #2d3748;
  --text-light: #6b7280;
  --border:     #e2e8f0;
  --danger:     #e53e3e;
  --success:    #38a169;
  --shadow:     0 4px 24px rgba(13,33,68,.12);
  --radius:     8px;
  --transition: .3s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; color: var(--navy); }

/* ── Utility ── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section          { padding: 80px 0; }
.section--light   { background: var(--light-bg); }
.section--dark    { background: var(--navy); color: var(--white); }
.section--dark h2,
.section--dark h3,
.section--dark p  { color: var(--white); }
.text-center      { text-align: center; }
.text-gold        { color: var(--gold); }
.lead             { font-size: 1.15rem; color: var(--text-light); max-width: 760px; margin: 0 auto 32px; }
.badge            { display: inline-block; background: var(--gold); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 40px; letter-spacing: .5px; text-transform: uppercase; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary   { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline   { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy      { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); color: var(--white); }
.btn-sm        { padding: 10px 22px; font-size: .9rem; }

/* ── Section headings ── */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.section-title span { color: var(--gold); }
.divider {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin: 0 auto 40px;
  border-radius: 2px;
}
.divider--left { margin: 0 0 40px; }

/* ================================================================
   HEADER / NAV
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 44px; width: auto; }
.logo-text { line-height: 1.1; }
.logo-text strong { color: var(--white); font-size: 1.1rem; }
.logo-text small  { color: var(--gold); font-size: .75rem; display: block; }

.nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 500;
  transition: all var(--transition);
}
.nav a:hover,
.nav a.active { color: var(--white); background: rgba(255,255,255,.12); }
.nav .nav-cta { background: var(--gold); color: var(--navy) !important; padding: 8px 20px; }
.nav .nav-cta:hover { background: var(--gold-light); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1e4a8a 100%);
  color: var(--white);
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-banner.jpg') center/cover no-repeat;
  opacity: .18;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 { font-size: 2.8rem; color: var(--white); margin-bottom: 20px; }
.hero-content h1 span { color: var(--gold); }
.hero-content .subtitle { font-size: 1.15rem; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img { border-radius: 16px; box-shadow: var(--shadow); }
.hero-trust {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item strong { display: block; font-size: 1.8rem; color: var(--gold); }
.trust-item span   { font-size: .85rem; color: rgba(255,255,255,.7); }

/* HERO – Risk warning banner */
.risk-warning-hero {
  position: relative;
  background: rgba(0,0,0,.35);
  border-left: 4px solid var(--gold);
  padding: 12px 18px;
  border-radius: 0 6px 6px 0;
  margin-top: 28px;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}

/* ================================================================
   CARDS
   ================================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(13,33,68,.18); }
.card-img    { height: 200px; object-fit: cover; width: 100%; }
.card-body   { padding: 28px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card-body p  { color: var(--text-light); font-size: .95rem; margin-bottom: 18px; }
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

/* ================================================================
   FEATURES / ICON BOXES
   ================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.feature-box { text-align: center; padding: 36px 24px; }
.feature-box .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.feature-box h3 { margin-bottom: 10px; }
.feature-box p  { color: var(--text-light); font-size: .95rem; }

/* ================================================================
   PRODUCT DETAIL (two-column)
   ================================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-detail.reverse { direction: rtl; }
.product-detail.reverse > * { direction: ltr; }
.product-detail img { border-radius: 14px; box-shadow: var(--shadow); }
.product-content h2 { font-size: 1.9rem; margin-bottom: 16px; }
.product-content p  { margin-bottom: 16px; color: var(--text-light); }
.check-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-light);
  font-size: .95rem;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ================================================================
   STATS / NUMBERS
   ================================================================ */
.stats-band {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item { color: var(--white); }
.stat-item strong { display: block; font-size: 2.6rem; color: var(--gold); font-weight: 800; }
.stat-item span   { font-size: .9rem; opacity: .8; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
.testimonial-card .stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 14px; }
.testimonial-card p      { color: var(--text-light); font-style: italic; margin-bottom: 20px; }
.testimonial-meta { display: flex; align-items: center; gap: 12px; }
.testimonial-meta img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-meta strong { display: block; font-size: .95rem; }
.testimonial-meta small  { color: var(--text-light); font-size: .8rem; }

/* ================================================================
   TEAM
   ================================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.team-card img { width: 100%; height: 240px; object-fit: cover; }
.team-card-body { padding: 20px; }
.team-card-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card-body span { color: var(--gold); font-size: .85rem; font-weight: 600; }
.team-card-body p   { color: var(--text-light); font-size: .88rem; margin-top: 8px; }

/* ================================================================
   ACCORDION / FAQ
   ================================================================ */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
}
.accordion-trigger:hover { background: var(--light-bg); }
.accordion-trigger .arrow { transition: transform var(--transition); font-size: .8rem; }
.accordion-trigger.open .arrow { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ================================================================
   FORMS
   ================================================================ */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .95rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--navy); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control   { appearance: none; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: .82rem; color: var(--text-light); margin-top: 8px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox input { margin-top: 3px; accent-color: var(--navy); width: 16px; height: 16px; }
.form-checkbox label { font-size: .88rem; color: var(--text-light); font-weight: 400; }

/* Contact card box */
.contact-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 40px;
}
.contact-box h3 { color: var(--white); margin-bottom: 20px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-info-item .icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item strong { display: block; color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.contact-info-item span  { font-size: .95rem; opacity: .85; }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  background: linear-gradient(130deg, var(--gold) 0%, #a8882c 100%);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: var(--navy); font-size: 2rem; margin-bottom: 14px; }
.cta-band p  { color: var(--navy); opacity: .85; font-size: 1.05rem; margin-bottom: 30px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ================================================================
   PARTNERS BANNER
   ================================================================ */
.partners { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-title { text-align: center; color: var(--text-light); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.partners-logos { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; justify-content: center; }
.partners-logos img { height: 36px; opacity: .5; filter: grayscale(1); transition: var(--transition); }
.partners-logos img:hover { opacity: 1; filter: none; }

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  background: var(--navy);
  padding: 20px 0;
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb-inner a { color: rgba(255,255,255,.6); }
.breadcrumb-inner a:hover { color: var(--gold); }
.breadcrumb-inner .sep { color: rgba(255,255,255,.3); }
.breadcrumb-inner .current { color: var(--gold); }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/page-header-bg.jpg') center/cover no-repeat;
  opacity: .1;
}
.page-hero-inner { position: relative; }
.page-hero h1 { color: var(--white); font-size: 2.4rem; margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1.1rem; max-width: 600px; }

/* ================================================================
   RISK DISCLAIMER BOX
   ================================================================ */
.risk-box {
  background: #fff8e1;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: .88rem;
  color: #5a4200;
  margin: 32px 0;
}
.risk-box strong { display: block; margin-bottom: 6px; color: #3d2e00; }

/* ================================================================
   TABLE
   ================================================================ */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { background: var(--navy); color: var(--white); padding: 14px 18px; text-align: left; font-size: .85rem; text-transform: uppercase; letter-spacing: .4px; }
td { padding: 14px 18px; border-bottom: 1px solid var(--border); color: var(--text-light); }
tr:hover td { background: var(--light-bg); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #091929;
  color: rgba(255,255,255,.65);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img { height: 42px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.8; margin-bottom: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--white);
  transition: background var(--transition);
}
.footer-social a:hover { background: var(--gold); }
.footer-col h4 { color: var(--gold); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 28px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .8rem;
}
.footer-legal { max-width: 760px; line-height: 1.7; }
.footer-legal a { color: var(--gold); }
.footer-links-bottom { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links-bottom a { color: rgba(255,255,255,.5); font-size: .8rem; }
.footer-links-bottom a:hover { color: var(--gold); }
.footer-reg {
  background: rgba(255,255,255,.04);
  border-radius: 6px;
  padding: 12px 18px;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
}

/* ================================================================
   LEGAL / PRIVACY PAGE
   ================================================================ */
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal-content h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--navy-light); }
.legal-content p,
.legal-content li { color: var(--text-light); font-size: .95rem; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul  { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-content table th,
.legal-content table td { font-size: .88rem; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-image       { display: none; }
  .product-detail   { grid-template-columns: 1fr; }
  .product-detail.reverse { direction: ltr; }
  .form-row         { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.75rem; }
  .hero { padding: 70px 0 60px; }
  .hero-content h1 { font-size: 2rem; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); padding: 16px 20px 24px; flex-direction: column; }
  .nav.open { display: flex; }
  .nav ul   { flex-direction: column; gap: 6px; width: 100%; }
  .nav a    { display: block; padding: 12px 16px; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom-inner { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-trust { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
}
