:root {
    --green: #147A55;
    --green-dark: #0c5c40;
    --green-light: #eaf5f0;
    --cream: #f7f8f4;
    --text: #17211d;
    --muted: #66716c;
    --white: #ffffff;
    --border: #dfe7e2;
    --shadow: 0 24px 70px rgba(15, 70, 49, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

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


/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(20,122,85,.08);
}

.nav-container {
    width: min(1240px, calc(100% - 48px));
    height: 94px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 42px;
}

.brand {
    width: 145px;
    height: 72px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.brand img {
    width: 145px;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 600;
    color: #34413b;
}

.desktop-nav a:hover {
    color: var(--green);
}

.nav-cta {
    background: var(--green);
    color: white;
    padding: 15px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.mobile-menu-button,
.mobile-menu {
    display: none;
}


/* HERO */

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(115deg, #f7faf7 0%, #eef7f2 55%, #e5f3ec 100%);
}

.hero-grid {
    min-height: 720px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 80px;
    padding-top: 70px;
    padding-bottom: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--green);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
    margin-bottom: 22px;
}

.hero h1 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(58px, 6vw, 88px);
    line-height: .96;
    letter-spacing: -.055em;
}

.hero h1 em {
    font-family: Georgia, serif;
    font-weight: 400;
    color: var(--green);
}

.hero-description {
    max-width: 590px;
    margin: 30px 0 34px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.button {
    min-height: 54px;
    padding: 0 25px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 14px;
    font-weight: 750;
    transition: .2s ease;
}

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

.button-primary {
    background: var(--green);
    color: white;
}

.button-secondary {
    border: 1px solid #cad7d0;
    background: rgba(255,255,255,.65);
}

.button-white {
    background: white;
    color: var(--green-dark);
}

.hero-trust {
    display: flex;
    gap: 34px;
    margin-top: 48px;
    padding-top: 26px;
    border-top: 1px solid #d5e3dc;
}

.trust-item {
    max-width: 145px;
}

.trust-item strong,
.trust-item span {
    display: block;
}

.trust-item strong {
    color: var(--green);
    margin-bottom: 5px;
}

.trust-item span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}


/* PHONE */

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

.phone {
    position: relative;
    width: 310px;
    height: 625px;
    padding: 10px;
    background: #111a16;
    border-radius: 47px;
    box-shadow: 0 40px 80px rgba(13,64,45,.25);
    transform: rotate(3deg);
}

.phone-screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #f8faf8;
    border-radius: 38px;
    padding: 52px 20px 20px;
}

.phone-top {
    position: absolute;
    z-index: 5;
    width: 105px;
    height: 27px;
    background: #111a16;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 30px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}

.avatar,
.worker-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: white;
    border-radius: 50%;
}

.avatar {
    width: 32px;
    height: 32px;
}

.phone-screen h3 {
    font-size: 23px;
    line-height: 1.15;
    margin: 28px 0 20px;
}

.search-box {
    background: white;
    padding: 14px;
    border-radius: 14px;
    color: #9aa49f;
    font-size: 11px;
    box-shadow: 0 7px 25px rgba(0,0,0,.04);
}

.app-categories {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    margin: 22px 0 30px;
}

.app-category {
    text-align: center;
    font-size: 9px;
    color: #68736d;
}

.app-category div {
    height: 49px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--green-light);
    font-size: 19px;
}

.app-section-title {
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 13px;
}

.worker-mini-card {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 10px;
}

.worker-avatar {
    width: 42px;
    height: 42px;
}

.worker-mini-card strong,
.worker-mini-card span {
    display: block;
}

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

.worker-mini-card span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 8px;
}

.rating {
    color: #d59418;
    font-size: 10px;
    font-weight: 800;
}

.floating-card {
    position: absolute;
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 17px;
    background: white;
    border-radius: 17px;
    box-shadow: var(--shadow);
}

.floating-card-top {
    top: 105px;
    right: -5px;
}

.floating-card-bottom {
    bottom: 90px;
    left: -10px;
}

.floating-icon {
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50%;
}

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

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

.floating-card div span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
}

