/* ===== DESIGN SYSTEM - Dualis Material × cozy ===== */

:root {
    /* Charte logo, adoucie style Material */
    --ink: #0D1B2A;
    --navy: #1B2A41;
    --primary: #1A73E8;          /* Material Blue */
    --primary-dark: #1557B0;
    --primary-mid: #4285F4;
    --primary-light: #E8F0FE;    /* Material soft surface */
    --secondary: #5BA8E8;        /* Cyan logo adouci */
    --accent: #64B5F6;           /* Soft highlight */

    /* Surfaces cozy */
    --bg-dark: #1B2A41;
    --bg-light: #F4F6F9;
    --surface: #FFFFFF;
    --surface-muted: #EEF2F7;
    --text-primary: #1B2A41;
    --text-secondary: #5C6B7A;
    --text-on-dark: #FFFFFF;
    --text-on-dark-muted: rgba(255,255,255,0.82);

    /* Gradients sobres (pas de glow néon) */
    --gradient-brand: linear-gradient(165deg, #0D1B2A 0%, #1B2A41 48%, #1A4A8A 100%);
    --gradient-cta: linear-gradient(135deg, #1A73E8 0%, #4285F4 100%);
    --gradient-soft: linear-gradient(145deg, #E8F0FE 0%, #F0F4F8 100%);

    /* Material elevation */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(13, 27, 42, 0.05), 0 1px 3px rgba(13, 27, 42, 0.06);
    --shadow-md: 0 2px 6px rgba(13, 27, 42, 0.06), 0 4px 12px rgba(13, 27, 42, 0.08);
    --shadow-lg: 0 4px 12px rgba(13, 27, 42, 0.08), 0 10px 24px rgba(13, 27, 42, 0.10);
    --shadow-brand: 0 2px 4px rgba(26, 115, 232, 0.18), 0 6px 16px rgba(26, 115, 232, 0.22);
    --border-light: rgba(27, 42, 65, 0.08);
    --border-luminous: rgba(26, 115, 232, 0.22);

    /* Spacing */
    --section-padding: 5.5rem;
    --page-gutter: 1.25rem;
    --header-offset: 78px;
}

* { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-light);
    padding-top: var(--header-offset);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero h1,
.plan-title,
.service-title,
.card-title,
.newsletter-title {
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
}

html {
    scroll-padding-top: 0; /* Gestion de l'offset faite en JS */
}

/* Ajustement pour les ancres de section */
section[id] {
    scroll-margin-top: 0; /* Gestion de l'offset faite en JS */
}

/* ===== TYPOGRAPHIE ACCESSIBLE (WCAG AA+) ===== */
/* Tailles minimales pour tous publics (jeunes, âgés, malvoyants) */
h1, .h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2, .h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3, .h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.3; }
h4, .h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; line-height: 1.35; }
h5, .h5 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; line-height: 1.4; }
h6, .h6 { font-size: 1.125rem; font-weight: 600; line-height: 1.45; }

/* Body text: minimum 16px pour lisibilité optimale */
p { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.lead { font-size: 1.125rem; font-weight: 400; line-height: 1.75; }
small, .small { font-size: 0.875rem; line-height: 1.6; }

/* Contraste minimum AA (4.5:1 pour texte normal, 3:1 pour large) */
body { font-size: 16px; /* Base minimum WCAG */ }

.container {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== NAVBAR (mobile-first) ===== */
.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: saturate(1.2) blur(10px);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0.55rem 0;
    padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
}

.navbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.75rem;
    row-gap: 0;
    width: 100%;
}

.navbar-brand {
    padding: 0;
    margin: 0;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.25rem);
}

.brand-logo {
    height: 52px;
    width: auto;
    max-width: min(280px, 82vw);
    display: block;
    object-fit: contain;
    object-position: left center;
    background: transparent;
}

.navbar-toggler {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    box-shadow: none;
    flex: 0 0 auto;
    position: relative;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.25);
}

.navbar-toggler:hover {
    border-color: rgba(26, 115, 232, 0.45);
}

