:root {
    --primary: #007bff; /* Bleu azur vif pour trancher sur le noir */
    --secondary: #e2e2e2; /* Gris clair pour les paragraphes */
    --accent-silver: #4a5568; 
    --dark-bg: #0a0a0a; /* Noir pur pour le fond du logo */
    --dark-card: #141414; /* Noir légèrement plus clair pour les cartes */
    --light: #ffffff;
    --gray-text: #a0aec0;
}

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

html {
    scroll-behavior: smooth;
}

/* Sélection de texte personnalisée */
::selection {
    background-color: var(--primary);
    color: white;
}

::-moz-selection {
    background-color: var(--primary);
    color: white;
}

/* --- KEYFRAMES ANIMATIONS --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--light);
    background: #000; /* Fond global sombre */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- HEADER & NAV (SOMBRE) --- */
header {
    background: var(--dark-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: fadeIn 0.5s ease-out;
    backdrop-filter: blur(10px);
    background: rgba(10, 10, 10, 0.95);
}

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

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover img {
    filter: drop-shadow(0 0 10px rgba(0, 123, 255, 0.5));
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--primary);
}

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

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    margin-top: 0.5rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-transform: none;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background: rgba(0, 123, 255, 0.1);
    color: var(--primary);
    padding-left: 1.5rem;
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 4px; /* Coins plus tranchés pour le côté "premium" */
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.cta-button:hover::before {
    left: 100%;
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--dark-bg);
    padding: 5rem 0;
    display: flex;
    align-items: center;
    position: relative;
    /* Petit reflet subtil pour ne pas avoir un noir plat */
    background: radial-gradient(circle at 20% 30%, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, -30px) scale(1.1);
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    animation: slideInLeft 0.8s ease-out;
}

.hero-text .highlight {
    color: var(--primary);
    display: block;
    text-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    }
    to {
        text-shadow: 0 0 35px rgba(0, 123, 255, 0.5), 0 0 45px rgba(0, 123, 255, 0.3);
    }
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: slideInLeft 0.8s ease-out 0.2s both;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 1.1rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-secondary:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInRight 0.8s ease-out 0.3s both;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* --- ABOUT / EXPERTISE --- */
.about {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #000; /* Fond noir pour la continuité */
}

.section-header { 
    text-align: center; 
    margin-bottom: 4rem; 
}

.section-tag {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 2px;
    animation: fadeIn 0.6s ease-out;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white; /* Texte en blanc */
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

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

.about-card {
    background: var(--dark-card); /* Utilisation du noir légèrement plus clair */
    padding: 3rem;
    border-radius: 8px; /* Rayon réduit pour un look plus pro/technique */
    border: 1px solid rgba(255, 255, 255, 0.05); /* Bordure très fine */
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--secondary);
    animation: fadeInUp 0.6s ease-out both;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }

.about-card h3 {
    color: white;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card:hover h3 {
    color: var(--primary);
    transform: translateY(-2px);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15), 0 10px 30px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--dark-card) 0%, #1a1a1a 100%);
}

/* --- TESTIMONIALS / AVIS --- */
.testimonials {
    padding: 5rem 2rem;
    background: #050505;
    color: white;
}

