/* ==========================================================================
   OMNIA TRADE SOLUTIONS — Feuille de style principale
   Palette : Bleu marine #1F3864 / Or #C9A227 / Sarcelle #2E8B74
   Typo : Poppins (titres) + Inter (texte)
   ========================================================================== */

:root {
  --navy: #1F3864;
  --navy-dark: #152645;
  --navy-light: #2C4A7C;
  --gold: #C9A227;
  --gold-light: #E8CE7A;
  --teal: #2E8B74;
  --teal-light: #E4F2EE;
  --charcoal: #2A2A2A;
  --grey: #5B6270;
  --grey-light: #EDEFF3;
  --bg: #F8F8F6;
  --white: #FFFFFF;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(31, 56, 100, 0.08);
  --shadow-lg: 0 12px 34px rgba(31, 56, 100, 0.14);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-name {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

p { margin-bottom: 1em; color: var(--grey); }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--navy); }

img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy);
  padding: 10px 16px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- Eyebrow / labels ---------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gold);
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(201,162,39,.35); color: var(--navy-dark); }
.btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

/* ---------------- Header / Nav ---------------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); box-shadow: 0 2px 14px rgba(0,0,0,.12);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  color: rgba(255,255,255,.85); font-weight: 500; font-size: 0.94rem; position: relative; padding: 6px 0;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--white); }
nav.main-nav a.active::after {
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px; background: var(--gold);
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch { display:flex; align-items:center; gap:6px; font-size:.82rem; font-weight:600; color:rgba(255,255,255,.75); }
.lang-switch a { color: rgba(255,255,255,.75); padding: 2px 4px; }
.lang-switch a.active { color: var(--gold-light); text-decoration: underline; }
.lang-switch a:hover { color: var(--white); }
.lang-switch span { color: rgba(255,255,255,.4); }
.nav-toggle {
  display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer;
}

@media (max-width: 880px) {
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy-dark); flex-direction: column; align-items: flex-start;
    padding: 18px 24px; gap: 16px; box-shadow: var(--shadow-lg);
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
}

/* ---------------- Dynamic background slideshow (hero + page-hero) ---------------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.bg-slideshow { position: absolute; inset: 0; z-index: 0; }
.bg-slideshow .slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: bgFade 21s infinite ease-in-out; will-change: opacity;
}
.bg-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.bg-slideshow .slide:nth-child(2) { animation-delay: 7s; }
.bg-slideshow .slide:nth-child(3) { animation-delay: 14s; }
@keyframes bgFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  28%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}
.bg-overlay {
  position: absolute; inset: 0; z-index: 1;
     background: linear-gradient(150deg, rgba(15,15,20,.55) 0%, rgba(10,10,15,.45) 55%, rgba(5,5,10,.6) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .bg-slideshow .slide { animation: none; opacity: 0; }
  .bg-slideshow .slide:first-child { opacity: 1; }
}

/* ---------------- Hero ---------------- */
.hero {
  color: var(--white);
  padding: 84px 0 96px;
}
.hero::after {
  content:""; position:absolute; right:-120px; top:-120px; width:480px; height:480px;
  border-radius:50%; border: 40px solid rgba(201,162,39,0.1); z-index: 1;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; max-width: 720px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,.86); font-size: 1.12rem; max-width: 52ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }

/* ---------------- Sections ---------------- */
section { padding: 80px 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy .eyebrow { color: var(--white); }
.section-navy p { color: rgba(255,255,255,.78); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left:auto; margin-right:auto; text-align:center; }

/* ---------------- Cards / Grids ---------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border-top: 3px solid transparent; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-top-color: var(--gold); box-shadow: var(--shadow-lg); }
.card .icon-badge {
  width: 46px; height: 46px; border-radius: 12px; background: var(--teal-light);
  display:flex; align-items:center; justify-content:center; margin-bottom: 18px;
  color: var(--teal); font-size: 1.3rem; font-weight: 700;
}

.pill {
  display:inline-block; background: var(--teal-light); color: var(--teal); font-size: .74rem;
  font-weight:700; letter-spacing:.05em; text-transform:uppercase; padding: 4px 12px; border-radius: 999px;
}

/* ---------------- Pricing ---------------- */
.price-card {
  background: var(--white); border-radius: 14px; padding: 34px 28px; box-shadow: var(--shadow);
  border: 2px solid transparent; position: relative; display:flex; flex-direction:column;
}
.price-card.featured { border-color: var(--gold); transform: scale(1.03); box-shadow: var(--shadow-lg); }
.price-card .badge {
  position:absolute; top:-13px; right: 24px; background: var(--gold); color: var(--navy-dark);
  font-size:.72rem; font-weight:700; padding: 5px 12px; border-radius: 999px;
}
.price-card .amount { font-family:'Poppins',sans-serif; font-size: 2.4rem; color: var(--navy); margin: 10px 0 2px; }
.price-card .amount span { font-size: 1rem; color: var(--grey); font-family:'Inter',sans-serif; font-weight:500; }
.price-card ul { list-style:none; margin: 22px 0; flex-grow:1; }
.price-card li { padding: 7px 0 7px 26px; position: relative; color: var(--charcoal); font-size: .93rem; }
.price-card li::before { content:"✓"; position:absolute; left:0; color: var(--teal); font-weight:700; }

/* ---------------- Testimonial / quote ---------------- */
.quote-block {
  border-left: 4px solid var(--gold); padding: 4px 0 4px 24px; font-style: italic;
  color: var(--navy); font-size: 1.1rem; margin: 30px 0;
}

/* ---------------- FAQ accordion ---------------- */
.faq-item { border-bottom: 1px solid var(--grey-light); }
.faq-q {
  width: 100%; text-align:left; background:none; border:none; cursor:pointer;
  padding: 20px 0; font-family:'Poppins',sans-serif; font-weight:600; color: var(--navy); font-size: 1.02rem;
  display:flex; justify-content:space-between; align-items:center; gap: 16px;
}
.faq-q .plus { color: var(--gold); font-size: 1.4rem; transition: transform .2s ease; flex-shrink:0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition: max-height .25s ease; color: var(--grey); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* ---------------- Forms ---------------- */
.form-field { margin-bottom: 18px; }
.form-field label { display:block; font-weight:600; font-size:.88rem; color: var(--navy); margin-bottom:6px; }
.form-field input, .form-field select, .form-field textarea {
  width:100%; padding: 12px 14px; border-radius: 8px; border: 1.5px solid #DCE0E8; font-family:inherit; font-size:.95rem;
  background: var(--white);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width:620px){ .form-grid{ grid-template-columns:1fr; } }

/* ---------------- Steps ---------------- */
.steps { counter-reset: step; }
.step { display:flex; gap:20px; margin-bottom: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  flex-shrink:0; width:40px; height:40px; border-radius:50%; background: var(--navy); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-family:'Poppins',sans-serif; font-weight:700;
}

/* ---------------- Footer ---------------- */
footer.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 56px 0 24px; }
footer.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom:16px; }
footer.site-footer a { color: rgba(255,255,255,.68); font-size:.92rem; }
footer.site-footer a:hover { color: var(--gold); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width:760px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
.footer-grid ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:10px; font-size:.82rem; color: rgba(255,255,255,.5);
}
.social-row { display:flex; gap:12px; margin-top: 14px; }
.social-row a {
  width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; font-size:.85rem;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }

/* ---------------- Breadcrumb / page header ---------------- */
.page-hero {
  background: var(--navy); color:var(--white); padding: 64px 0 74px;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 60ch; }
.page-hero > .container { position: relative; z-index: 2; }

/* ---------------- Utility ---------------- */
.mt-0{margin-top:0} .mb-0{margin-bottom:0}
.text-center{text-align:center}
.badge-list { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.badge-list span { background: var(--grey-light); color: var(--navy); font-size:.8rem; font-weight:600; padding:6px 14px; border-radius:999px; }

.divider-icon { display:flex; justify-content:center; margin: 6px 0 46px; opacity:.5; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }

.blog-card img, .team-photo { border-radius: var(--radius); }
.tag-row { display:flex; gap:8px; flex-wrap:wrap; margin: 14px 0; }
.tag-row span { background: var(--teal-light); color: var(--teal); font-size:.75rem; font-weight:700; padding:4px 10px; border-radius:999px; }

/* ===== Calculateur de forfait / Package calculator ===== */
.calc-card {
  max-width: 680px;
  margin: 20px auto 0;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(21,38,69,.55);
}
.calc-head { padding: 34px 34px 8px; text-align: center; }
.calc-head .eyebrow { justify-content: center; color: var(--gold-light); }
.calc-head h2 { color: #fff; margin: 6px 0 8px; }
.calc-head p { color: rgba(255,255,255,.72); margin: 0 auto; max-width: 42ch; }
.calc-body { padding: 22px 34px 34px; }
.calc-field { margin-bottom: 22px; }
.calc-field > label {
  display: block; color: #fff; font-weight: 600; font-size: .95rem; margin-bottom: 12px;
}
.calc-slider-wrap { display: flex; align-items: center; gap: 16px; }
.calc-slider-wrap input[type="range"] {
  flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,.22); outline: none;
}
.calc-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold); cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.calc-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--gold); cursor: pointer;
  border: 3px solid #fff;
}
.calc-slider-wrap output {
  min-width: 130px; text-align: right; color: var(--gold-light); font-weight: 700; font-size: .95rem;
  font-variant-numeric: tabular-nums;
}
.calc-toggle { display: flex; gap: 10px; }
.calc-opt {
  flex: 1; padding: 12px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.25);
  background: transparent; color: rgba(255,255,255,.8); font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: all .18s ease; font-family: inherit;
}
.calc-opt:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.calc-opt.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.calc-result {
  background: #fff; border-radius: 16px; padding: 26px; text-align: center; margin-top: 26px;
}
.calc-result-label {
  text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700;
  color: var(--teal);
}
.calc-result-name {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--navy);
  margin: 6px 0 2px;
}
.calc-result-price { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; }
.calc-result-note { color: var(--grey); font-size: .92rem; margin: 0 auto 18px; max-width: 40ch; }
.calc-disclaimer { color: rgba(255,255,255,.6); font-size: .8rem; text-align: center; margin: 16px 0 0; }
@media (max-width: 560px) {
  .calc-head, .calc-body { padding-left: 22px; padding-right: 22px; }
  .calc-slider-wrap { flex-direction: column; align-items: stretch; }
  .calc-slider-wrap output { text-align: center; min-width: 0; }
}

/* ===== Grille auto-fit (5 avantages) ===== */
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 620px) { .grid-auto { grid-template-columns: 1fr; } }

/* ===== Bande de réassurance / Trust bar ===== */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px;
  margin-top: 40px; padding: 22px 26px; background: #fff; border: 1px solid var(--grey-light);
  border-radius: 14px;
}
.trust-item {
  display: flex; align-items: center; gap: 9px; color: var(--navy);
  font-weight: 600; font-size: .9rem;
}
.trust-ico { font-size: 1.15rem; line-height: 1; }
@media (max-width: 620px) {
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
}
