/* =========================================
   ARCA MAJORA 3 - Brand Font
   ========================================= */
@font-face {
    font-family: 'Arca Majora 3';
    src: url('assets/fonts/ArcaMajora3-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arca Majora 3';
    src: url('assets/fonts/ArcaMajora3-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   PROJECTALPHA - ARCHI REFERENCE STYLE
   ========================================= */

:root {
    /* Color Palette - Nodal Reno Brand Charter */
    --color-bg: #FFFFFF;
    --color-bg-dark: #222D55;
    /* Marine profond */
    --color-text-dark: #222D55;
    /* Navy pour les textes principaux */
    --color-text-light: #64748B;
    --color-text-inverse: #FFFFFF;
    --color-grey-bg: #F8FAFC;
    --color-border: #E2E8F0;

    /* Brand Colors */
    --color-orange: #E0710E;
    /* Orange vif - accent principal */
    --color-navy: #222D55;
    /* Marine profond - fond sombre */
    --color-blue: #0D509D;
    /* Bleu institutionnel */
    --color-cyan: #20B6EB;
    /* Bleu clair - éléments secondaires */

    /* Buttons/Accents */
    --color-accent-blue: #0D509D;
    /* Bleu institutionnel */
    --color-accent-blue-light: #EBF5FF;
    /* Fond clair pour cartes */
    --color-accent-blue-medium: #C3DCF5;
    /* Bordures bleues */
    --color-accent-dark: #222D55;
    /* Navy pour boutons sombres */
    --color-accent-hover: #0D509D;
    /* Bleu au hover */
    --color-accent-orange: #E0710E;
    /* Orange pour CTAs */
    --color-accent-orange-hover: #C55E0B;
    /* Orange foncé hover */

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Arca Majora 3', 'Bebas Neue', sans-serif;
    /* Arca Majora 3 brand font */

    /* Metrics & Spacing */
    --border-radius-pill: 50px;
    --border-radius-card: 24px;
    --border-radius-img: 32px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --max-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #222D55;
    /* The outer body color if wrapper is smaller */
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Site Wrapper (simulates a page within a window like the reference) */
.site-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: var(--color-bg);
    padding: 2rem 3rem;
    min-height: 100vh;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
}

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

ul {
    list-style: none;
}

/* Utilities */
.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons & Tags */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-pill {
    border-radius: var(--border-radius-pill);
}

.btn-dark {
    background-color: var(--color-navy);
    color: #FFF;
}

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


.btn-orange {
    background-color: var(--color-orange);
    color: #FFF;
    border-radius: var(--border-radius-pill);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    background-color: var(--color-grey-bg);
    border-color: var(--color-text-dark);
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-pill);
    border: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-light);
    white-space: nowrap;
}

.tag-grey {
    background-color: var(--color-grey-bg);
    border: none;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 3rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-center-pill {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    padding: 0.4rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    padding: 0.5rem 1.2rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--color-accent-dark);
    color: #FFF;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Hero Section */
.hero-section {
    padding: 1rem 0 4rem;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    gap: 2rem;
}

.hero-title-col {
    flex: 1;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    font-weight: 400;
    /* Thin, elegant look from reference */
    margin-bottom: 2rem;
}

.hero-cta {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.hero-desc-col {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-desc {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-image-container {
    width: 100%;
    height: 600px;
    /* Adjust height based on preference */
}

.full-rounded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-img);
}

/* Intro Section */
.intro-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.intro-left {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.intro-left h2 {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 400;
}

.intro-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 400px;
    margin-left: auto;
    /* Push to right */
}

.intro-right p {
    color: var(--color-text-light);
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--color-border);
}

.services-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4rem;
}

.services-title {
    font-size: 2rem;
    font-weight: 400;
    max-width: 50%;
    text-align: right;
}

.services-content {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.services-accordion {
    flex: 1;
}

.accordion-item {
    border-top: 1px solid var(--color-border);
    padding: 1.5rem 0;
    cursor: pointer;
}

.accordion-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-num {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.accordion-item h3 {
    font-size: 1.5rem;
    font-weight: 400;
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-light);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-item.active .accordion-body {
    max-height: 500px;
    padding-top: 1.5rem;
}

.accordion-body p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    /* Align with text, not number */
}

.accordion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 2.5rem;
}

.services-media {
    flex: 1;
    max-width: 500px;
}

.rounded-media {
    border-radius: var(--border-radius-card);
    overflow: hidden;
}

/* Before/After Customization */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    cursor: ew-resize;
}

