/* ============================================
   Easy Task - Refonte V2
   Design System aligne sur Easy Concierge V2
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
    /* Colors */
    --primary: #0f2b46;
    --primary-light: #1a3d5c;
    --accent: #ff6b4a;
    --accent-hover: #e85a3a;
    --teal: #00c9a7;
    --teal-light: #e6faf6;
    --success: #059669;
    --bg-warm: #faf8f5;
    --bg-light: #f5f3f0;
    --bg-dark: #0a1628;
    --text-primary: #1a1a2e;
    --text-secondary: #5a6478;
    --text-light: #8892a4;
    --white: #ffffff;
    --border: #e8e6e3;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 43, 70, 0.06);
    --shadow-md: 0 8px 30px rgba(15, 43, 70, 0.08);
    --shadow-lg: 0 20px 60px rgba(15, 43, 70, 0.12);
    --shadow-xl: 0 30px 80px rgba(15, 43, 70, 0.16);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Spacing & Radius */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Legacy compat */
    --secondary: #1a3d5c;
    --bg: #faf8f5;
    --text: #1a1a2e;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

/* --- NAVIGATION --- */
.site-nav {
    background: var(--white);
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

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

.nav-logo img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

/* Hamburger toggle - hidden on desktop */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menu container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Links list */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
}

.nav-links > li > a {
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-smooth);
    border-radius: 1px;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.nav-active::after {
    width: 100%;
}

.nav-links > li > a:hover,
.nav-links > li > a.nav-active {
    color: var(--accent);
}

/* Active state for dropdown items */
.nav-dropdown-menu a.nav-active {
    color: var(--accent);
    background: var(--bg-warm);
    font-weight: 600;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    transition: color var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown-btn::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -3px;
    transition: transform 0.3s;
}

.nav-dropdown.open .nav-dropdown-btn::after {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn {
    color: var(--accent);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px 0;
    border: 1px solid var(--border);
    list-style: none;
    margin: 0;
    z-index: 100;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    color: var(--text-primary);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-menu a:hover {
    background: var(--bg-warm);
    color: var(--accent);
}

/* Auth section */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Overlay for mobile menu */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.5);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    display: block;
}

/* --- BUTTONS --- */
.cta-button {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 43, 70, 0.2);
}

.cta-button svg {
    width: 16px;
    height: 16px;
}

.btn-accent {
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 74, 0.35);
}

.btn-outline {
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-fast);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
header {
    background: linear-gradient(145deg, #0f2b46 0%, #163a5f 40%, #1a4a6e 100%);
    color: white;
    padding: 140px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

header::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 201, 167, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

header h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 1;
}

header .subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 400;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

header .tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--teal);
    position: relative;
    z-index: 1;
}

header .cta-button {
    position: relative;
    z-index: 1;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-card h3 {
    margin-top: 0;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 20px;
}

.feature-card .description {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    margin-bottom: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

.feature-card li strong {
    color: var(--teal);
}

/* --- SECTIONS GENERALES --- */
.section {
    padding: 100px 20px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 800;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 56px auto;
    font-size: 18px;
    line-height: 1.7;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--accent);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border-top: 4px solid transparent;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 20px;
    margin-top: 0;
}

.card p {
    color: var(--text-secondary);
}

.card p strong {
    color: var(--text-primary);
}

/* --- SECTION PLANNING --- */
.planning-bg {
    background: linear-gradient(135deg, var(--bg-warm) 0%, var(--teal-light) 100%);
    border-radius: var(--radius-xl);
    margin: 40px auto;
    border: 1px solid var(--border);
}

.pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 5px;
    margin-bottom: 5px;
}

.pill-superhote {
    background: #fff3e0;
    color: #e65100;
}

.pill-jana {
    background: #e3f2fd;
    color: #0f2b46;
}

.pill-other {
    background: #f3e8ff;
    color: #7c3aed;
}

/* --- NOUVEAUTES (Dernieres Realisations) --- */
.nouveautes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.nouveaute-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition-smooth);
}

