css
/* ===== RESET & BASE ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.nav-locked {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

section {
    padding: 3rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}


/* ===== BOUTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 46px;
    transition:
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}

.btn-secondary,
.btn-outline {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-secondary:hover,
.btn-outline:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #fff;
    gap: 0.5rem;
}


/* ===== HEADER ===== */

/*
   z-index abaissé à 100 : le header reste au-dessus du contenu normal,
   mais DOIT rester sous le menu mobile (999) et son overlay (998)
   pour que le tiroir et la croix de fermeture soient toujours cliquables.
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: color-mix(in srgb, var(--bg-primary) 92%, transparent);
    /*
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    */
    border-bottom: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-img {
    transform: scale(1.08) rotate(-5deg);
}
/* ===== BLOG — HERO ===== */
.blog-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.blog-hero-subtitle {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0.5rem auto 0;
}

/* ===== BLOG — ARTICLE À LA UNE ===== */
.blog-featured {
    display: block;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.blog-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow);
}

.blog-featured-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-featured:hover .blog-featured-image img {
    transform: scale(1.06);
}

.blog-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.blog-featured-content {
    padding: 2rem;
}

.blog-featured-content h2 {
    font-size: clamp(1.4rem, 2.5vw + 1rem, 2rem);
    margin: 0.6rem 0;
}

.blog-featured-content p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

/* ===== BLOG — TAG CATÉGORIE ===== */
.blog-category-tag {
    display: inline-block;
    background-color: var(--accent-soft, var(--bg-secondary));
    color: var(--accent);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-image .blog-category-tag {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background-color: var(--bg-card);
}

/* ===== BLOG — MÉTA (date, temps de lecture) ===== */
.blog-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0.8rem 0;
}

.blog-meta i {
    color: var(--accent);
    margin-right: 0.3rem;
}

/* ===== BLOG — LIEN "LIRE PLUS" ANIMÉ ===== */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.blog-read-more i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-featured:hover .blog-read-more i,
.blog-card:hover .blog-read-more i {
    transform: translateX(5px);
}

/* ===== BLOG — GRILLE DE CARTES ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px var(--shadow);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

/* ===== BLOG — NEWSLETTER ===== */
.blog-newsletter {
    margin-top: 3.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 24px;
    padding: 3rem 1.5rem;
    color: var(--bg-primary);
}

.blog-newsletter-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    animation: floatIcon 2.5s ease-in-out infinite;
}

.blog-newsletter h3 {
    margin-bottom: 0.5rem;
}

.blog-newsletter p {
    opacity: 0.9;
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

.blog-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 420px;
    margin: 0 auto;
}

.blog-newsletter-form input {
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    border: none;
    font-size: 0.95rem;
    min-height: 46px;
}

.blog-newsletter-form .btn-primary {
    background: var(--bg-primary);
    color: var(--accent);
}

/* ===== DESKTOP ===== */
@media (min-width: 900px) {
    .blog-featured {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        align-items: stretch;
    }

    .blog-featured-image {
        aspect-ratio: auto;
        height: 100%;
    }

    .blog-featured-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }

    .blog-newsletter-form {
        flex-direction: row;
    }

    .blog-newsletter-form input {
        flex: 1;
    }
}

/* ===== BLOG — HERO ===== */
.blog-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.blog-hero-subtitle {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0.5rem auto 0;
}

/* ===== BLOG — ARTICLE À LA UNE ===== */
.blog-featured {
    display: block;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.blog-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px var(--shadow);
}

.blog-featured-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-featured:hover .blog-featured-image img {
    transform: scale(1.06);
}

.blog-featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.blog-featured-content {
    padding: 2rem;
}

.blog-featured-content h2 {
    font-size: clamp(1.4rem, 2.5vw + 1rem, 2rem);
    margin: 0.6rem 0;
}

.blog-featured-content p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

/* ===== BLOG — TAG CATÉGORIE ===== */
.blog-category-tag {
    display: inline-block;
    background-color: var(--accent-soft, var(--bg-secondary));
    color: var(--accent);
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-image .blog-category-tag {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background-color: var(--bg-card);
}

/* ===== BLOG — MÉTA (date, temps de lecture) ===== */
.blog-meta {
    display: flex;
    gap: 1.2rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 0.8rem 0;
}

.blog-meta i {
    color: var(--accent);
    margin-right: 0.3rem;
}

/* ===== BLOG — LIEN "LIRE PLUS" ANIMÉ ===== */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
}

