/* ================================================
   QONTINUITY — LANDING PAGE
   Direction : Institutionnel courageux
   Fond clair, typographie éditoriale, anti-bullshit
   ================================================ */

:root {
    --bg: #FFFFFF;
    --bg-warm: #F8F5F0;
    --bg-dark: #0D0D0D;
    --text: #111111;
    --text-secondary: #5A5A5A;
    --text-muted: #767676;
    --gold: #B8941F;
    --champagne: #C9A536;
    --border: rgba(0, 0, 0, 0.1);
    --font-display: 'Raleway', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */

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

.container-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ---- BUTTONS ---- */

.btn-primary {
    display: inline-block;
    background: var(--text);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 32px;
    text-decoration: none;
    border: 1.5px solid var(--text);
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.btn-ghost .arrow {
    transition: transform 0.2s;
    display: inline-block;
}

.btn-ghost:hover .arrow {
    transform: translateX(4px);
}

.btn-primary-light {
    display: inline-block;
    background: #FFFFFF;
    color: var(--bg-dark);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 32px;
    text-decoration: none;
    border: 1.5px solid #FFFFFF;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.btn-primary-light:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #FFFFFF;
}

.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.btn-ghost-light:hover {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.4);
}

/* ---- ACCESSIBILITÉ ---- */

.skip-link {
    position: absolute;
    top: -100%;
    left: 8px;
    z-index: 9999;
    background: var(--text);
    color: #FFFFFF;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-body);
    text-decoration: none;
}

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

:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-primary-light:focus-visible,
.btn-ghost-light:focus-visible,
.nav-cta:focus-visible {
    outline-offset: 4px;
}


/* ====================
   NAVIGATION
   ==================== */

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.2s;
}

.nav-header.scrolled {
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-logo {
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo img {
    display: block;
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
    flex: 1;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

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

.nav-cta {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding: 8px 20px;
    border: 1.5px solid var(--text);
    transition: background 0.2s, color 0.2s;
}

.nav-cta:hover {
    background: var(--text);
    color: #FFFFFF;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: auto;
}

.nav-burger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: transform 0.25s, opacity 0.25s;
}

/* Mobile nav open state */
.nav-mobile-open .nav-burger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-mobile-open .nav-burger span:nth-child(2) {
    opacity: 0;
}
.nav-mobile-open .nav-burger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    gap: 0;
    z-index: 99;
}

.nav-mobile-menu.open {
    display: flex;
}

.nav-mobile-menu a {
    font-size: 15px;
    font-weight: 400;
    color: var(--text);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    letter-spacing: 0.02em;
}

.nav-mobile-menu a:last-child {
    border-bottom: none;
    margin-top: 8px;
    font-weight: 500;
    color: var(--text);
}


/* ====================
   HERO
   ==================== */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.12) 100%),
        url('../images/qontinuity-home-hero.webp');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(80px, 12vh, 128px) 48px clamp(40px, 6vh, 80px);
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: clamp(20px, 4vh, 48px);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.1s;
}

.badge-sep {
    color: var(--champagne);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 9.5vw, 108px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: clamp(16px, 3vh, 32px);
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.25s;
}

.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin-bottom: clamp(24px, 5vh, 56px);
    max-width: 520px;
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.4s;
}

.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    opacity: 0;
    animation: fadeUp 0.9s ease forwards 0.55s;
}

.hero-prompt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 340px;
    padding: 14px 16px 14px 20px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--champagne);
    border-radius: 10px;
    backdrop-filter: blur(12px);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.hero-prompt:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--gold);
}

.hero-prompt-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

.hero-prompt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: var(--champagne);
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    transition: background 0.2s;
}

.hero-prompt:hover .hero-prompt-icon {
    background: var(--gold);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 48px;
    left: 48px;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}


/* ====================
   SCROLL REVEAL
   ==================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal="fade"] {
    transform: translateY(0);
    transition: opacity 0.9s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ====================
   LE CONSTAT
   ==================== */


.constat {
    background:
        linear-gradient(rgba(13,13,13,0.28) 0%, rgba(13,13,13,0.48) 100%),
        url('../images/qontinuity-pme-tpe-ville.webp');
    background-size: cover;
    background-position: center;
    padding: 112px 0;
}

/* --- Constat — adaptations textes sur fond sombre --- */

