@import url(root.css);

/* ─── HERO ─────────────────────────────────────────────── */
.hero-modern {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 60%, #1a4b7a 100%);
  color: #fff;
  padding: 80px 6% 90px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* motif géométrique discret */
.hero-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 20%, rgba(0, 255, 174, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(0,196,140,.10) 0%, transparent 40%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,.18);
  border: 1px solid rgba(255,107,0,.35);
  color: #FFB366;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  width: fit-content;
}

.hero-left h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-left h1 span { color: var(--primary-light); }

.hero-left p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.btn-secondary {
  background: rgba(255,255,255,.1);
  color: #fff;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,.25);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}
.btn-secondary:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

.section .btn-secondary {
  border-color: var(--border);
  color: var(--text-main);
  background: #fff;
}
.section .btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ── Stats hero ── */
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-light);
}

.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,.55); }

/* ── Image hero ── */
.hero-right { display: none; align-items: center; justify-content: center; }

.hero-right img {
  width: 100%;
  max-width: 440px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
  animation: floatImg 5s ease-in-out infinite;
}

@keyframes floatImg {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ─── ANIMATION D'ENTRÉE ─── */
.hero-badge, .hero-left h1, .hero-left p, .hero-actions, .hero-stats {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp .7s ease forwards;
}
.hero-left h1    { animation-delay: .1s; }
.hero-left p     { animation-delay: .2s; }
.hero-actions    { animation-delay: .3s; }
.hero-stats      { animation-delay: .4s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SECTIONS ─── */
.section { padding: 70px 6%; }
.section.alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 40px; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.section-title .icon {
  width: 44px; height: 44px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.section-title .badge {
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 10px;
}

/* ─── REVEAL SCROLL ─── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: .75s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════
   TRUST — 3 piliers
════════════════════════════════════════ */
.trust-section {
  padding: 52px 6%;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  cursor: default;
}

.trust-item:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trust-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: var(--shadow-primary);
}

.trust-content h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.trust-content p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
}


/* ════════════════════════════════════════
   SEO TEXT — bloc éditorial
════════════════════════════════════════ */
.seo-text {
  max-width: 860px;
  margin: 0 auto;
  padding: 52px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  line-height: 1.85;
  position: relative;
  overflow: hidden;
}
 
/* Bande accent → primary en haut */
.seo-text::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 60%, var(--primary-light) 100%);
}
 
/* Blob déco coin */
.seo-text::after {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,196,140,.05) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  pointer-events: none;
}
 
.seo-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 22px;
  letter-spacing: -0.4px;
  line-height: 1.25;
}
 
.seo-text h2::after {
  content: '';
  display: block;
  width: 48px; height: 3px;
  margin-top: 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent), var(--primary));
}
 
.seo-text p { margin-bottom: 16px; font-size: 0.97rem; color: var(--text-muted); }
.seo-text strong { color: var(--primary-dark); font-weight: 700; }
 
/* ─── TARIFS ─── */
.pricing-section { padding: 70px 25px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition), box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity .25s;
}

.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-soft); }
.pricing-card:hover::before { opacity: 1; }

.pricing-distance {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.pricing-distance .arrow { color: var(--primary); font-size: 1.3rem; }

.pricing-price { font-size: 2rem; color: var(--primary); font-weight: 800; }
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 500; margin-left: 4px; }
.pricing-note { margin-top: 8px; font-size: 0.82rem; color: var(--text-light); }

@media (min-width: 640px)  { .pricing-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3,1fr); } }

/* ─── CALCULATEUR / CARTE ─── */
.route-wrapper { padding: 70px 25px; max-width: 1200px; margin: 0 auto; }

.route-steps { display: flex; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }

.step {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--border);
}

.step-number {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 800;
  flex-shrink: 0;
}

.route-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.route-map {
  background: #fff;
  padding: 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.route-header h2 { font-size: 1.1rem; font-weight: 700; }

.map-actions { display: flex; gap: 10px; }

.btn-outline {
  padding: 8px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

.map-container {
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-info { margin-top: 10px; font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

.route-calculator {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.route-calculator h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 6px; }

.calculator { display: grid; gap: 12px; }

select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #fff;
  font-family: var(--font-body);
  transition: border-color .2s;
  outline: none;
}
select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,.12); }

.price-result {
  margin-top: 16px;
  padding: 16px;
  background: var(--primary-soft);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  font-size: 1.05rem;
  border: 1.5px solid rgba(0, 255, 89, 0.2);
}

@media (max-width: 900px) {
  .route-content { grid-template-columns: 1fr; }
  .map-container { height: 300px; }
}

/* ─── CONDITIONS ─── */
#conditions.section {
  background: var(--blue);
  color: #fff;
  border-radius: 0;
}

#conditions h2 { color: #fff; font-size: 1.5rem; margin-bottom: 20px; }

.conditions { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }

.conditions li {
  display: inline-block;
  align-items: center;
  gap: 12px;
  font-size: 0.93rem;
  color: rgba(255,255,255,.8);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.conditions li i { color: var(--primary-light); width: 18px; text-align: center; }

.contact { font-weight: 700; }
.contact a { color: var(--primary-light); font-size: 1.2rem; }

/* ─── CTA SECTION ─── */
.cta-section {
  padding: 90px 25px;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-soft), #fff 60%);
}

.cta-card {
  max-width: 720px;
  width: 100%;
  padding: 56px 48px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(0, 255, 55, 0.12);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.cta-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-badge.success { background: var(--accent-soft); color: var(--accent); }

.cta-card h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.3px; }

.cta-text { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.65; }

.cta-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.cta-actions a {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.cta-actions a.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.cta-actions a.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

.cta-actions a.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.cta-actions a.btn-secondary:hover { background: var(--primary-soft); }

/* ─── STICKY MOBILE CTA ─── */
.cta-sticky-mobile {
  position: fixed;
  bottom: 12px; left: 12px; right: 12px;
  display: flex;
  gap: 10px;
  z-index: 9999;
  animation: slideUp .4s ease;
}

@keyframes slideUp { from { transform: translateY(120%); } to { transform: translateY(0); } }

.cta-sticky {
  flex: 1;
  padding: 14px 12px;
  border-radius: 14px;
  font-size: 0.93rem;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.cta-sticky.primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.cta-sticky.secondary { background: #fff; color: var(--primary); border: 2px solid var(--primary); }
.cta-sticky:active { transform: scale(0.97); }

@media (min-width: 768px) { .cta-sticky-mobile { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 90px; } }
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .cta-sticky-mobile { padding-bottom: env(safe-area-inset-bottom); }
}

/* ─── RESPONSIVE ─── */
@media (min-width: 768px) {
  .hero-modern { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .hero-right { display: flex; }
}