.blog-read-more i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-featured:hover .blog-read-more i,
.blog-card:hover .blog-read-more i {
    transform: translateX(5px);
}

/* ===== BLOG — GRILLE DE CARTES ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px var(--shadow);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

.blog-card-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
}

/* ===== BLOG — NEWSLETTER ===== */
.blog-newsletter {
    margin-top: 3.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 24px;
    padding: 3rem 1.5rem;
    color: var(--bg-primary);
}

.blog-newsletter-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    animation: floatIcon 2.5s ease-in-out infinite;
}

.blog-newsletter h3 {
    margin-bottom: 0.5rem;
}

.blog-newsletter p {
    opacity: 0.9;
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

.blog-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 420px;
    margin: 0 auto;
}

.blog-newsletter-form input {
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    border: none;
    font-size: 0.95rem;
    min-height: 46px;
}

.blog-newsletter-form .btn-primary {
    background: var(--bg-primary);
    color: var(--accent);
}

/* ===== DESKTOP ===== */
@media (min-width: 900px) {
    .blog-featured {
        display: grid;
        grid-template-columns: 1.1fr 1fr;
        align-items: stretch;
    }

    .blog-featured-image {
        aspect-ratio: auto;
        height: 100%;
    }

    .blog-featured-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }

    .blog-newsletter-form {
        flex-direction: row;
    }

    .blog-newsletter-form input {
        flex: 1;
    }
}

/* ===== BLOG POST — HERO ===== */
.blog-post-hero {
    position: relative;
    height: 60vh;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.blog-post-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.1) 60%);
}

.blog-post-hero-content {
    position: relative;
    z-index: 1;
    padding: 2.5rem 1.5rem;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.blog-post-hero-content h1 {
    font-size: clamp(1.6rem, 3vw + 1rem, 2.6rem);
    margin: 0.8rem 0;
}

.blog-meta-light span {
    color: rgba(255,255,255,0.85);
}

/* ===== BLOG POST — CORPS ===== */
.blog-post-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 2rem;
}

.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.blog-post-content p {
    margin-bottom: 1.3rem;
}

.blog-post-content h2 {
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.blog-post-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* ===== BLOG POST — PARTAGE ===== */
.blog-share {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== BLOG POST — ARTICLES LIÉS ===== */
.blog-related {
    margin-top: 3rem;
}

.blog-related h3 {
    margin-bottom: 1.5rem;
}

/* ===== ORDRE MOBILE : Logo | Thème+Langue | Burger ===== */

.header-actions {
    order: 2;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.burger-btn {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.burger-btn:hover {
    background-color: var(--bg-secondary);
    transform: scale(1.05);
}


/* ===== MENU MOBILE (tiroir) =====
   z-index 999 : DOIT être supérieur à .site-header (100) pour que le
   tiroir + sa croix passent au-dessus du header sticky une fois ouvert.
*/

.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85vw;
    max-width: 340px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: -8px 0 30px var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
}

.main-nav.open {
    right: 0;
}

.main-nav a {
    position: relative;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-color);
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.main-nav a:hover {
    color: var(--accent);
    padding-left: 0.5rem;
}


/* Soulignement animé (actif seulement en desktop, voir media query 900px) */

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

.main-nav a:hover::after {
    width: 100%;
}


/* Croix de fermeture du tiroir mobile */

.nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    transition:
        background-color 0.2s ease,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-close-btn:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.icon-btn {
    background-color: var(--bg-secondary);
    border: none;
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.2s ease;
}

.icon-btn:hover {
    transform: rotate(20deg) scale(1.1);
    background-color: var(--accent);
    color: var(--bg-primary);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: var(--bg-secondary);
    padding: 0.4rem 0.7rem;
    border-radius: 20px;
}

.lang-switch a {
    color: var(--text-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.lang-switch a.active {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.lang-switch span {
    color: var(--text-secondary);
    opacity: 0.5;
}


/* ===== OVERLAY SOMBRE DERRIÈRE LE MENU MOBILE =====
   z-index 998 : juste sous le menu (999) mais AU-DESSUS du header (100),
   pour assombrir toute la page y compris le header quand le menu est ouvert.
*/

.nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 998;
}

.nav-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}


/* ===== HERO ===== */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 20%,
            color-mix(in srgb, var(--accent) 15%, transparent),
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 80%,
            color-mix(in srgb, var(--accent) 10%, transparent),
            transparent 50%
        );
    animation: heroFloat 8s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes heroFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

.hero-content {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw + 1rem, 3.8rem);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2vw + 0.5rem, 1.6rem);
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-tagline {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2.5rem;
    font-size: 1.05rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}


/* ===== ANIMATIONS AU SCROLL ===== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ===== À PROPOS / COMPÉTENCES ===== */

.about-section h2,
.featured-projects h2,
.canva-preview h2,
.projects-page h1,
.contact-page h1 {
    font-size: clamp(1.6rem, 3vw + 1rem, 2.2rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-section p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-group h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-strong {
    background-color: var(--badge-strong-bg);
    color: var(--badge-strong-text);
}

.badge-solid {
    background-color: var(--badge-solid-bg);
    color: var(--badge-solid-text);
}

.badge-other {
    background-color: var(--badge-other-bg);
    color: var(--badge-other-text);
}


/* ===== GRILLE PROJETS (responsive auto) ===== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow);
}

.project-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.project-card-content {
    padding: 1.25rem;
}

.project-card-content h3 {
    margin-bottom: 0.5rem;
}

.project-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}


/* ===== FILTRES (scroll horizontal sur mobile) ===== */

.filter-bar {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
    height: 4px;
}

.filter-btn {
    white-space: nowrap;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    flex-shrink: 0;
}

.filter-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.no-results {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
    grid-column: 1 / -1;
}


/* ===== PAGE 404 ===== */

.error-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    gap: 1rem;
}

.error-page h1 {
    font-size: clamp(4rem, 15vw, 8rem);
    color: var(--accent);
}

.error-page p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}


/* ===== GALERIE CANVA ===== */

.canva-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.canva-card {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s ease;
}

.canva-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow);
}