.constat .section-label {
    color: var(--champagne);
    border-color: rgba(201, 165, 54, 0.35);
}

.constat .constat-opening-text {
    color: rgba(255, 255, 255, 0.88);
}

.constat .stats-bar {
    background: rgba(0, 0, 0, 0.15);
}

.constat .stat-item {
    background: rgba(0, 0, 0, 0.2);
}

.constat .stat-number {
    color: var(--champagne);
}

.constat .stat-sup {
    color: var(--gold);
}

.constat .stat-unit {
    color: var(--gold);
}

.constat .stat-desc {
    color: rgba(255, 255, 255, 0.55);
}

.constat .faq {
    border-top-color: rgba(255, 255, 255, 0.12);
}

.constat .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.constat .faq-question {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.25);
}

.constat .faq-question:hover,
.constat details[open] > .faq-question {
    background: var(--gold);
    color: #ffffff;
}

.constat .faq-answer {
    background: rgba(0, 0, 0, 0.2);
}

.constat .faq-point strong {
    color: #ffffff;
}

.constat .faq-point p {
    color: rgba(255, 255, 255, 0.65);
}

.constat .faq-sources a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration-color: rgba(255, 255, 255, 0.15);
}

.constat .faq-sources a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Ouverture */
.constat-opening {
    margin-bottom: 72px;
}

.constat-opening-text {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 300;
    color: var(--text);
    line-height: 1.65;
    max-width: 900px;
    margin-top: 20px;
}

/* Stats bar — 3 chiffres */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(0, 0, 0, 0.08);
    gap: 2px;
    margin-bottom: 56px;
}

.stat-item {
    background: var(--bg-warm);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(56px, 7vw, 88px);
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-sup {
    font-size: 0.45em;
    vertical-align: super;
    letter-spacing: 0;
    color: var(--champagne);
}

.stat-unit {
    font-size: 0.3em;
    vertical-align: baseline;
    letter-spacing: 0.06em;
    color: var(--champagne);
}

.stat-desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    line-height: 1.55;
    text-transform: uppercase;
    max-width: 180px;
}

/* FAQ Accordéon */
.faq {
    margin-top: 56px;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s;
}

.faq-question:hover,
details[open] > .faq-question {
    background: var(--gold);
    color: #ffffff;
}

.faq-icon {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
}

.faq-icon::before {
    content: '+';
}

details[open] .faq-icon::before,
details.is-closing .faq-icon::before {
    content: '−';
}

/* Wrapper d'animation pour l'accordéon */
.faq-body {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.4s ease;
}

details[open] .faq-body {
    grid-template-rows: 1fr;
}

details.is-closing .faq-body {
    grid-template-rows: 0fr;
}

.faq-answer {
    min-height: 0;
    padding: 24px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 48px;
    opacity: 0;
    transition: opacity 0.28s ease;
}

details[open]:not(.is-closing) .faq-answer {
    opacity: 1;
}

.faq-point strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.faq-point p {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-sources {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-top: 10px;
}

.faq-sources li::before {
    content: '↗ ';
    color: var(--champagne);
    font-size: 10px;
}

.faq-sources a {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.faq-sources a:hover {
    color: var(--text);
}

/* Transition */
.constat-transition {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 300;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* 4 freins */
.barriers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: rgba(0, 0, 0, 0.08);
}

.barrier {
    background: var(--bg-warm);
    padding: 40px 36px 44px;
    transition: background 0.25s, opacity 0.75s ease, transform 0.75s ease;
}

.barrier:hover {
    background: #FDF9F3;
}

.barrier-num {
    font-size: 13px;
    font-weight: 400;
    color: var(--champagne);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 14px;
}

.barrier-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 400;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
}

.barrier p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.85;
}

/* Insight pullquote */
.constat-insight {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.2vw, 46px);
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
    padding: 72px 48px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 0;
}

/* Closing — 2 colonnes */
.constat-closing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 64px;
}

