/* ===== CSS VARIABLES ===== */
:root {
    --primary: #1a472a;
    --primary-light: #2d5a3d;
    --primary-dark: #0d2818;
    --accent: #e8b4bc;
    --accent-light: #f5d5da;
    --accent-dark: #d4949e;
    --text: #1a1a2e;
    --text-light: #4a4a5a;
    --text-muted: #6b6b7b;
    --bg: #fafbfc;
    --bg-alt: #f0f2f5;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(26, 71, 42, 0.08);
    --shadow-md: 0 8px 30px rgba(26, 71, 42, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 71, 42, 0.15);
    --shadow-accent: 0 8px 30px rgba(232, 180, 188, 0.4);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

/* ===== ANIMATIONS KEYFRAMES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SCROLL REVEAL CLASSES ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for children */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 71, 42, 0.08);
    animation: fadeInDown 0.6s ease;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: calc(100% - 1.5rem);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(26, 71, 42, 0.05);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

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

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

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

/* ===== MAIN CONTENT ===== */
main {
    min-height: 100vh;
    padding-top: 80px;
    /* Smooth transitions for AJAX navigation */
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: calc(100vh - 80px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-content h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.3em;
    background: var(--accent);
    z-index: -1;
    border-radius: 4px;
    transform: skewX(-3deg);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-location svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(26, 71, 42, 0.3);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 71, 42, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--accent);
    color: var(--primary-dark);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(232, 180, 188, 0.5);
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

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

/* ===== HERO IMAGE ===== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease 0.4s both;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: scale(1.02) rotate(1deg);
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    top: -50px;
    right: -50px;
    opacity: 0.6;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    bottom: -30px;
    left: -30px;
    opacity: 0.4;
    animation-delay: -2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent);
    top: 50%;
    right: -20px;
    opacity: 0.5;
    animation-delay: -4s;
    animation: morphShape 8s ease-in-out infinite;
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--white);
    padding: 2rem 5%;
    border-top: 1px solid rgba(26, 71, 42, 0.08);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== INTRO SECTION ===== */
.intro-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
    padding: 6rem 5%;
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-container h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-container p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.intro-container .highlight-text {
    color: var(--primary);
    font-weight: 600;
}

/* ===== SECTION TITLES ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text);
    margin-bottom: 1rem;
}

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

/* ===== QUI SUIS-JE ===== */
.about-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--text);
    margin-bottom: 0.5rem;
}

.about-content h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content .accent-text {
    color: var(--primary);
    font-weight: 600;
}

.about-visual {
    position: relative;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.about-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    background: var(--bg-alt);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.skill-tag:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== SERVICES ===== */
.services-section {
    padding: 6rem 5%;
    background: var(--bg-alt);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

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

.service-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.service-card.featured::before {
    display: none;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--white);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-card ul {
    list-style: none;
    position: relative;
    z-index: 1;
}

.service-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.service-card li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a472a'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}

.service-card.featured li::before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    margin-top: 5rem;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0.3;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.05;
}

.cta-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ===== PROJETS ===== */
.projects-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    margin-bottom: 3rem;
}

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

.project-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 2rem 2.5rem;
    color: var(--white);
}

.project-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.project-date svg {
    width: 16px;
    height: 16px;
}

.project-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.project-body {
    padding: 2.5rem;
}

.project-description {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.project-highlight {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--bg-alt) 100%);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
    margin-bottom: 2rem;
}