.canva-card img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.canva-card p {
    padding: 0.75rem;
    font-size: 0.9rem;
    text-align: center;
}

.hidden-item {
    display: none;
}

.reveal-item {
    display: block;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ===== CONTACT ===== */

.contact-page p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    min-height: 44px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-alt {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 12px;
}

.contact-alt p {
    margin-bottom: 1rem;
}


/* ===== ALERTES ===== */

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.alert-success {
    background-color: var(--success-bg);
    color: var(--success-text);
}

.alert-error {
    background-color: var(--error-bg);
    color: var(--error-text);
}


/* ===== BOUTON FLOTTANT WHATSAPP ===== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background-color: var(--whatsapp-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 90;
}


/* ===== FOOTER ENRICHI ===== */

.footer-top {
    background-color: var(--bg-secondary);
    padding: 3.5rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.05rem;
    transition:
        all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    transform: translateY(-5px) rotate(360deg);
    border-color: transparent;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--accent);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 0.3rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact li i {
    width: 32px;
    height: 32px;
    background-color: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-status {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #00E676;
    border-radius: 50%;
    margin-top: 0.3rem;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.footer-status p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-cta-btn {
    width: 100%;
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
}

.footer-bottom {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-credit i {
    color: #e0245e;
}


/* ===== BOUTON RETOUR EN HAUT ===== */

.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition:
        all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px var(--shadow);
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}


/* ===== BADGE HERO ===== */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: #00E676;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

.highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* ===== ICÔNES FLOTTANTES DANS LE HERO ===== */

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    color: var(--accent);
    opacity: 0.12;
    animation: floatAround 12s ease-in-out infinite;
}

.icon-1 {
    font-size: 3rem;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.icon-2 {
    font-size: 2.2rem;
    top: 65%;
    left: 12%;
    animation-delay: 2s;
}

.icon-3 {
    font-size: 2.8rem;
    top: 25%;
    right: 10%;
    animation-delay: 4s;
}

.icon-4 {
    font-size: 2rem;
    top: 75%;
    right: 15%;
    animation-delay: 1s;
}

.icon-5 {
    font-size: 2.4rem;
    top: 45%;
    left: 5%;
    animation-delay: 3s;
}

.icon-6 {
    font-size: 2.6rem;
    top: 10%;
    right: 25%;
    animation-delay: 5s;
}

@keyframes floatAround {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(15px, -20px) rotate(10deg);
    }

    50% {
        transform: translate(-10px, 15px) rotate(-8deg);
    }

    75% {
        transform: translate(10px, 10px) rotate(5deg);
    }
}


/* ===== SOCIALS DANS LE HERO ===== */

.hero-socials {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-pill {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition:
        all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-pill:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    transform: translateY(-5px) rotate(360deg);
}


/* ===== INDICATEUR DE SCROLL ===== */

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-secondary);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}


/* ===== TAG DE SECTION ===== */

.section-tag {
    display: block;
    text-align: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
}


/* ===== STATISTIQUES ===== */

.stats-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.3rem;
}