.constat-closing-col p {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.constat-closing-col p:last-child {
    margin-bottom: 0;
}

.constat-closing-mission {
    border-left: 1px solid var(--border);
    padding-left: 64px;
}

.constat-closing-mission p:last-child {
    font-style: italic;
    color: var(--text);
    font-size: 17px;
}


/* ====================
   QUI ON EST
   ==================== */

.about {
    padding: 120px 0;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 96px;
    align-items: start;
}

.about-main .section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 600;
    line-height: 1.08;
    margin-bottom: 36px;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.about-text {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    padding-top: 52px;
}

.credential {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.credential:first-child {
    border-top: 1px solid var(--border);
}

.credential-icon {
    font-size: 7px;
    color: var(--champagne);
    margin-top: 7px;
    flex-shrink: 0;
}

.credential-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.credential strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.credential span {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
}

.credential-highlight .credential-content strong {
    color: var(--text);
}

/* Qui on est — dark section overrides */
.about .section-label {
    color: var(--champagne);
}

.about .credential {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.about .credential:first-child {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.about .credential strong {
    color: #FFFFFF;
}

.about .credential span {
    color: rgba(255, 255, 255, 0.45);
}

.about .credential-highlight .credential-content strong {
    color: var(--champagne);
}


/* ====================
   3 PILIERS
   ==================== */

.pillars {
    background:
        linear-gradient(rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.3) 100%),
        url('../images/qontinuity-horizon-offres.webp');
    background-size: cover;
    background-position: center 40%;
    padding: 112px 0;
}

.pillars-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 600;
    color: #FFFFFF;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
    line-height: 1.25;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.pillar {
    background: transparent;
    padding: 48px 40px 44px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.pillar:last-child {
    border-right: none;
}

.pillar-title {
    font-size: 28px;
    font-weight: 400;
    color: var(--champagne);
    margin-bottom: 16px;
}

.pillar-outcome {
    font-size: 15px;
    font-weight: 600;
    font-style: italic;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.85;
    margin-bottom: 32px;
}

.pillar-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.2s, color 0.2s;
}

.pillar-link:hover {
    color: var(--champagne);
    border-color: var(--champagne);
}


/* ====================
   TÉMOIGNAGES
   ==================== */

.testimonials {
    background: var(--bg);
    padding: 120px 0;
}

.testimonials > .container > .section-label {
    display: block;
    margin-bottom: 56px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 72px;
}

.testimonial {
    padding: 40px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-quote {
    font-size: 19px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 28px;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 52px;
    font-family: var(--font-display);
    color: var(--champagne);
    line-height: 0;
    vertical-align: -18px;
    margin-right: 2px;
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.testimonial-author span {
    font-size: 12px;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.clients-types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.clients-types .sep {
    color: var(--champagne);
    opacity: 0.6;
}


/* ====================
   LA FACTORIA
   ==================== */

.factoria {
    background: var(--bg);
    padding: 36px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.factoria-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}

.factoria-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.5;
}

.factoria-text strong {
    font-weight: 600;
    color: var(--text);
}

.factoria-link {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s, color 0.2s;
}

.factoria-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}


/* ====================
   CTA FINAL
   ==================== */

.cta-final {
    background: var(--bg-dark);
    padding: 128px 0;
}

.cta-inner {
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 76px);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.0;
}

.cta-subtitle {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 52px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}


/* ====================
   FOOTER
   ==================== */

.footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
    min-width: 200px;
}

.footer-left img {
    display: block;
    height: 26px;
    width: auto;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 11px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-legal {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 10px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.28);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

.qualiopi-badge {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--champagne);
    border: 1px solid rgba(201, 165, 54, 0.35);
    padding: 3px 10px;
}


/* ====================
   RESPONSIVE
   ==================== */

@media (max-width: 1024px) {
    .about-grid {
        gap: 56px;
    }
}

@media (max-width: 768px) {
    .container,
    .container-narrow {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-burger {
        display: flex;
    }

    .hero-content {
        padding: clamp(64px, 10vh, 100px) 24px clamp(32px, 5vh, 64px);
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-prompt {
        width: 100%;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .stats-bar {
        grid-template-columns: 1fr;
    }

    .faq-answer {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .constat-insight {
        padding: 48px 16px;
    }

    .constat-closing {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .constat-closing-mission {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border);
        padding-top: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-credentials {
        padding-top: 0;
    }

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

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .factoria-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .clients-types {
        gap: 8px 12px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        flex-wrap: wrap;
        gap: 6px 12px;
    }

    .problem-text {
        text-align: left;
    }
}


/* ====================
   PREFERS REDUCED MOTION
   ==================== */

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

    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}
