/* =========================
   Variables & reset (COULEURS INCHANGEES)
   ========================== */


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

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(249,115,22,0.12), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(17,24,39,0.10), transparent 60%),
    var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container { width: 92%; max-width: 1180px; margin: 0 auto; }
.no-scroll { overflow: hidden; }

:focus-visible{
  outline: none;
  box-shadow: var(--focus);
  border-radius: 12px;
}

/* =========================
   Orbs (mêmes couleurs)
   ========================== */
.bg-orb{
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 999px;
  filter: blur(42px);
  opacity: .55;
  z-index: -1;
  pointer-events: none;
}
.orb-1{ top:-220px; right:-180px; background: radial-gradient(circle, rgba(249,115,22,.45), transparent 60%); }
.orb-2{ bottom:-240px; left:-200px; background: radial-gradient(circle, rgba(17,24,39,.18), transparent 60%); }
.orb-3{ top:35%; left:70%; width:420px; height:420px; background: radial-gradient(circle, rgba(249,115,22,.18), transparent 60%); }

/* =========================
   Header & navigation
   ========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.28);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand { display: flex; flex-direction: column; gap: 0.15rem; }
.brand-main {
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  text-transform: uppercase;
}
.brand-sub { font-size: 0.82rem; color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
  color: var(--text-main);
  transition: transform .16s ease, opacity .16s ease;
}
.nav-links a:hover { transform: translateY(-1px); }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.35);
  transition: transform .15s ease, filter .15s ease;
}
.nav-cta:hover{
  transform: translateY(-1px);
  filter: saturate(1.05);
}

/* =========================
   Burger button (mobile)
   ========================== */
.nav-toggle{
  display:none;
  width: 46px; height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(229,231,235,0.9);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 12px 28px rgba(15,23,42,0.10);
  cursor: pointer;
}

.bars{
  display:block;
  width: 18px; height: 12px;
  margin: 0 auto;
  position: relative;
  border-top: 2px solid var(--brand);
  border-radius: 2px;
}
.bars::before, .bars::after{
  content:"";
  position:absolute; left:0; right:0;
  height:2px;
  border-radius:2px;
  background: var(--brand);
}
.bars::before{ top:0; }
.bars::after{ bottom:0; }

/* =========================
   Mobile panel
   ========================== */
.nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.35);
  opacity: 0;
  transition: opacity .22s ease;
}
.nav-overlay.open{ opacity: 1; }

.nav-panel{
  position: fixed;
  top: 74px;
  right: 14px;
  left: 14px;
  border-radius: 22px;
  border: 1px solid rgba(229,231,235,0.95);
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-soft);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
  padding: 14px;
}
.nav-panel.open{ transform: translateY(0); opacity: 1; }

.nav-mobile{
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}
.nav-mobile a{ text-align:center; }

/* =========================
   Reveal animation
   ========================== */
.reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Hero
   ========================== */
.hero { padding: 3rem 0 2.6rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw + 1.2rem, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.9rem;
}
.hero-title span { color: var(--accent); }

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 33rem;
  margin-bottom: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.0rem;
}

.hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem .75rem;
  color: var(--text-muted);
  font-size: .88rem;
}

/* Hero panel */
.hero-panel {
  background: rgba(255,255,255,0.88);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(229,231,235,0.85);
}

.hero-panel-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 0.5rem;
}

.hero-panel-text { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.8rem; }

.hero-list {
  list-style: none;
  font-size: 0.90rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}
.hero-list li {
  padding-left: 1.15rem;
  position: relative;
  margin-bottom: 0.38rem;
}
.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.metric strong {
  display: block;
  font-size: 1.02rem;
  color: var(--text-main);
}
.metric span{display:block; margin-top:.2rem;}

/* =========================
   ✅ WIDE IMAGES (les 4 images larges)
   ========================== */
