/* ==================================================
   RED OWL PORTFOLIO — DESIGN SYSTEM
   ================================================== */

:root {
    color-scheme: dark;
    --color-bg: #10141f;
    --color-bg-soft: #171d2a;
    --color-surface: #1c2433;
    --color-text: #f4f5f7;
    --color-muted: #a7afbf;
    --color-accent: #c62835;
    --color-accent-hover: #e04450;
    --color-border: rgba(255, 255, 255, 0.1);
    --container-width: 1180px;
    --radius: 16px;
    --transition: 220ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

button,
input,
textarea {
    font: inherit;
}

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

.container {
    width: min(var(--container-width), calc(100% - 48px));
    margin-inline: auto;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--color-accent);
    color: #10141f;
    border-radius: 8px;
}

.skip-link:focus {
    top: 16px;
}

/* Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(16, 20, 31, 0.92);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(16px);
}

.nav-container {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--color-accent);
    color: #10141f;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand-text {
    font-size: 15px;
    letter-spacing: 0.2px;
}

.brand-text strong {
    color: var(--color-accent);
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.primary-navigation a {
    color: var(--color-muted);
    font-size: 14px;
    transition: color var(--transition);
}

.primary-navigation a:hover,
.primary-navigation a[aria-current="page"] {
    color: var(--color-text);
}

.primary-navigation .nav-contact {
    padding: 10px 16px;
    border: 1px solid rgba(242, 139, 69, 0.6);
    border-radius: 8px;
    color: var(--color-accent);
}

.primary-navigation .nav-contact:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--color-text);
}

/* Shared content */

#main-content {
    flex: 1;
}

.section {
    padding-block: 88px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.eyebrow {
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(2.7rem, 6vw, 5.4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
    font-size: 1.3rem;
}

p {
    color: var(--color-muted);
}

.accent {
    color: var(--color-accent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--color-accent);
    color: #10141f;
    font-weight: 750;
    transition:
        transform var(--transition),
        background var(--transition);
}

.button:hover {
    transform: translateY(-2px);
    background: var(--color-accent-hover);
}

.button-secondary {
    border-color: var(--color-border);
    background: transparent;
    color: var(--color-text);
}

.button-secondary:hover {
    background: var(--color-surface);
}

.card {
    padding: 26px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-soft);
}

/* Footer */

.site-footer {
    margin-top: auto;
    padding-block: 36px;
    border-top: 1px solid var(--color-border);
    background: #0c1018;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand {
    color: var(--color-text);
    font-weight: 800;
}

.footer-content p {
    margin: 6px 0 0;
    font-size: 13px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    color: var(--color-muted);
    font-size: 12px;
    text-align: right;
}

.footer-meta a {
    color: var(--color-accent);
}

.footer-meta a:hover {
    color: var(--color-accent-hover);
}

/* ==========================================
   RED OWL HUB NETWORK — FOOTER
   ========================================== */

.site-footer .footer-network {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    margin-top: 6px;
    text-align: right;
}

.site-footer .footer-universe {
    color: var(--color-muted);
    font-size: 12px;
    line-height: 1.6;
}

.site-footer .footer-hub-link {
    color: var(--color-accent);
    font-weight: 600;
}

.site-footer .footer-hub-link:hover {
    color: var(--color-accent-hover);
}

.site-footer .network-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.site-footer .network-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.site-footer .network-row a {
    color: var(--color-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;
    text-decoration: none;
    transition: color var(--transition);
}

.site-footer .network-row a:hover {
    color: var(--color-accent-hover);
}

.site-footer .network-row a.active {
    color: var(--color-accent);
    font-weight: 700;
    cursor: default;
}

/* Responsive */

@media (max-width: 900px) {
    .nav-container {
        min-height: 72px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-navigation {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 24px 20px;
        border-bottom: 1px solid var(--color-border);
        background: var(--color-bg);
    }

    .primary-navigation.is-open {
        display: flex;
    }

    .primary-navigation a {
        padding: 13px 4px;
    }

    .primary-navigation .nav-contact {
        margin-top: 8px;
        text-align: center;
    }

    .section {
        padding-block: 64px;
    }

    .footer-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-meta {
        align-items: flex-start;
        text-align: left;
    }
    /* ==========================================
   RED OWL HUB NETWORK — FOOTER
   ========================================== */

    .site-footer .footer-network {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
        margin-top: 6px;
        text-align: right;
    }

    .site-footer .footer-universe {
        color: var(--color-muted);
        font-size: 12px;
        line-height: 1.6;
    }

    .site-footer .footer-hub-link {
        color: var(--color-accent);
        font-weight: 600;
    }

    .site-footer .footer-hub-link:hover {
        color: var(--color-accent-hover);
    }

    .site-footer .network-links {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }

    .site-footer .network-row {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .site-footer .network-row a {
        color: var(--color-muted);
        font-size: 11px;
        font-weight: 400;
        line-height: 1.6;
        text-decoration: none;
        transition: color var(--transition);
    }

    .site-footer .network-row a:hover {
        color: var(--color-accent-hover);
    }

    .site-footer .network-row a.active {
        color: var(--color-accent);
        font-weight: 700;
        cursor: default;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 32px);
    }

    .brand-text {
        font-size: 13px;
    }

    .section {
        padding-block: 48px;
    }
}

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

/* ==================================================
   HOME PAGE — HERO
   ================================================== */

.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background:
        radial-gradient(ellipse at 80% 35%, rgba(242, 139, 69, 0.10), transparent 42%),
        linear-gradient(135deg, #10141f 0%, #151c2b 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -120px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(242, 139, 69, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -300px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(242, 139, 69, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
}

.hero-content {
    animation: rise-in 800ms ease both;
}

.hero-content .eyebrow {
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 28px;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    line-height: 1.06;
    letter-spacing: -0.055em;
}

.hero-lead {
    max-width: 610px;
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    color: var(--color-muted);
    font-size: 13px;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 14px rgba(242, 139, 69, 0.65);
}

/* Portrait area */

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    animation: rise-in 900ms 120ms ease both;
}

.portrait-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 12px;
    border: 1px solid rgba(242, 139, 69, 0.35);
    border-radius: 190px 190px 28px 28px;
    background: linear-gradient(145deg, rgba(242, 139, 69, 0.20), rgba(255, 255, 255, 0.02));
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.30);
}

