
:root {
    /* Dark Theme Palette */
    --c-bg-page: #050506;
    --c-bg-alt: #0D0D10;
    --c-text-main: #F5F5F7;
    --c-text-muted: #9CA1B5;
    --c-accent: #58D3FF;
    --c-accent-hover: #7ee1ff;
    --c-card-bg: #141419;
    --c-dark-bg: #0A0A0C;
    
    /* Layout */
    --max-width: 1024px;
    --nav-height: 52px;
    
    /* Shapes */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-pill: 999px;

    /* Shadows & Effects */
    --shadow-sm: 0 12px 30px rgba(0,0,0,0.3);
    --shadow-card: 0 25px 60px -20px rgba(0,0,0,0.55);
    --shadow-hover: 0 35px 80px -25px rgba(0,0,0,0.7);
    --border-light: 1px solid rgba(255,255,255,0.06);
    
    /* Animation */
    --ease-out-apple: cubic-bezier(0.25, 1, 0.5, 1);
    --duration: 0.6s;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--c-bg-page);
    color: var(--c-text-main);
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    min-height: 100vh;
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

h1 {
    font-size: 56px;
    margin-bottom: 16px;
}

h2 {
    font-size: 40px;
    margin-bottom: 14px;
}

h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

p.intro {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    color: rgba(245,245,247,0.85);
    margin-bottom: 24px;
}

p.text-muted {
    color: #D9DEEF;
    font-size: 19px;
    font-weight: 400;
}

.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.text-gradient {
    background: linear-gradient(135deg, #FF6B6B 0%, #556270 100%); /* Exemple, ajustable */
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* --- LAYOUT --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 22px;
}

.section {
    padding: 100px 0;
}

.bg-alt { background-color: var(--c-bg-alt); }

/* --- HERO --- */
.hero {
    position: relative;
    padding: 200px 0 140px;
    overflow: hidden;
    color: #FFFFFF;
}

.hero-video,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-video {
    overflow: hidden;
    background: #050505;
    z-index: 0;
}

.hero-video-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.8);
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(5,5,5,0.55) 0%, rgba(5,5,5,0.7) 55%, rgba(5,5,5,0.8) 100%);
    z-index: 1;
}

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

.hero h1 {
    color: #FFFFFF;
}

.hero .intro {
    color: rgba(255, 255, 255, 0.85);
}