.hero-decoration-one {
    width: 420px;
    height: 420px;
    right: -190px;
    top: 30px;
    background: rgba(20,122,85,.08);
}

.hero-decoration-two {
    width: 280px;
    height: 280px;
    left: -140px;
    bottom: -100px;
    background: rgba(20,122,85,.05);
}


/* GENERIC SECTIONS */

.section {
    padding: 120px 0;
}

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

.section-heading h2,
.worker-content h2,
.app-content h2,
.final-cta h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.section-heading p,
.worker-content > p,
.app-content > p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}

.section-heading.horizontal {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 80px;
}

.section-heading.horizontal p {
    max-width: 430px;
}


/* STEPS */

.how-section {
    background: white;
}

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

.step-card {
    position: relative;
    min-height: 300px;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: white;
}

.step-card.featured {
    background: var(--green);
    color: white;
    border-color: var(--green);
    transform: translateY(-15px);
}

.step-number {
    position: absolute;
    right: 30px;
    top: 27px;
    font-size: 12px;
    font-weight: 800;
    opacity: .55;
}

.step-icon {
    width: 57px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 55px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 18px;
    font-size: 25px;
}

.featured .step-icon {
    background: rgba(255,255,255,.15);
    color: white;
}

.step-card h3 {
    font-size: 21px;
    margin: 0 0 12px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.featured p {
    color: rgba(255,255,255,.75);
}


/* SERVICES */

.services-section {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.service-card {
    min-height: 300px;
    padding: 30px;
    background: white;
    border-radius: 22px;
    transition: .2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 65px;
    background: var(--green-light);
    border-radius: 18px;
    font-size: 25px;
}

.service-card h3 {
    font-size: 21px;
    margin: 0 0 9px;
}

.service-card p {
    min-height: 45px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.service-card > span {
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}


/* WORKERS */

.worker-section {
    padding: 120px 0;
    background: var(--green-dark);
    color: white;
    overflow: hidden;
}

.worker-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
}

.worker-visual {
    position: relative;
}

.worker-picture {
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 20%, #4ea581, transparent 35%),
        linear-gradient(145deg,#1a8c64,#0b5039);
    border-radius: 35px;
}

.worker-picture-content {
    text-align: center;
}

.worker-big-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--green);
    border-radius: 50%;
    font-size: 54px;
    font-weight: 900;
}

.worker-picture strong {
    font-size: 32px;
    line-height: 1.1;
}

.worker-badge {
    position: absolute;
    right: -30px;
    bottom: 55px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 22px;
    background: white;
    color: var(--text);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.worker-badge > span {
    color: #d59418;
    font-size: 24px;
}

.worker-badge strong,
.worker-badge small {
    display: block;
}

.worker-badge small {
    color: var(--muted);
    margin-top: 3px;
}

.section-kicker.light {
    color: #a7e4ca;
}

.worker-content > p {
    color: rgba(255,255,255,.7);
    max-width: 540px;
    margin: 28px 0 35px;
}

.worker-benefits {
    margin-bottom: 38px;
}

.worker-benefits > div {
    display: flex;
    gap: 15px;
    margin: 22px 0;
}

.worker-benefits > div > span {
    flex: 0 0 29px;
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
}

.worker-benefits p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: 13px;
    line-height: 1.5;
}

.worker-benefits strong {
    display: block;
    color: white;
    margin-bottom: 3px;
}


/* APP */

.app-section {
    background: white;
}

.app-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 100px;
}

.app-content > p {
    max-width: 530px;
    margin: 28px 0;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 28px 0 35px;
}

.app-features span {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #53615a;
    font-size: 12px;
}

.store-buttons {
    display: flex;
    gap: 10px;
}

.store-button {
    min-width: 155px;
    padding: 11px 20px;
    background: #17211d;
    color: white;
    border-radius: 12px;
}

.store-button small,
.store-button strong {
    display: block;
}

.store-button small {
    opacity: .65;
    font-size: 9px;
}

.store-button strong {
    margin-top: 2px;
    font-size: 15px;
}

.app-visual {
    background: var(--green-light);
    border-radius: 45px;
}