.navbar-toggler-icon {
    width: 1.15rem;
    height: 1.15rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Icône hamburger → croix */
.navbar-toggler-animated {
    position: relative;
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

.navbar-toggler-animated span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--text-primary);
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.navbar-toggler-animated span:nth-child(1) { top: 0.15rem; }
.navbar-toggler-animated span:nth-child(2) { top: 0.5rem; }
.navbar-toggler-animated span:nth-child(3) { top: 0.85rem; }

.navbar.is-open .navbar-toggler-animated span:nth-child(1) {
    top: 0.5rem;
    transform: rotate(45deg);
}

.navbar.is-open .navbar-toggler-animated span:nth-child(2) {
    opacity: 0;
}

.navbar.is-open .navbar-toggler-animated span:nth-child(3) {
    top: 0.5rem;
    transform: rotate(-45deg);
}

.navbar.is-open .navbar-toggler {
    border-color: rgba(26, 115, 232, 0.5);
    background: rgba(26, 115, 232, 0.08);
}

.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

/* Overlay pour fermer le menu (mobile) */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1025;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-backdrop.is-visible {
    display: block;
    opacity: 1;
}

body.nav-open {
    overflow: hidden;
    touch-action: none;
}

.navbar-nav {
    width: 100%;
    margin: 0;
    padding: 0.15rem 0 0.35rem;
    gap: 0.35rem;
    align-items: stretch !important;
}

.navbar-nav .nav-item {
    width: 100%;
}

.navbar-nav .nav-link {
    margin: 0;
    padding: 0.95rem 0.35rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text-primary) !important;
    text-align: left;
    border-radius: 0;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary) !important;
    background: transparent;
}

.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

.nav-item-cta {
    padding-top: 0.5rem;
    margin-top: 0.35rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.navbar .nav-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.85rem 1.1rem;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--text-on-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    box-shadow: var(--shadow-brand);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar .nav-link-btn:hover,
.navbar .nav-link-btn:focus {
    background: var(--primary-dark);
    color: var(--text-on-dark) !important;
    transform: none;
    box-shadow: var(--shadow-md);
}

.navbar .nav-link-btn i {
    font-size: 1rem;
    line-height: 1;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #fff;
    line-height: 1;
}

.footer-brand:hover {
    color: #fff;
    text-decoration: none;
}

.footer-mark {
    width: 44px;
    height: 44px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand__name {
    font-family: 'Sora', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--ink);
    color: var(--text-on-dark);
    padding: 4.25rem 0 0;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.95fr 1.2fr;
    gap: 2.5rem 2.25rem;
    align-items: start;
    padding-bottom: 2.75rem;
}

.footer-heading {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 1.1rem;
}

.footer-tagline {
    margin: 1.05rem 0 0;
    color: var(--text-on-dark-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 34ch;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--text-on-dark-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.footer-contact a:hover .footer-contact__value {
    color: #fff;
}

.footer-contact a:hover .footer-contact__icon {
    background: var(--primary);
    border-color: var(--primary);
}

.footer-contact__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-contact__label {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.12rem;
}

.footer-contact__value {
    display: block;
    font-size: 0.98rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s ease;
    word-break: break-word;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0 1.4rem;
    text-align: center;
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.42);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.75rem;
    }
    .footer-col--brand {
        grid-column: 1 / -1;
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3.15rem 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2.15rem;
    }
    .footer-col--brand { grid-column: auto; }
    .footer-tagline { max-width: none; }
    .footer-bottom { padding: 1.1rem 0 1.3rem; }
    .footer-copy {
        line-height: 1.5;
        font-size: 0.8rem;
    }
}

/* Desktop / tablet landscape nav */
@media (min-width: 992px) {
    :root {
        --header-offset: 90px;
    }

    .navbar {
        padding: 0.65rem 0;
        padding-top: 0.65rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .navbar-inner {
        flex-wrap: nowrap;
    }

    .navbar-brand {
        flex: 0 1 auto;
        max-width: none;
    }

    .brand-logo {
        height: 58px;
        max-width: 320px;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        flex-basis: auto;
        flex-grow: 0;
        display: flex !important;
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .navbar-nav {
        width: auto;
        flex-direction: row;
        align-items: center !important;
        gap: 0.85rem;
        padding: 0;
    }

    .navbar-nav .nav-item {
        width: auto;
    }

    .navbar-nav .nav-link {
        padding: 0.55rem 1.15rem;
        font-size: 0.95rem;
        text-align: center;
        white-space: nowrap;
    }

    .nav-item-cta {
        width: auto;
        padding-top: 0;
        margin-top: 0;
        margin-left: 1rem;
        border-top: 0;
    }

    .navbar .nav-link-btn {
        width: auto;
        padding: 0.6rem 1.2rem;
        border-radius: 8px;
    }

    .navbar .nav-link-btn:hover {
        transform: translateY(-1px);
    }

    .nav-backdrop {
        display: none !important;
    }
}

/* ===== HERO - Material sobre ===== */
.hero { 
    background: var(--gradient-brand);
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 50% at 90% 15%, rgba(66, 133, 244, 0.18), transparent 58%),
        radial-gradient(ellipse 45% 40% at 8% 85%, rgba(13, 27, 42, 0.35), transparent 55%);
    pointer-events: none;
}

.hero::after { display: none; }

.hero > .container { position: relative; z-index: 1; }

.hero-content {
    max-width: 620px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text-on-dark);
    margin-bottom: 1.25rem;
}

.hero h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 16px;
    border-radius: 999px;
    background: var(--primary-mid);
    opacity: 0.9;
}

