:root {
    --primary: #00558c;
    --secondary: #ffbe0a;
    --accent: #74d1ea;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.3;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 0.6rem;

    background-color: #25D366;
    color: #ffffff;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;

    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float i {
    font-size: 1.4rem;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

/* Mobile : icône seule */
@media (max-width: 768px) {
    .whatsapp-text {
        display: none;
    }

    .whatsapp-float {
        padding: 0.9rem;
    }
}


body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: white;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-accent {
    background-color: var(--accent) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #004674;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 85, 140, 0.3);
}

.btn-secondary {
    background-color: var(--secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #e5aa00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 190, 10, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Contact Banner */
.contact-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #003d66 100%);
    padding: 1rem 0;
}

.contact-banner a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-banner a:hover {
    color: var(--secondary);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

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

.logo h1 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.logo p {
    color: #666;
    font-size: 0.875rem;
}

/* Navigation Desktop */
nav.desktop-nav {
    display: flex;
}

nav.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
}

nav.desktop-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

nav.desktop-nav a:hover {
    color: var(--primary);
}

nav.desktop-nav a.active {
    color: var(--primary);
}

nav.desktop-nav a.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

/* Dropdown Desktop */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.dropdown-toggle:hover {
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -100px;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 1rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary);
    padding-left: 1.25rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    z-index: 1001;
}

/* Mobile Navigation */
nav.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 5rem 1.5rem 2rem;
}

nav.mobile-nav.open {
    transform: translateX(0);
}

nav.mobile-nav ul {
    list-style: none;
}

nav.mobile-nav li {
    margin-bottom: 0.5rem;
}

nav.mobile-nav a {
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
}

nav.mobile-nav a:hover,
nav.mobile-nav a.active {
    background: #f8f9fa;
    color: var(--primary);
}

.mobile-dropdown-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-dropdown-toggle:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.mobile-dropdown-menu {
    padding-left: 1rem;
    display: none;
}

.mobile-dropdown-menu.show {
    display: block;
}

.mobile-dropdown-menu a {
    padding: 0.75rem;
    font-size: 0.95rem;
}

/* Overlay pour mobile */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-overlay.show {
    display: block;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary) 0%, #003d66 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

footer h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 0.75rem;
}

footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: white;
}

/* Responsive */


@media (max-width: 1024px) {

    /* Header layout */
    .header-content {
      padding: 0.75rem 0;
    }
  
    /* Logo plus compact */
    .logo h1 {
      font-size: 1.3rem;
    }
  
    .logo p {
      font-size: 0.8rem;
    }
  
    /* Desktop nav OFF */
    nav.desktop-nav {
      display: none;
    }
  
    /* Mobile nav ON */
    nav.mobile-nav {
      display: block;
    }
  
    .mobile-menu-toggle {
      display: block;
    }
    
    .contact-banner .container > div {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .contact-banner a {
      font-size: 0.9rem;
    }
  
    .contact-banner .btn-secondary {
      align-self: flex-start;
    }
    
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
      text-align: left;
    }
  
    footer h4 {
      font-size: 1.15rem;
    }
  
    footer ul li {
      margin-bottom: 0.6rem;
    }
  
    .footer-bottom {
      text-align: center;
    }
  
    .footer-bottom div {
      gap: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav.desktop-nav {
        display: none;
    }

    nav.mobile-nav {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .footer-grid > div {
      align-items: center;
    }
  
    footer ul {
      padding-left: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
    
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
    .social-icons-footer {
        display: flex;
        justify-content: center;
        align-items: center;
    }
  
    .footer-grid > div {
      align-items: center;
    }
  
    footer ul {
      padding-left: 0;
    }
}