.phone-secondary {
    transform: rotate(-3deg);
}

.profile-screen {
    text-align: center;
}

.profile-cover {
    height: 120px;
    margin: -52px -20px 0;
    background:
        linear-gradient(135deg,#57a887,#147A55);
}

.profile-avatar {
    width: 82px;
    height: 82px;
    margin: -38px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    color: var(--green);
    border-radius: 50%;
    font-size: 30px;
    font-weight: 900;
}

.profile-screen h3 {
    margin: 15px 0 8px;
}

.profile-rating {
    color: #d59418;
    font-size: 12px;
}

.profile-screen > p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.profile-services {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.profile-services span {
    background: var(--green-light);
    color: var(--green);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 9px;
}

.profile-screen button {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 13px;
    background: var(--green);
    color: white;
    font-weight: 800;
}


/* CTA */

.final-cta {
    padding: 40px 0 110px;
}

.final-cta-box {
    padding: 80px;
    text-align: center;
    color: white;
    background:
        radial-gradient(circle at 10% 20%,#30946e,transparent 30%),
        var(--green);
    border-radius: 38px;
}

.final-cta-box > span {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .2em;
}

.final-cta h2 {
    max-width: 780px;
    margin: 25px auto;
}

.final-cta p {
    max-width: 540px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.72);
    line-height: 1.6;
}


/* FOOTER */

.footer {
    padding: 70px 0 25px;
    background: #101814;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 65px;
}

.footer-brand img {
    width: 135px;
    background: white;
    border-radius: 12px;
}

.footer-brand p {
    color: #9aa8a1;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-links strong {
    margin-bottom: 10px;
}

.footer-links a {
    color: #9aa8a1;
    font-size: 13px;
}

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

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #29322e;
    color: #77827c;
    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

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

    .nav-container {
        height: 78px;
    }

    .brand {
        width: 120px;
        height: 62px;
    }

    .brand img {
        width: 120px;
    }

    .mobile-menu-button {
        margin-left: auto;
        width: 43px;
        height: 43px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        border: 0;
        background: var(--green-light);
        border-radius: 50%;
    }

    .mobile-menu-button span {
        width: 18px;
        height: 2px;
        background: var(--green-dark);
    }

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

    .mobile-menu {
        padding: 20px 24px 28px;
        flex-direction: column;
        gap: 18px;
        background: white;
        border-top: 1px solid var(--border);
        font-weight: 700;
    }

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

    .hero-grid {
        padding-top: 75px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

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

    .step-card.featured {
        transform: none;
    }

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

    .section-heading.horizontal {
        display: block;
    }

    .worker-grid {
        gap: 70px;
    }

    .worker-content {
        text-align: center;
    }

    .worker-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .worker-benefits {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .app-content {
        text-align: center;
    }

    .app-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .app-features,
    .store-buttons {
        justify-content: center;
    }

}


@media (max-width: 600px) {

    .container,
    .nav-container {
        width: min(100% - 30px, 1180px);
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-trust {
        gap: 15px;
    }

    .hero-visual,
    .app-visual {
        min-height: 570px;
    }

    .phone {
        width: 275px;
        height: 565px;
    }

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

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

    .section {
        padding: 85px 0;
    }

    .section-heading h2,
    .worker-content h2,
    .app-content h2,
    .final-cta h2 {
        font-size: 42px;
    }

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

    .service-card {
        min-height: 240px;
    }

    .service-icon {
        margin-bottom: 35px;
    }

    .worker-picture {
        min-height: 440px;
    }

    .worker-badge {
        right: 10px;
    }

    .final-cta-box {
        padding: 60px 22px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }

}


/* ==========================================================
   AOKA V2 — LIGHT & MOTION
   ========================================================== */

:root {
    --green: #18A06A;
    --green-dark: #087A50;
    --green-light: #E9F8F1;
    --cream: #FAFCFA;
}


/* HERO PLUS LUMINEUX */

.hero {
    background:
        radial-gradient(circle at 82% 22%,
            rgba(70, 210, 150, .18),
            transparent 32%),
        radial-gradient(circle at 8% 85%,
            rgba(135, 225, 183, .15),
            transparent 30%),
        linear-gradient(
            120deg,
            #FFFFFF 0%,
            #F5FCF8 48%,
            #EAF8F1 100%
        );
}


/* WORKER : SUPPRESSION DU GROS BLOC SOMBRE */

.worker-section {
    position: relative;
    background:
        radial-gradient(circle at 15% 20%,
            rgba(82, 211, 153, .18),
            transparent 30%),
        linear-gradient(
            135deg,
            #0D8A5C 0%,
            #16A06B 50%,
            #2BB77E 100%
        );
}

.worker-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -220px;
    top: -200px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}


/* CTA PLUS FRAIS */

.final-cta-box {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(circle at 15% 15%,
            rgba(255,255,255,.18),
            transparent 28%),
        linear-gradient(
            120deg,
            #159A67,
            #25B77B
        );

    box-shadow:
        0 30px 80px rgba(20, 122, 85, .15);
}


/* CARTES PLUS LEGERES */

.step-card,
.service-card {
    border-color: rgba(20,122,85,.10);

    box-shadow:
        0 12px 40px rgba(22, 80, 58, .045);

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        box-shadow .35s ease,
        border-color .35s ease;
}

.step-card:hover,
.service-card:hover {
    transform: translateY(-9px);

    border-color: rgba(24,160,106,.25);

    box-shadow:
        0 25px 55px rgba(22, 100, 68, .12);
}

.step-card.featured:hover {
    transform: translateY(-23px);
}


/* BOUTONS PLUS VIVANTS */

.button-primary,
.nav-cta {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #18A06A,
            #20B879
        );

    box-shadow:
        0 10px 30px rgba(24,160,106,.20);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.button-primary:hover,
.nav-cta:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 35px rgba(24,160,106,.30);
}


/* REFLET SUR BOUTON */

.button-primary::after,
.nav-cta::after {
    content: "";
    position: absolute;

    top: -50%;
    left: -70%;

    width: 45%;
    height: 200%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
        );

    transform: rotate(20deg);

    transition: left .65s ease;
}

.button-primary:hover::after,
.nav-cta:hover::after {
    left: 130%;
}


/* ==========================================================
   ANIMATION DU TELEPHONE
   ========================================================== */

.phone-main {
    animation:
        phoneEntrance 1s cubic-bezier(.2,.8,.2,1) both,
        phoneFloat 5s ease-in-out 1s infinite;
}

@keyframes phoneEntrance {

    from {
        opacity: 0;
        transform:
            translateY(45px)
            rotate(6deg)
            scale(.94);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            rotate(3deg)
            scale(1);
    }

}

@keyframes phoneFloat {

    0%, 100% {
        transform:
            translateY(0)
            rotate(3deg);
    }

    50% {
        transform:
            translateY(-13px)
            rotate(1.5deg);
    }

}


/* TELEPHONE SECTION APP */

.phone-secondary {
    animation:
        phoneFloatSecondary 6s ease-in-out infinite;
}

@keyframes phoneFloatSecondary {

    0%, 100% {
        transform:
            translateY(0)
            rotate(-3deg);
    }

    50% {
        transform:
            translateY(-12px)
            rotate(-1deg);
    }

}


/* CARTES FLOTTANTES */

.floating-card-top {
    animation:
        floatingCardOne 4s ease-in-out infinite;
}

.floating-card-bottom {
    animation:
        floatingCardTwo 4.8s ease-in-out infinite;
}

@keyframes floatingCardOne {

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

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

}

@keyframes floatingCardTwo {

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

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

}


/* DECORATIONS HERO ANIMEES */

.hero-decoration-one {
    animation:
        blobOne 10s ease-in-out infinite alternate;
}

.hero-decoration-two {
    animation:
        blobTwo 12s ease-in-out infinite alternate;
}

@keyframes blobOne {

    from {
        transform:
            translate(0,0)
            scale(1);
    }

    to {
        transform:
            translate(-45px,45px)
            scale(1.15);
    }

}

@keyframes blobTwo {

    from {
        transform:
            translate(0,0)
            scale(1);
    }

    to {
        transform:
            translate(55px,-30px)
            scale(1.2);
    }

}


/* ==========================================================
   APPARITION AU SCROLL
   ========================================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s cubic-bezier(.2,.8,.2,1),
        transform .8s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* DELAIS SUR LES CARTES */

.steps .reveal:nth-child(2),
.services-grid .reveal:nth-child(2) {
    transition-delay: .10s;
}

.steps .reveal:nth-child(3),
.services-grid .reveal:nth-child(3) {
    transition-delay: .20s;
}

.services-grid .reveal:nth-child(4) {
    transition-delay: .30s;
}


/* PETITE ANIMATION DES ICONES */

.service-icon,
.step-icon {
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        background .35s ease;
}

.service-card:hover .service-icon,
.step-card:hover .step-icon {
    transform:
        scale(1.10)
        rotate(-4deg);
}


/* LOGO */

.brand img {
    transition:
        transform .35s ease;
}

.brand:hover img {
    transform: scale(1.04);
}


/* ACCESSIBILITE */

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

}


