/* ===== css/style.css ===== */
/* Palette : bleu marin (#0b4f7d ou #0A1F3D), orange (#f36f3a ou #F97316), blanc (#FFFFFF) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  color: #1e293b;
  overflow-x: hidden;
  background-color: #ffffff;
}

/* conteneur */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.05);
  z-index: 1000;
  padding: 0.8rem 0;
  border-bottom: 3px solid #f36f3a; /* orange */
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  color: #0b4f7d; /* bleu marin */
  letter-spacing: -1px;
  text-decoration: none;
  line-height: 1;
}

.logo-dot {
  color: #f36f3a;
  font-size: 2.5rem;
}

.logo-full {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0b4f7d;
  display: none; /* masqué sur mobile */
}
@media (min-width: 768px) {
  .logo-full {
    display: inline-block;
  }
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: #0b4f7d;
  transition: color 0.2s;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
  color: #f36f3a;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
}

.btn-orange {
  background-color: #f36f3a;
  color: #0b4f7d;
  border-color: #f36f3a;
}
.btn-orange:hover {
  background-color: #f36f3a;
  border-color: #f36f3a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
  color: #0b4f7d;
}

.btn-outline-white {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #f36f3a;
  color: #f36f3a;
}

.header-cta .btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #0b4f7d;
  cursor: pointer;
}

/* Hero slider */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.slide-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0.8s;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.7); /* bleu marin */
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 5;
  color: white;
  max-width: 700px;
}

.slide-tag {
  display: inline-block;
  background: #f36f3a;
  color: #0b4f7d;
  font-weight: 600;
  padding: 0.35rem 1.2rem;
  border-radius: 40px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-title {
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
}

.slide-desc {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.slide-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(10, 37, 64, 0.6);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider-arrow:hover {
  background: #f36f3a;
  color: #0b4f7d;
}

.prev {
  left: 1.5rem;
}
.next {
  right: 1.5rem;
}

.slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.dot.active {
  background: #f36f3a;
  width: 30px;
}
.dot:hover {
  background: #f36f3a;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  z-index: 20;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-indicator i {
  transform: rotate(90deg);
}

/* sections générales */
.section {
  padding: 6rem 0;
}

.bg-white {
  background-color: #ffffff;
}
.bg-navy {
  background-color: #0b4f7d;
  color: #e2e8f0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  background: #f36f3a;
  color: #0b4f7d;
  font-weight: 600;
  padding: 0.3rem 1.5rem;
  border-radius: 40px;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.orange-bg {
  background: #f36f3a;
  color: #0b4f7d;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0b4f7d;
  margin-bottom: 1rem;
}
.bg-navy h2 {
  color: white;
}
.blue-text {
  color: #0b4f7d;
}
.orange-text {
  color: #f36f3a;
}
.white-text {
  color: white;
}

.section-subhead {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #475569;
}

/* cartes expertise */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #f8fafc;
  padding: 2.5rem 2rem;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.05);
  transition: transform 0.2s;
  border-bottom: 3px solid #f36f3a;
}
.card:hover {
  transform: translateY(-10px);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: #0b4f7d;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #f36f3a;
  margin-bottom: 1.8rem;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #0b4f7d;
}
.card p {
  color: #0b4f7d;
  margin-bottom: 1.5rem;
}
.card-link {
  text-decoration: none;
  font-weight: 600;
  color: #f36f3a;
}

/* split à propos */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-text h2 {
  font-size: 2.8rem;
  line-height: 1.2;
}
.split-text p {
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

.stats-mini {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
}
.stat-label {
  color: #cbd5e1;
}

.image-wrapper img {
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 4px solid #f36f3a;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.info-card {
  background: #0b4f7d;
  padding: 2.5rem;
  border-radius: 32px;
  color: white;
}
.info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}
.info-card p {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.info-card i {
  width: 24px;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}
.social-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #1e3a5f;
  border-radius: 50%;
  color: #f36f3a;
  text-decoration: none;
  transition: 0.2s;
}
.social-circle:hover {
  background: #f36f3a;
  color: #0b4f7d;
}

.contact-form form {
  background: #f1f5f9;
  padding: 2.5rem;
  border-radius: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
input,
textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #cbd5e1;
  border-radius: 30px;
  font-family: inherit;
  margin-bottom: 1rem;
  background: white;
  border: 2px solid transparent;
  transition: 0.2s;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #f36f3a;
}
.btn-block {
  width: 100%;
}

/* footer */
.site-footer {
  padding: 3rem 0 1.5rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-logo .logo-text {
  color: white;
  font-size: 2.5rem;
}
.orange-dot {
  color: #f36f3a;
}
.footer-links a {
  color: #cbd5e1;
  margin-left: 2rem;
  text-decoration: none;
}
.footer-links a:hover {
  color: #f36f3a;
}
.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  color: #94a3b8;
  font-size: 0.9rem;
}
.footer-bottom a {
  color: #f36f3a;
  text-decoration: none;
}

/* responsive */
@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .footer-links a {
    margin-left: 1rem;
  }
}
