/* =========================================================
   ACCUEIL - SYDRA ONE
========================================================= */

:root {
    --home-white: #ffffff;
    --home-bg: #0f172a;
    --home-bg-soft: #13264d;
    --home-blue: #3b82f6;
    --home-cyan: #22d3ee;
    --home-cyan-light: #67e8f9;
    --home-text: #ffffff;
    --home-text-soft: #cbd5e1;
    --home-text-muted: #94a3b8;
    --home-dark-text: #0f172a;
    --home-dark-soft: #475569;
    --home-surface: rgba(255, 255, 255, 0.04);
    --home-border: rgba(34, 211, 238, 0.18);
    --home-shadow: 0 24px 60px rgba(2, 8, 23, 0.25);
    --home-radius: 22px;
    --home-transition: 0.3s ease;
}

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

/* =========================================================
   OUTILS GÉNÉRAUX
========================================================= */

.home-section {
    padding: 6rem 0;
}

.home-section-header {
    max-width: 820px;
    margin-bottom: 3.5rem;
}

.home-section-header.centered {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.home-section-header h2,
.portfolio-preview-content h2,
.home-cta h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.home-section-header.centered h2 {
    text-align: center;
}

.home-section-header p,
.portfolio-preview-content p,
.home-cta p {
    color: var(--home-text-muted);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.8;
}

.section-label,
.eyebrow,
.pill {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--home-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16rem;
}


/* =========================================================
   HERO COURT — SYDRA ONE
========================================================= */

.hero-short {
    position: relative;
    min-height: 500px;
    padding: 4.5rem 0;
    overflow: hidden;
    text-align: left;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(34, 211, 238, 0.15),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            var(--home-bg) 0%,
            #143264 65%,
            var(--home-blue) 150%
        );
}

.hero-short::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.13);
    filter: blur(90px);
    pointer-events: none;
}

.hero-short-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: 4rem;
    align-items: center;
}

.hero-short-content {
    max-width: 760px;
}

.hero-short-badge {
    display: inline-flex;
    margin-bottom: 1.1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 999px;
    color: var(--home-cyan);
    background: rgba(34, 211, 238, 0.08);
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11rem;
}

.hero-short-content h1 {
    max-width: 760px;
    margin-bottom: 1.2rem;
    font-size: clamp(2.5rem, 4.8vw, 4.4rem);
    line-height: 1.06;
    letter-spacing: -0.055em;
}

.hero-short-content h1 span {
    display: block;
    color: var(--home-cyan);
}

.hero-short-content p {
    max-width: 680px;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.75;
}

.hero-short-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.hero-short-primary {
    color: var(--home-bg);
    background: linear-gradient(
        135deg,
        var(--home-cyan),
        var(--home-blue)
    );
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.22);
}

.hero-short-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(34, 211, 238, 0.34);
}