/* CORRECTION MOBILE */

@media (max-width: 900px) {

    .step-card.featured:hover {
        transform: translateY(-9px);
    }

}


/* ==========================================================
   AOKA — SIGNATURE BY STAR SET
   ========================================================== */

.brand {
    width: auto;
    min-width: 230px;
    overflow: visible;
    gap: 10px;
}

.brand img {
    width: 145px;
    flex: 0 0 145px;
}

.brand-signature {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
    padding-left: 10px;
    border-left: 1px solid rgba(20, 122, 85, .20);
    line-height: 1;
}

.brand-signature small {
    color: #8b9690;
    font-size: 9px;
    font-weight: 500;
    font-style: italic;
}

.brand-signature strong {
    color: #56635d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}


/* MOBILE */

@media (max-width: 600px) {

    .brand {
        min-width: 190px;
        gap: 7px;
    }

    .brand img {
        width: 115px;
        flex-basis: 115px;
    }

    .brand-signature {
        padding-left: 7px;
    }

    .brand-signature small {
        font-size: 8px;
    }

    .brand-signature strong {
        font-size: 9px;
    }

}


/* ==========================================================
   AOKA — BY STAR SET SOUS LE LOGO
   ========================================================== */

.brand {
    width: 155px;
    min-width: 155px;
    height: 82px;

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

    gap: 0;
    overflow: visible;
}

.brand img {
    width: 145px;
    height: auto;
    flex: none;
}

.brand-signature {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;

    margin-top: -7px;
    padding: 0;

    border-left: 0;
    white-space: nowrap;
    line-height: 1;
}

.brand-signature small {
    color: #8b9690;
    font-family: Georgia, serif;
    font-size: 10px;
    font-weight: 400;
    font-style: italic;
}

.brand-signature strong {
    color: #59645f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}


/* MOBILE */

@media (max-width: 600px) {

    .brand {
        width: 125px;
        min-width: 125px;
        height: 68px;
    }

    .brand img {
        width: 115px;
        flex: none;
    }

    .brand-signature {
        margin-top: -5px;
        padding: 0;
    }

    .brand-signature small {
        font-size: 8px;
    }

    .brand-signature strong {
        font-size: 9px;
    }

}


/* ==========================================================
   AOKA — BADGES OFFICIELS APP STORE / GOOGLE PLAY
   ========================================================== */

.store-download {
    margin-top: 28px;
}

.store-download-title {
    margin-bottom: 12px;

    color: #1b2923;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}

.store-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    transition:
        transform .25s ease,
        filter .25s ease;
}

.store-badge:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 12px rgba(20, 80, 58, .15));
}