.portrait-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    border-radius: 180px 180px 20px 20px;
    background:
        radial-gradient(circle at 50% 35%, rgba(242, 139, 69, 0.17), transparent 45%),
        linear-gradient(145deg, #252e40, #151a26);
}

.portrait-initials {
    color: var(--color-accent);
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.08em;
}

.portrait-caption {
    color: var(--color-muted);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 290px;
    padding: 16px 19px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(28, 36, 51, 0.92);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    animation: float 5s ease-in-out infinite;
}

.floating-card-top {
    top: 18%;
    right: -50px;
}

.floating-card-bottom {
    bottom: 12%;
    left: -65px;
    animation-delay: -2.5s;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 11px;
    background: rgba(242, 139, 69, 0.13);
    color: var(--color-accent);
    font-size: 23px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 13px;
}

.floating-card small {
    margin-top: 3px;
    color: var(--color-muted);
    font-size: 10px;
    line-height: 1.5;
}

/* ==================================================
   INTRODUCTION
   ================================================== */

.intro-section {
    background: var(--color-bg);
}

.intro-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 80px;
}

.intro-grid .section-heading {
    margin-bottom: 0;
}

.intro-grid h2 {
    margin-top: 18px;
}

.intro-copy {
    padding-top: 8px;
}

.intro-copy p:first-child {
    margin-top: 0;
    color: var(--color-text);
    font-size: 1.15rem;
}

.intro-copy p {
    margin-bottom: 20px;
}


/* ==================================================
   DOMAINS
   ================================================== */

.domains-section {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(242, 139, 69, 0.04), transparent 40%),
        var(--color-bg);
}

.domains-section .section-heading > p:last-child {
    max-width: 650px;
}

