/* =========================
   RESET & BASE
   ========================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #05070d;
    --text-primary: #e6e8ee;
    --text-secondary: #b9c0d4;
    --text-muted: #7f87a6;
    --accent-blue: #00aaff;
    --accent-dark: #0077ff;
    --accent-green: #00ff88;
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 60px rgba(0,170,255,0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    padding-top: 70px;
    -webkit-tap-highlight-color: transparent;
}

/* =========================
   PARTICLES CANVAS
   ========================= */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5,10,25,0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(5,10,25,0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    max-width: 1280px;
    margin: auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,180,255,0.25));
    transition: filter var(--transition);
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 2px 14px rgba(0,180,255,0.45));
}

.nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5,10,25,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
    animation: menuIn 0.3s ease;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.25s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-dark));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-links.active {
    display: flex;
}

.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1001;
    position: relative;
}

.burger span {
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

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

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

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

body.menu-open {
    overflow: hidden;
}

/* =========================
   HERO
   ========================= */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 100px;
    text-align: center;
    background:
        linear-gradient(rgba(5,10,25,0.88), rgba(5,10,25,0.92)),
        url("bg.webp") center / cover no-repeat;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0,170,255,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: heroPulse 4s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0,170,255,0.1);
    border: 1px solid rgba(0,170,255,0.2);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    white-space: nowrap;
}

/* =========================
   BRAND LOGO
   ========================= */
.brand-logo {
    max-width: 260px;
    width: 100%;
    margin: 0 auto 20px;
    display: block;
    filter:
        drop-shadow(0 6px 18px rgba(0,180,255,0.35))
        drop-shadow(0 28px 70px rgba(0,0,0,0.9));
    transition: filter var(--transition);
}

.brand-logo:hover {
    filter:
        drop-shadow(0 6px 30px rgba(0,180,255,0.55))
        drop-shadow(0 28px 80px rgba(0,0,0,0.95));
}

/* =========================
   HERO TEXT
   ========================= */
.hero-text {
    max-width: 600px;
    margin: 0 auto 28px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    padding: 0 4px;
}

/* =========================
   HERO STATS
   ========================= */
.hero-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
    width: 100%;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
    min-width: 80px;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

/* =========================
   HERO BUTTONS
   ========================= */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
    padding: 13px 28px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: inherit;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,170,255,0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: inherit;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.btn-primary:hover {
    box-shadow: 0 8px 40px rgba(0,170,255,0.4);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-small {
    padding: 9px 18px;
    font-size: 0.82rem;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    margin-top: 8px;
}

.btn-icon-right {
    transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon-right {
    transform: translateX(4px) translateY(-2px);
}

/* =========================
   SCROLL INDICATOR
   ========================= */
.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 2s ease 1.5s both;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 11px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 7px;
    background: var(--accent-blue);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* =========================
   MINI OFFRES
   ========================= */
.hero-offres {
    margin: 12px 0 24px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.mini-offres {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 500px;
}

.mini-offre {
    padding: 20px 18px;
    border-radius: var(--radius-md);
    background: linear-gradient(
        180deg,
        rgba(15,25,45,0.85),
        rgba(10,15,30,0.85)
    );
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}

.mini-offre.active {
    border-color: rgba(0,170,255,0.3);
    background: linear-gradient(
        180deg,
        rgba(0,170,255,0.08),
        rgba(0,119,255,0.04)
    );
}

.mini-offre:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: rgba(0,170,255,0.4);
}

.mini-offre.disabled {
    opacity: 0.7;
}

.offre-icon {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 6px;
}

.mini-offre h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    margin-bottom: 4px;
}

.mini-offre .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2px;
}

.mini-offre .desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.mini-offre .btn {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b35, #ff4444);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: absolute;
    top: -10px;
    right: 12px;
}

.badge.pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,53,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255,107,53,0); }
}

/* =========================
   SECTIONS
   ========================= */
.section {
    padding: 64px 16px;
    text-align: center;
    position: relative;
}