/* --- NAVIGATION (Glassmorphism) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(5,5,6,0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 22px;
}

.logo {
    display: inline-flex;
    align-items: center;
    height: 34px;
}

.logo img {
    height: 34px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 12px;
    color: rgba(245,245,247,0.85);
    position: relative;
}

.nav-link:hover {
    color: var(--c-accent);
}

.nav-link.active {
    color: var(--c-accent);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 500;
    transition: transform 0.2s var(--ease-out-apple), background-color 0.2s;
}

.btn-primary {
    background: var(--c-accent);
    color: #050505;
    box-shadow: 0 15px 30px rgba(88, 211, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--c-accent-hover);
    transform: scale(1.02);
    box-shadow: 0 25px 35px rgba(88, 211, 255, 0.35);
}

.btn-secondary {
    background-color: rgba(255,255,255,0.12);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    border-color: rgba(255,255,255,0.65);
    color: var(--c-accent);
}

.btn-contact-call {
    color: #FFFFFF;
}

.btn-contact-call:hover {
    color: #FFFFFF;
    border-color: rgba(255,255,255,0.65);
}

.btn-small {
    padding: 6px 14px;
    font-size: 11px;
}

.btn-hero {
    padding: 12px 26px;
    font-size: 17px;
}

.service-cta {
    width: 100%;
    display: flex;
    justify-content: center;
}
.service-cta .btn {
    width: fit-content;
    margin-top: 20px;
}

.mobile-contact-fixed {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    padding: 10px;
    background: rgba(5,5,6,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    gap: 10px;
    z-index: 1500;
}

.mobile-contact-fixed a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--c-text-main);
}

.mobile-contact-fixed a span[aria-hidden="true"] {
    font-size: 16px;
}

.contact-phone {
    background: var(--c-accent);
    color: #050505;
    border: none;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.contact-whatsapp {
    background: rgba(37,211,102,0.12);
    border: 1px solid rgba(37,211,102,0.4);
    color: #8fffc8;
}

.link-arrow {
    color: var(--c-accent);
    font-size: 17px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow::after {
    content: "›";
    font-size: 20px;
    margin-top: -2px;
    transition: transform 0.2s ease;
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 24px;
    margin-top: 48px;
}

.bento-card {
    background: var(--c-card-bg);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: var(--border-light);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out-apple), box-shadow 0.4s var(--ease-out-apple);
}

.bento-card.cta-card {
    background: linear-gradient(140deg, #08202D, #0B1A26);
    border: 1px solid rgba(88,211,255,0.2);
    box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.cta-card-content {
    flex: 1;
    min-width: 260px;
}

.cta-card h3 {
    color: var(--c-accent);
    margin-bottom: 12px;
}

.cta-card p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.cta-card .cta-card-button {
    align-self: center;
    padding-left: 32px;
    padding-right: 32px;
}

.bento-card:hover {
    transform: scale(1.015);
    box-shadow: var(--shadow-hover);
    z-index: 2;
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }

.card-dark {
    background: var(--c-dark-bg);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.05);
}
.card-dark .text-muted { color: rgba(255,255,255,0.7); }

.card-img-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.card-img-container img {
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.04);
    max-height: 300px;
}

.service-list {
    margin-top: 20px;
    list-style: none;
    color: var(--c-text-main);
}

.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.service-list li:last-child {
    border-bottom: none;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 20px);
    width: min(520px, calc(100% - 40px));
    background: linear-gradient(145deg, rgba(9,16,24,0.95), rgba(5,5,6,0.95));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 70px rgba(0,0,0,0.65);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out-apple), transform 0.5s var(--ease-out-apple);
}

.cookie-banner.visible {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.cookie-banner h4 {
    font-size: 20px;
    margin-bottom: 4px;
}

.cookie-banner p {
    font-size: 15px;
    color: rgba(245,245,247,0.76);
    line-height: 1.5;
}

.cookie-banner a {
    color: var(--c-accent);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.cookie-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(245,245,247,0.85);
    box-shadow: none;
}

.cookie-actions .btn-outline:hover {
    border-color: rgba(255,255,255,0.45);
    color: #FFFFFF;
}

.cookie-note {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245,245,247,0.4);
}

/* --- PRIVACY MODAL --- */
.privacy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,5,6,0.75);
    backdrop-filter: blur(10px);
    z-index: 1300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out-apple);
}

.privacy-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.privacy-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, calc(100% - 32px));
    max-height: min(90vh, 760px);
    overflow: hidden;
    background: var(--c-dark-bg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 50px 120px rgba(0,0,0,0.75);
    z-index: 1301;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-out-apple), transform 0.35s var(--ease-out-apple);
    display: flex;
    flex-direction: column;
}

.privacy-modal.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}

.privacy-modal header {
    padding: 32px 32px 16px 32px;
    background: linear-gradient(135deg, rgba(20,20,24,0.95), rgba(10,10,12,0.95));
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.privacy-modal h3 {
    margin-bottom: 6px;
    font-size: 28px;
}

.privacy-modal p {
    color: rgba(245,245,247,0.75);
    line-height: 1.5;
    font-size: 15px;
}

.privacy-modal p + p {
    margin-top: 12px;
}

.privacy-modal-content strong {
    color: #FFFFFF;
    font-weight: 600;
}

.privacy-modal-content a {
    color: var(--c-accent);
    text-decoration: underline;
}

.privacy-modal-content {
    padding: 0 32px 32px 32px;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

.privacy-modal-actions {
    padding: 20px 32px 32px;
    display: flex;
    justify-content: flex-end;
}

.privacy-close {
    background: rgba(255,255,255,0.08);
    border: none;
    color: var(--c-text-main);
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    background: rgba(255,255,255,0.15);
}

/* --- BLOG & ARTICLE --- */
.badge {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
}

.hero-blog {
    background: radial-gradient(circle at top, rgba(88,211,255,0.2), transparent 60%);
    padding-top: 160px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    background: var(--c-card-bg);
    border-radius: var(--radius-md);
    border: var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-card);
}

.blog-card-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-apple);
}

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

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-card-meta {
    font-size: 14px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tags span {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.1);
}

