/* =========================================================
   AGENTIA STUDIO V2
   Style principal
   ========================================================= */

:root {
    --navy: #0b1730;
    --navy-light: #122548;
    --blue: #2457d6;
    --blue-light: #4d7df3;
    --orange: #f28c28;

    --white: #ffffff;
    --light: #f5f7fb;
    --grey: #667085;
    --dark: #172033;
    --border: #e5e9f2;

    --radius: 18px;
    --shadow: 0 18px 50px rgba(11, 23, 48, 0.10);

    --container: 1180px;
}


/* =========================================================
   RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

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

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

.container {
    width: min(100% - 40px, var(--container));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: baseline;
    gap: 7px;

    white-space: nowrap;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-agentia {
    color: var(--navy);
    font-size: 22px;
}

.logo-studio {
    color: var(--orange);
    font-size: 15px;
    letter-spacing: 1px;
}


/* NAVIGATION */

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

.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: #344054;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.main-nav a:hover {
    color: var(--blue);
    transform: translateY(-1px);
}


/* HEADER BUTTON */

.header-button {
    padding: 11px 18px;

    background: var(--navy);
    color: white;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

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


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

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(77, 125, 243, 0.15),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f8faff 0%,
            #ffffff 60%,
            #f3f7ff 100%
        );

    padding: 110px 0 120px;
}

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: 80px;

    border-radius: 50%;

    border: 1px solid rgba(36, 87, 214, 0.10);
}

.hero-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, 0.95fr);

    align-items: center;

    gap: 80px;
}


/* EYEBROW */

.eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    margin-bottom: 20px;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.eyebrow::before {
    content: "";

    width: 24px;
    height: 2px;

    background: var(--orange);
}


/* HERO TITLE */

.hero h1 {
    max-width: 720px;

    color: var(--navy);

    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.04;

    letter-spacing: -2.5px;

    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: var(--blue);
}


/* HERO TEXT */

.hero-description {
    max-width: 620px;

    margin-top: 28px;

    color: var(--grey);

    font-size: 18px;
    line-height: 1.75;
}


/* HERO BUTTONS */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;
}


/* BUTTONS */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 0 24px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: white;
    background: var(--blue);

    box-shadow:
        0 10px 25px rgba(36, 87, 214, 0.22);
}

.btn-primary:hover {
    background: #1d49b7;
}

.btn-secondary {
    color: var(--navy);

    background: white;

    border: 1px solid var(--border);
}

.btn-secondary:hover {
    box-shadow: var(--shadow);
}


/* =========================================================
   HERO AI CARD
   ========================================================= */

.hero-visual {
    display: flex;
    justify-content: center;
}

.ai-card {
    width: min(100%, 440px);

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #101f3d,
            #0a1429
        );

    box-shadow:
        0 35px 80px rgba(11, 23, 48, 0.28);

    color: white;

    transform: rotate(1.5deg);

    transition: transform 0.3s ease;
}

.ai-card:hover {
    transform: rotate(0deg) translateY(-5px);
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 20px 24px;

    border-bottom: 1px solid rgba(255,255,255,0.10);

    color: #d9e2f5;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.status-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #49d17d;

    box-shadow:
        0 0 15px rgba(73, 209, 125, 0.7);
}

.ai-card-content {
    min-height: 250px;

    padding: 38px 30px;
}

.ai-message {
    max-width: 330px;

    padding: 18px 20px;

    border-radius: 14px;

    background: rgba(255,255,255,0.08);

    color: #f5f8ff;

    font-size: 17px;
    line-height: 1.5;
}