/* ===== BARRES DE COMPÉTENCES ANIMÉES ===== */

.skill-bar-item {
    margin-bottom: 1.2rem;
}

.skill-bar-label {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.skill-bar-label i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.skill-bar-track {
    height: 10px;
    background-color: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: 10px;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ===== SECTION GRAPHIQUE ===== */

.chart-section {
    text-align: center;
}

.chart-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.chart-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1rem;
    height: 320px;
    max-width: 900px;
    margin: 0 auto;
}


/* ===== TIMELINE ===== */

.timeline-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 2rem;
    border-left: 3px solid var(--border-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-icon {
    position: absolute;
    left: -2.75rem;
    top: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.1rem;
    box-shadow: 0 0 0 6px var(--bg-primary);
}

.timeline-date {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
}

.timeline-content h3 {
    margin-bottom: 0.4rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.timeline-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 550px;
    margin: -1.5rem auto 3rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.timeline-tag {
    background-color: var(--bg-secondary);
    color: var(--accent);
    padding: 0.25rem 0.7rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}


/* ===== PROCESS ===== */

.process-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.process-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    position: relative;
    text-align: center;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.process-number {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 2rem;
    font-weight: 800;
    color: var(--border-color);
}

.process-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.process-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


/* ===== CARTES PROJETS AMÉLIORÉES (overlay au survol) ===== */

.project-card-image {
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-card-image img {
    transform: scale(1.1);
}

.project-card-image img {
    transition: transform 0.4s ease;
}

.overlay-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .overlay-btn {
    transform: translateY(0);
    opacity: 1;
}


/* ===== BADGE CATÉGORIE CANVA ===== */

.canva-card-image {
    position: relative;
}

.canva-category-badge {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: capitalize;
}


/* ===== TÉMOIGNAGES ===== */

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
}

.quote-icon {
    font-size: 1.8rem;
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}


/* ===== CTA FINAL ===== */

.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 24px;
    max-width: 1100px;
    margin: 2rem auto;
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.cta-icon {
    font-size: 2.5rem;
    color: var(--bg-primary);
    margin-bottom: 1rem;
    animation: floatIcon 2.5s ease-in-out infinite;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.cta-content h2 {
    color: var(--bg-primary);
    margin-bottom: 0.8rem;
}

.cta-content p {
    color: var(--bg-primary);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: var(--bg-primary);
    color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}


/* ===== ADMIN ===== */

.admin-body {
    background-color: var(--bg-secondary);
}

.login-container {
    max-width: 380px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 2px 10px var(--shadow);
}

.login-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-nav {
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-logo {
    font-weight: 800;
    color: var(--accent);
}

.admin-nav nav {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.logout-link {
    color: var(--error-text);
}

.admin-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.admin-header-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
}

.admin-actions .danger {
    color: var(--error-text);
}

.admin-form {
    background-color: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.6rem !important;
}

.form-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}


/* =========================================================
   TOBI PHOTO — PREMIUM HERO
   Développeur Java + Designer
   ========================================================= */

.tobi-photo-wrapper {
    --primary: #00e5ff;
    --secondary: #7c3aed;
    --accent: #ffb300;
    --dark: #050816;

    position: relative;
    width: 390px;
    height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    isolation: isolate;
    perspective: 1000px;
    animation: tobiFloat 6s ease-in-out infinite;
}


/* =========================================================
   HALO LUMINEUX
   ========================================================= */

.tobi-photo-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(0, 229, 255, 0.45) 0%,
            rgba(124, 58, 237, 0.30) 35%,
            rgba(0, 229, 255, 0.10) 55%,
            transparent 72%
        );
    filter: blur(30px);
    z-index: -3;
    animation:
        glowPulse 4s ease-in-out infinite,
        glowRotate 12s linear infinite;
}


/* =========================================================
   ANNEAU PRINCIPAL
   ========================================================= */

.tobi-photo-ring {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    padding: 4px;
    background:
        conic-gradient(
            from 0deg,
            transparent,
            var(--primary),
            transparent 20%,
            var(--secondary),
            transparent 45%,
            var(--accent),
            transparent 70%,
            var(--primary),
            transparent
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    filter:
        drop-shadow(0 0 8px rgba(0, 229, 255, 0.7))
        drop-shadow(0 0 25px rgba(124, 58, 237, 0.4));

    z-index: 0;
    animation: ringRotate 8s linear infinite;
}


/* Deuxième anneau décoratif */

.tobi-photo-ring::before {
    content: "";
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow:
        0 0 25px rgba(0, 229, 255, 0.15),
        inset 0 0 25px rgba(124, 58, 237, 0.12);
    animation: outerRing 5s ease-in-out infinite alternate;
}


/* Anneau avec petits points */

.tobi-photo-ring::after {
    content: "";
    position: absolute;
    inset: -35px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 50% 0,
            var(--primary) 0 3px,
            transparent 4px
        ),
        radial-gradient(
            circle at 100% 50%,
            var(--secondary) 0 3px,
            transparent 4px
        ),
        radial-gradient(
            circle at 50% 100%,
            var(--accent) 0 3px,
            transparent 4px
        ),
        radial-gradient(
            circle at 0 50%,
            var(--primary) 0 3px,
            transparent 4px
        );

    opacity: 0.8;
    animation: orbitDots 10s linear infinite;
}


/* =========================================================
   PHOTO
   ========================================================= */

.tobi-photo {
    position: relative;
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
    border: 5px solid rgba(255, 255, 255, 0.9);
    background: #111;

    box-shadow:
        0 0 0 8px rgba(0, 229, 255, 0.08),
        0 0 35px rgba(0, 229, 255, 0.35),
        0 0 80px rgba(124, 58, 237, 0.30),
        0 25px 70px rgba(0, 0, 0, 0.5);

    transition:
        transform 0.6s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.6s ease,
        filter 0.6s ease;

    animation: photoBreath 4s ease-in-out infinite;
}


/* Effet lumineux sur la photo */

.tobi-photo::after {
    content: "";
}


/* Hover */

.tobi-photo-wrapper:hover .tobi-photo {
    transform: scale(1.06) rotateY(4deg);
    filter:
        brightness(1.08)
        contrast(1.05);

    box-shadow:
        0 0 0 8px rgba(0, 229, 255, 0.12),
        0 0 45px rgba(0, 229, 255, 0.55),
        0 0 100px rgba(124, 58, 237, 0.45),
        0 30px 80px rgba(0, 0, 0, 0.55);
}


/* =========================================================
   BADGES
   ========================================================= */

.tobi-photo-badge {
    position: absolute;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 5;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.04)
        );

    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    transition:
        transform 0.5s cubic-bezier(.16, 1, .3, 1),
        box-shadow 0.5s ease;
}