.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-wrapper.after {
    width: 50%;
    /* Default */
    border-right: 2px solid white;
}

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

.glass-label {
    position: absolute;
    top: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    color: var(--color-text-dark);
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
}

.before .glass-label {
    right: 20px;
}

.after .glass-label {
    left: 20px;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 10;
}

/* Projects Grid Section */
.projects-section {
    padding: 6rem 0;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.projects-header h2 {
    font-size: 2.5rem;
    font-weight: 400;
    max-width: 45%;
}

.projects-header p {
    max-width: 300px;
    color: var(--color-text-light);
    font-size: 0.95rem;
    text-align: right;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.project-card {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius-card);
    overflow: hidden;
    background: var(--color-text-dark);
}

.project-card.form-teaser-card {
    background: var(--color-grey-bg);
    display: flex;
    align-items: center;
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--color-border);
}

.teaser-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.teaser-content p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

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

.project-link-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-text-dark);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.project-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Bottom CTA */
.bottom-cta-section {
    padding: 6rem 0 2rem;
    text-align: center;
}

.bottom-cta-text {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 400;
    max-width: 1000px;
    margin: 0 auto 4rem;
    line-height: 1.3;
}

.text-light {
    color: var(--color-text-light);
}

.bottom-image-container {
    height: 400px;
    width: 100%;
}

/* Modal Form Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius-card);
    width: 90%;
    max-width: 600px;
    padding: 3rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: var(--color-text-light);
}

.modal-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
}

.clean-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-grey-bg);
}

.clean-input:focus {
    outline: none;
    border-color: var(--color-text-dark);
}

/* Reuse step logic visually from before, but adapted */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInStep 0.4s ease;
}

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

.options-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.card-content {
    display: block;
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-pill);
    background: var(--color-grey-bg);
    transition: all 0.2s;
    font-size: 0.95rem;
    font-weight: 500;
}

.radio-card.row .card-content {
    text-align: left;
    padding: 1.2rem 1.5rem;
}

.radio-card input:checked~.card-content {
    background: var(--color-accent-dark);
    color: white;
    border-color: var(--color-accent-dark);
}

.form-actions {
    display: flex;
    margin-top: 2rem;
}

.space-between {
    justify-content: space-between;
}

.form-progress {
    height: 4px;
    background: var(--color-grey-bg);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    background: var(--color-accent-dark);
    width: 25%;
    transition: width 0.3s;
}

.form-success {
    text-align: center;
}

.form-success.hidden {
    display: none;
}