.wide-media{
  margin: 1.1rem 0 1.25rem;
  border-radius: calc(var(--radius-lg) + 6px);
  overflow: hidden;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(229,231,235,0.95);
  box-shadow: var(--shadow-soft);
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.wide-media:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(15,23,42,0.16);
  filter: saturate(1.02);
}

.wide-media img{
  width: 100%;
  height: 50%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .35s ease, transform .55s ease;
}

/* image visible après chargement */
.wide-media img.is-loaded{
  opacity: 1;
  transform: scale(1);
}

.media-caption{
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.7rem 0.95rem 0.85rem;
  background: linear-gradient(to bottom, rgba(255,255,255,0.92), rgba(255,255,255,1));
}

/* =========================
   Buttons
   ========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  background: none;
  transition: transform .15s ease, box-shadow .18s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 35px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { filter: saturate(1.05); }

.btn-outline {
  border-color: var(--border-subtle);
  background: #fff;
  color: var(--text-main);
  box-shadow: 0 12px 26px rgba(15,23,42,0.06);
}

/* =========================
   Sections & cards
   ========================== */
.section { padding: 2.9rem 0 2.3rem; }
.alt-bg { background: #f9fafb; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.section-note { margin-top: 1.4rem; font-size: 0.82rem; color: var(--text-muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.surface-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-card);
  font-size: 0.92rem;
  border: 1px solid rgba(229,231,235,0.9);
  transition: transform .18s ease, box-shadow .18s ease;
}
.surface-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(15,23,42,0.14);
}
.surface-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.surface-card p { color: var(--text-muted); }

.card-top{display:flex; justify-content:flex-start; margin-bottom:.7rem;}
.chip{
  display:inline-flex;
  align-items:center;
  padding:.35rem .7rem;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
  background: var(--accent-soft);
  border: 1px solid rgba(249,115,22,0.18);
  color: var(--brand);
}

.bullet-list {
  margin-top: 0.45rem;
  padding-left: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.bullet-list li { margin-bottom: 0.25rem; }
.muted { color: var(--text-muted); }

.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* Témoignages */
.testimonial {
  background: var(--brand);
  color: #e5e7eb;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.92rem;
  border: 1px solid rgba(17,24,39,0.9);
  transition: transform .18s ease, filter .18s ease;
}
.testimonial:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.testimonial .quote { font-style: italic; margin-bottom: 0.6rem; }
.testimonial .author { font-size: 0.84rem; color: #9ca3af; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

/* Contact */
.contact-section { padding-bottom: 3.2rem; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  align-items: flex-start;
}
.contact-info { font-size: 0.92rem; color: var(--text-main); margin-top: 0.9rem; }
.contact-info p { margin-bottom: 0.35rem; }

/* Form */
.form-shell {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.35rem 1.45rem 1.55rem;
  border: 1px solid rgba(229,231,235,0.9);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.4rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.88rem;
}

.form-group-full{ margin-top: 1rem; }

.form-group label { font-weight: 700; }

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  padding: 0.62rem 0.92rem;
  font-size: 0.92rem;
  outline: none;
  background: #f9fafb;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.form-group textarea {
  border-radius: var(--radius-md);
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: var(--focus);
}

.form-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-end;
}

/* Footer */
.site-footer {
  background: var(--brand);
  color: #e5e7eb;
  padding: 1.6rem 0;
  font-size: 0.82rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 1rem; }
.footer-links a { color: #9ca3af; }
.footer-links a:hover { color: #e5e7eb; }

/* Back-to-top */
.backtop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 16px;
  border: 1px solid rgba(229,231,235,0.9);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 14px 35px rgba(15,23,42,0.14);
  font-weight: 900;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.backtop.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .invest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; align-items:center; justify-content:center; }
  .hero { padding-top: 2.3rem; }
}

@media (max-width: 640px) {
  .grid-3, .invest-grid, .faq-grid, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 2.2rem 0 1.9rem; }
  .media-caption { font-size: 0.78rem; }
}
