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

:root {
    --primary: #F4C430;
    --secondary: #FFD700;
    --accent: #FFA500;
    --dark: #1a1a1a;
    --light: #ffffff;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #ffffff;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--dark);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Improve focus visibility for all interactive elements */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Ensure sufficient color contrast */
a {
    color: var(--primary);
}

a:visited {
    color: var(--secondary);
}

/* Navigation */
nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

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

.logo span {
    font-size: 22px;   
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }

    .logo span {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 55px;
    }

    .logo span {
        display: none;
    }
}





.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
        align-items: center; /* center menu items horizontally */
}

/* keep the explicit in-menu close element hidden on desktop — only show on mobile */
.menu-close-wrap {
    display: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    outline: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-menu a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    color: var(--accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0.5rem;
    outline: none;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    /* background overlay removed so the image shows without color filter */
    background: url('../images/index.jpg') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

/* HOW IT WORKS section */
.how-it-works {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=1600');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 1rem;
}
.how-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.how-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.how-container h2 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.how-sub {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}
.how-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: start;
    width: 100%;
}
.how-numbers { text-align: center; }
.how-step { display:flex; flex-direction:column; align-items:center; gap:10px; margin: 10px 0;}
.how-step .circle { display:inline-flex; width:52px; height:52px; border-radius:50%; background:var(--accent); color:white; align-items:center; justify-content:center; font-weight:700; font-size:1.2rem; }
.how-step .arrow { color: var(--accent); font-size: 20px; }
.how-steps { color: rgba(255,255,255,0.95); }
.how-steps .step-item { margin-bottom: 1.6rem; }
.how-steps h3 { color: var(--accent); margin-bottom: 0.5rem; }

/* Mobile: center the how-it-works items */
@media (max-width: 768px) {
    .how-grid { grid-template-columns: 1fr; }
    /* On mobile we hide the left-side stacked numbers and show a per-step badge
       inside each step, this keeps each step self-contained and easier to read. */
    .how-numbers { display: none; }

    /* Add counter for per-step numbering and display a circular badge before each step */
    .how-steps { padding-top: 0.6rem; counter-reset: howstep; }
    .how-steps .step-item {
        position: relative;
        padding-left: 64px; /* room for the circular number */
        margin-bottom: 1.6rem;
        display: block;
    }

    .how-steps .step-item::before {
        counter-increment: howstep;
        content: counter(howstep);
        position: absolute;
        left: 0;
        top: 0;
        width: 52px;
        height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--accent);
        color: #fff;
        font-weight: 700;
        font-size: 1.1rem;
        box-shadow: 0 6px 12px rgba(0,0,0,0.12);
    }

    /* draw small downward arrows between steps (except after the last step) */
    .how-steps .step-item:not(:last-child)::after {
        content: '\2193'; /* down arrow */
        position: absolute;
        left: 25px;
        top: 54px; /* just below the circular badge */
        color: var(--accent);
        font-size: 18px;
        opacity: 0.95;
    }
    .how-steps { padding-top: 0.6rem; }
}

/* WhatsApp CTA in mobile menu */
.whatsapp-menu { margin-top: 0.8rem; display: flex; justify-content: center; }
.whatsapp-btn {
    display:inline-flex; align-items:center; gap:10px; background: #FFA500; color: white; padding: 12px 18px; border-radius: 12px; font-weight:700; text-decoration:none; box-shadow: 0 4px 16px rgba(255,165,0,0.16);
}
.whatsapp-btn svg { fill: white; }


.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.4s;
    border: none;
    cursor: pointer;
    outline: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
}

.btn:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(244, 196, 48, 0.3);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-secondary {
   transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244, 196, 48, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244, 196, 48, 0.3);
}
.btn,
.btn:visited,
.btn-primary,
.btn-primary:visited,
.btn-details,
.btn-details:visited,
.btn-submit,
.btn-submit:visited,
.team-cta .btn,
.team-cta .btn:visited,
.page-btn.active {
    color: var(--white);
}