.project-highlight p {
    color: var(--text);
    font-weight: 500;
    margin: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.project-tag {
    background: var(--bg-alt);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
}

.project-cta {
    margin-top: 1.5rem;
}

.projects-section .cta-section {
    margin-top: 2rem;
}

/* ===== CONTACT ===== */
.contact-section {
    padding: 6rem 5%;
    background: var(--bg-alt);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label .required {
    color: var(--accent-dark);
}

.form-group input,
.form-group textarea {
    padding: 1rem 1.25rem;
    border: 2px solid var(--bg-alt);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(26, 71, 42, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

.submit-button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form feedback */
.form-feedback {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: none;
}

.form-feedback.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-feedback.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Social Link */
.footer-social,
.footer-social:link,
.footer-social:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    margin-top: 0.75rem;
    transition: color 0.3s ease;
}

.footer-social:hover,
.footer-social:active {
    color: var(--accent-primary) !important;
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image {
        max-width: 350px;
    }

    .hero-cta {
        justify-content: center;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }

    .mobile-menu {
        display: flex;
    }

    .hero {
        padding: 2rem 5%;
        min-height: auto;
    }

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

    .hero-shapes {
        display: none;
    }

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

    .stat-number {
        font-size: 1.8rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ===== FAQ SECTION ===== */
/* ===== PRICING SECTION ===== */
.pricing-section {
    margin: 3rem auto;
    max-width: 1000px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-accent);
}

.pricing-badge {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 600;
}

.pricing-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-features {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-group {
    background: var(--bg-alt);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

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

.feature-group h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.feature-group p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.feature-group ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding-left: 0;
}

.feature-group li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
}

.feature-group li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a472a'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* ===== MAINTENANCE SECTION ===== */
.maintenance-section {
    margin: 3rem auto;
    max-width: 1000px;
}

.maintenance-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.maintenance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.maintenance-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.maintenance-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.maintenance-pricing {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.offer-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.offer-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.offer-price {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.maintenance-features {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.maintenance-features h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: center;
}

.maintenance-features ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    padding-left: 0;
}

.maintenance-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.6;
    padding: 0.5rem 0;
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
    margin: 4rem auto;
    max-width: 1100px;
}

.comparison-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--text);
    text-align: center;
    margin-bottom: 2.5rem;
}

.comparison-table {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--bg-alt);
}

.comparison-table thead th {
    background: var(--bg-alt);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.comparison-table thead th:first-child {
    text-align: left;
    border-radius: var(--radius-md) 0 0 0;
}

.comparison-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.comparison-table tbody td {
    font-size: 1rem;
    color: var(--text-light);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text);
}

.comparison-table .highlight-col {
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(232, 180, 188, 0.1) 100%);
    font-weight: 600;
    color: var(--primary);
}

.comparison-table small {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.comparison-table tbody tr:hover {
    background: var(--bg);
}

.comparison-table tbody tr:hover .highlight-col {
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(232, 180, 188, 0.2) 100%);
}

.cta-testimonial {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 700px;
    margin: 1.5rem auto !important;
    line-height: 1.8;
}

.faq-section {
    padding: 4rem 5%;
    background: #ffffff;
}

.faq-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

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

.faq-item {
    border-bottom: 1px solid #e8e8e8;
    padding: 1.5rem 0;
}

.faq-question {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    -webkit-appearance: none;
    appearance: none;
}

.faq-question span {
    flex: 1;
}

