/* ============================================================
   euroInvestpt — Feuille de styles globale
   Palette : Navy #1b3a5c | Vert #2d8f3c | Or #d4a30a
   ============================================================ */

:root {
  --navy:        #1b3a5c;
  --navy-dark:   #102440;
  --navy-light:  #2a5080;
  --green:       #2d8f3c;
  --green-light: #3aad50;
  --gold:        #d4a30a;
  --gold-light:  #f0c030;
  --light-bg:    #f0f5fb;
  --white:       #ffffff;
  --text:        #1e2a38;
  --text-muted:  #5a6a7a;
  --border:      #d0dce8;
  --shadow:      0 4px 24px rgba(27,58,92,0.10);
  --radius:      10px;
  --radius-lg:   18px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', 'Open Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BOUTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(45,143,60,.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(45,143,60,.45); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all .2s;
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(212,163,10,.35);
  border: none;
  cursor: pointer;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212,163,10,.5); }

/* ─── HEADER / NAV ────────────────────────────────────────── */
header {
  background: var(--navy-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1180px;
  margin: 0 auto;
  height: 72px;
}

.logo img {
  height: 52px;
  width: auto;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav ul li { position: relative; }

nav ul li a {
  color: #d0dce8;
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  display: block;
  white-space: nowrap;
}
nav ul li a:hover, nav ul li a.active { color: var(--white); background: rgba(255,255,255,.08); }

/* Dropdown */
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 230px;
  padding: 8px 0;
  z-index: 200;
  border-top: 3px solid var(--green);
}

.dropdown li a {
  color: var(--text) !important;
  padding: 10px 20px !important;
  background: none !important;
  font-size: .9rem !important;
  border-radius: 0 !important;
}
.dropdown li a:hover { background: var(--light-bg) !important; color: var(--green) !important; }

.nav-cta {
  background: linear-gradient(135deg, var(--green), var(--green-light)) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 9px 22px !important;
  font-weight: 700 !important;
}
.nav-cta:hover { box-shadow: 0 6px 16px rgba(45,143,60,.4); transform: translateY(-1px); }

.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy-dark);
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .22;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-text h1 span { color: var(--gold-light); }

.hero-text p {
  color: #b0c4d8;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.hero-image img { width: 100%; height: 380px; object-fit: cover; }

/* ─── SECTION BADGES ──────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: rgba(45,143,60,.12);
  color: var(--green);
  border: 1px solid rgba(45,143,60,.25);
  padding: 5px 18px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-size: 2.1rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ─── STATS ───────────────────────────────────────────────── */
.stats-bar {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { border-right: 1px solid rgba(255,255,255,.15); padding: 0 20px; }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--gold-light); line-height: 1; }
.stat-label { color: #b0c4d8; font-size: .88rem; margin-top: 6px; }

/* ─── SERVICES / CARDS ────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 4px solid transparent;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.service-card:hover { border-color: var(--green); transform: translateY(-6px); box-shadow: 0 12px 32px rgba(27,58,92,.14); }

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(45,143,60,.12), rgba(45,143,60,.04));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
  border: 2px solid rgba(45,143,60,.2);
}

.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; }
.service-link { color: var(--green); font-weight: 700; font-size: .9rem; transition: gap .2s; }
.service-link:hover { color: var(--navy); }

/* ─── ABOUT / TWO COLS ────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  box-shadow: 0 20px 50px rgba(27,58,92,.15);
  border-radius: var(--radius-lg);
}
.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(212,163,10,.4);
}
.about-badge .big { font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge .small { font-size: .8rem; font-weight: 600; margin-top: 4px; }

.about-text h2 { font-size: 2rem; font-weight: 800; color: var(--navy); margin-bottom: 18px; line-height: 1.3; }
.about-text p { color: var(--text-muted); margin-bottom: 18px; }

.feature-list { margin: 24px 0; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.feature-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: linear-gradient(135deg, var(--green), var(--green-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
}
.feature-text h4 { font-weight: 700; color: var(--navy); font-size: .95rem; margin-bottom: 2px; }
.feature-text p { font-size: .88rem; color: var(--text-muted); margin: 0; }

/* ─── PAGE HERO (pages internes) ─────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-light) 100%);
  padding: 64px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 50px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero.alt::after { background: var(--light-bg); }
.page-hero h1 { color: var(--white); font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.page-hero p { color: #b0c4d8; font-size: 1.1rem; max-width: 520px; margin: 0 auto; }
.page-hero .breadcrumb { color: rgba(255,255,255,.55); font-size: .85rem; margin-bottom: 16px; }
.page-hero .breadcrumb a { color: var(--gold-light); }

/* ─── AVANTAGES ────────────────────────────────────────────── */
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.avantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border-left: 4px solid var(--green);
  transition: transform .2s;
}
.avantage-card:hover { transform: translateY(-4px); }
.avantage-card .icon { font-size: 2rem; min-width: 40px; }
.avantage-card h4 { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.avantage-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ─── SIMULATEUR ──────────────────────────────────────────── */
.simulateur-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: white;
  box-shadow: 0 16px 48px rgba(27,58,92,.3);
}
.simulateur-card h3 { font-size: 1.5rem; margin-bottom: 24px; }
.simulateur-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.sim-group label { display: block; font-size: .85rem; color: #b0c4d8; margin-bottom: 6px; }
.sim-group input, .sim-group select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: white; font-size: 1rem;
}
.sim-group input::placeholder { color: rgba(255,255,255,.4); }
.sim-result {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}
.sim-result .amount { font-size: 2.2rem; font-weight: 800; color: var(--gold-light); }
.sim-result .label { font-size: .85rem; color: #b0c4d8; margin-top: 4px; }

/* ─── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--navy) 100%);
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1.05rem; }

/* ─── FORMULAIRE ──────────────────────────────────────────── */
.form-section { padding: 80px 0; background: var(--light-bg); }
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 52px;
  align-items: start;
}