.hero-short-secondary {
    color: var(--home-text);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.hero-short-secondary:hover {
    transform: translateY(-3px);
    color: var(--home-cyan);
    border-color: var(--home-cyan);
    background: rgba(34, 211, 238, 0.06);
}

.hero-short-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-short-benefits span {
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(7, 22, 45, 0.42);
    font-size: 0.8rem;
    font-weight: 500;
}

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

.hero-short-visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-card {
    border: 1px solid rgba(34, 211, 238, 0.2);
    background:
        linear-gradient(
            150deg,
            rgba(7, 22, 45, 0.95),
            rgba(15, 43, 85, 0.94)
        );
    box-shadow:
        0 28px 60px rgba(2, 8, 20, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.hero-visual-main {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    padding: 2rem;
    border-radius: 24px;
    transform: rotate(-2deg);
}

.visual-label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--home-cyan);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
}

.hero-visual-main h2 {
    max-width: 420px;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 1.65rem;
    line-height: 1.4;
}

.visual-description {
    margin: 1.8rem 0 2rem;
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 420px;
}

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

.visual-tags span {
    padding:0.55rem 0.9rem;
    border-radius:999px;
    border:1px solid rgba(34,211,238,.18);
    background:rgba(34,211,238,.05);
    color:var(--home-cyan);
    font-size:.82rem;
    font-weight:600;
    transition:.3s;
}

.visual-tags span:hover {
    transform:translateY(-2px);
    border-color:var(--home-cyan);
    background:rgba(34,211,238,.12);
    box-shadow:0 0 15px rgba(34,211,238,.2);
}


.hero-visual-small {
    position: absolute;
    z-index: 3;
    min-width: 150px;
    padding: 1rem 1.1rem;
    border-radius: 16px;
}

.hero-visual-small span,
.hero-visual-small strong {
    display: block;
}

.hero-visual-small span {
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.7rem;
}

.hero-visual-small strong {
    color: var(--home-cyan);
    font-size: 0.88rem;
    line-height: 1.4;
}

.hero-visual-top {
    top: 12px;
    right: 0;
}

.hero-visual-bottom {
    bottom: 12px;
    left: 0;
}

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

@media (max-width: 1000px) {
    .hero-short {
        min-height: auto;
    }

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

    .hero-short-visual {
        min-height: 300px;
    }

    .hero-visual-main {
        transform: none;
    }
}

@media (max-width: 700px) {
    .hero-short {
        padding: 3.8rem 0 3.2rem;
    }

    .hero-short-content h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .hero-short-actions {
        flex-direction: column;
    }

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

    .hero-short-benefits {
        gap: 0.5rem;
    }

    .hero-short-benefits span {
        width: 100%;
        text-align: center;
    }

    .hero-short-visual {
        min-height: auto;
        padding-top: 1rem;
    }

    .hero-visual-main {
        padding: 1.5rem;
    }

    .hero-visual-small {
        display: none;
    }
}




/* =========================================================
   MISSION
========================================================= */

.mission-section {
    color: var(--home-dark-text);
    background: var(--home-white);
}

.mission-section .section-label {
    color: var(--home-blue);
}

.mission-section .home-section-header p {
    color: var(--home-dark-soft);
}

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

.mission-content p {
    margin-bottom: 1.4rem;
    color: var(--home-dark-soft);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.9;
}

.mission-values {
    display: grid;
    gap: 1rem;
}

.mission-value {
    display: flex;
    gap: 1.2rem;
    padding: 1.4rem;
    border: 1px solid rgba(59, 130, 246, 0.14);
    border-radius: 16px;
    background: #f8fafc;
    transition: var(--home-transition);
}

.mission-value:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.mission-value > span {
    color: var(--home-blue);
    font-weight: 700;
}

.mission-value h3 {
    margin-bottom: 0.35rem;
}

.mission-value p {
    color: #64748b;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================================
   FORCES
========================================================= */

.features {
    padding: 6rem 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(59, 130, 246, 0.08), transparent 30%),
        #f8fafc;
}

.features-intro {
    max-width: 760px;
    margin: 0 auto;
    color: #64748b;
    font-weight: 400;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature {
    min-height: 270px;
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(34, 211, 238, 0.12);
    border-radius: var(--home-radius);
    background: var(--home-bg);
    transition: var(--home-transition);
}

.feature:hover {
    transform: translateY(-8px);
    border-color: var(--home-cyan);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.feature-number {
    display: block;
    margin-bottom: 2rem;
    color: var(--home-cyan);
    font-weight: 700;
}

.feature h3 {
    margin-bottom: 1rem;
    color: var(--home-cyan);
    font-size: 1.45rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 400;
    line-height: 1.8;
}

/* =========================================================
   SERVICES
========================================================= */

.home-services-section {
    color: var(--home-white);
    background: linear-gradient(180deg, #0b1b36, var(--home-bg));
}

.home-services-section .home-section-header p {
    color: var(--home-text-soft);
}

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

.home-service-card {
    display: flex;
    min-height: 350px;
    flex-direction: column;
    padding: 2rem;
    color: var(--home-white);
    text-decoration: none;
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: var(--home-radius);
    background: linear-gradient(155deg, rgba(9, 28, 58, 0.96), rgba(15, 41, 82, 0.96));
    transition: var(--home-transition);
    box-shadow: 0 14px 36px rgba(2, 8, 20, 0.18);
}

.home-service-card:hover {
    transform: translateY(-8px);
    border-color: var(--home-cyan);
    box-shadow: 0 22px 52px rgba(2, 8, 20, 0.32);
}

.home-service-number {
    margin-bottom: 2.5rem;
    color: var(--home-cyan);
    font-weight: 700;
}

.home-service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.home-service-card p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 400;
    line-height: 1.8;
}

.home-service-link {
    margin-top: auto;
    color: var(--home-cyan);
    font-weight: 600;
    transition: var(--home-transition);
}

.home-service-card:hover .home-service-link {
    transform: translateX(6px);
}

/* =========================================================
   MÉTHODE
========================================================= */

.process-section {
    color: var(--home-dark-text);
    background: var(--home-white);
}

.process-section .section-label {
    color: var(--home-blue);
}

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

.process-item {
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.13);
    border-radius: 16px;
    background: #f8fafc;
    transition: var(--home-transition);
}

.process-item:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.process-item > span {
    display: block;
    margin-bottom: 1.2rem;
    color: var(--home-blue);
    font-weight: 700;
}

.process-item h3 {
    margin-bottom: 0.8rem;
}

.process-item p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-preview-section {
    background: var(--home-bg);
}

.portfolio-preview-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    align-items: center;
}

.portfolio-preview-content p {
    margin-bottom: 2rem;
    color: var(--home-text-soft);
}

.portfolio-preview-card {
    padding: 2.5rem;
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    background: linear-gradient(150deg, rgba(8, 28, 58, 0.96), rgba(15, 41, 87, 0.95));
    box-shadow: var(--home-shadow);
}

.portfolio-preview-card h3 {
    margin: 1rem 0;
    font-size: 1.8rem;
    line-height: 1.4;
}

.portfolio-preview-card p {
    color: rgba(255, 255, 255, 0.68);
    font-weight: 400;
    line-height: 1.8;
}

.portfolio-preview-link {
    color: var(--home-cyan);
    text-decoration: none;
    font-weight: 600;
}

.portfolio-preview-link:hover {
    color: var(--home-cyan-light);
}


/* =========================================================
   INSIGHT CARD
========================================================= */

.insight-card {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--home-border);
    border-radius: 16px;
    background: rgba(34, 211, 238, 0.04);
}