.faq-question svg {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: #1a472a;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

.faq-answer p {
    color: #555555;
    line-height: 1.8;
    margin: 0;
}

/* ===== LOADING ANIMATION ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-alt);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===== PAGE 404 ===== */
.error-404-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.error-404-container {
    max-width: 500px;
}

.error-404-code {
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 12rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.error-404-section h1 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-404-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.error-404-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== MENTIONS LÉGALES ===== */
.legal-section {
    padding: 2rem 2rem 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-container {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid var(--border-subtle);
}

.legal-content {
    margin-top: 2rem;
}

.legal-block {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-block:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
}

.legal-block h2 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-block h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.legal-block p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-block ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.legal-block ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-block a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.legal-update {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 2rem;
}

/* ===== BOUTON RETOUR EN HAUT ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.back-to-top:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .legal-container {
        padding: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

/* ===== PAGES VILLES LOCALES ===== */
.local-page-section {
    padding: 2rem 2rem 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.local-page-container {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 3rem;
    border: 1px solid var(--border-subtle);
}

.local-content {
    margin-top: 2rem;
}

.local-intro {
    margin-bottom: 3rem;
}

.local-intro h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.local-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.local-services {
    margin-bottom: 3rem;
}

.local-services h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.local-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.local-service-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.local-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.local-service-card h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.local-service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.local-why {
    margin-bottom: 3rem;
}

.local-why h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.local-advantages {
    list-style: none;
    padding: 0;
}

.local-advantages li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.local-advantages li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: 600;
}

.local-advantages li strong {
    color: var(--text-primary);
}

.local-sectors {
    margin-bottom: 2rem;
}

.local-sectors h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.local-sectors p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sectors-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sectors-tags span {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(168, 85, 247, 0.1));
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

@media (max-width: 768px) {
    .local-page-container {
        padding: 1.5rem;
    }
    
    .local-services-grid {
        grid-template-columns: 1fr;
    }
    
    .local-intro h2,
    .local-services h2,
    .local-why h2,
    .local-sectors h2 {
        font-size: 1.25rem;
    }
}

/* ===== FAQ SECTION ===== */
.local-faq {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 71, 42, 0.1);
}

.local-faq h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 71, 42, 0.08);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-container {
    width: 100%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(26, 71, 42, 0.08);
}

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

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-card-date {
    color: var(--text-muted);
}

.blog-card-category {
    background: var(--accent-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.blog-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.blog-card-link:hover {
    gap: 0.75rem;
}

.blog-card-link svg {
    width: 18px;
    height: 18px;
}

.blog-card-coming {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

.blog-newsletter {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    color: var(--white);
}

.blog-newsletter h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.blog-newsletter p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

/* ===== BLOG ARTICLE ===== */
.blog-article-section {
    padding: 1rem 1.5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.blog-article-container {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.article-container {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.article-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.article-hero-image {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 180px !important;
    max-height: 180px !important;
    border-radius: 12px;
    overflow: hidden !important;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f0f4f1 0%, #e8efe9 100%);
    box-sizing: border-box;
}

.article-hero-image img {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 180px !important;
    object-fit: contain !important;
    display: block;
    padding: 1rem;
    box-sizing: border-box;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.article-date {
    color: #666;
}

.article-category {
    background: #e8f5e9;
    color: #1a472a;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.8rem;
}

.article-reading-time {
    color: #666;
}

.article-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    max-width: 100%;
    word-wrap: break-word;
}

.article-intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    padding-bottom: 1.5rem;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(26, 71, 42, 0.1);
}

.article-content {
    font-size: 1rem;
    line-height: 1.7;
}

.article-content section {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    color: #1a472a;
    margin: 2rem 0 0.75rem;
}

.article-content p {
    margin-bottom: 1.25rem;
    color: #333;
}

.article-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.article-content strong {
    color: var(--primary);
}

.article-cta {
    margin: 3rem 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--white);
    text-align: center;
}

.article-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1.5rem !important;
}

.article-faq {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(26, 71, 42, 0.1);
}

.article-faq h2 {
    margin-bottom: 1.5rem;
}

.article-author {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-info {
    flex: 1;
}

.author-name {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.author-name strong {
    font-size: 1.1rem;
    color: var(--text);
}

.author-name span {
    font-size: 0.9rem;
    color: var(--primary);
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-intro {
        font-size: 1.05rem;
    }
    
    .blog-newsletter {
        padding: 2rem;
    }
    
    .article-author {
        flex-direction: column;
    }
    
    /* Responsive pricing & comparison */
    .pricing-section,
    .maintenance-section,
    .comparison-section {
        padding: 0 1rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-group {
        padding: 1.25rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .maintenance-card {
        padding: 2rem 1.5rem;
    }
    
    .maintenance-header h2 {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }
    
    .comparison-section h2 {
        font-size: 1.5rem;
    }
}
