/* ========================================
   VARIABLES GLOBALES
   ======================================== */
:root {
  --bleu: #0B3C78;
  --cyan: #00C8FF;
}

/* ========================================
   BODY & LAYOUT
   ======================================== */
body {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
  min-height: 100vh;
}

.hero {
  background: linear-gradient(135deg, var(--bleu), #06274d);
  color: #fff;
}

/* ========================================
   BOUTONS
   ======================================== */
.btn-cyan {
  background: var(--cyan);
  color: #002033;
  border: none;
}

.btn-cyan:hover {
  background-color: #00b3e6;
  color: #00151f;
}

/* ========================================
   CARTES SERVICE - HOMEPAGE
   ======================================== */
.service-card-home {
  background: linear-gradient(145deg, #ffffff 0%, #f3f8fc 100%);
  border-radius: 14px;
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 20px rgba(11, 60, 120, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card-home:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11, 60, 120, 0.18);
}

.service-card-home img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-card-home h5 {
  color: #0B3C78;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card-home p {
  color: #1f2937;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========================================
   CARTES SERVICE - PAGES DÉTAIL
   ======================================== */
.service-card {
  background: linear-gradient(145deg, #ffffff 0%, #f3f8fc 100%);
  border-radius: 16px;
  border: 1px solid #dbeafe;
  box-shadow: 0 10px 28px rgba(11, 60, 120, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(11, 60, 120, 0.2);
}

.service-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  color: #0B3C78;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p,
.service-card li {
  color: #1f2937;
  line-height: 1.7;
}

.service-card ul {
  padding-left: 1.2rem;
}

.service-card ul li {
  margin-bottom: 0.6rem;
}

.service-description {
  color: #374151;
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 500;
}

/* ========================================
   ICÔNES & BADGES
   ======================================== */
.service-icon {
  font-size: 2.5rem;
  color: #0B3C78;
  margin-bottom: 0.5rem;
}

.expertise-badge {
  display: inline-block;
  background: #e8f4f8;
  color: #0B3C78;
  border: 1px solid #dbeafe;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  margin-right: 0.5rem;
}

.about-badge {
  display: inline-block;
  background: #0B3C78;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* ========================================
   CARTES APPROCHE & POURQUOI
   ======================================== */
.approach-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(11, 60, 120, 0.08);
  border: 2px solid #0B3C78;
  opacity: 0;
  transform: translateY(30px);
  transition: none;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.approach-card i {
  font-size: 2.5rem;
  color: #0B3C78;
  margin-bottom: 0.75rem;
}

.approach-card h5 {
  color: #0B3C78;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.approach-card p {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card {
  background: #ffffff;
  border-left: 4px solid #0B3C78;
  padding: 1.5rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(11, 60, 120, 0.08);
  opacity: 0;
  transform: translateY(30px);
  transition: none;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-card i {
  font-size: 2rem;
  color: #0B3C78;
  margin-bottom: 0.5rem;
}

.why-card p {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   CARTES CONTACT
   ======================================== */
.contact-method-card {
  background: linear-gradient(145deg, #ffffff 0%, #f3f8fc 100%);
  border: 2px solid #0B3C78;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(11, 60, 120, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(11, 60, 120, 0.12);
}

.contact-method-card i {
  font-size: 2.5rem;
  color: #0B3C78;
  margin-bottom: 1rem;
}

.contact-method-card h5 {
  color: #0B3C78;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-method-card p {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.contact-info i {
  color: #0B3C78;
  font-size: 1.3rem;
  margin-right: 0.5rem;
}

.contact-info a {
  color: #0B3C78;
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-box {
  background: linear-gradient(145deg, #ffffff 0%, #f3f8fc 100%);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(11, 60, 120, 0.08);
}

.contact-box h3 {
  color: #0B3C78;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-box i {
  color: #0B3C78;
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.contact-box p {
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.contact-box a {
  color: #0B3C78;
  text-decoration: none;
  font-weight: 600;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* ========================================
   SECTIONS CTA
   ======================================== */
.cta-section {
  background: linear-gradient(135deg, #0B3C78 0%, #06274d 100%);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 12px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-final {
  background: linear-gradient(135deg, #0B3C78 0%, #06274d 50%, #00C8FF 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: none;
  box-shadow: 0 10px 40px rgba(11, 60, 120, 0.3);
  border: 2px solid rgba(0, 200, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shine 3s infinite;
  pointer-events: none;
}

.cta-final:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(11, 60, 120, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}

.cta-final h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-final p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.cta-final .btn {
  position: relative;
  z-index: 1;
  animation: pulse 2s infinite;
}

@keyframes shine {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

.cta-final.animate {
  animation: ctaFadeInScale 0.8s ease forwards;
}

@keyframes ctaFadeInScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ========================================
   FORMULAIRES
   ======================================== */
.form-control {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: #0B3C78;
  box-shadow: 0 0 0 0.2rem rgba(11, 60, 120, 0.1);
}

.form-label {
  color: #0B3C78;
  font-weight: 600;
}

.faq-card {
  background: #f8f9fa;
  border-left: 4px solid #0B3C78;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-card h6 {
  color: #0B3C78;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-card p {
  color: #475569;
  margin: 0;
}

/* ========================================
   À PROPOS - PHOTO & CARTES
   ======================================== */
.about-card {
  background: linear-gradient(145deg, #ffffff 0%, #f3f8fc 100%);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(11, 60, 120, 0.12);
  border: 1px solid #dbeafe;
}

.about-card h2,
.about-card h3 {
  color: #0B3C78;
}

.about-card p,
.about-card li {
  color: #1f2937;
}

.profile-photo {
  width: 100%;
  max-width: 320px;
  border-radius: 14px;
  object-fit: cover;
  border: 4px solid #e8f4f8;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  filter: brightness(0.95) contrast(1.15) saturate(1.2) hue-rotate(2deg);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.profile-photo:hover {
  transform: translateY(-4px);
  filter: brightness(0.98) contrast(1.2) saturate(1.25) hue-rotate(2deg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.profile-note {
  color: #334155;
}

.about-stats {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.about-stats .stat-value {
  color: #0B3C78;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}

.about-stats .stat-label {
  color: #475569;
  font-size: 0.85rem;
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  background: #0B3C78;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #0B3C78;
}

.timeline-item h5 {
  color: #0B3C78;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-item .year {
  color: #0B3C78;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ========================================
   SCROLL-TO-TOP BUTTON
   ======================================== */
.scroll-top-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: #06274d;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 1200;
  display: none;
}

.scroll-top-btn:hover {
  background-color: #041a33;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ========================================
   ANIMATIONS - SECTION POURQUOI ME CHOISIR
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-card {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

.why-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.why-card:nth-child(1).animate {
  animation-delay: 0.1s;
}

.why-card:nth-child(2).animate {
  animation-delay: 0.2s;
}

.why-card:nth-child(3).animate {
  animation-delay: 0.3s;
}

.why-card:nth-child(4).animate {
  animation-delay: 0.4s;
}

.approach-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.approach-card:nth-child(1).animate {
  animation-delay: 0.1s;
}

.approach-card:nth-child(2).animate {
  animation-delay: 0.2s;
}

.approach-card:nth-child(3).animate {
  animation-delay: 0.3s;
}

.approach-card:nth-child(4).animate {
  animation-delay: 0.4s;
}

.contact-method-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.contact-method-card:nth-child(1).animate {
  animation-delay: 0.1s;
}

.contact-method-card:nth-child(2).animate {
  animation-delay: 0.2s;
}

.contact-method-card:nth-child(3).animate {
  animation-delay: 0.3s;
}

/* ========================================
   ANIMATIONS - CARTES DE SERVICES
   ======================================== */
@keyframes flipIn {
  from {
    opacity: 0;
    transform: perspective(400px) rotateY(-90deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: perspective(400px) rotateY(0deg) scale(1);
  }
}

.service-card-home {
  opacity: 0;
  transform: perspective(400px) rotateY(-90deg) scale(0.9);
}

.service-card-home.animate {
  animation: flipIn 0.6s ease forwards;
}

.service-card-home:nth-child(1).animate {
  animation-delay: 0.1s;
}

.service-card-home:nth-child(2).animate {
  animation-delay: 0.25s;
}

.service-card-home:nth-child(3).animate {
  animation-delay: 0.4s;
}

.service-card-home:nth-child(4).animate {
  animation-delay: 0.1s;
}

.service-card-home:nth-child(5).animate {
  animation-delay: 0.25s;
}

.service-card-home:nth-child(6).animate {
  animation-delay: 0.4s;
}
/* ========================================
   CARTES CONFIDENTIALITÉ
   ======================================== */
.privacy-card {
  background: linear-gradient(135deg, #ffffff 0%, #f3f8fc 100%);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 60, 120, 0.12);
  border: 2px solid #dbeafe;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: none;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.privacy-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(11, 60, 120, 0.2);
  border-color: #00C8FF;
}

.privacy-card i {
  font-size: 3rem;
  background: linear-gradient(135deg, #0B3C78 0%, #00C8FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.privacy-card h3 {
  color: #0B3C78;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.privacy-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.privacy-card.animate {
  animation: privacyFadeIn 0.6s ease forwards;
}

.privacy-card:nth-child(1).animate {
  animation-delay: 0.1s;
}

.privacy-card:nth-child(2).animate {
  animation-delay: 0.2s;
}

.privacy-card:nth-child(3).animate {
  animation-delay: 0.3s;
}

.privacy-card:nth-child(4).animate {
  animation-delay: 0.4s;
}

@keyframes privacyFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.privacy-intro {
  background: linear-gradient(135deg, #0B3C78 0%, #06274d 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(11, 60, 120, 0.2);
  border-left: 6px solid #00C8FF;
}

.privacy-intro h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.privacy-intro p {
  font-size: 1.05rem;
  opacity: 0.95;
  line-height: 1.8;
}

.privacy-section-title {
  color: #0B3C78;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.privacy-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0B3C78 0%, #00C8FF 100%);
  border-radius: 2px;
}