.article-hero {
    padding-top: 160px;
    background: radial-gradient(circle at 20% 20%, rgba(88,211,255,0.08), transparent 40%);
}

.article-meta {
    font-size: 14px;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.article-hero-media {
    margin: 40px 0 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow-card);
}

.article-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.article-tags span {
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    font-size: 12px;
}

.article-body {
    font-size: 18px;
    color: rgba(245,245,247,0.92);
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.article-body h2 {
    margin-top: 36px;
    font-size: 34px;
}

.article-body h3 {
    margin-top: 24px;
    font-size: 24px;
}

.article-body p {
    color: rgba(245,245,247,0.85);
}

.article-body img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow-card);
    margin: 20px 0;
}

.article-body figure {
    margin: 30px 0;
}

.article-body figure img {
    margin: 0;
}

.article-body figure figcaption {
    font-size: 14px;
    color: var(--c-text-muted);
    text-align: center;
    margin-top: 8px;
}

.article-seo,
.article-links,
.article-faq,
.article-cta {
    margin-top: 60px;
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
}

/* Champ sémantique conservé pour le SEO mais masqué visuellement */
.article-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.article-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-faq details {
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    background: rgba(255,255,255,0.01);
}

.article-faq summary {
    cursor: pointer;
    font-weight: 600;
}

.article-faq details + details {
    margin-top: 12px;
}

.article-cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.blog-teasers {
    background: rgba(255,255,255,0.02);
}

.teaser-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.teaser-card {
    padding: 22px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(5,5,6,0.8);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    box-shadow: var(--shadow-sm);
}

.teaser-card img {
    border-radius: var(--radius-sm);
    height: 140px;
    object-fit: cover;
}

.teaser-card-media {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.teaser-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teaser-card h3 {
    font-size: 22px;
}

.teaser-card p {
    color: rgba(245,245,247,0.75);
    font-size: 15px;
}

.teaser-card small {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--c-text-muted);
    letter-spacing: 0.05em;
}

.skeleton {
    animation: pulse 1.4s infinite ease-in-out;
}

.skeleton-media,
.skeleton-line {
    background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    background-size: 200% 100%;
    border-radius: var(--radius-sm);
    height: 120px;
}

.skeleton-line {
    height: 12px;
    margin-top: 14px;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes pulse {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* --- ADMIN --- */
.card {
    background: var(--c-card-bg);
    border-radius: var(--radius-md);
    border: var(--border-light);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(46, 213, 115, 0.1);
    border-color: rgba(46, 213, 115, 0.4);
}

.alert-error {
    background: rgba(255, 107, 107, 0.08);
    border-color: rgba(255, 107, 107, 0.4);
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}

.admin-actions-cell {
    display: flex;
    gap: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245,245,247,0.75);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--c-text-main);
    font-family: inherit;
    font-size: 15px;
    width: 100%;
}

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

.file-drop {
    position: relative;
    display: block;
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.file-drop:hover {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.03);
}

.file-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-drop span {
    color: rgba(245,245,247,0.8);
    font-size: 14px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

.seo-card {
    margin-top: 30px;
    background: rgba(255,255,255,0.01);
}

.seo-card h3 {
    margin-bottom: 18px;
}

.testimonials {
    background: rgba(255,255,255,0.01);
}

.testimonials-header h2 {
    margin-bottom: 12px;
}

.testimonial-carousel {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s var(--ease-out-apple);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
    background: rgba(5,5,8,0.85);
    box-shadow: var(--shadow-card);
}

.testimonial-quote {
    font-size: 22px;
    line-height: 1.5;
    color: rgba(245,245,247,0.9);
}

.testimonial-stars {
    margin-top: 16px;
    font-size: 20px;
    color: #FFD60A;
    letter-spacing: 4px;
}

.testimonial-meta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(255,255,255,0.7);
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-tag {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-accent);
}