.domains-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.domain-card {
    position: relative;
    overflow: hidden;
    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.domain-card:hover {
    transform: translateY(-5px);
    border-color: rgba(242, 139, 69, 0.4);
    background: #202a3a;
}

.domain-number {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.domain-card h3 {
    margin-bottom: 12px;
}

.domain-card p {
    margin-bottom: 24px;
    font-size: 14px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 700;
    transition: gap var(--transition), color var(--transition);
}

.text-link:hover {
    gap: 13px;
    color: var(--color-accent-hover);
}

/* ==================================================
   PROJECT PREVIEW
   ================================================== */

.projects-preview {
    background: #141a27;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.section-heading-row h2 {
    margin-bottom: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    overflow: hidden;
    padding: 0;
    transition:
        transform var(--transition),
        border-color var(--transition);
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(242, 139, 69, 0.4);
}

.project-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(242, 139, 69, 0.16), transparent 48%),
        linear-gradient(135deg, #202b3d, #111722);
}

.project-visual::before,
.project-visual::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(242, 139, 69, 0.15);
    border-radius: 50%;
}

.project-visual::after {
    width: 320px;
    height: 320px;
}

.project-symbol {
    position: relative;
    z-index: 1;
    color: var(--color-accent);
    font-size: 72px;
    font-weight: 800;
}

.project-tag {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
    padding: 6px 10px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: rgba(16, 20, 31, 0.75);
    color: var(--color-muted);
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.project-body {
    padding: 28px;
}

.project-body h3 {
    margin-bottom: 12px;
}

.project-body p {
    margin-bottom: 22px;
    font-size: 14px;
}

/* ==================================================
   CONTACT CTA
   ================================================== */

.contact-cta {
    padding-top: 70px;
    padding-bottom: 90px;
}

.contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid rgba(242, 139, 69, 0.25);
    border-radius: 22px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(242, 139, 69, 0.12), transparent 50%),
        var(--color-bg-soft);
}

.contact-cta-inner > div {
    max-width: 720px;
}

.contact-cta h2 {
    margin-top: 16px;
    margin-bottom: 16px;
}

.contact-cta p:last-child {
    margin-bottom: 0;
}

/* ==================================================
   ANIMATIONS
   ================================================== */

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-9px);
    }
}

/* ==================================================
   RESPONSIVE HOME PAGE
   ================================================== */

@media (max-width: 1050px) {
    .hero-grid {
        gap: 44px;
    }

    .floating-card-top {
        right: -20px;
    }

    .floating-card-bottom {
        left: -20px;
    }

    .intro-grid {
        gap: 48px;
    }
}

@media (max-width: 800px) {
    .hero {
        padding: 72px 0 84px;
    }

    .hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 56px;
    }

    .hero-content {
        max-width: 680px;
    }

    .hero-visual {
        width: min(100%, 390px);
    }

    .intro-grid {
        gap: 24px;
    }

    .intro-grid .section-heading {
        max-width: 600px;
    }



    .contact-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .hero {
        padding-top: 56px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 12vw, 4rem);
    }

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

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        width: calc(100% - 24px);
    }

    .floating-card {
        max-width: 240px;
        padding: 11px 13px;
    }

    .floating-card-top {
        right: -12px;
    }

    .floating-card-bottom {
        bottom: 8%;
        left: -12px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 18px;
    }

    .floating-card strong {
        font-size: 11px;
    }

    .floating-card small {
        font-size: 9px;
    }
.domains-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-heading-row .button {
        width: 100%;
    }

    .project-visual {
        min-height: 175px;
    }

    .contact-cta {
        padding-top: 42px;
        padding-bottom: 56px;
    }

    .contact-cta-inner {
        padding: 26px 22px;
    }

    .contact-cta-inner .button {
        width: 100%;
    }
}

/* Respect accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-visual,
    .floating-card {
        animation: none;
    }

    .domain-card:hover,
    .project-card:hover {
        transform: none;
    }
}

/* Portrait professionnel */

.portrait-frame {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.portrait-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 180px 180px 20px 20px;
}

/* Effet subtil au survol */
.portrait-image {
    transition: transform 500ms ease;
}

.portrait-frame:hover .portrait-image {
    transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
    .portrait-image {
        transition: none;
    }

    .portrait-frame:hover .portrait-image {
        transform: none;
    }
}