.store-badge:active {
    transform: translateY(-1px);
}


/* Apple */

.store-badge-apple img {
    display: block;
    width: auto;
    height: 50px;
}


/*
   Google fournit un PNG avec davantage d'espace transparent
   autour du badge. Une hauteur d'image supérieure permet
   d'obtenir une hauteur VISUELLE proche du badge Apple.
*/

.store-badge-google img {
    display: block;
    width: auto;
    height: 74px;
}


/* Accessibilité clavier */

.store-badge:focus-visible {
    outline: 3px solid rgba(24, 160, 106, .30);
    outline-offset: 5px;
    border-radius: 8px;
}


/* Mobile */

@media (max-width: 600px) {

    .store-download {
        text-align: center;
    }

    .store-buttons {
        justify-content: center;
        gap: 8px;
    }

    .store-badge-apple img {
        height: 46px;
    }

    .store-badge-google img {
        height: 68px;
    }

}


/* ==========================================================
   AOKA — ALIGNEMENT VISUEL DES BADGES STORES
   ========================================================== */

.store-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* App Store : référence visuelle */
.store-badge-apple img {
    width: auto;
    height: 64px;
}

/* Google contient davantage de marge transparente */
.store-badge-google img {
    width: auto;
    height: 64px;
}

/* Conteneurs de même hauteur */
.store-badge {
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* Mobile */
@media (max-width: 600px) {

    .store-badge,
    .store-badge-apple img,
    .store-badge-google img {
        height: 56px;
    }

}


/* ==========================================================
   AOKA — CORRECTION FINALE TAILLE BADGES
   ========================================================== */

.store-badge {
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* SVG Apple : presque aucune marge interne */
.store-badge-apple img {
    width: auto;
    height: 54px;
}

/* PNG Google : possède des marges transparentes internes */
.store-badge-google img {
    width: auto;
    height: 64px;
}


@media (max-width: 600px) {

    .store-badge {
        height: 58px;
    }

    .store-badge-apple img {
        height: 49px;
    }

    .store-badge-google img {
        height: 58px;
    }

}


/* ==========================================================
   AOKA — AJUSTEMENT FINAL APP STORE
   ========================================================== */

.store-badge-apple img {
    height: 51px;
}

@media (max-width: 600px) {

    .store-badge-apple img {
        height: 46px;
    }

}


/* ==========================================================
   AOKA — TELEPHONE BORDEAUX
   ========================================================== */

/* Châssis du téléphone */
.phone {
    background: #7A263A;
    
    box-shadow:
        0 40px 80px rgba(122, 38, 58, .20),
        0 12px 30px rgba(13, 64, 45, .10);
}

/* Dynamic Island reste noire */
.phone-top {
    background: #111a16;
}



/* ==========================================================
   AOKA — VRAIE CAPTURE APPLICATION DANS LE HERO
   ========================================================== */

.phone-main .phone-screen-real {
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

/*
   La capture 800 x 1718 possède pratiquement
   le même ratio que l'écran du mockup.
*/
.phone-main .aoka-real-screen {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    border-radius: inherit;
}


/*
   La capture possède déjà le véritable haut du téléphone.
   On masque donc la Dynamic Island CSS uniquement
   sur le téléphone principal pour éviter un doublon.
*/

.phone-main .phone-top {
    display: none;
}



/* ==========================================================
   AOKA — CARROUSEL CAPTURES APPLICATION
   ========================================================== */

.phone-main .phone-screen-real {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.aoka-screen-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}


/* Toutes les captures sont superposées */

.aoka-slide {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    opacity: 0;

    transform: translateX(22px) scale(1.01);

    transition:
        opacity .75s ease,
        transform .85s cubic-bezier(.2,.8,.2,1);

    pointer-events: none;
}


/* Capture actuellement affichée */

.aoka-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}


/* Capture qui vient de quitter l'écran */

.aoka-slide.leaving {
    opacity: 0;
    transform: translateX(-22px) scale(.995);
    z-index: 1;
}


/* Pas de Dynamic Island CSS :
   elle est déjà visible sur les vraies captures */

.phone-main .phone-top {
    display: none;
}


/* Respect du réglage d'accessibilité */

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

    .aoka-slide {
        transition: opacity .2s linear;
        transform: none;
    }

    .aoka-slide.active,
    .aoka-slide.leaving {
        transform: none;
    }

}


/* ==========================================================
   AOKA — TELEPHONE HERO FIXE
   ========================================================== */

.phone-main {
    animation: none !important;
    transform: rotate(3deg);
}



/* ==========================================================
   AOKA — NOUVELLE COULEUR CONTOUR TELEPHONE
   Anthracite premium
   ========================================================== */

.phone-main {
    background: #26332E !important;

    box-shadow:
        0 35px 75px rgba(20, 55, 42, .18),
        0 10px 25px rgba(0, 0, 0, .10);

    animation: none !important;
    transform: rotate(3deg);
}

/* =========================================================
   AOKA - Animation spéciale écran A4
   Effet tourbillon + zoom
   ========================================================= */

.aoka-slide[src$="A4.jpeg"].active {
    animation: aokaA4Whirl 4s ease-in-out both;
    transform-origin: center center;
    will-change: transform, filter;
}

@keyframes aokaA4Whirl {

    0% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1) blur(0);
    }

    12% {
        transform: scale(1.04) rotate(25deg);
        filter: brightness(1.03) blur(0);
    }

    28% {
        transform: scale(1.12) rotate(140deg);
        filter: brightness(1.06) blur(.3px);
    }

    46% {
        transform: scale(1.18) rotate(330deg);
        filter: brightness(1.08) blur(.7px);
    }

    64% {
        transform: scale(1.13) rotate(540deg);
        filter: brightness(1.06) blur(.4px);
    }

    82% {
        transform: scale(1.07) rotate(680deg);
        filter: brightness(1.03) blur(.15px);
    }

    92% {
        transform: scale(1.025) rotate(715deg);
        filter: brightness(1.01) blur(0);
    }

    100% {
        transform: scale(1) rotate(720deg);
        filter: brightness(1) blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .aoka-slide[src$="A4.jpeg"].active {
        animation: none;
        transform: none;
    }
}