.insight-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--home-cyan);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.insight-card h3 {
    margin-bottom: 0.5rem;
    color: var(--home-white);
    font-size: 1.1rem;
    line-height: 1.4;
}

.insight-card p {
    margin-bottom: 1rem;
    color: var(--home-text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
}

.insight-link {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin-top: 1rem;
    color: var(--home-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    /* Ajout du trait complet autour */
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 999px;
    transition: var(--home-transition);
}

.insight-link:hover {
    color: var(--home-cyan-light);
    border-color: var(--home-cyan);
    background: rgba(34, 211, 238, 0.08);
    transform: translateX(4px);
}
/* =========================================================
   CTA FINAL
========================================================= */

.home-cta {
    padding: 5rem 0;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(255, 255, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--home-blue),
            #19458d
        );
}

.home-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.home-cta-content > div {
    max-width: 740px;
}

.home-cta .section-label {
    color: #dffaff;
}

.home-cta h2 {
    margin-bottom: 1rem;
    color: var(--home-white);
}

.home-cta p {
    color: rgba(255, 255, 255, 0.8);
}

.home-cta-btn {
    flex-shrink: 0;
    color: var(--home-bg);
    background: var(--home-white);
}

.home-cta-btn:hover {
    color: var(--home-bg);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}


/* =========================================================
   SÉCURITÉ RESPONSIVE GLOBALE
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
}

.home-section,
.mission-section,
.features,
.home-services-section,
.process-section,
.portfolio-preview-section,
.home-cta {
    width: 100%;
    overflow: hidden;
}

.mission-grid,
.mission-values,
.features-grid,
.home-services-grid,
.process-grid,
.portfolio-preview-grid {
    width: 100%;
    min-width: 0;
}

.mission-content,
.mission-value,
.feature,
.home-service-card,
.process-item,
.portfolio-preview-content,
.portfolio-preview-card {
    min-width: 0;
    max-width: 100%;
}

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

@media (max-width: 1050px) {
    .hero-short-grid,
    .mission-grid,
    .portfolio-preview-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .home-cta-btn {
        width: auto;
    }

    .insight-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

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

@media (max-width: 700px) {
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-section,
    .mission-section,
    .features,
    .home-services-section,
    .process-section,
    .portfolio-preview-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .home-section-header {
        width: 100%;
        margin-bottom: 2.5rem;
    }

    .home-section-header h2,
    .portfolio-preview-content h2,
    .home-cta h2 {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
        overflow-wrap: break-word;
    }

    .mission-grid,
    .features-grid,
    .home-services-grid,
    .process-grid,
    .portfolio-preview-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
    }

    .mission-value,
    .feature,
    .home-service-card,
    .process-item,
    .portfolio-preview-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .feature,
    .home-service-card {
        min-height: auto;
    }

    .mission-value {
        padding: 1.2rem;
    }

    .feature,
    .home-service-card,
    .process-item {
        padding: 1.5rem;
    }

    .portfolio-preview-card {
        padding: 1.5rem;
    }

    .home-cta {
        padding: 4rem 0;
    }

    .home-cta-content {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

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

    .insight-card {
        width: 100%;
        padding: 1.25rem;
    }
}

/* =========================================================
   TRÈS PETITS ÉCRANS
========================================================= */

@media (max-width: 480px) {
    .container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .mission-value {
        flex-direction: column;
        gap: 0.8rem;
    }

    .feature,
    .home-service-card,
    .process-item,
    .portfolio-preview-card {
        border-radius: 16px;
    }
}