.testimonials .section-subtitle {
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--dark-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: rgba(0, 123, 255, 0.1);
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15), 0 10px 30px rgba(0,0,0,0.5);
    background: linear-gradient(135deg, var(--dark-card) 0%, #1a1a1a 100%);
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars .star {
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover .testimonial-stars .star {
    transform: scale(1.1);
}

.testimonial-card:hover .testimonial-stars .star:nth-child(1) { animation: starPulse 0.6s ease-out 0.1s; }
.testimonial-card:hover .testimonial-stars .star:nth-child(2) { animation: starPulse 0.6s ease-out 0.15s; }
.testimonial-card:hover .testimonial-stars .star:nth-child(3) { animation: starPulse 0.6s ease-out 0.2s; }
.testimonial-card:hover .testimonial-stars .star:nth-child(4) { animation: starPulse 0.6s ease-out 0.25s; }
.testimonial-card:hover .testimonial-stars .star:nth-child(5) { animation: starPulse 0.6s ease-out 0.3s; }

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.testimonial-text {
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}

.author-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover .author-info h4 {
    color: var(--primary);
}

.author-info p {
    color: var(--gray-text);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- PROJECTS --- */
.projects {
    background: #050505; /* Un noir presque pur pour isoler la section */
    padding: 5rem 2rem;
    color: white;
}

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

.projects .section-title { color: white; }

/* Carousel Wrapper */
.carousel-wrapper {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Carousel Container */
.projects-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    position: relative;
    margin: 0 auto;
}

.projects-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Carousel Arrows */
.carousel-arrow {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: var(--dark-card);
    border-color: rgba(255, 255, 255, 0.1);
    transform: scale(1);
    box-shadow: none;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--dark-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: scaleIn 0.6s ease-out both;
    flex-shrink: 0;
}

/* Carousel cards - 1 seule carte visible à la fois */
.projects-carousel .project-card {
    width: 800px;
    min-width: 800px;
    max-width: 800px;
    flex-shrink: 0;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2), 0 10px 30px rgba(0,0,0,0.5);
}

.project-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--dark-card);
}

