
@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;
}




/* ===== LIVRAISON URBAINE CSS ===== */

/* Variables CSS */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-red: #dc2626;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --urban-orange: #f97316;
    --delivery-green: #10b981;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    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('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: urbanMove 20s ease-in-out infinite;
}

.hero-tl .gradien {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.35), transparent 60%);
  pointer-events: none;
}

@keyframes urbanMove {
    0%, 100% { background-position: center center; }
    50% { background-position: center top; }
}

.hero-badge {
    background: linear-gradient(135deg, var(--urban-orange), var(--primary-blue));
    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;
}

/* Typography */
h1 {
    font-family: 'Laviossa', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

.subtitle {
    color: var(--urban-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-blue {
    background: var(--primary-blue);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-blue:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    color: white;
}

.btn-red {
    background: var(--accent-red);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-red:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    color: white;
}

.btn-outline-blue {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-blue:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    background: var(--bg-light);
    position: relative;
}

.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(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card .icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(30, 64, 175, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.25rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--delivery-green);
    font-weight: bold;
}

.premium-card {
    border: 2px solid var(--urban-orange);
    position: relative;
    overflow: hidden;
}

.premium-card:before {
    content: "POPULAIRE";
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--urban-orange);
    color: white;
    padding: 0.25rem 3rem;
    font-size: 0.7rem;
    font-weight: bold;
    transform: rotate(45deg);
}

/* Why Section */
.why-section {
    background: white;
    padding: 5rem 0;
}

.why-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(249, 115, 22, 0.05);
    border: 1px solid rgba(249, 115, 22, 0.1);
}

.why-card:hover {
    transform: translateY(-5px);
    background: rgba(249, 115, 22, 0.1);
}

.why-card i {
    font-size: 3rem;
    color: var(--urban-orange);
    margin-bottom: 1rem;
}

.why-card h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(135deg, var(--urban-orange) 0%, var(--primary-blue) 100%);
    position: relative;
}

.cta-final:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.cta-final .container {
    position: relative;
    z-index: 1;
}

/* Form Styles */
.form-control {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(30, 64, 175, 0.25);
}

/* ===== 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 */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@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;
    }
    
    .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;
  }
}

/* Text Colors */
.text-blue {
    color: var(--primary-blue) !important;
}

.text-success {
    color: var(--delivery-green) !important;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}