.hero p {
    color: var(--text-on-dark-muted);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.hero .btn-primary-custom {
    background: var(--primary);
    color: var(--text-on-dark);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-brand);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.hero .btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero .btn-outline-light {
    border: 1.5px solid rgba(255,255,255,0.55);
    color: var(--text-on-dark);
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.65rem;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hero .btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.85);
}

/* ===== SECTIONS LAYOUT ===== */
.section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: clamp(1.85rem, 4.2vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
    color: inherit;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    margin: 14px auto 0;
    opacity: 0.85;
}

/* ===== ABOUT SECTION (light cozy) ===== */
#about {
    background: var(--bg-light);
    color: var(--text-primary);
}

#about .section-title { color: var(--text-primary); }

.about-intro {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

/* Stats cards */
.about-stats .row > [class*="col-"] {
    display: flex;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    min-height: 1.5em;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Skills grid */
.skills-section { margin-top: 4rem; }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards par ligne */
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.skill-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    color: var(--primary);
    font-size: 1.35rem;
}

.skill-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* ===== SERVICES SECTION (Material dark soft) ===== */
.services-section {
    background: var(--gradient-brand);
    color: var(--text-on-dark);
}

.services-section .section-title { color: var(--text-on-dark); }
.services-subtitle {
    font-size: 1.125rem;
    color: var(--text-on-dark-muted);
    text-align: center;
    max-width: 38rem;
    margin: -1.75rem auto 3rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

.service-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
    scroll-margin-top: calc(var(--header-offset) + 12px);
}

.service-card:hover {
    transform: translate3d(0, -3px, 0);
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.16);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--text-on-dark);
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-on-dark-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
}

.service-features li i {
    color: var(--accent);
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

/* ===== PORTFOLIO SECTION (light) ===== */
.portfolio-section {
    background: var(--surface);
    color: var(--text-primary);
    padding-bottom: 0;
}
/* ===== PRICING SECTION (Premium Design) ===== */
.pricing-section {
    background: var(--gradient-brand);
    color: var(--text-on-dark);
}

.pricing-subtitle {
    font-size: 1.125rem;
    color: var(--text-on-dark-muted);
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.pricing-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(26,115,232,0.15), rgba(26,115,232,0.08));
    border: 1px solid rgba(26,115,232,0.4);
    box-shadow: 0 8px 32px rgba(26,115,232,0.3);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 16px 48px rgba(26,115,232,0.4);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text-on-dark);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 12px rgba(0,168,248,0.35);
}

.plan-icon {
    width: 72px;
    height: 72px;
    background: rgba(26,115,232,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,115,232,0.2);
}