/* Carousel project images - plus grandes */
.projects-carousel .project-image {
    height: 450px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    border: 2px solid white;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.view-project:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.project-info {
    padding: 2.5rem 2rem;
}

/* Carousel project info - padding plus grand et centré */
.projects-carousel .project-info {
    padding: 3rem 2.5rem;
    text-align: center;
}

.projects-carousel .project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.projects-carousel .project-info p {
    font-size: 1.05rem;
}

.projects-carousel .project-category {
    display: inline-block;
}

.projects-carousel .view-project {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.project-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.project-category {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.project-info h3 {
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-info h3 {
    color: var(--primary);
}

.project-info p {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.7;
}

/* --- NEWS --- */
.news {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #000;
}

.news .section-header {
    margin-bottom: 2.5rem;
}

.news .section-title {
    font-size: 2.1rem;
    margin-bottom: 1rem;
}

.news .section-subtitle {
    font-size: 1rem;
}

/* Grille plus respirante */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Cartes */
.news-card {
    display: flex;
    gap: 0.75rem;
    background: #0f0f0f;
    padding: 0.85rem 0.7rem; /* ← moins large horizontalement */
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.6s ease-out both;
}

.news-card:hover {
    border-color: var(--primary);
    background: #141414;
    transform: translateX(8px);
    box-shadow: -4px 0 20px rgba(0, 123, 255, 0.15);
}

/* Date */
.news-date {
    background: var(--primary);
    color: white;
    padding: 0.45rem 0.5rem;
    border-radius: 4px;
    text-align: center;
    min-width: 48px;
    height: fit-content;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.25);
}

.news-day {
    font-size: 0.95rem;
    font-weight: 800;
}

.news-month {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
}

/* Tag */
.news-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.3rem;
}

/* Contenu */
.news-content h3 {
    color: white;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    line-height: 1.35;
    max-width: 22ch; /* largeur visuelle contrôlée */

}

.news-content p {
    color: var(--gray-text);
    font-size: 0.75rem;
    line-height: 1.5;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.6rem;
    margin-top: 0.25rem;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.read-more::after {
    content: ' →';
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.read-more:hover {
    color: white;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* --- FOOTER --- */
footer {
    background: var(--dark-bg);
    border-top: 1px solid #1a1a1a;
    padding: 6rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
}

.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 1rem; }

.footer-links { list-style: none; padding: 0; margin-top: 1rem; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-map {
    margin-top: 1rem;
}

.footer-map iframe {
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-map iframe:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #555;
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.5rem; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

    .carousel-wrapper {
        gap: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .carousel-wrapper {
        max-width: 90%;
    }

    .projects-carousel {
        max-width: 600px;
    }

    .projects-carousel .project-card {
        width: 600px;
        min-width: 600px;
        max-width: 600px;
    }

    .projects-carousel .project-image {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .project-image { height: 280px; }

    .carousel-arrow {
        width: 35px;
        height: 35px;
    }

    .carousel-wrapper {
        gap: 0.5rem;
        max-width: 95%;
    }

    .projects-carousel {
        max-width: 100%;
    }

    .projects-carousel .project-card {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .projects-carousel .project-image {
        height: 300px;
    }
}

/* --- PAGE GOUTTIERES ALU --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-subpage {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    padding: 6rem 0;
    text-align: center;
    border-bottom: 1px solid #1a1a1a;
    animation: fadeIn 0.8s ease-out;
}

.hero-subpage h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    color: white;
    max-width: 900px;
    margin: 1rem auto 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.content-section {
    padding: 8rem 0;
    background: #000;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.content-text {
    animation: fadeInUp 0.8s ease-out 0.3s both;
    order: 2;
}

.content-text h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 2.5rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 123, 255, 0.2);
}

.content-text p {
    color: #d1d5db;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.9;
    font-weight: 400;
    opacity: 0.95;
}

.content-text p strong {
    color: white;
    font-weight: 700;
    position: relative;
}

.content-text p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    color: #e5e7eb;
}

.paca-info {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(0, 123, 255, 0.02) 100%);
    padding: 2rem 2.5rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    margin: 3rem 0;
    animation: fadeInUp 0.6s ease-out 0.4s both;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.paca-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.paca-info:hover {
    transform: translateX(10px);
    box-shadow: -6px 0 25px rgba(0, 123, 255, 0.2);
    border-left-width: 6px;
}

.paca-info p {
    margin-bottom: 0;
    font-style: normal;
    color: #e5e7eb;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.paca-info p strong {
    color: var(--primary);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.content-visual {
    animation: fadeIn 0.8s ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
    width: 100%;
}

.content-visual img {
    width: auto;
    max-width: 100%;
    max-height: 700px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-visual img:hover {
    transform: scale(1.02);
}

/* --- PAGE FAQ / ON VOUS RÉPOND --- */
.page-faq {
    background: #000;
}

.faq-intro {
    padding: 6rem 2rem;
    background: #000;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-intro-content {
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text-block {
    margin-bottom: 4rem;
    text-align: center;
}

.intro-lead {
    font-size: 1.3rem;
    color: white;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.intro-text-block p {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Topics Section */
.topics-highlight {
    position: relative;
    padding: 3rem 0;
}

.topics-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.topics-title {
    text-align: center;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    margin: 0 auto;
    max-width: 900px;
}

.topic-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    padding-left: 1rem;
}

.topic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), transparent);
}

.topic-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, var(--primary), #0056b3);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    opacity: 0.8;
}

.topic-text h4 {
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.topic-text p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer intro */
.intro-footer {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    position: relative;
}

.intro-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.intro-footer p {
    color: var(--secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

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

/* Questions FAQ */
.faq-questions {
    padding: 4rem 2rem 8rem;
    background: #050505;
}

.faq-questions .container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-questions .section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--dark-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(0, 123, 255, 0.3);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question span {
    flex: 1;
    padding-right: 1rem;
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer p, .faq-answer ul {
    padding: 0 2rem 1.5rem;
    margin: 0;
    color: var(--secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer ul {
    list-style: none;
    padding-left: 2rem;
}

.faq-answer ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.faq-answer ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.faq-answer strong {
    color: white;
}

/* CTA en bas */
.faq-cta {
    margin-top: 4rem;
    text-align: center;
    background: var(--dark-card);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-cta h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.faq-cta p {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-lead {
        font-size: 1.1rem;
    }

    .intro-text-block p {
        font-size: 1rem;
    }

    .topics-title {
        font-size: 1rem;
    }

    .topic-number {
        font-size: 2rem;
    }

    .topic-text h4 {
        font-size: 1rem;
    }

    .topic-text p {
        font-size: 0.9rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .faq-answer p, .faq-answer ul {
        padding: 0 1.5rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* --- PAGE CONTACT --- */
.page-contact {
    background: #000;
}

.contact-content {
    padding: 6rem 2rem;
    background: #000;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Informations de contact */
.contact-info {
    color: var(--secondary);
}

.contact-info h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-content p,
.info-content a {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-content a:hover {
    color: var(--primary);
}

.contact-benefits {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-benefits h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-benefits ul li {
    color: var(--secondary);
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Formulaire */
.contact-form-wrapper {
    background: var(--dark-card);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.required {
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.9rem 1rem;
    color: white;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.form-group select {
    cursor: pointer;
}

.contact-form .btn-primary {
    margin-top: 1rem;
    width: 100%;
    padding: 1.2rem;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.form-note {
    color: var(--gray-text);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
}

/* Messages de succès et d'erreur */
.form-message {
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
}

.form-message.success h3 {
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.form-message.error h3 {
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.form-message p {
    color: var(--secondary);
    margin: 0;
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-info h2 {
        font-size: 1.6rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .content-grid {
        gap: 3rem;
    }

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

    .content-visual img {
        max-height: 500px;
    }
}

/* --- SINGLE PROJECT PAGE --- */
.single-project-page {
    background: #000;
}

/* Project Hero */
.project-hero {
    position: relative;
    width: 100%;
    background: var(--dark-bg);
}

.project-hero-image {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    overflow: hidden;
    border-radius: 0;
}

.project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: fadeIn 0.8s ease-out;
}

/* Project Header (titre et catégories) */
.project-header {
    background: #000;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.project-header .project-category {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.project-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    color: white;
    margin: 0;
    line-height: 1.2;
    font-weight: 800;
    max-width: 900px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

/* Project Content */
.project-content-section {
    padding: 6rem 0;
    background: #000;
}

.project-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-main-content {
    color: var(--secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    animation: fadeInUp 0.6s ease-out;
}

.project-main-content h2 {
    color: white;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.project-main-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-main-content p {
    margin-bottom: 1.5rem;
}

.project-main-content ul,
.project-main-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.project-main-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.project-main-content strong {
    color: white;
    font-weight: 700;
}

.project-main-content img {
    width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.project-info-card,
.project-cta-card {
    background: var(--dark-card);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-info-card:hover,
.project-cta-card:hover {
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
}

.project-info-card h3,
.project-cta-card h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.meta-label {
    color: var(--gray-text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.meta-value {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.project-cta-card p {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-cta-card .btn-primary {
    width: 100%;
    text-align: center;
}

/* Project Gallery */
.project-gallery {
    padding: 4rem 0 6rem;
    background: #050505;
}

.project-gallery h2 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Related Projects */
.related-projects {
    padding: 6rem 0 8rem;
    background: #000;
}

.related-projects h2 {
    color: white;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.related-projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Single Project */
@media (max-width: 992px) {
    .project-hero-image {
        height: 50vh;
        min-height: 350px;
    }

    .project-header h1 {
        font-size: 2.5rem;
    }

    .project-header {
        padding: 3rem 0 2rem;
    }

    .project-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .project-hero-image {
        height: 40vh;
        min-height: 300px;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .project-header {
        padding: 2.5rem 0 1.5rem;
    }

    .project-main-content {
        font-size: 1rem;
    }

    .project-main-content h2 {
        font-size: 1.6rem;
    }

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

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

/* ============================================
   PORTFOLIO SHORTCODE - Affichage par tag
   ============================================ */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.portfolio-item {
    background: var(--dark-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.portfolio-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.portfolio-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-thumbnail img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.portfolio-title a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.portfolio-title a:hover {
    color: var(--primary);
}

.portfolio-excerpt {
    color: var(--secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: gap 0.3s ease;
    gap: 0.3rem;
}

.portfolio-link:hover {
    gap: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .portfolio-content {
        padding: 1.2rem;
    }

    .portfolio-title {
        font-size: 1.1rem;
    }
}