/* --- ANIMATIONS --- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-apple), transform 0.8s var(--ease-out-apple);
}

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

/* Stagger delays via CSS or JS, here simplistic CSS approach for manual classes if needed, 
   but IntersectionObserver usually handles trigger nicely. */

/* --- BURGER MENU --- */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1002;
}
.burger span {
    width: 20px;
    height: 1.5px;
    background-color: var(--c-text-main);
    transition: all 0.3s var(--ease-out-apple);
}

/* --- FOOTER --- */
footer {
    background-color: var(--c-dark-bg);
    padding: 60px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.82);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(245,245,247,0.65);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-links a {
    color: rgba(255,255,255,0.92);
}
.footer-links a:hover { color: var(--c-accent); }

.footer-links-stack {
    flex-direction: column;
    gap: 8px;
}

.footer-meta {
    color: rgba(245,245,247,0.9);
    font-size: 14px;
    line-height: 1.6;
}
.footer-meta + .footer-meta {
    margin-top: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .span-4 { grid-column: span 6; }
}

@media (max-width: 768px) {
    /* Typography scaling */
    h1 { font-size: 28px; }
    h2 { font-size: 26px; }
    h3 { font-size: 20px; }
    p.intro { font-size: 16px; }
    body { font-size: 15px; }

    .hero {
        padding: 100px 0 70px;
    }
    .btn-hero {
        padding: 6px 14px;
        min-width: 120px;
        font-size: 13px;
    }
    .btn {
        font-size: 11px;
        padding: 6px 14px;
    }
    .nav-link { font-size: 18px; }

    /* Nav */
    .burger { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 5, 6, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateY(-100%);
        transition: transform 0.5s var(--ease-out-apple);
        z-index: 1001;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .nav-link { font-size: 24px; font-weight: 600; }
    .nav-menu .btn { font-size: 18px; padding: 12px 30px; }

    /* Grid collapses */
    .bento-grid { display: flex; flex-direction: column; gap: 20px; }
    .bento-card { padding: 30px; min-height: auto; }
    
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }

.footer-grid {
    flex-direction: column;
    text-align: center;
    align-items: center;
}
.footer-column {
    min-width: 0;
    align-items: center;
}
.footer-links {
    justify-content: center;
}

.mobile-contact-fixed {
    display: flex;
}

.blog-grid,
.teaser-grid {
    grid-template-columns: 1fr;
}

.article-hero {
    padding-top: 130px;
}

    .article-cta .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

.hero-content h1 {
    font-size: 32px;
}

    .hero-content .intro {
        font-size: 17px;
    }

    .testimonial-card {
        padding: 28px;
    }

    .testimonial-quote {
        font-size: 18px;
    }
}

@media (max-width: 520px) {
    .cookie-banner {
        padding: 18px;
        width: calc(100% - 16px);
        gap: 10px;
        bottom: auto;
        top: 20px;
        transform: translate(-50%, 0);
    }
    .cookie-actions {
        flex-direction: column;
        gap: 8px;
    }
    .cookie-actions .btn {
        width: 100%;
        min-width: 0;
    }
    .privacy-modal {
        border-radius: var(--radius-md);
        max-height: 90vh;
    }
    .privacy-modal header,
    .privacy-modal-content,
    .privacy-modal-actions {
        padding-left: 20px;
        padding-right: 20px;
    }
    .privacy-modal h3 {
        font-size: 24px;
    }
    .privacy-modal-content {
        max-height: calc(90vh - 180px);
    }
    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }
    .footer-column {
        min-width: 100%;
    }
}