.section.dark {
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.section.soft {
    background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

.section-header {
    max-width: 600px;
    margin: 0 auto 12px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    background: rgba(0,170,255,0.1);
    border: 1px solid rgba(0,170,255,0.15);
    color: var(--accent-blue);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* =========================
   CARDS
   ========================= */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 1280px;
    margin: 36px auto 0;
    padding: 0 0;
}

.card {
    padding: 28px 22px;
    border-radius: var(--radius-md);
    background: linear-gradient(
        180deg,
        var(--glass-bg),
        rgba(255,255,255,0.01)
    );
    border: 1px solid var(--glass-border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,170,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(0,170,255,0.2);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0,170,255,0.1);
    border: 1px solid rgba(0,170,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all var(--transition);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card:hover .card-icon {
    background: rgba(0,170,255,0.15);
    border-color: rgba(0,170,255,0.3);
    transform: scale(1.05);
}

.card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* =========================
   OFFRES
   ========================= */
.offres {
    max-width: 900px;
}

.offre {
    text-align: center;
    padding: 32px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offre.active {
    border-color: rgba(0,170,255,0.25);
    background: linear-gradient(
        180deg,
        rgba(0,170,255,0.06),
        rgba(0,119,255,0.02)
    );
}

.offre.large {
    position: relative;
    overflow: visible;
}

.offre-header {
    margin-bottom: 20px;
}

.offre-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.offre .price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offer-list {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.offer-list li svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.offre .btn {
    width: 100%;
}

/* =========================
   REALISATIONS
   ========================= */
.real-img-wrapper {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 14px;
}

.real-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.card:hover .real-img {
    transform: scale(1.05);
}

.real-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,10,25,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}

.real-img-wrapper:hover .real-overlay {
    opacity: 1;
}

.real-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.real-link:hover {
    color: #fff;
    gap: 10px;
}

/* =========================
   CONTACT FORM
   ========================= */
.contact-form {
    max-width: 520px;
    margin: 36px auto 0;
    padding: 28px 18px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    position: relative;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(0,170,255,0.5);
    box-shadow: 0 0 0 3px rgba(0,170,255,0.1);
    background: rgba(255,255,255,0.06);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 12px;
    font-size: 0.7rem;
    color: var(--accent-blue);
    background: var(--bg-primary);
    padding: 0 6px;
}

.contact-choice {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 22px 0 18px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.radio-label:hover {
    color: var(--text-primary);
}

.radio-label input {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-custom::after {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-blue);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.radio-label input:checked ~ .radio-custom {
    border-color: var(--accent-blue);
}

.radio-label input:checked ~ .radio-custom::after {
    transform: scale(1);
}

/* =========================
   FOOTER
   ========================= */
footer {
    background: var(--bg-secondary);
    color: var(--text-muted);
    text-align: center;
    padding: 36px 16px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    line-height: 0;
}

.footer-logo-img {
    height: 34px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,180,255,0.2));
}

.footer-text {
    font-size: 0.82rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-copy {
    font-size: 0.72rem;
    margin-top: 4px;
}

/* =========================
   FLOATING TOOLS BUTTON
   ========================= */
.btn-tools {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-dark));
    color: #fff;
    padding: 14px 20px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: 0 8px 30px rgba(0,140,255,0.4);
    transition: all 0.35s ease;
    animation: toolsFloat 3.5s ease-in-out infinite;
}

@keyframes toolsFloat {
    0%, 100% { transform: translateY(0); box-shadow: 0 8px 30px rgba(0,140,255,0.4); }
    50% { transform: translateY(-6px); box-shadow: 0 16px 45px rgba(0,140,255,0.5); }
}

.btn-tools svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-tools:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 16px 50px rgba(0,140,255,0.55);
    animation: none;
}

/* =========================
   SCROLL ANIMATIONS
   ========================= */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="scale-in"] {
    transform: scale(0.9);
}

[data-animate="fade-left"] {
    transform: translateX(-40px);
}

[data-animate="fade-right"] {
    transform: translateX(40px);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0) scale(1) translateX(0);
}

.staggered .card:nth-child(1) { transition-delay: 0s; }
.staggered .card:nth-child(2) { transition-delay: 0.1s; }
.staggered .card:nth-child(3) { transition-delay: 0.2s; }
.staggered .card:nth-child(4) { transition-delay: 0.3s; }

/* =========================
   SMALL MOBILE (360px-430px)
   ========================= */
@media (max-width: 430px) {
    body { padding-top: 60px; }

    .nav-container { padding: 8px 14px; }
    .nav-logo-img { height: 28px; }

    .hero { padding: 60px 14px 80px; min-height: 100dvh; }
    .hero-glow { width: 400px; height: 400px; }
    .hero-badge { font-size: 0.65rem; padding: 4px 10px; margin-bottom: 16px; letter-spacing: 0.2px; }
    .brand-logo { max-width: 200px; margin-bottom: 16px; }
    .hero-text { font-size: 0.85rem; margin-bottom: 20px; }
    .hero-stats { gap: 12px; margin-bottom: 20px; }
    .stat-number { font-size: 1.3rem; }
    .stat-label { font-size: 0.6rem; }
    .hero-buttons { gap: 10px; }
    .hero-buttons .btn { width: 100%; font-size: 0.85rem; padding: 12px 20px; }
    .hero-offres { margin: 8px 0 16px; }
    .mini-offres { gap: 12px; }
    .mini-offre { padding: 16px 14px; }
    .mini-offre .price { font-size: 1.2rem; }
    .offre-icon { font-size: 1.4rem; }

    .section { padding: 48px 14px; }
    .section h2 { font-size: 1.4rem; }
    .section-tag { font-size: 0.65rem; padding: 3px 10px; }

    .cards { gap: 14px; margin-top: 28px; }
    .card { padding: 22px 18px; }
    .card-icon { width: 38px; height: 38px; margin-bottom: 12px; }
    .card-icon svg { width: 20px; height: 20px; }
    .card h3 { font-size: 1rem; }
    .card p { font-size: 0.82rem; }

    .offre { padding: 24px 18px; }
    .offre-header h3 { font-size: 1.1rem; }
    .offre .price { font-size: 1.4rem; }
    .offer-list li { font-size: 0.8rem; gap: 8px; }
    .offer-list li svg { width: 14px; height: 14px; }

    .real-img { height: 150px; }
    .real-link { font-size: 0.8rem; }

    .contact-form { padding: 22px 16px; margin-top: 28px; }
    .form-group { margin-bottom: 16px; }
    .form-group input,
    .form-group textarea { padding: 14px 14px; font-size: 0.88rem; }
    .form-group label { font-size: 0.82rem; top: 14px; left: 14px; }
    .form-group textarea { min-height: 100px; }
    .contact-choice { gap: 24px; margin: 16px 0 14px; }
    .radio-label { font-size: 0.85rem; }

    .btn { padding: 12px 24px; font-size: 0.85rem; }
    .btn-small { padding: 8px 16px; font-size: 0.78rem; }
    .btn-submit { padding: 14px 28px; font-size: 0.9rem; }

    .scroll-indicator { bottom: 20px; }
    .scroll-mouse { width: 20px; height: 30px; padding-top: 5px; }
    .scroll-dot { width: 3px; height: 6px; }

    .badge { font-size: 0.6rem; padding: 2px 10px; top: -9px; right: 10px; }

    footer { padding: 28px 14px; }
    .footer-logo-img { height: 28px; }
    .footer-text { font-size: 0.78rem; }
    .footer-links { gap: 16px; }
    .footer-links a { font-size: 0.8rem; }

    .btn-tools { bottom: 16px; right: 12px; padding: 12px 16px; font-size: 0.78rem; }
    .btn-tools svg { width: 14px; height: 14px; }
}

/* =========================
   EXTRA SMALL (<360px)
   ========================= */
@media (max-width: 359px) {
    .hero-stats { flex-direction: column; align-items: center; gap: 8px; }
    .stat { flex-direction: row; gap: 6px; min-width: auto; }

    .brand-logo { max-width: 160px; }

    .mini-offres { gap: 10px; }

    .hero-buttons .btn { padding: 10px 16px; font-size: 0.8rem; }

    .nav-link { font-size: 1.1rem; }
}

/* =========================
   TABLET & SMALL DESKTOP (431px-1023px)
   ========================= */
@media (min-width: 431px) and (max-width: 767px) {
    body { padding-top: 68px; }
    .nav-container { padding: 10px 20px; }
    .nav-logo-img { height: 30px; }

    .hero { padding: 80px 20px 100px; }
    .brand-logo { max-width: 240px; }
    .hero-text { font-size: 0.9rem; }
    .hero-stats { gap: 16px; }
    .stat-number { font-size: 1.4rem; }
    .section h2 { font-size: 1.5rem; }
    .cards { gap: 16px; }
}

/* =========================
   TABLET (768px)
   ========================= */
@media (min-width: 768px) {
    body { padding-top: 0; }

    .nav-container { padding: 14px 28px; }
    .nav-logo-img { height: 34px; }

    .nav-links {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 32px;
        background: none;
        padding: 0;
        box-shadow: none;
        border: none;
        animation: none;
        min-width: auto;
        inset: auto;
    }

    .nav-link {
        font-size: 0.92rem;
        padding: 4px 0;
    }

    .nav-link::after {
        bottom: -4px;
    }

    .burger { display: none; }

    .hero-badge { font-size: 0.8rem; padding: 7px 18px; margin-bottom: 28px; }
    .brand-logo { max-width: 420px; margin-bottom: 28px; }
    .hero-text { font-size: 1.05rem; max-width: 650px; margin-bottom: 32px; }
    .hero-stats { gap: 40px; margin-bottom: 32px; }
    .stat-number { font-size: 2rem; }
    .stat-label { font-size: 0.8rem; }
    .hero-buttons { flex-direction: row; max-width: 100%; gap: 16px; }
    .hero-buttons .btn { min-width: 220px; padding: 14px 28px; font-size: 0.9rem; }
    .hero-offres { margin: 16px 0 28px; }
    .mini-offres { grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 600px; }
    .mini-offre { padding: 24px 20px; }
    .mini-offre .price { font-size: 1.5rem; }

    .section { padding: 80px 28px; }
    .section h2 { font-size: 2.2rem; }
    .section-tag { font-size: 0.78rem; margin-bottom: 14px; }
    .section-sub { font-size: 0.95rem; }

    .cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 44px; }
    .card { padding: 32px 26px; }
    .card-icon { width: 48px; height: 48px; }
    .card-icon svg { width: 26px; height: 26px; }
    .card h3 { font-size: 1.15rem; }
    .card p { font-size: 0.9rem; }

    .offres { grid-template-columns: repeat(2, 1fr); }
    .offre { padding: 36px 26px; }
    .offre-header h3 { font-size: 1.3rem; }
    .offre .price { font-size: 1.8rem; }
    .offer-list li { font-size: 0.88rem; }

    .real-img { height: 200px; }

    .contact-form { padding: 40px 30px; margin-top: 40px; }

    .btn { padding: 14px 30px; font-size: 0.92rem; }
    .btn-small { padding: 10px 20px; font-size: 0.85rem; }
    .btn-submit { padding: 16px 36px; font-size: 1rem; }

    footer { padding: 40px 28px; }
    .footer-logo-img { height: 36px; }

    .btn-tools { bottom: 28px; right: 28px; padding: 16px 24px; font-size: 0.9rem; }
    .btn-tools svg { width: 18px; height: 18px; }

    .hero-glow { width: 700px; height: 700px; }

    .scroll-indicator { bottom: 32px; }
}

