@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




/* Fret Aérien Styles */

/* Variables */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-red: #dc2626;
    --light-blue: #dbeafe;
    --dark-blue: #1e3a8a;
    --sky-blue: #0ea5e9;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--sky-blue));
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
 header {
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #2c3e50 60%, #2c3e50 100%);
    padding: 12px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1003;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #dc3545, #667eea, #764ba2) 1;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    
}

.logo img {
    width: 200px;
    height: 64px;
    
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.menu {
    display: flex;
    gap: 35px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dc3545, #667eea);
    transition: width 0.3s ease;
}

.menu a:hover {
    color: #dc3545;
}

.menu a:hover::after {
    width: 100%;
}

/* Services Dropdown */
.menu li {
    position: relative;
}

.menu li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    display: none;
    flex-direction: column;
    min-width: 280px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
    margin-top: 15px;
    border: 1px solid #f0f0f0;
}

.menu li:hover ul {
    display: flex;
}

.menu li ul::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.menu li ul li {
    margin: 8px 0;
}

.menu li ul li a {
    padding: 8px 24px;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
}

.menu li ul li a::after {
    display: none;
}

.menu li ul li a:hover {
    background: #f8f9fa;
    color: #dc3545;
    padding-left: 25px;
}


/* ====== HAMBURGER MENU ====== */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.hamburger:hover {
  background: #e9ecef;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #2c3e50;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ====== HEADER RESPONSIVE ====== */
@media (max-width: 991px) {
  header {
    background: #ffffff;
    border-image: none;
    --mobile-header-height: 90px;
  }

  .menu {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 8px 16px 16px;
    display: flex !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    box-shadow: 0 16px 40px rgba(44, 62, 80, 0.18);
    border-top: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 0 0 18px 18px;
    z-index: 1002;
    gap: 12px;
  }

  .menu.show {
    max-height: 80vh;
    opacity: 1;
    display: flex !important;
  }

  .hamburger {
    background: #2c3e50;
  }

  .hamburger span {
    background: #ffffff;
  }

  .hamburger.active {
    transform: rotate(90deg);
  }

  .menu a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 10px 12px;
    color: #333;
    border-radius: 999px;
    background: rgba(44, 62, 80, 0.04);
    border: 1px solid rgba(44, 62, 80, 0.08);
    letter-spacing: 0.2px;
  }

  .menu a:hover {
    background: rgba(44, 62, 80, 0.1);
    color: #2c3e50;
  }

  .menu li ul {
    position: static;
    display: block !important;
    background: #f8f9fa;
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.3s ease;
  }

  .menu li.show ul {
    max-height: 500px;
    opacity: 1;
    transform: translateX(0);
  }

  .menu li ul li a {
    padding: 8px 12px;
    font-size: 14px;
    color: #666;
    border-bottom: none;
    background: transparent;
    border: none;
    border-radius: 8px;
  }

  .menu li ul li a:hover {
    background: #ffffff;
    color: #2c3e50;
  }

  .menu-overlay {
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    width: 100%;
    height: calc(100% - var(--mobile-header-height));
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-overlay.show {
    opacity: 1;
    visibility: visible;
  }
}

/* Hero Section */
.hero-tl {
  position: relative;
  margin-top: 0;
  padding-top: calc(140px + 1.5cm);
  padding-bottom: 120px;
  min-height: 80vh;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.55)),
    url('images/aile.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: skyMove 20s ease-in-out infinite;
}

.hero-tl .gradien {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.35), transparent 60%);
  pointer-events: none;
}

@keyframes skyMove {
    0%, 100% { background-position: center center; }
    50% { background-position: center top; }
}

.hero-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    animation: fadeInUp 1s ease;
}

.hero-tl h1 {
    font-family: 'Laviossa', serif;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-tl p {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-tl .d-flex {
    animation: fadeInUp 1s ease 0.6s both;
}

/* Buttons */
.btn-blue {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
    color: white;
}

.btn-red {
    background: linear-gradient(135deg, var(--accent-red), #ef4444);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
    color: white;
}

.btn-outline-blue {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-blue:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Sections */
.services-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/nuage.jpeg');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    animation: cloudMove 25s ease-in-out infinite;
}

@keyframes cloudMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.why-section {
    background: white;
}

.process-section {
    background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
    color: white;
}

.cta-final {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 64, 175, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 64, 175, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.premium-card {
    border: 2px solid var(--sky-blue);
    position: relative;
}

.premium-card::after {
    content: 'POPULAIRE';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--sky-blue);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .icon-wrap {
    background: var(--primary-blue);
    color: white !important;
    transform: scale(1.1);
}

.text-blue {
    color: var(--primary-blue) !important;
}

.text-violet {
    color: #8b5cf6 !important;
}

/* Why Cards */
.why-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.15);
}

.why-card i {
    font-size: 3rem;
    color: var(--sky-blue);
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-step {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-step:nth-child(odd) {
    left: 0;
}

.timeline-step:nth-child(even) {
    left: 50%;
}

.timeline-step::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background: white;
    border: 4px solid var(--sky-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-step:nth-child(even)::after {
    left: -10px;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sky-blue);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Subtitle */
.subtitle {
    color: var(--sky-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: #1a1a2e !important;
  padding: 4rem 0 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  background: #f2f2f2;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 6px 10px;
  display: block;
}

.footer-description {
  color: #adb5bd;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #dc3545;
}

.social-links {
  display: flex;
}

.social-link {
  width: 25px;
  height: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #dc3545;
  color: #fff;
  transform: translateY(-2px);
}

.contact-info {
  color: #adb5bd;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.4;
}



.contact-item a{
    text-decoration: none;
  color: #adb5bd;
}


.contact-item a:hover{
    color: #dc3545;
}


.contact-item:last-child span {
  white-space: nowrap;
}

.contact-item i {
  margin-top: 2px;
}

.newsletter-text {
  color: #adb5bd;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 25px 0 0 25px;
}

.newsletter-form .form-control::placeholder {
  color: #adb5bd;
}

.newsletter-form .btn {
  border-radius: 0 25px 25px 0;
  border: none;
}

.copyright {
  color: #6c757d;
  font-size: 0.85rem;
}

.footer-legal a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #dc3545;
}

/* ====== BOUTON RETOUR EN HAUT ====== */
.btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
  box-shadow: 0 4px 15px rgba(204, 46, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 37, 78, 0.4);
}

@media (max-width: 768px) {
  .btn-back-to-top {
    display: none;
  }
}
