@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 {
  width: 90%;
  max-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  margin: 0 auto;
  padding: 0 30px;
  position: absolute;
  top: 20px;
  right: 0;
  left: 0;
  z-index: 1003;
}

.logo img {
  width: 120px;
  height: 100px;
  background: transparent;
}

header ul {
  display: flex;
  gap: 25px;
}

header ul li {
  list-style: none;
  text-transform: capitalize;
}

header ul a {
  position: relative;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 5px;
  font-weight: 600;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-red);
  transition: width 0.6s ease;
}

header ul li a:hover::after {
  width: 100%;
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 2px;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }
}

/* 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: #fff;
  color: #000;
  padding: 70px 5% 35px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 240px;
}

.footer h3,
.footer h4 {
  font-size: 20px;
  color: #000;
  margin-bottom: 15px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 500;
}

.footer-links ul li a:hover {
  color: #ff6f61;
}

.footer-contact a {
  text-decoration: none;
  color: #cc2e2e;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
}

.footer-contact .mail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
  line-height: 1.6;
}

.footer-contact .whatsapp,
.footer-contact .mailing,
.footer-contact .location {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-socials a img {
  width: 30px;
  height: 30px;
}

.newsletter {
  background: #111;
  padding: 35px 20px;
  text-align: center;
  border-radius: 6px;
}

.newsletter h4 {
  color: #fff;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  outline: none;
  width: 260px;
  max-width: 100%;
}

.newsletter-form button {
  padding: 12px 24px;
  border: none;
  background: #ff6f61;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff3c2f;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}

.eleven-space {
  height: 2rem;
}

/* Back to Top Button */
.btn-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--sky-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.btn-back-to-top:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  header {
    padding: 10px 20px;
    width: 95%;
    border-radius: 40px 40px 0 0;
  }

  .logo img {
    width: 80px;
    height: 70px;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    padding: 15px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    display: flex !important;
  }

  .menu li {
    margin: 5px 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-tl {
    text-align: center;
    padding-top: calc(120px + 1.5cm);
    min-height: 70vh;
    background-attachment: scroll;
  }
    
    .hero-tl h1 {
        font-size: 2rem;
    }
    
    .timeline::after {
        left: 20px;
    }
    
    .timeline-step {
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
    }
    
    .timeline-step:nth-child(even) {
        left: 0;
    }
    
    .timeline-step::after {
        left: 10px;
    }
    
    .timeline-step:nth-child(even)::after {
        left: 10px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

@media (max-width: 576px) {
  header {
    padding: 8px 15px;
    width: 98%;
    top: 10px;
  }

  .logo img {
    width: 60px;
    height: 50px;
  }

  .hero-tl {
    padding-top: calc(100px + 1cm);
  }
    
  .hero-tl h1 {
    font-size: 1.75rem;
  }
    
  .service-card,
  .why-card {
    padding: 1.5rem;
  }
    
  .btn-blue,
  .btn-red,
  .btn-outline-blue {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}