.ai-line {
    width: 80%;

    height: 8px;

    margin-top: 28px;

    border-radius: 10px;

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

.ai-line.short {
    width: 52%;

    margin-top: 12px;
}

.ai-card-footer {
    padding: 17px 24px;

    border-top: 1px solid rgba(255,255,255,0.10);

    color: #91a4c7;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* =========================================================
   INTRO
   ========================================================= */

.intro {
    padding: 105px 0 75px;
}

.section-heading {
    max-width: 760px;
}

.section-heading h2 {
    color: var(--navy);

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;

    letter-spacing: -1.5px;

    font-weight: 800;
}

.section-heading h2 span {
    color: var(--blue);
}

.section-heading p {
    margin-top: 20px;

    color: var(--grey);

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   SOLUTIONS
   ========================================================= */

.solutions {
    padding: 80px 0 120px;

    background: var(--light);
}

.solutions-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-top: 55px;
}

.solution-card {
    min-height: 350px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.solution-card:hover {
    transform: translateY(-7px);

    border-color: rgba(36,87,214,0.25);

    box-shadow: var(--shadow);
}

.solution-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 14px;

    background: #edf3ff;

    color: var(--blue);

    font-size: 24px;
    font-weight: 700;
}

.solution-card h3 {
    color: var(--navy);

    font-size: 21px;
    line-height: 1.25;
}

.solution-card p {
    margin-top: 14px;

    color: var(--grey);

    font-size: 14px;
    line-height: 1.7;
}

.solution-card a {
    margin-top: auto;
    padding-top: 25px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   APPLICATIONS
   ========================================================= */

.applications {
    padding: 120px 0;

    background: var(--navy);

    color: white;
}

.applications-inner {
    display: grid;

    grid-template-columns:
        1fr
        0.9fr;

    gap: 100px;

    align-items: center;
}

.applications .eyebrow {
    color: #8eb0ff;
}

.applications-text h2 {
    max-width: 600px;

    color: white;

    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.1;

    letter-spacing: -1.5px;
}

.applications-text h2 span {
    color: #79a0ff;
}

.applications-text p {
    max-width: 590px;

    margin: 25px 0 35px;

    color: #b8c5dc;

    font-size: 16px;
    line-height: 1.8;
}

.applications-list {
    display: flex;
    flex-direction: column;

    gap: 14px;
}

.application-item {
    padding: 25px 28px;

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 15px;

    background: rgba(255,255,255,0.045);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.application-item:hover {
    background: rgba(255,255,255,0.08);

    transform: translateX(5px);
}

.application-item strong {
    display: block;

    color: white;

    font-size: 18px;
}

.application-item span {
    display: block;

    margin-top: 4px;

    color: #98a9c6;

    font-size: 13px;
}


/* =========================================================
   REALISATIONS
   ========================================================= */

.realisations {
    padding: 120px 0;
}

.project-card {
    position: relative;

    min-height: 320px;

    display: flex;
    align-items: flex-end;

    margin-top: 55px;

    padding: 45px;

    overflow: hidden;

    border-radius: 24px;

    background:
        linear-gradient(
            110deg,
            #eaf0ff,
            #f8f9fc
        );

    border: 1px solid var(--border);
}

.project-card::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: 50px;
    top: -90px;

    border-radius: 50%;

    border: 50px solid rgba(36,87,214,0.07);
}

.project-content {
    position: relative;
    z-index: 2;

    max-width: 600px;
}

.project-label {
    margin-bottom: 12px;

    color: var(--orange);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.project-content h3 {
    color: var(--navy);

    font-size: 38px;
}

.project-content p {
    margin: 12px 0 20px;

    color: var(--grey);

    font-size: 15px;
}

.project-content a {
    color: var(--blue);

    font-size: 14px;
    font-weight: 800;
}


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

.cta {
    padding: 115px 0;

    background:
        linear-gradient(
            135deg,
            #2457d6,
            #173b9a
        );

    color: white;

    text-align: center;
}

.cta-inner {
    max-width: 850px;
}

.cta .eyebrow {
    color: #d9e4ff;
}

.cta .eyebrow::before {
    background: var(--orange);
}

.cta h2 {
    font-size: clamp(35px, 4vw, 55px);
    line-height: 1.1;

    letter-spacing: -1.5px;
}

.cta h2 span {
    display: block;
    color: #bcd0ff;
}

.cta p {
    max-width: 650px;

    margin: 25px auto 35px;

    color: #d9e3fa;

    font-size: 16px;
}

.btn-light {
    background: white;
    color: var(--navy);
}

.btn-light:hover {
    box-shadow:
        0 12px 30px rgba(0,0,0,0.18);
}


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

.site-footer {
    padding: 35px 0;

    background: #071126;

    color: #8e9db7;

    font-size: 12px;
}

.footer-inner {
    display: grid;

    grid-template-columns:
        1fr
        auto
        auto;

    align-items: center;

    gap: 40px;
}

.site-footer strong {
    color: white;

    font-size: 13px;
}

.site-footer p {
    margin-top: 3px;
}

.footer-links {
    display: flex;
    gap: 22px;
}

.footer-links a:hover {
    color: white;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero-text {
        max-width: 750px;
    }

    .hero-visual {
        justify-content: flex-start;
    }

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

    .applications-inner {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

}


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

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, var(--container));
    }

    .header-inner {
        min-height: 70px;
    }

    .logo-agentia {
        font-size: 19px;
    }

    .logo-studio {
        font-size: 12px;
    }

    .header-button {
        padding: 9px 12px;

        font-size: 11px;
    }

    .hero {
        padding: 75px 0 80px;
    }

    .hero h1 {
        font-size: 43px;

        letter-spacing: -1.8px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .btn {
        width: 100%;
    }

    .ai-card {
        transform: none;
    }

    .intro {
        padding: 75px 0 50px;
    }

    .solutions {
        padding: 65px 0 80px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;

        margin-top: 40px;
    }

    .solution-card {
        min-height: auto;

        padding: 27px;
    }

    .applications {
        padding: 80px 0;
    }

    .realisations {
        padding: 80px 0;
    }

    .project-card {
        min-height: 360px;

        padding: 30px;
    }

    .project-card::after {
        right: -120px;
    }

    .cta {
        padding: 85px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .footer-links {
        flex-direction: column;

        gap: 8px;
    }

}

/* =========================================================
   AGENTIA-PARCOURS-CLIENT
   ========================================================= */

.client-paths {
    padding: 105px 0 120px;
    background: white;
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.path-card {
    position: relative;
    min-height: 350px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.path-card::before {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    right: -45px;
    top: -45px;

    border-radius: 50%;

    background: rgba(36, 87, 214, 0.06);
}

.path-card:hover {
    transform: translateY(-7px);

    border-color: rgba(36, 87, 214, 0.28);

    box-shadow: var(--shadow);
}

.path-number {
    position: absolute;

    top: 24px;
    right: 25px;

    color: #cbd4e5;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}

.path-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border-radius: 14px;

    background: #edf3ff;

    color: var(--blue);

    font-size: 23px;
    font-weight: 700;
}

.path-card h3 {
    max-width: 230px;

    color: var(--navy);

    font-size: 20px;
    line-height: 1.3;
}

.path-card p {
    margin-top: 14px;

    color: var(--grey);

    font-size: 14px;
    line-height: 1.7;
}

.path-link {
    margin-top: auto;
    padding-top: 25px;

    color: var(--blue);

    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 1000px) {

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

}

@media (max-width: 650px) {

    .client-paths {
        padding: 75px 0 80px;
    }

    .paths-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .path-card {
        min-height: 300px;
    }

}


/* =========================================================
   AGENTIA-MOBILE-HERO
   Menu mobile + optimisation tactile
   ========================================================= */

.mobile-menu-button {
    display: none;

    width: 46px;
    height: 46px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: white;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 21px;
    height: 2px;

    border-radius: 2px;

    background: var(--navy);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


.mobile-menu {
    display: none;

    position: absolute;

    left: 0;
    right: 0;

    top: 70px;

    z-index: 90;

    padding: 15px;

    background: white;

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 18px 35px rgba(11, 23, 48, 0.12);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.mobile-menu a {
    display: block;

    padding: 15px 16px;

    border-radius: 10px;

    color: var(--navy);

    font-size: 15px;
    font-weight: 700;
}

.mobile-menu a:hover {
    background: var(--light);
}

.mobile-menu-cta {
    margin-top: 8px;

    background: var(--blue) !important;

    color: white !important;

    text-align: center;
}


/* ---------------------------------------------------------
   HERO MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .header-inner {
        gap: 12px;
    }

    .header-button {
        display: none;
    }

    .mobile-menu-button {
        display: flex;
    }

    .mobile-menu.open {
        display: block;
    }

    .hero {
        padding: 65px 0 70px;
    }

    .hero-content {
        gap: 42px;
    }

    .hero h1 {
        font-size: clamp(40px, 11vw, 48px);

        line-height: 1.02;

        letter-spacing: -2px;
    }

    .hero-description {
        margin-top: 22px;

        font-size: 16px;

        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 28px;

        gap: 10px;
    }

    .hero-actions .btn {
        min-height: 54px;

        border-radius: 12px;

        font-size: 14px;
    }

    .hero-visual {
        width: 100%;
    }

    .ai-card {
        width: 100%;

        border-radius: 18px;
    }

    .ai-card-content {
        min-height: 205px;

        padding: 28px 22px;
    }

    .ai-message {
        font-size: 15px;
    }

}


/* ---------------------------------------------------------
   TABLETTE
   --------------------------------------------------------- */

@media (min-width: 651px) and (max-width: 1000px) {

    .mobile-menu-button {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .header-button {
        margin-left: auto;
    }

}


/* ---------------------------------------------------------
   TOUCH
   --------------------------------------------------------- */

@media (hover: none) and (pointer: coarse) {

    .solution-card:hover,
    .path-card:hover {
        transform: none;

        box-shadow: none;
    }

    .btn {
        min-height: 52px;
    }

}


/* =========================================================
   AGENTIA-HERO-VISUAL
   Visuel principal Agentia Studio
   ========================================================= */

.agentia-hero-image {
    position: relative;

    width: 100%;
    max-width: 570px;

    border-radius: 24px;

    overflow: hidden;

    background: var(--navy);

    box-shadow:
        0 30px 70px rgba(11, 23, 48, 0.20);

    isolation: isolate;
}

.agentia-hero-img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1983 / 793;

    object-fit: cover;

    position: relative;
    z-index: 2;

    transition:
        transform 0.7s ease;
}

.agentia-hero-image:hover .agentia-hero-img {
    transform: scale(1.025);
}

.agentia-hero-glow {
    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    bottom: -80px;

    border-radius: 50%;

    background: rgba(242, 140, 40, 0.22);

    filter: blur(35px);

    z-index: 1;

    pointer-events: none;
}


/* ---------------------------------------------------------
   TABLETTE
   --------------------------------------------------------- */

@media (max-width: 1000px) {

    .agentia-hero-image {
        max-width: 100%;

        border-radius: 20px;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {

    .agentia-hero-image {
        width: 100%;

        border-radius: 18px;

        box-shadow:
            0 20px 45px rgba(11, 23, 48, 0.16);
    }

    .agentia-hero-img {
        aspect-ratio: 16 / 8;

        object-fit: cover;

        transform: none !important;
    }

    .agentia-hero-glow {
        width: 120px;
        height: 120px;

        right: -50px;
        bottom: -55px;

        filter: blur(25px);
    }

}


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

@media (prefers-reduced-motion: reduce) {

    .agentia-hero-img {
        transition: none;
    }

    .agentia-hero-image:hover .agentia-hero-img {
        transform: none;
    }

}