.pricing-card.featured .plan-icon {
    background: rgba(255,255,255,0.2);
    color: var(--text-on-dark);
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-title {
    font-weight: 800;
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
    color: var(--text-on-dark);
    letter-spacing: -0.01em;
}

.plan-description {
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
    margin: 0;
}

.plan-price-wrapper {
    margin-bottom: 2rem;
}

.plan-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-right: 0.25rem;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.price-amount {
    font-size: 3.25rem;
    font-weight: 700;
    color: var(--text-on-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-amount--text {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    align-self: center;
    margin-top: 0.65rem;
}

.price-period {
    display: block;
    color: var(--text-on-dark-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.price-hours {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 2rem 0;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
}

.plan-features i {
    color: var(--accent);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.btn-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-on-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-plan:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    color: var(--text-on-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.1);
}

.btn-plan.featured {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(26,115,232,0.3);
}

.btn-plan.featured:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 24px rgba(26,115,232,0.4);
}

.btn-plan i {
    transition: transform 0.3s ease;
}

.btn-plan:hover i {
    transform: translateX(4px);
}

.pricing-footer {
    margin-top: 4rem;
    text-align: center;
}

.pricing-note {
    color: var(--text-on-dark-muted);
}

.pricing-note p {
    margin: 0;
    font-size: 1rem;
}

.pricing-note .small {
    font-size: 0.875rem;
    opacity: 0.8;
}


.portfolio-section .section-title { color: var(--text-primary); }

.portfolio-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 38rem;
    margin: -1.75rem auto 3rem;
    line-height: 1.7;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.35rem;
    border: 1px solid var(--border-light);
    background: var(--surface);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-dark);
    transform: translateY(-2px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-item { transition: opacity 0.25s ease, transform 0.25s ease; }

.portfolio-item.hidden {
    display: none;
}

.portfolio-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    border-radius: var(--radius-md);
    will-change: transform;
}

.portfolio-card:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.card-image-container {
    height: 190px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.card-image-container.icon-web {
    background: linear-gradient(145deg, #E8F0FE, #D2E3FC);
}

.card-image-container.icon-design {
    background: linear-gradient(145deg, #E3F2FD, #BBDEFB);
}

.card-image-container.icon-assistance {
    background: linear-gradient(145deg, #ECEFF1, #CFD8DC);
}

/* Hide actual images, display icon instead */
.card-image {
    display: none;
}

.portfolio-card-icon {
    font-size: 3.75rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
    z-index: 1;
}

.card-image-container.icon-design .portfolio-card-icon {
    color: var(--secondary);
}

.card-image-container.icon-assistance .portfolio-card-icon {
    color: var(--navy);
}

.portfolio-card:hover .portfolio-card-icon {
    transform: scale(1.12);
    opacity: 1;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 115, 232, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}

.portfolio-card:hover .card-overlay { opacity: 1; }

.overlay-content h5 {
    color: var(--text-on-dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: var(--text-on-dark-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.45;
    max-width: 28ch;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.overlay-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.overlay-tag {
    background: rgba(255,255,255,0.2);
    color: var(--text-on-dark);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}

.card-content {
    padding: 1.75rem;
    background: var(--surface);
}

.category-badge {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 0.65rem;
}

.badge-web { background: rgba(26,115,232,0.10); color: var(--primary-dark); border: 1px solid rgba(26,115,232,0.22); }
.badge-design { background: rgba(91,168,232,0.12); color: #1565A0; border: 1px solid rgba(91,168,232,0.28); }
.badge-assistance { background: rgba(27,42,65,0.06); color: var(--navy); border: 1px solid rgba(27,42,65,0.14); }

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    min-height: calc(1.5em * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Portfolio closing CTA */
.portfolio-close {
    margin-top: 3.5rem;
    padding: 3.25rem 0 4.75rem;
    border-top: 1px solid var(--border-light);
    background: transparent;
}

.portfolio-close__inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.portfolio-close__title {
    margin: 0 0 0.7rem;
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.portfolio-close__text {
    margin: 0 auto 1.5rem;
    max-width: 36ch;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.portfolio-close__btn {
    min-width: 220px;
}

/* ===== TESTIMONIALS ===== */
/* ===== TESTIMONIALS ===== */
.testimonials-section {
    background: var(--surface);
    color: var(--text-primary);
}

.testimonials-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 38rem;
    margin: -1.75rem auto 3rem;
    line-height: 1.7;
}

.testimonials-slider {
    position: relative;
}

.testimonials-viewport {
    position: relative;
    min-height: 280px;
}

.testimonials-slide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s;
    position: absolute;
    inset: 0;
    height: fit-content;
    width: 100%;
}

.testimonials-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
}

.testimonials-slide[hidden] {
    display: none;
}

.testimonials-slide.is-active[hidden] {
    display: grid;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.75rem 1.6rem;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-card--cta {
    background: var(--gradient-brand);
    border-color: transparent;
    color: #fff;
}

.testimonial-card--cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-cta-kicker {
    margin: 0 0 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-cta-title {
    margin: 0 0 0.75rem;
    font-family: 'Sora', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.testimonial-quote--soft {
    color: rgba(255, 255, 255, 0.84) !important;
    font-weight: 400;
}

.testimonial-card--cta .btn-primary-custom {
    align-self: flex-start;
    background: #fff;
    color: var(--navy);
    box-shadow: none;
}

.testimonial-card--cta .btn-primary-custom:hover {
    background: #eef3f9;
    color: var(--navy);
}

.testimonial-stars .bi-star {
    color: rgba(245, 166, 35, 0.35);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    color: #F5A623;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.testimonial-quote {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.02rem;
    line-height: 1.7;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #fff;
    background: var(--primary);
    flex-shrink: 0;
}

.testimonial-avatar--alt {
    background: var(--navy);
}

.testimonial-avatar--soft {
    background: var(--secondary);
    color: #0D1B2A;
}

.testimonial-name {
    display: block;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
}

.testimonial-role {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

.testimonials-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: var(--surface);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.testimonials-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.testimonials-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
}

.testimonials-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(27, 42, 65, 0.2);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.testimonials-dot.is-active {
    width: 22px;
    background: var(--primary);
}

@media (prefers-reduced-motion: reduce) {
    .testimonials-slide {
        transition: none;
        transform: none;
    }
}

/* ===== FAQ ===== */
.faq-section {
    background: var(--bg-light);
    color: var(--text-primary);
}

.faq-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 38rem;
    margin: -1.75rem auto 3rem;
    line-height: 1.7;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.45fr);
    gap: 1.75rem 2rem;
    align-items: stretch;
}

.faq-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    min-height: 0;
}

.faq-aside__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1.15rem 0.85rem;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.faq-aside__stat {
    text-align: center;
    padding: 0 0.25rem;
}

.faq-aside__stat + .faq-aside__stat {
    border-left: 1px solid var(--border-light);
}

.faq-aside__stat-value {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.faq-aside__stat-label {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--text-secondary);
    font-weight: 500;
}

.faq-aside__help {
    padding: 1.5rem 1.4rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.faq-aside__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    margin: 0 0 0.55rem;
    color: var(--text-primary);
    line-height: 1.35;
}

.faq-aside__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 0 1.15rem;
}

.faq-aside__help .btn-primary-custom {
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.faq-aside__link {
    display: block;
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.faq-aside__link:hover {
    text-decoration: underline;
}

.faq-aside__promises {
    list-style: none;
    margin: 0;
    padding: 1.25rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-aside__promises li {
    padding-left: 0.85rem;
    border-left: 2px solid var(--primary);
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

.faq-aside__promises strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.faq-accordion {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    counter-reset: faq;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.2rem 1.35rem;
    min-height: 4.25rem;
    flex: 1 0 auto;
    border: none;
    background: transparent;
    text-align: left;
    font-family: 'Sora', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question::before {
    counter-increment: faq;
    content: counter(faq, decimal-leading-zero);
    font-family: 'Sora', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--primary);
    flex-shrink: 0;
    min-width: 1.6rem;
}

.faq-question span {
    flex: 1 1 auto;
    line-height: 1.4;
}

.faq-question:hover {
    background: rgba(26, 115, 232, 0.035);
}

.faq-question i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    color: var(--primary);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-question:not(.collapsed) {
    color: var(--navy);
}

.faq-question:not(.collapsed) i {
    transform: rotate(45deg);
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.faq-answer {
    padding: 0 1.35rem 1.3rem 3.85rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.7;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 992px) {
    .testimonials-slide { grid-template-columns: 1fr; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-aside { order: 2; }
    .faq-accordion { order: 1; height: auto; }
    .faq-item { flex: none; }
    .faq-question { min-height: 0; flex: none; }
}

@media (max-width: 768px) {
    .testimonials-subtitle,
    .faq-subtitle {
        margin-top: -1.5rem;
        margin-bottom: 2.5rem;
        font-size: 1.125rem;
    }
    .portfolio-close { margin-top: 2.75rem; padding: 2.5rem 0 3.5rem; }
    .testimonial-card { padding: 1.4rem 1.2rem; }
    .faq-question { font-size: 0.96rem; padding: 1.05rem 1.1rem; }
    .faq-answer { padding: 0 1.1rem 1.15rem 1.1rem; }
    .faq-question::before { display: none; }
    .faq-aside__stats { padding: 1rem 0.5rem; }
}

/* ===== NEWSLETTER SECTION (dark, kept functionality) ===== */
.newsletter {
    background: var(--gradient-brand);
    color: var(--text-on-dark);
}

.newsletter.section { padding: var(--section-padding) 0; }

.newsletter-content {
    text-align: center;
    padding: 0;
}

.newsletter-header { margin-bottom: 3rem; }

         .newsletter-icon {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
             display: flex;
             align-items: center;
             justify-content: center;
    margin: 0 auto 1.5rem;
         }

.newsletter-icon i {
    font-size: 2rem;
    color: var(--text-on-dark);
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
    margin-bottom: 1rem;
}

.newsletter-subtitle {
    font-size: 1.125rem;
    color: var(--text-on-dark-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.newsletter-form-container {
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

         .newsletter-form {
             display: flex;
    gap: 0.75rem;
    align-items: stretch;
    background: var(--surface);
             padding: 0.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.2s ease;
         }

.newsletter-form:hover { box-shadow: var(--shadow-lg); }

.form-group {
    flex: 1;
    position: relative;
}

.newsletter-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.newsletter-input::placeholder { color: var(--text-secondary); }

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.newsletter-input:focus + .input-border { transform: scaleX(1); }

         .newsletter-btn {
    background: var(--primary);
             border: none;
    color: var(--text-on-dark);
             padding: 1rem 2rem;
             font-weight: 600;
             cursor: pointer;
    transition: all 0.2s ease;
             display: flex;
             align-items: center;
             gap: 0.5rem;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-icon { transition: transform 0.2s ease; }
.newsletter-btn:hover .btn-icon { transform: translateX(4px); }

.newsletter-note {
    font-size: 0.875rem;
    color: var(--text-on-dark-muted);
    margin-top: 1rem;
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-on-dark-muted);
    font-weight: 500;
}

.benefit-item i {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
}

/* ===== CONTACT SECTION (kept functionality) ===== */
#contact {
    background: var(--surface);
    color: var(--text-primary);
}

.card-custom {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-custom:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-on-dark);
         font-size: 2rem;
}

/* ===== FORMS ===== */
.form-control {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    transition: all 0.2s ease;
         font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.08);
    outline: none;
}

/* ===== BUTTONS ===== */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary-custom {
    background: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.75rem;
    color: var(--text-on-dark);
    box-shadow: var(--shadow-brand);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: var(--text-on-dark);
}

.btn-outline-light {
    border-radius: var(--radius-sm);
}

/* ===== FLOATING ELEMENTS ===== */
     .back-to-top, .floating-rdv {
    position: fixed;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--text-on-dark);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
     }
     
     .back-to-top {
    bottom: 2rem;
    right: 2rem;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.floating-rdv {
    bottom: 2rem;
    left: 2rem;
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover, .floating-rdv:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 12px 40px rgba(26,115,232,0.3);
}

/* ===== SOCIAL ICONS ===== */
.social-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    text-decoration: none;
    margin: 0 0.5rem;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--primary-dark);
    transform: translate3d(0, -3px, 0);
    box-shadow: var(--shadow-md);
    color: var(--text-on-dark);
}

/* ===== MODALS ===== */
.modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--primary);
    color: var(--text-on-dark);
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.modal-fullscreen .modal-content { border-radius: 0; min-height: 100vh; }
.modal-fullscreen .modal-header { border-radius: 0; }
.modal-fullscreen .modal-body {
    padding: 2rem;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* ===== COOKIES BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #212121;
    color: var(--text-on-dark);
    padding: 1.25rem;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-text h5 {
    margin-bottom: 0.5rem;
    color: var(--text-on-dark);
    font-weight: 600;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-on-dark-muted);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ===== ANIMATIONS (Material soft + stagger) ===== */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.fade-in.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Remove unused pulse animation */

/* ===== RESPONSIVE (Mobile-First Optimized) ===== */

/* Tablet */
@media (max-width: 992px) {
    :root { --section-padding: 4rem; }

    .hero { padding: var(--section-padding) 0; }

    /* 2 cards par ligne en tablette */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
    :root { --section-padding: 3.5rem; }
    
    .container {
        padding-left: var(--page-gutter);
        padding-right: var(--page-gutter);
    }
    
    /* Navbar: base mobile-first styles already apply */
    .navbar { padding-left: 0; padding-right: 0; }
    body { padding-top: var(--header-offset); }
    html { scroll-padding-top: 0; }
    section[id] { scroll-margin-top: 0; }
    
    /* Hero mobile centré et équilibré */
    .hero {
        min-height: auto;
        padding: var(--section-padding) 0;
        text-align: center;
    }
    .hero .row { flex-direction: column-reverse; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero h1 {
        margin-bottom: 1rem;
        text-align: center;
    }
    .hero h1::after { 
        width: 56px; 
        margin: 14px auto 0;
    }
    .hero p {
        font-size: 1.125rem;
        line-height: 1.7;
        margin-bottom: 2rem;
        text-align: center;
    }
    .hero .d-flex { 
        flex-direction: column; 
        gap: 1rem !important;
        align-items: stretch;
    }
    .hero .btn { 
        width: 100%; 
        justify-content: center; 
        padding: 1.125rem 2rem; 
        font-size: 1.0625rem;
        font-weight: 600;
    }
    .hero-image { 
        max-height: 300px;
        max-width: 300px;
        width: 100%;
        height: auto;
        margin: 0 auto 2.5rem;
        object-fit: contain;
        display: block;
    }
    
    .section-title::after { width: 56px; }
    
    /* About mobile */
    .about-intro {
        margin-bottom: 3rem;
        text-align: center;
    }
    .about-intro p { font-size: 1.125rem; }
    .stat-card { padding: 2.25rem 1.75rem; margin-bottom: 1.5rem; }
    .stat-icon { width: 60px; height: 60px; font-size: 1.625rem; margin-bottom: 1.25rem; }
    .stat-number { font-size: 2.5rem; }
    .stat-title { font-size: 1.125rem; }
    .stat-description { font-size: 1rem; }
    
    /* Skills mobile */
    .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .skill-item { padding: 1.75rem 1.25rem; margin: 0; width: 100%; }
    .skill-icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 1rem; }
    .skill-name { font-size: 1rem; }
    
    /* Services mobile */
    .services-subtitle,
    .portfolio-subtitle,
    .faq-subtitle,
    .testimonials-subtitle {
        font-size: 1.125rem;
        margin: -1.5rem auto 2.5rem;
        text-align: center;
    }
    .services-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
    .service-card { padding: 1.5rem 1.25rem; }
    .service-icon { width: 60px; height: 60px; font-size: 1.625rem; margin-bottom: 1.25rem; }
    .service-title { font-size: 1.5rem; margin-bottom: 1rem; }
    .service-description { font-size: 1.0625rem; line-height: 1.7; }
    .service-features li { font-size: 1rem; margin-bottom: 0.875rem; }
    
    /* Portfolio mobile */
    .portfolio-grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .pricing-grid { grid-template-columns: 1fr; gap: 2rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: scale(1) translateY(-8px); }
    .plan-icon { width: 64px; height: 64px; font-size: 1.75rem; }
    .price-amount { font-size: 3rem; }
    .portfolio-filters { 
        gap: 0.75rem; 
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap;
    }
    .filter-btn { padding: 1rem 1.5rem; font-size: 1rem; width: calc(50% - 0.375rem); }
    .card-image-container { height: 200px; }
    .portfolio-card-icon { font-size: 3.25rem; }
    .card-content { padding: 1.75rem; }
    .card-title { font-size: 1.25rem; }
    .card-description { font-size: 1rem; }
    
    /* Newsletter mobile */
    .newsletter-icon { margin-bottom: 1.5rem; }
    .newsletter-title { font-size: 2.25rem; margin-bottom: 1rem; }
    .newsletter-subtitle { font-size: 1.125rem; padding-left: 0; padding-right: 0; }
    .newsletter-form-container { max-width: 100%; padding-left: 0; padding-right: 0; }
    .newsletter-form { flex-direction: column; padding: 1.25rem; gap: 1.25rem; border-radius: 12px; }
    .newsletter-input { padding: 1.125rem 1.25rem; font-size: 1.0625rem; }
    .newsletter-btn { 
        width: 100%; 
        justify-content: center; 
        padding: 1.125rem 2rem; 
        font-size: 1.0625rem;
        font-weight: 600;
    }
    .newsletter-note { font-size: 0.9375rem; margin-top: 1rem; }
    .newsletter-benefits { gap: 2.5rem; margin-top: 2rem; }
    .benefit-item { font-size: 1rem; }
    
    /* Contact mobile */
    .card-custom { margin-bottom: 1.5rem; }
    .form-control { padding: 1rem 1.25rem; font-size: 1.0625rem; }
    
    /* Footer mobile */
    .footer { padding-top: 3rem; }
    .footer-heading { margin-bottom: 0.9rem; }
    
    /* Floating buttons mobile repositionnés */
    .back-to-top, .floating-rdv { 
        width: 56px; 
        height: 56px; 
        font-size: 1.5rem;
        box-shadow: 0 8px 24px rgba(26,115,232,0.4);
    }
    .back-to-top { bottom: 1.25rem; right: 1.25rem; }
    .floating-rdv { bottom: 5.5rem; right: 1.25rem; } /* Stack vertically */
    
    /* Cookie banner mobile */
    .cookie-banner { padding: 1.5rem 1.25rem; }
    .cookie-content { flex-direction: column; align-items: stretch; }
    .cookie-text h5 { font-size: 1.125rem; }
    .cookie-text p { font-size: 1rem; }
    .cookie-actions { width: 100%; gap: 0.75rem; margin-top: 1rem; }
    .cookie-actions .btn { width: 100%; padding: 0.875rem; font-size: 1rem; }
}

/* Small mobile (iPhone SE, petits Android) */
@media (max-width: 576px) {
    :root {
        --section-padding: 2.75rem;
        --page-gutter: 1.15rem;
    }

    .container {
        padding-left: var(--page-gutter);
        padding-right: var(--page-gutter);
    }

    .hero { padding: var(--section-padding) 0; }
    .hero p { font-size: 1.125rem; }
    .hero-image { 
        max-height: 260px;
        max-width: 260px;
        width: 100%;
        height: auto;
    }
    .hero .btn { padding: 1rem 1.5rem; font-size: 1rem; }
    
    .newsletter-title { font-size: 2rem; }
    
    .stat-card { padding: 2rem 1.5rem; }
    .stat-number { font-size: 2.25rem; }
    
    .service-card { padding: 1.5rem 1.25rem; }
    .service-title { font-size: 1.375rem; }
    
    .filter-btn { width: 100%; } /* Boutons filtres pleine largeur sur petit écran */
    
    .newsletter-title { font-size: 2rem; }
    .newsletter-subtitle { font-size: 1.0625rem; }
    .newsletter-benefits { display: none; }
    
    .footer { padding-top: 2.75rem; }
}

/* ===== MOBILE TOUCH OPTIMIZATION ===== */
@media (max-width: 768px) {
    /* Zones tactiles minimum 44x44px (Apple HIG / Material) */
    .btn, .filter-btn, .social-icon, .navbar-toggler {
        min-height: 44px;
        min-width: 44px;
    }

    .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .navbar .nav-link-btn {
        min-height: 48px;
    }
    
    /* Espacements tactiles généreux */
    .filter-btn { padding: 0.875rem 1.5rem; }
    
    /* Scroll snap pour sections (meilleure UX mobile) */
    html { scroll-behavior: smooth; }
    
    /* Disable hover effects on touch devices */
    .stat-card:hover, .skill-item:hover, .service-card:hover, 
    .portfolio-card:hover, .card-custom:hover {
        transform: none;
    }
    
    /* Tap highlights */
    * {
        -webkit-tap-highlight-color: rgba(26,115,232,0.2);
        -webkit-touch-callout: none;
    }
}

/* ===== UTILITIES ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .navbar, .back-to-top, .floating-rdv, .cookie-banner { display: none !important; }
    .section { page-break-inside: avoid; }
}