/* =========================================================
   AOKA INTRO ANIMEE
   ========================================================= */

.aoka-intro {
    position: absolute;
    inset: 0;
    z-index: 0;

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

    overflow: hidden;

    opacity: 0;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 25% 20%,
            rgba(255,255,255,.20),
            transparent 34%
        ),
        radial-gradient(
            circle at 80% 75%,
            rgba(255,255,255,.13),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #087A50 0%,
            #18A06A 45%,
            #20B879 100%
        );

    transition:
        opacity .8s ease,
        transform .9s cubic-bezier(.2,.8,.2,1);

    transform: scale(1.05);
}

.aoka-intro.active {
    opacity: 1;
    z-index: 5;
    transform: scale(1);
}


/* Logo */

.aoka-intro-logo-wrap {
    position: relative;
    z-index: 5;

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

    width: 78%;

    animation: aokaIntroLogo 3s ease-in-out both;
}

.aoka-intro-logo {
    position: relative;
    z-index: 3;

    display: block;
    width: 100%;
    height: auto;

    filter:
        drop-shadow(0 14px 28px rgba(0,0,0,.16))
        brightness(0) invert(1);
}

.aoka-intro-signature {
    position: relative;
    z-index: 3;

    margin-top: -8px;

    color: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;

    opacity: 0;

    animation: aokaIntroSignature 3s ease both;
}