/* Icônes */

.tobi-photo-badge i {
    font-size: 30px;
    filter:
        drop-shadow(0 0 8px currentColor)
        drop-shadow(0 0 18px currentColor);
    animation: iconPulse 2.5s ease-in-out infinite;
}


/* =========================================================
   BADGE JAVA
   ========================================================= */

.badge-top {
    top: 35px;
    right: 18px;
    color: #ff7043;
    animation:
        badgeTopFloat 4s ease-in-out infinite,
        badgeTopGlow 3s ease-in-out infinite;
}


/* petit cercle lumineux */

.badge-top::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 7px;
    right: 7px;
    border-radius: 50%;
    background: #00ffb3;
    box-shadow:
        0 0 8px #00ffb3,
        0 0 18px #00ffb3;
    animation: statusBlink 1.8s infinite;
}


/* =========================================================
   BADGE DESIGN
   ========================================================= */

.badge-bottom {
    bottom: 30px;
    left: 15px;
    color: #ffd54f;
    animation:
        badgeBottomFloat 5s ease-in-out infinite,
        badgeBottomGlow 3s ease-in-out infinite;
}


/* =========================================================
   PARTICULES DÉCORATIVES
   ========================================================= */

.tobi-photo-wrapper::before,
.tobi-photo-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}


/* Particules */