.form-info { background: var(--navy); border-radius: var(--radius-lg); padding: 36px 28px; color: white; }
.form-info h3 { font-size: 1.4rem; margin-bottom: 18px; }
.form-info p { color: #b0c4d8; font-size: .95rem; margin-bottom: 24px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-item .icon { font-size: 1.3rem; min-width: 28px; }
.info-item h5 { font-weight: 700; font-size: .9rem; margin-bottom: 2px; }
.info-item p { color: #b0c4d8; font-size: .85rem; margin: 0; }

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 2px solid var(--light-bg); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group label span { color: var(--green); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,143,60,.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 1.05rem;
}

.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
  display: none;
}
.alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert.error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert.show { display: block; }

/* ─── TEMOIGNAGES ─────────────────────────────────────────── */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.temoignage-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 12px; }
.temoignage-text { color: var(--text-muted); font-style: italic; margin-bottom: 20px; font-size: .95rem; }
.temoignage-author { display: flex; gap: 14px; align-items: center; }
.author-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  color: white; font-weight: 700; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
}
.author-name { font-weight: 700; font-size: .9rem; color: var(--navy); }
.author-role { font-size: .8rem; color: var(--text-muted); }

/* ─── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: #b0c4d8;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 260px; }
.footer-col h4 { color: white; font-size: .95rem; font-weight: 700; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: #8aA0b8; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: .83rem;
  color: #6a80a0;
}
.footer-bottom a { color: var(--gold-light); }

/* ─── PAGE CONTENU ────────────────────────────────────────── */
.page-content { padding: 70px 0; }
.page-content h2 { font-size: 1.6rem; color: var(--navy); font-weight: 800; margin: 36px 0 14px; }
.page-content h3 { font-size: 1.2rem; color: var(--navy); font-weight: 700; margin: 28px 0 10px; }
.page-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.8; }
.page-content ul { margin: 12px 0 20px 20px; list-style: disc; }
.page-content ul li { color: var(--text-muted); margin-bottom: 8px; }

/* ─── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb-bar { background: var(--light-bg); padding: 12px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-bar nav { font-size: .85rem; color: var(--text-muted); }
.breadcrumb-bar a { color: var(--green); }
.breadcrumb-bar a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .hero-text h1  { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .hero-content  { grid-template-columns: 1fr; gap: 32px; padding: 52px 24px; }
  .hero-image    { display: none; }
  .about-grid    { grid-template-columns: 1fr; }
  .form-wrapper  { grid-template-columns: 1fr; }
  .form-grid     { grid-template-columns: 1fr; }
  .avantages-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .simulateur-grid  { grid-template-columns: 1fr; }

  nav ul { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy-dark); padding: 16px; gap: 0; }
  nav ul.open { display: flex; }
  .has-dropdown .dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.06); border: none; padding-left: 14px; border-top: none; }
  .dropdown li a { color: #b0c4d8 !important; }
  .burger { display: flex; }
}

@media (max-width: 480px) {
  .section-header h2 { font-size: 1.6rem; }
  .hero-text h1      { font-size: 1.8rem; }
  .services-grid     { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: 1fr 1fr; }
  .footer-grid       { grid-template-columns: 1fr; }
}