/* Halo central */

.aoka-intro-glow {
    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.30) 0%,
            rgba(255,255,255,.10) 35%,
            rgba(255,255,255,0) 70%
        );

    filter: blur(5px);

    animation: aokaIntroGlow 2.2s ease-in-out infinite alternate;
}


/* Cercles / halos animés */

.aoka-intro-orb {
    position: absolute;
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(255,255,255,.30),
            rgba(255,255,255,.05) 55%,
            transparent 72%
        );

    filter: blur(1px);
}

.aoka-intro-orb-1 {
    width: 210px;
    height: 210px;
    left: -70px;
    top: 6%;

    animation: aokaOrbOne 6s ease-in-out infinite alternate;
}

.aoka-intro-orb-2 {
    width: 270px;
    height: 270px;
    right: -120px;
    bottom: 3%;

    animation: aokaOrbTwo 7s ease-in-out infinite alternate;
}

.aoka-intro-orb-3 {
    width: 120px;
    height: 120px;
    right: 5%;
    top: 20%;

    opacity: .65;

    animation: aokaOrbThree 5s ease-in-out infinite alternate;
}


/* Animation du logo */

@keyframes aokaIntroLogo {

    0% {
        opacity: 0;
        transform: scale(.68) rotate(-3deg);
        filter: blur(8px);
    }

    35% {
        opacity: 1;
        transform: scale(1.08) rotate(1deg);
        filter: blur(0);
    }

    60% {
        transform: scale(.98) rotate(0deg);
    }

    82% {
        transform: scale(1.04);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

@keyframes aokaIntroSignature {

    0%,
    35% {
        opacity: 0;
        transform: translateY(10px);
    }

    60%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aokaIntroGlow {

    from {
        transform: scale(.82);
        opacity: .45;
    }

    to {
        transform: scale(1.20);
        opacity: .9;
    }
}

@keyframes aokaOrbOne {

    from {
        transform: translate3d(0,0,0) scale(1);
    }

    to {
        transform: translate3d(60px,90px,0) scale(1.25);
    }
}

@keyframes aokaOrbTwo {

    from {
        transform: translate3d(0,0,0) scale(1);
    }

    to {
        transform: translate3d(-80px,-100px,0) scale(.78);
    }
}

@keyframes aokaOrbThree {

    from {
        transform: translate3d(0,0,0) scale(.8);
    }

    to {
        transform: translate3d(-50px,70px,0) scale(1.35);
    }
}


/* Accessibilité */

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

    .aoka-intro-logo-wrap,
    .aoka-intro-signature,
    .aoka-intro-glow,
    .aoka-intro-orb {
        animation: none !important;
    }
}



/* =========================================================
   AOKA — CONTROLE SON VIDEO HERO
   ========================================================= */

.aoka-video-sound {
    position: absolute;
    right: 16px;
    bottom: 18px;

    z-index: 10;

    width: 44px;
    height: 44px;

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

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;

    background: rgba(20, 30, 26, .68);
    backdrop-filter: blur(8px);

    font-size: 19px;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        transform .3s ease,
        background .3s ease;
}

.aoka-video-slide.active ~ .aoka-video-sound {
    opacity: 1;
    visibility: visible;
}

.aoka-video-sound:hover {
    background: rgba(20, 30, 26, .88);
    transform: scale(1.08);
}



/* =========================================================
   AOKA — CARROUSEL DEUXIEME TELEPHONE
   ========================================================= */

.secondary-media-screen {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
}

.secondary-media-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.secondary-media-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center top;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.025);

    transition:
        opacity .8s ease,
        transform 1.2s ease,
        visibility 0s linear .8s;
}