.tobi-photo-wrapper::before {
    width: 5px;
    height: 5px;
    top: 20px;
    left: 40px;
    background: var(--primary);

    box-shadow:
        80px 40px 0 var(--secondary),
        250px 10px 0 var(--primary),
        300px 100px 0 var(--accent),
        40px 250px 0 var(--secondary),
        330px 260px 0 var(--primary),
        90px 330px 0 var(--accent);

    filter:
        blur(0.5px)
        drop-shadow(0 0 8px currentColor);

    animation: particlesFloat 6s ease-in-out infinite;
}


/* Grande lumière derrière */

.tobi-photo-wrapper::after {
    width: 160px;
    height: 160px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.08),
            transparent 70%
        );

    filter: blur(20px);
    z-index: -4;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes tobiFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes glowPulse {
    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

@keyframes glowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes outerRing {
    from {
        transform: scale(0.96);
        opacity: 0.4;
    }

    to {
        transform: scale(1.04);
        opacity: 1;
    }
}

@keyframes orbitDots {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes photoBreath {
    0%,
    100% {
        box-shadow:
            0 0 0 8px rgba(0, 229, 255, 0.08),
            0 0 35px rgba(0, 229, 255, 0.35),
            0 0 80px rgba(124, 58, 237, 0.30),
            0 25px 70px rgba(0, 0, 0, 0.5);
    }

    50% {
        box-shadow:
            0 0 0 10px rgba(0, 229, 255, 0.12),
            0 0 50px rgba(0, 229, 255, 0.55),
            0 0 110px rgba(124, 58, 237, 0.40),
            0 30px 80px rgba(0, 0, 0, 0.5);
    }
}

@keyframes badgeTopFloat {
    0%,
    100% {
        transform: translate(0, 0) rotate(5deg);
    }

    50% {
        transform: translate(8px, -14px) rotate(-5deg);
    }
}

@keyframes badgeBottomFloat {
    0%,
    100% {
        transform: translate(0, 0) rotate(-5deg);
    }

    50% {
        transform: translate(-8px, 12px) rotate(5deg);
    }
}

@keyframes badgeTopGlow {
    0%,
    100% {
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(255, 112, 67, 0.2);
    }

    50% {
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.3),
            0 0 35px rgba(255, 112, 67, 0.5);
    }
}

@keyframes badgeBottomGlow {
    0%,
    100% {
        box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.3),
            0 0 15px rgba(255, 213, 79, 0.2);
    }

    50% {
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.3),
            0 0 35px rgba(255, 213, 79, 0.5);
    }
}

@keyframes iconPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}

@keyframes statusBlink {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.7);
    }
}

@keyframes particlesFloat {
    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.6;
    }

    50% {
        transform: translate(10px, -15px);
        opacity: 1;
    }
}


/* =========================================================
   RESPONSIVE — TABLETTE
   ========================================================= */

@media (max-width: 768px) {
    .tobi-photo-wrapper {
        width: 330px;
        height: 330px;
    }

    .tobi-photo {
        width: 225px;
        height: 225px;
    }

    .tobi-photo-ring {
        width: 285px;
        height: 285px;
    }

    .tobi-photo-glow {
        width: 280px;
        height: 280px;
    }

    .tobi-photo-badge {
        width: 58px;
        height: 58px;
        border-radius: 17px;
    }

    .tobi-photo-badge i {
        font-size: 25px;
    }

    .badge-top {
        right: 5px;
        top: 25px;
    }

    .badge-bottom {
        left: 5px;
        bottom: 20px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 480px) {
    .tobi-photo-wrapper {
        width: 290px;
        height: 290px;
    }

    .tobi-photo {
        width: 195px;
        height: 195px;
        border-width: 4px;
    }

    .tobi-photo-ring {
        width: 245px;
        height: 245px;
    }

    .tobi-photo-glow {
        width: 240px;
        height: 240px;
    }

    .tobi-photo-ring::before {
        inset: -12px;
    }

    .tobi-photo-ring::after {
        inset: -25px;
    }

    .tobi-photo-badge {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .tobi-photo-badge i {
        font-size: 21px;
    }

    .badge-top {
        right: -2px;
        top: 20px;
    }

    .badge-bottom {
        left: -2px;
        bottom: 15px;
    }
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .tobi-photo-wrapper,
    .tobi-photo-glow,
    .tobi-photo-ring,
    .tobi-photo-ring::before,
    .tobi-photo-ring::after,
    .tobi-photo,
    .tobi-photo-badge,
    .tobi-photo-badge i,
    .tobi-photo-wrapper::before {
        animation: none !important;
    }
}


/* ===== HERO CONTACT AVEC PHOTO ===== */

.contact-hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 1.5rem;
}

.contact-hero-content {
    text-align: center;
}

.contact-hero-content h1 {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    margin-bottom: 0.8rem;
}

.contact-hero-content p {
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 1.5rem;
}

.contact-quick-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: var(--bg-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-info-item i {
    color: var(--accent);
}

.pulse-dot {
    color: #00E676 !important;
    animation: pulse 2s ease-in-out infinite;
}

.contact-hero-photo {
    position: relative;
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

.contact-hero-photo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-card);
    box-shadow: 0 15px 40px var(--shadow);
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 15px var(--shadow);
}


/* ===== WIZARD ===== */

.wizard-section {
    text-align: center;
}

.wizard-subtitle {
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

.wizard-progress {
    max-width: 500px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.progress-track {
    height: 4px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: -14px;
}

.progress-step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: transparent;
    color: var(--bg-primary);
}

.wizard-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    min-height: 350px;
}

.wizard-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.wizard-step.active {
    display: block;
}

.wizard-step h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
}