/* Identité personnelle dans la navigation */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #c62835;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name {
    color: var(--color-text, #f5f5f5);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-subtitle {
    color: var(--color-muted, #a8afbd);
    font-size: 13px;
    line-height: 1.2;
}

@media (max-width: 480px) {
    .brand {
        gap: 8px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .brand-name {
        font-size: 13px;
    }

    .brand-subtitle {
        font-size: 10px;
    }
}

/* Identité du portfolio et affiliation Red Owl Hub */
.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-home {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-owl {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name {
    color: var(--color-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-subtitle {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.2;
}

.brand-network {
    color: var(--color-muted);
    font-size: 10px;
    line-height: 1.3;
}

.brand-network a {
    color: var(--color-accent);
    text-decoration: none;
}

.brand-network a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .brand-owl {
        width: 38px;
        height: 38px;
    }

    .brand-name {
        font-size: 12px;
    }

    .brand-subtitle,
    .brand-network {
        font-size: 9px;
    }
}


/* ==========================================
   Réalisations — cartes et étiquettes
   ========================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.project-card {
    min-width: 0;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: #191f2c;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.project-card:hover {
    border-color: rgba(198, 40, 53, 0.65);
    transform: translateY(-3px);
}

.project-category {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(198, 40, 53, 0.13);
    color: #ff7b84;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.project-card h3 {
    margin: 0.15rem 0 0.5rem;
    line-height: 1.4;
    font-size: 1.25rem;
}

.project-card p {
    margin: 0 0 0.5rem;
    line-height: 1.7;
    color: #b8c2d4;
}

.project-card h4 {
    margin: 0.75rem 0 0.25rem;
    font-size: 0.95rem;
    color: #f0f3f8;
}

.project-card .skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.project-card .skill-tag,
.skills-cloud .skill-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.045);
    color: #dce4f1;
    font-size: 0.82rem;
    line-height: 1.4;
    white-space: normal;
}

.project-card .text-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 0.75rem;
    color: #ff7b84;
    font-weight: 600;
    text-decoration: none;
}

.project-card .text-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Espacement de la section de conclusion */
.section .cta-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Adaptation aux écrans plus petits */
@media (max-width: 800px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-card {
        padding: 1.25rem;
    }
}



/* CTA — boutons de navigation */
.contact-cta .cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-cta .cta-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    min-height: 48px;
    border: 1px solid #c62835;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease,
                border-color 0.2s ease, transform 0.2s ease;
}

.contact-cta .cta-actions .btn-primary {
    background: #c62835;
    color: #ffffff;
}

.contact-cta .cta-actions .btn-primary:hover {
    background: #e04450;
    border-color: #e04450;
    transform: translateY(-2px);
}

.contact-cta .cta-actions .btn-secondary {
    background: transparent;
    color: #f0f3f8;
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-cta .cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #e04450;
    color: #ffffff;
    transform: translateY(-2px);
}

.contact-cta .cta-actions .btn:focus-visible {
    outline: 2px solid #ff7b84;
    outline-offset: 4px;
}

@media (max-width: 480px) {
    .contact-cta .cta-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-cta .cta-actions .btn {
        width: 100%;
        box-sizing: border-box;
    }
}



/* Cartes de la page À propos : effet au survol */

.about-content {
    max-width: 900px;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.25rem;
}

.cards-grid > .card {
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: #191f2c;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.cards-grid > .card:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 40, 53, 0.75);
    background: #1d2433;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.cards-grid > .card h3 {
    transition: color 0.25s ease;
}

.cards-grid > .card:hover h3 {
    color: #ff7b84;
}

@media (prefers-reduced-motion: reduce) {
    .cards-grid > .card,
    .cards-grid > .card h3 {
        transition: none;
    }

    .cards-grid > .card:hover {
        transform: none;
    }
}

/* ==========================================
   CONTACT — formulaire
   ========================================== */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: start;
}

.contact-panel {
    min-width: 0;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-soft);
}

.contact-panel h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 650;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--color-border);
    border-radius: 9px;
    background: var(--color-bg);
    color: var(--color-text);
}

.form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.form-feedback {
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 9px;
}

.form-feedback.success {
    border: 1px solid #287a50;
    background: rgba(40, 122, 80, 0.14);
    color: #9de0b8;
}

.form-feedback.error {
    border: 1px solid var(--color-accent);
    background: rgba(198, 40, 53, 0.12);
    color: #ff9ca4;
}