.success-icon {
    width: 50px;
    height: 50px;
    background: var(--color-accent-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-top {
        flex-direction: column;
    }

    .hero-desc-col {
        max-width: 100%;
    }

    .intro-section,
    .services-header,
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .intro-left,
    .intro-right,
    .services-title,
    .projects-header h2,
    .projects-header p {
        max-width: 100%;
        text-align: left;
    }

    .intro-right {
        margin-left: 0;
    }

    .services-content {
        flex-direction: column-reverse;
    }

    .services-media {
        max-width: 100%;
        width: 100%;
    }

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

@media (max-width: 768px) {
    .site-wrapper {
        padding: 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .hero-image-container,
    .before-after-slider,
    .project-card,
    .bottom-image-container {
        height: 400px;
    }
}

/* ==========================================================================
   BLOG / SEO PAGE STYLES
   ========================================================================== */

.blog-header {
    margin-top: calc(var(--nav-height) + 40px);
    padding: 60px 40px;
}

.blog-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-section {
    padding: 0 40px 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.article-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: var(--border-radius-card);
    margin: 12px;
}

.article-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-content {
    padding: 24px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-date {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
    display: block;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text-dark);
    text-decoration: none;
    margin-bottom: 16px;
    display: block;
    transition: color 0.2s ease;
}

.article-title:hover {
    color: #64748B;
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: gap 0.2s ease;
    margin-top: auto;
}

.btn-read-more:hover {
    gap: 12px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    background-color: #222D55;
    color: #ffffff;
    padding: 5rem 2rem 2rem;
    margin-top: 6rem;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: #a1a1aa;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-nav {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.footer-col a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    color: #71717a;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: #a1a1aa;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* Utilities used in about.html */
.grid {
    display: grid;
}

.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-12 {
    gap: 3rem;
}

.items-center {
    align-items: center;
}

.space-y-8> :not([hidden])~ :not([hidden]) {
    margin-top: 2rem;
}

.w-full {
    width: 100%;
}

.h-auto {
    height: auto;
}

.object-cover {
    object-fit: cover;
}

.text-4xl {
    font-size: 2.25rem;
}

.md\:text-5xl {
    font-size: 3rem;
}

.text-slate-500 {
    color: #64748b;
}

.text-slate-600 {
    color: #475569;
}

.text-slate-900 {
    color: #0f172a;
}

.text-orange-600 {
    color: #ea580c;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.p-8 {
    padding: 2rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.bg-white {
    background-color: #ffffff;
}

.shadow-\[0_8px_30px_rgb\(0\,0\,0\,0\.04\)\] {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.border {
    border-width: 1px;
}

.border-slate-100 {
    border-color: #f1f5f9;
}

.transition-transform {
    transition-property: transform;
}

.duration-300 {
    transition-duration: 300ms;
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-6xl {
    max-width: 72rem;
}

@media (max-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .md\:text-5xl {
        font-size: 2.25rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 2rem;
    }

    .site-footer {
        padding: 4rem 1.5rem 2rem;
        margin-top: 4rem;
    }
}


/* Social Media / Twitter Style Bios */
.about-feed {
    max-width: 700px;
    margin: 4rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.tweet-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: background-color 0.2s;
    cursor: default;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.tweet-card:hover {
    background-color: #f7f9fa;
}

.tweet-header {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.tweet-avatar-wrapper {
    flex-shrink: 0;
}

.tweet-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #f1f5f9;
}

.tweet-author-info {
    display: flex;
    flex-direction: column;
}

.tweet-author-name {
    font-weight: 700;
    color: #0f1419;
    font-size: 1rem;
}

.tweet-author-handle {
    color: #536471;
    font-size: 0.95rem;
}

.tweet-content {
    font-size: 1.15rem;
    line-height: 1.4;
    color: #0f1419;
    margin-top: 0.25rem;
    word-wrap: break-word;
}

.tweet-content strong {
    color: #1d9bf0;
    font-weight: 400;
}

.tweet-footer {
    display: flex;
    justify-content: space-between;
    max-width: 425px;
    margin-top: 1rem;
    color: #536471;
}

.tweet-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.tweet-action:hover {
    color: #1d9bf0;
}

.tweet-action.like:hover {
    color: #f91880;
}

.tweet-action.retweet:hover {
    color: #00ba7c;
}

@media (max-width: 640px) {
    .tweet-content {
        font-size: 1rem;
    }
}

/* Marquee Styles */
.marquee-container {
    background: #f8fafc;
    padding: 3rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.marquee-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 2rem;
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    gap: 4rem;
    align-items: center;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #475569;
    font-weight: 500;
    font-size: 1.1rem;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s;
}

.marquee-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.marquee-item svg {
    width: 28px;
    height: 28px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Home Page Team Section adjustment */
.home-team-section {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.home-team-grid {
    display: flex;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.home-team-grid .tweet-card {
    flex: 1;
}

@media (max-width: 992px) {
    .home-team-grid {
        flex-direction: column;
        max-width: 700px;
    }
}

/* SEO Utilities */
.text-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.portfolio-card {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-warm {
    background: linear-gradient(135deg, #e2d1c3 0%, #fdfcfb 100%);
}

.bg-tech {
    background: linear-gradient(135deg, #cfd9df 0%, #e2ebf0 100%);
}

.bg-clean {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.bg-luxury {
    background: linear-gradient(135deg, #accbee 0%, #e7f0fd 100%);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0) 60%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.9;
    transition: opacity 0.4s ease, background 0.4s ease;
}

.portfolio-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 1rem;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.portfolio-card-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.4s ease 0.05s;
}

.portfolio-card-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 90%;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

/* Hover Effects */
.portfolio-card:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.2) 100%);
}

.portfolio-card:hover .portfolio-tag,
.portfolio-card:hover .portfolio-card-title {
    transform: translateY(0);
}

.portfolio-card:hover .portfolio-card-desc {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-card {
        aspect-ratio: 1/1;
    }
}

/* --- Misc Utilities --- */
.section-padding {
    padding: 8rem 0;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --- Portfolio Illustration Animations --- */
.portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portfolio-illu {
    width: 60%;
    height: 60%;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.portfolio-card:hover .portfolio-illu {
    transform: scale(1.15) translateY(-10px) rotate(-2deg);
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Floating animation for subtle life */
@keyframes float {
    0% {
        transform: translateY(0);
    }

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

    100% {
        transform: translateY(0);
    }
}

.portfolio-card:nth-child(odd) .portfolio-illu {
    animation: float 6s ease-in-out infinite;
}

.portfolio-card:nth-child(even) .portfolio-illu {
    animation: float 8s ease-in-out infinite reverse;
}

/* --- Parallax Effect --- */
.parallax-container {
    overflow: hidden;
    position: relative;
}

.parallax-img {
    width: 100%;
    height: 120% !important;
    /* Extra height for movement */
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* =========================================
   PROJECTALPHA V2 UI REVAMP (Phase 26)
   ========================================= */

/* Hero Revamp */
.hero-revamp {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
    padding: 10rem 4rem 10rem 4rem;
    border-radius: var(--border-radius-card);
    margin-bottom: 4rem;
    text-align: left;
    display: flex;
    align-items: center;
}

.hero-revamp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(34, 45, 85, 0.95) 0%, rgba(34, 45, 85, 0.8) 35%, rgba(34, 45, 85, 0.4) 100%), url('assets/images/hero_interior_bg_1773071523393.png') center/cover;
    z-index: 0;
    filter: grayscale(30%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: var(--color-text-inverse);
    margin-bottom: 1rem;
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero-title-main {
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-accent-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.hero-baseline {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 3.5rem;
    line-height: 1.6;
}

.hero-baseline .divider {
    color: var(--color-accent-blue);
    margin: 0 0.5rem;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    display: inline-block;
    border-radius: var(--border-radius-pill);
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--color-bg-dark);
}

/* Vision Section */
.vision-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 1rem;
}

.vision-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.vision-body {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.vision-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-blue);
}

/* Base Sections & Utilities */
.bg-light-blue {
    background-color: var(--color-grey-bg);
}

/* Expertise Grid */
.expertise-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

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

.expertise-card {
    background-color: var(--color-accent-blue-light);
    border: 1px solid var(--color-accent-blue-medium);
    border-radius: var(--border-radius-card);
    padding: 3rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 80, 157, 0.1);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    background-color: var(--color-accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.expertise-mission {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.expertise-objectif {
    color: var(--color-text-light);
}

.expertise-objectif strong {
    color: var(--color-text-dark);
}

/* Method Section */
.method-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: left;
}

.method-step {
    position: relative;
    padding-top: 1rem;
}

.method-num {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-border);
    opacity: 0.6;
    font-weight: 800;
    line-height: 1;
    position: absolute;
    top: -2rem;
    left: 0;
    z-index: 0;
}

.method-content-box {
    position: relative;
    z-index: 1;
    padding-top: 2.5rem;
}

.method-content-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-blue);
    margin-bottom: 1rem;
}

/* Packs Section */
.packs-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.packs-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pack-card {
    background: white;
    border: 2px solid var(--color-accent-blue-medium);
    border-radius: var(--border-radius-card);
    padding: 3rem 2rem 2rem;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pack-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent-blue);
}

.pack-icon {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: var(--color-accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid var(--color-bg);
}

.pack-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.pack-target {
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.pack-desc {
    color: var(--color-text-dark);
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.6;
}

/* Why Section */
.why-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.why-icon {
    color: var(--color-accent-blue);
    flex-shrink: 0;
    background: var(--color-accent-blue-light);
    padding: 1rem;
    border-radius: 12px;
}

.why-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Bottom CTA */
.cta-section.bg-dark {
    background-color: var(--color-bg-dark);
    color: white;
    padding: 6rem 2rem;
}

.cta-section.bg-dark .cta-punchline {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    color: white;
}

/* Responsive Overrides */
@media (max-width: 1024px) {

    .expertise-grid,
    .packs-grid,
    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title-main {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .expertise-grid,
    .packs-grid,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .method-step {
        text-align: left;
    }

    .method-num {
        top: -1rem;
        left: 0;
    }
}
/* Step 1 back button */
.step1-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: none;
    color: #64748b;
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    transition: color .2s;
}
.step1-back:hover { color: #1e293b; }

/* "Continuer" button for autre-commerce */
.next-step-sub {
    display: inline-block;
    background: #1e293b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .6rem 1.4rem;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.next-step-sub:hover { background: #334155; }

/* ================================================
   MOBILE UX — ui-ux-pro-max audit
   ================================================ */

/* 1. Touch-action : supprime le délai 300ms sur tous les éléments interactifs */
.btn, .btn-white, .btn-orange, .btn-dark, .btn-outline, .btn-pill,
.btn-outline-light, .radio-card, .nav-hamburger, .scroll-top,
button, a, label[for], .close-modal {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 2. Scroll-padding pour les ancres avec navbar fixe */
html {
    scroll-padding-top: 72px;
}

/* 3. Modal : scrollable sur mobile + safe-area iPhone */
.modal-content {
    max-height: 92dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 4. Radio cards : touch target minimum 44px */
.radio-card.row .card-content {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* ─── 768px : Smartphone ─── */
@media (max-width: 768px) {

    /* Wrapper : réduire les marges globales */
    .site-wrapper {
        padding: 1.25rem;
    }

    /* Navbar */
    .navbar {
        padding: 0.75rem 0 1.25rem;
    }

    /* Hero : padding écrasé, typo adaptée */
    .hero-revamp {
        padding: 3.5rem 1.5rem !important;
        border-radius: 16px;
        margin-bottom: 1.5rem;
        align-items: flex-start;
    }

    .hero-title-main {
        font-size: 2.7rem !important;
        letter-spacing: -1px !important;
        line-height: 1.08 !important;
    }

    .hero-subtitle {
        font-size: 0.78rem !important;
        letter-spacing: 2.5px !important;
        margin-bottom: 1.25rem !important;
    }

    .hero-baseline {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    /* Hero CTA buttons : empilés sur mobile */
    .hero-content > div[style*="display:flex"] {
        flex-direction: column !important;
        gap: 0.75rem !important;
        align-items: flex-start !important;
    }

    .hero-content .btn,
    .hero-content a.btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* Modal : padding réduit, scrollable */
    .modal-content {
        padding: 1.5rem !important;
        width: 96% !important;
        border-radius: 16px;
    }

    .modal-title {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }

    .card-content {
        font-size: 0.88rem;
    }

    /* Form actions : boutons pleine largeur sur mobile */
    .form-actions {
        gap: 0.75rem;
    }

    .form-actions.space-between {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .form-actions .btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        text-align: center;
        min-height: 44px;
    }

    /* Method section */
    .section-padding {
        padding: 4rem 0 !important;
    }

    .method-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }

    .method-num {
        font-size: 3.5rem;
    }

    /* Footer bottom : centré sur mobile */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    /* Safe area inset iPhone X / Dynamic Island */
    .mobile-menu {
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    .scroll-top {
        bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
}

/* ─── 480px : Petits smartphones (SE, etc.) ─── */
@media (max-width: 480px) {

    .site-wrapper {
        padding: 1rem;
    }

    .hero-revamp {
        padding: 3rem 1.25rem !important;
        border-radius: 12px;
    }

    .hero-title-main {
        font-size: 2.2rem !important;
        letter-spacing: -0.5px !important;
    }

    .hero-subtitle {
        font-size: 0.7rem !important;
        letter-spacing: 2px !important;
    }

    .modal-content {
        width: 98% !important;
        padding: 1.25rem !important;
        border-radius: 12px;
    }
}