.wizard-step h3 i {
    color: var(--accent);
}

.project-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.project-type-card {
    background-color: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 1.8rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition:
        all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.project-type-card i {
    font-size: 1.8rem;
    color: var(--accent);
}

.project-type-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.project-type-card.selected {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-color: transparent;
}

.project-type-card.selected i,
.project-type-card.selected span {
    color: var(--bg-primary);
}

.wizard-select,
.wizard-input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.wizard-step .form-group {
    margin-bottom: 1.3rem;
}

.wizard-step .form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.checkbox-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.pill-checkbox:has(input:checked) {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: transparent;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.summary-block {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.summary-block strong {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: var(--accent);
}

.summary-block p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.wizard-send-btn {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem;
}


/* ===== CONTACT ALT ENRICHI ===== */

.contact-alt-icon {
    font-size: 2rem;
    color: var(--whatsapp-color);
    margin-bottom: 0.8rem;
}

.contact-alt-divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 1.5rem 0;
}

.contact-alt-info {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    text-align: left;
}

.alt-info-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.alt-info-row i {
    color: var(--accent);
    width: 20px;
}


/* ===== FAQ ===== */

.contact-faq h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: center;
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-item:hover {
    transform: translateY(-6px);
}

.faq-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.6rem;
    font-size: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.88rem;
}


/* ============================================
   ===== TABLETTE (≥ 600px) =====
   ============================================ */

@media (min-width: 600px) {
    .hero-buttons {
        flex-direction: row;
    }

    .stats-section {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-row {
        flex-direction: row;
    }

    .form-row .form-group {
        flex: 1;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-header-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}


/* ============================================
   ===== DESKTOP (≥ 900px) =====
   ============================================ */

@media (min-width: 900px) {

    /*
       Le burger disparaît en desktop : c'était la règle manquante
       qui causait l'affichage simultané du burger ET des liens.
    */

    .burger-btn {
        display: none;
    }

    .nav-close-btn {
        display: none;
    }

    .nav-overlay {
        display: none;
    }

    .header-actions {
        order: 0;
    }

    .main-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 0;
        box-shadow: none;
        background-color: transparent;
        gap: 2.2rem;
        overflow-y: visible;
    }

    .main-nav a {
        font-size: 0.95rem;
        font-weight: 600;
        padding: 0.5rem 0;
        border-bottom: none;
        transition: color 0.25s ease;
    }

    .main-nav a:hover {
        color: var(--accent);
        padding-left: 0;
    }

    .hero {
        text-align: left;
        justify-content: flex-start;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-tagline {
        margin-left: 0;
    }

    .skills-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .skill-group {
        flex: 1;
    }

    .contact-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-form {
        flex: 2;
    }

    .contact-alt {
        flex: 1;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .contact-hero {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .contact-hero-content {
        text-align: left;
    }

    .contact-hero-content p {
        margin: 0 0 1.5rem;
    }

    .contact-quick-info {
        align-items: flex-start;
    }

    .contact-hero-photo {
        width: 280px;
        height: 280px;
    }

    .project-type-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ============================================
   ===== GRAND DESKTOP (≥ 1200px) =====
   ============================================ */

@media (min-width: 1200px) {
    section {
        padding: 4rem 1.5rem;
    }
}