.form-feedback ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.contact-details {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-detail {
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
}

.contact-detail strong {
    display: block;
    margin-bottom: 6px;
}

.contact-detail a {
    color: #ff7b84;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-privacy {
    margin: 0;
    font-size: 12px;
}

@media (max-width: 800px) {
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

.footer-meta a {
    white-space: nowrap;
}

.footer-meta span:last-child {
    white-space: nowrap;
}

/* ==========================================
   TIMELINE — PARCOURS PROFESSIONNEL
   ========================================== */

.timeline {
    position: relative;
    display: grid;
    gap: 32px;
    padding-left: 34px;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 8px;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        #c62835 4%,
        #c62835 96%,
        transparent
    );
}

.timeline-item {
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    top: 5px;
    left: -32px;
    width: 12px;
    height: 12px;
    border: 3px solid #10141f;
    border-radius: 50%;
    background: #c62835;
    box-shadow: 0 0 0 2px rgba(198, 40, 53, 0.35);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    padding: 6px 13px;
    border: 1px solid rgba(198, 40, 53, 0.5);
    border-radius: 8px;
    background: rgba(198, 40, 53, 0.13);
    color: #ff7b84;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.timeline-content {
    min-width: 0;
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 16px;
    background: #191f2c;
    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        transform 220ms ease,
        box-shadow 220ms ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    border-color: rgba(198, 40, 53, 0.55);
    background: #1d2433;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.timeline-content h3 {
    margin-bottom: 12px;
    line-height: 1.4;
}

.timeline-category {
    margin: 0 0 14px;
    color: #ff7b84;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-role {
    margin-bottom: 16px;
    color: #e0e6f0;
    font-weight: 600;
}

.timeline-content ul {
    margin: 16px 0 0;
    padding-left: 24px;
}

.timeline-content li {
    padding-left: 3px;
    margin-bottom: 5px;
}

@media (max-width: 560px) {
    .timeline {
        gap: 24px;
        padding-left: 26px;
    }

    .timeline::before {
        left: 5px;
    }

    .timeline-item::before {
        left: -25px;
        width: 10px;
        height: 10px;
    }

    .timeline-content {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .timeline-content {
        transition: none;
    }

    .timeline-content:hover {
        transform: none;
    }
}


/* LANGUES */
.languages-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color, #303030);
    border-radius: 12px;
    background: var(--card-bg, #111111);
}

.language-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.language-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.language-label span:last-child {
    color: var(--text-muted, #b5b5b5);
    font-size: 0.9rem;
    text-align: right;
}

.language-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #292929;
}

.language-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--accent, #c62835);
}

.languages-note {
    margin-top: 0.65rem;
    color: var(--text-muted, #b5b5b5);
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 480px) {
    .language-label {
        gap: 0.5rem;
    }

    .language-label span:last-child {
        font-size: 0.8rem;
    }
}


/* ==================================================
   CAREER CONSTELLATION
   ================================================== */

.stats-section {
    position: relative;
    z-index: 5;
    padding: 90px 0;
    overflow: visible;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(198, 40, 53, 0.09), transparent 45%),
        #141a27;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.constellation {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 760px;
    margin: 0 auto;
}

/* SVG: orbital guides and connections */

.constellation-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.constellation-orbits ellipse {
    fill: none;
    stroke: rgba(160, 175, 200, 0.13);
    stroke-width: 1;
    stroke-dasharray: 4 8;
}

.constellation-links line {
    stroke: rgba(198, 40, 53, 0.32);
    stroke-width: 1;
    stroke-dasharray: 3 7;
    opacity: 1;
}

/* Central element */

.constellation-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 230px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(198, 40, 53, 0.65);
    border-radius: 50%;
    background:
        radial-gradient(circle, #293448 0%, #1b2433 68%, #151d2b 100%);
    box-shadow:
        0 0 0 12px rgba(198, 40, 53, 0.035),
        0 0 45px rgba(198, 40, 53, 0.16),
        inset 0 0 30px rgba(255, 255, 255, 0.025);
    text-align: center;
}

.center-eyebrow {
    margin-bottom: 12px;
    color: var(--color-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.constellation-center h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.center-subtitle {
    margin-top: 12px;
    color: #aab5c6;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Career nodes */

.constellation-node {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 112px;
    min-height: 78px;
    padding: 10px 6px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease;
}

.constellation-node strong {
    color: #fff;
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.06em;
    text-shadow: 0 0 18px rgba(198, 40, 53, 0.2);
}

.constellation-node > span:not(.node-card) {
    margin-top: 5px;
    color: #aeb9ca;
    font-size: 10px;
    line-height: 1.3;
}

.constellation-node::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px rgba(198, 40, 53, 0.8);
    content: "";
}

.constellation-node:hover,
.constellation-node:focus-visible,
.constellation-node.is-active {
    z-index: 10;
    transform: translate(-50%, -50%) scale(1.09);
    outline: none;
    background: rgba(36, 48, 66, 0.96);
    filter: drop-shadow(0 0 12px rgba(198, 40, 53, 0.2));
}

.constellation-node:hover strong,
.constellation-node:focus-visible strong,
.constellation-node.is-active strong {
    color: #f08a93;
}

/* Detail cards */

.node-card {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    z-index: 30;
    width: 250px;
    padding: 17px;
    transform: translate(-50%, 8px);
    border: 1px solid rgba(198, 40, 53, 0.45);
    border-radius: 12px;
    background: #202b3c;
    color: #dce3ee;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    font-size: 12px;
    line-height: 1.6;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.node-card b {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}

.node-card small {
    display: block;
    margin-top: 10px;
    color: #e28a91;
    font-size: 10px;
}

.constellation-node:hover .node-card,
.constellation-node:focus-visible .node-card,
.constellation-node.is-active .node-card {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
}

/* Node positions */

.node-1  { left: 12%; top: 15%; }
.node-2  { left: 35%; top: 7%; }
.node-3  { left: 65%; top: 9%; }
.node-4  { left: 88%; top: 18%; }
.node-5  { left: 92%; top: 48%; }
.node-6  { left: 82%; top: 83%; }
.node-7  { left: 62%; top: 93%; }
.node-8  { left: 38%; top: 92%; }
.node-9  { left: 15%; top: 80%; }
.node-10 { left: 7%;  top: 49%; }
.node-11 { left: 24%; top: 29%; }
.node-12 { left: 76%; top: 29%; }
.node-13 { left: 25%; top: 56%; }
.node-14 { left: 75%; top: 56%; }
.node-15 { left: 50%; top: 96%; }

.node-award-1 {
    top: 67%;
    left: 29%;
    color: #f1c27d;
}

.node-award-2 {
    top: 66%;
    left: 72%;
    color: #f1c27d;
}

.node-award-1 strong,
.node-award-2 strong {
    color: #e8bd78;
    font-size: 2rem;
}

.node-award-1::before,
.node-award-2::before {
    background: #e8bd78;
    box-shadow: 0 0 12px rgba(232, 189, 120, 0.8);
}

/* Reveal animation: starts only after JS adds .is-visible */

@keyframes constellation-center-in {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.72);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes constellation-node-in {
    from {
        opacity: 0;
        filter: blur(5px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes constellation-line-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Before the observer fires, hide elements only when JS marks them ready.
   Without JS, the complete constellation remains visible as a fallback. */

.constellation.reveal-pending .constellation-center,
.constellation.reveal-pending .constellation-node {
    opacity: 0;
}

.constellation.reveal-pending .constellation-center {
    transform: translate(-50%, -50%) scale(0.72);
}

.constellation.reveal-pending .constellation-node {
    filter: blur(5px);
}

.constellation.reveal-pending .constellation-links line {
    opacity: 0;
}

.constellation.is-visible .constellation-center {
    animation: constellation-center-in 0.8s ease both;
}

.constellation.is-visible .constellation-node {
    animation: constellation-node-in 0.65s ease both;
}

.constellation.is-visible .constellation-links line {
    animation: constellation-line-in 1.2s ease 0.15s both;
}

.constellation.is-visible .node-1  { animation-delay: 0.25s; }
.constellation.is-visible .node-2  { animation-delay: 0.35s; }
.constellation.is-visible .node-3  { animation-delay: 0.45s; }
.constellation.is-visible .node-4  { animation-delay: 0.55s; }
.constellation.is-visible .node-5  { animation-delay: 0.65s; }
.constellation.is-visible .node-6  { animation-delay: 0.75s; }
.constellation.is-visible .node-7  { animation-delay: 0.85s; }
.constellation.is-visible .node-8  { animation-delay: 0.95s; }
.constellation.is-visible .node-9  { animation-delay: 1.05s; }
.constellation.is-visible .node-10 { animation-delay: 1.15s; }
.constellation.is-visible .node-11 { animation-delay: 1.25s; }
.constellation.is-visible .node-12 { animation-delay: 1.35s; }
.constellation.is-visible .node-award-1 { animation-delay: 1.45s; }
.constellation.is-visible .node-award-2 { animation-delay: 1.55s; }

/* Tablet */

@media (max-width: 900px) and (min-width: 561px) {
    .constellation {
        height: 680px;
    }

    .constellation-center {
        width: 190px;
        height: 190px;
    }

    .constellation-node {
        width: 100px;
    }

    .node-card {
        width: 220px;
    }
}

/* Mobile */

@media (max-width: 560px) {
    .stats-section {
        padding: 55px 0;
    }

    .constellation {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        height: auto;
        padding: 10px 0;
    }

    .constellation-lines {
        display: none;
    }

    .constellation-center {
        position: relative;
        top: auto;
        left: auto;
        width: 190px;
        height: 190px;
        margin-bottom: 22px;
        transform: none;
    }

    .constellation-node {
        position: relative;
        top: auto;
        left: auto;
        width: min(100%, 300px);
        min-height: 68px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 16px;
        transform: none;
        border: 1px solid rgba(160, 175, 200, 0.12);
        border-radius: 12px;
        background: #202838;
        text-align: left;
    }

    .constellation-node::before {
        position: relative;
        top: auto;
        left: auto;
        flex: 0 0 7px;
        transform: none;
    }

    .constellation-node strong {
        min-width: 75px;
        font-size: 1.45rem;
        text-align: left;
    }

    .constellation-node > span:not(.node-card) {
        margin-top: 0;
        font-size: 11px;
        text-align: left;
    }

    .constellation-node:hover,
    .constellation-node:focus-visible,
    .constellation-node.is-active {
        transform: none;
    }

    .node-card {
        top: calc(100% + 10px);
        right: 0;
        bottom: auto;
        left: 0;
        width: 100%;
        transform: translateY(8px);
    }

    .constellation-node:hover .node-card,
    .constellation-node:focus-visible .node-card,
    .constellation-node.is-active .node-card {
        transform: translateY(0);
    }

    .constellation-node.is-active {
        z-index: 20;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .constellation *,
    .constellation *::before,
    .constellation *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .constellation.reveal-pending .constellation-center,
    .constellation.reveal-pending .constellation-node,
    .constellation.reveal-pending .constellation-links line {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

/* =========================================
   CAREER CONSTELLATION — MOBILE ACCORDION
   ========================================= */

@media (max-width: 560px) {

    .constellation {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 20px 12px;
    }

    /* Le centre reste en haut */
    .constellation-center {
        position: relative;
        inset: auto;
        transform: none;
        order: -1;
        margin: 0 auto 20px;
    }

    /* Les lignes décoratives sont masquées */
    .constellation-lines {
        display: none;
    }

    /* Chaque carte devient un élément vertical */
    .constellation-node {
        position: relative;
        inset: auto;
        transform: none;
        width: 100%;
        height: auto;
        min-height: 64px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        overflow: hidden;
        transition: margin 0.35s ease;
    }

    /* Les informations restent dans le flux */
    .constellation-node .node-card {
        position: relative;
        inset: auto;
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transform: translateY(-8px);
        transition:
            max-height 0.4s ease,
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    /* Carte sélectionnée */
    .constellation-node.is-active .node-card {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        margin-top: 12px;
    }

}

/* =========================================
   PROJECT PAGE — CTA BUTTONS
   ========================================= */

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.cta-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* Primary button */
.cta-actions .btn-primary {
    background: #b3262d;
    color: #ffffff;
    border: 1px solid #b3262d;
}

.cta-actions .btn-primary:hover {
    background: #d3323a;
    border-color: #d3323a;
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(179, 38, 45, 0.25);
}

/* Secondary button */
.cta-actions .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #b3262d;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 560px) {
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }
}