.secondary-media-slide.active {
    opacity: 1;
    visibility: visible;

    transform: scale(1);

    transition:
        opacity .8s ease,
        transform 1.2s ease,
        visibility 0s;
}

.secondary-media-slide.leaving {
    opacity: 0;
    visibility: visible;
    transform: scale(.985);
}



/* =========================================================
   AOKA — CONTROLE SON VIDEO DEUXIEME TELEPHONE
   ========================================================= */

.secondary-video-sound {
    position: absolute;
    right: 16px;
    bottom: 18px;

    z-index: 20;

    width: 44px;
    height: 44px;

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

    padding: 0;

    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;

    background: rgba(20, 30, 26, .68);
    backdrop-filter: blur(8px);

    font-size: 19px;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .3s ease,
        transform .3s ease,
        background .3s ease;
}

/*
 * Le bouton apparaît uniquement lorsque v2.mp4
 * est la scène active.
 */
.secondary-media-video.active ~ .secondary-video-sound {
    opacity: 1;
    visibility: visible;
}

.secondary-video-sound:hover {
    background: rgba(20, 30, 26, .88);
    transform: scale(1.08);
}



/* =========================================================
   AOKA — MUSIQUE ACTIVE SUR TOUT LE DEFILEMENT
   ========================================================= */

.secondary-media-slider .secondary-video-sound {
    opacity: 1;
    visibility: visible;
}