.nouveaute-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.nouveaute-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nouveaute-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--teal-light), #d0f5ed);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--teal);
}

.nouveaute-card h3 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 22px;
}

.nouveaute-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px 0;
}

.nouveaute-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.nouveaute-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.nouveaute-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: 700;
}

.nouveaute-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nouveaute-tag {
    background: var(--teal-light);
    color: var(--teal);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

/* --- GALERIE SCREENSHOTS --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.gallery-item {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-bottom: 1px solid var(--border);
    display: block;
}

.gallery-caption {
    padding: 20px;
    text-align: center;
}

.gallery-caption h4 {
    margin: 0 0 5px 0;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 18px;
}

.gallery-caption p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Modal Zoom Image */
#image-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 22, 40, 0.92);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
}

#img-viewer {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 60px rgba(255,255,255,0.08);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- HIGHLIGHT (Solution Adaptable) --- */
.adaptable-box {
    background: linear-gradient(145deg, #0f2b46 0%, #163a5f 40%, #1a4a6e 100%);
    color: white;
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.adaptable-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.adaptable-box::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.adaptable-box > * {
    position: relative;
    z-index: 1;
}

.adaptable-box h2 {
    color: white;
}

/* --- TRUSTED BANNER --- */
.trusted-section {
    background: var(--white);
    padding: 56px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.trusted-title {
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: 700;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.client-logo {
    max-height: 60px;
    max-width: 180px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-smooth);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- FOOTER --- */
footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 60px 20px 40px;
}

footer p {
    margin-bottom: 8px;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* --- MODAL LOGIN --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-box {
    background: white;
    padding: 48px;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 440px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-box h2 {
    color: var(--primary);
}

.modal-box input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-body);
    box-sizing: border-box;
    text-align: left;
    font-weight: normal;
    color: var(--text-primary);
    background: var(--bg-warm);
    transition: all var(--transition-fast);
}

.modal-box input:focus {
    border-color: var(--accent);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.close-btn:hover {
    color: var(--text-primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Scroll animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- RESPONSIVE NAV (mobile) --- */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        gap: 0;
        border-top: 1px solid var(--border);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links > li > a {
        display: block;
        padding: 15px 0;
    }

    .nav-links > li > a::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-btn {
        width: 100%;
        padding: 15px 0;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 15px;
        min-width: auto;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        animation: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        max-height: 400px;
        padding: 0 0 10px 15px;
    }

    .nav-dropdown-menu a {
        padding: 10px 15px;
        border-radius: var(--radius-sm);
    }

    /* Active indicator on mobile: left border */
    .nav-links > li > a.nav-active {
        color: var(--accent);
        border-left: 3px solid var(--accent);
        padding-left: 12px;
    }

    .nav-auth {
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid var(--border);
        margin-top: 10px;
    }

    .nav-auth .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* --- RESPONSIVE GENERAL --- */
@media (max-width: 768px) {
    .nav-logo-text {
        font-size: 17px;
    }

    header {
        padding: 120px 20px 80px;
    }

    header h1 {
        font-size: clamp(28px, 7vw, 36px);
    }

    .section {
        padding: 56px 20px;
    }

    .adaptable-box {
        padding: 36px 24px;
        border-radius: var(--radius-lg);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .nouveautes-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Imputation Screenshot Mask --- */
.screenshot-container {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.screenshot-container img {
    width: 100%;
    display: block;
}

.screenshot-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    height: 56px;
    background: linear-gradient(135deg, #2b3544 0%, #364152 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-mask span {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* --- Imputation Section --- */
.imputation-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-warm) 100%);
}

.imputation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.imputation-features-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.imputation-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}

.imputation-features-list li .icon-check {
    width: 24px;
    height: 24px;
    background: var(--teal-light);
    color: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.imputation-pricing-mini {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.imputation-pricing-mini .tier {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.imputation-pricing-mini .tier .amount {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.imputation-pricing-mini .tier .amount span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.imputation-pricing-mini .tier .label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px;
}

@media (max-width: 768px) {
    .imputation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .imputation-features-list {
        grid-template-columns: 1fr;
    }
}