/* =========================
   DESKTOP (1024px)
   ========================= */
@media (min-width: 1024px) {
    .nav-container { padding: 16px 32px; }
    .nav-logo-img { height: 38px; }
    .nav-links { gap: 36px; }
    .nav-link { font-size: 0.95rem; }

    .hero { padding: 100px 32px 120px; }
    .hero-badge { font-size: 0.85rem; padding: 8px 20px; margin-bottom: 32px; }
    .brand-logo { max-width: 560px; margin-bottom: 32px; }
    .hero-text { font-size: 1.1rem; margin-bottom: 36px; max-width: 700px; }
    .hero-stats { gap: 56px; margin-bottom: 36px; }
    .stat-number { font-size: 2.4rem; }
    .hero-buttons .btn { min-width: 250px; }
    .hero-glow { width: 800px; height: 800px; }

    .section { padding: 100px 40px; }
    .section h2 { font-size: 2.6rem; }
    .cards { gap: 26px; }
    .mini-offres { max-width: 650px; }
}

@media (min-width: 1200px) {
    .nav-container { padding: 16px 40px; }
    .section { padding: 120px 40px; }
    .section h2 { font-size: 2.8rem; }
    .cards { gap: 28px; }
    .cards { padding: 0; }
    .brand-logo { max-width: 640px; }
    .stat-number { font-size: 2.8rem; }
}

/* =========================
   ACCESSIBILITY & REDUCED MOTION
   ========================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-indicator { display: none; }

    [data-animate] {
        opacity: 1;
        transform: none;
    }

    #particles-canvas { display: none; }
}

/* =========================
   SELECTION
   ========================= */
::selection {
    background: rgba(0,170,255,0.3);
    color: #fff;
}

/* =========================
   SCROLLBAR
   ========================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.15);
}