/* Qui Sommes-Nous Section */
.about {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: var(--secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
}

.about-image {
    background: url('../images/index1.jpg') center/cover;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Valeurs Section */
.values {
    background: #ffffff;
    padding: 5rem 2rem;
}

.values-container {
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 5%;
    background-color: #ffffff;
    text-align: center;
}

.testimonials h2 {
    font-size: 32px;
    margin-bottom: 50px;
    color: #222;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Carte */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.testimonial-card span {
    font-size: 20px;
    color: #1a1a1a;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

/* Photo circulaire */
.testimonial-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #f5c542; /* couleur principale */
}

/* Nom */
.testimonial-card h3 {
    font-size: 20px;
    color: #f5c542; /* même couleur que sur la photo */
    margin-bottom: 15px;
}

/* Avis */
.testimonial-card p {
    
    line-height: 1.6;
    color: #555;
}

/* Responsive tablette */
@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive mobile */
@media (max-width: 576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}








/* Louez sans frais d'agence */
.no-fees {
    background: #ffffff;
    padding: 4.5rem 2rem;
}

.no-fees-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.no-fees-text h2 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.no-fees-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

.no-fees-text ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1rem 0 1.5rem 0;
    color: #222;
    font-size: 1.05rem;
    line-height: 1.6;
}

.no-fees-visual {
    display: flex;
    justify-content: center;
}

.no-fees-hand {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 3;
    background: url('../images/index2.jpg') center/cover no-repeat;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

@media (max-width: 768px) {
    .no-fees {
        padding: 3rem 1.5rem;
    }
    .no-fees-text h2 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
}

/* Footer */
footer {
    background: var(--white);
    color: var(--dark);
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid #e9e9e9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, transform 0.12s;
    outline: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    color: var(--primary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.social-links a {
    color: #6c757d;
    font-size: 1.4rem;
    transition: color 0.2s, transform 0.12s;
    outline: none;
    padding: 0.25rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.social-links a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    color: var(--accent);
}

footer p {
    color: #9aa0a6;
    margin-top: 0.25rem;
}

/* SVG icons */
.social-links a svg,
.social-links-contact a svg {
    width: 26px;
    height: 26px;
    vertical-align: middle;
    display: inline-block;
    fill: currentColor; /* inherit color from the anchor */
}

/* Generic icon sizes for site icons */
.info-icon svg,
.value-icon svg,
.method-icon svg,
.btn svg,
.social-btn svg {
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 8px;
    fill: currentColor;
}

/* Make info/method icons slightly smaller on desktop for better balance */
.info-icon svg,
.method-icon svg {
    width: 18px;
    height: 18px;
}

/* Smaller inline icons for headings (prevents huge SVGs on desktop) */
h1 svg, h2 svg, h3 svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 8px;
    fill: currentColor;
}

/* Slightly larger value-icon svg so it looks balanced inside the circular box */
.value-icon svg {
    width: 28px;
    height: 28px;
}

/* equipment/list icons */
.equipement {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 0.6rem;
}

.equipement .equip-icon svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    fill: currentColor;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0,0,0,0.03);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0,0,0,0.03);
    font-size: 1.5rem;
    margin: 0 auto; /* center the icon horizontally inside the card */
}

/* small screen-reader helper */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

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

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2.2rem 1.8rem 2.6rem;
        box-shadow: 0 16px 30px rgba(0,0,0,0.15);
        border-radius: 0 0 16px 16px;
        border: 1px solid rgba(0,0,0,0.04);
        transition: left 0.3s;
        backdrop-filter: blur(6px);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Make menu items full-width and centered when menu is open on mobile */
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0.6rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding-bottom: 0.4rem;
    }

    .nav-menu li a {
        display: block;
        width: 100%;
        padding: 0.8rem 0;
        font-weight: 600;
        letter-spacing: 0.2px;
    }

    /* Hamburger -> X animation when active */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ensure the menu toggle sits above the menu when active */
    .menu-toggle.active {
        z-index: 1100;
    }

    /* Close button inside mobile menu */
    .menu-close-wrap {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-bottom: 0.6rem;
    }

.menu-close {
    background: transparent;
    border: none;
    padding: 6px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.menu-close:hover {
    background: rgba(0,0,0,0.04);
}

.menu-close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    background: rgba(0,0,0,0.04);
}

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

    .hero-content p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }

    .no-fees-container {
        display: flex;
        flex-direction: column;
    }
    
    .no-fees-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .no-fees-text {
        order: 1;
    }



    .about-text p {
        text-align: left !important;
    }
    
    /* Réorganisation de l'image "Louez sans frais" sur mobile */
    .no-fees-container {
        display: flex;
        flex-direction: column;
    }
    
    .no-fees-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .no-fees-text {
        order: 1;
    }
}