/* ============================================================
   OLYPHARMA WEBSITE
   STYLE PRINCIPAL
============================================================ */


/* ============================================================
   RESET
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: 'Inter', sans-serif;

    background:
        #ffffff;

    color:
        #18222c;

    line-height:
        1.6;

    overflow-x:
        hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
    color: inherit;
}


button,
input,
textarea {
    font-family: inherit;
}


button {
    border: none;
}


ul {
    list-style: none;
}


/* ============================================================
   VARIABLES
============================================================ */

:root {

    --primary:
        #0470B8;

    --primary-dark:
        #03598f;

    --primary-darker:
        #023c63;

    --primary-light:
        #eaf6fd;

    --background:
        #f6fafd;

    --white:
        #ffffff;

    --text:
        #18222c;

    --text-secondary:
        #687682;

    --border:
        #e3ebf0;

    --success:
        #22a861;

    --warning:
        #ffb020;

    --danger:
        #dd4b4b;

    --shadow:
        0 15px 45px rgba(20, 52, 74, 0.10);

    --shadow-soft:
        0 10px 30px rgba(20, 52, 74, 0.07);

    --radius:
        18px;

    --radius-large:
        28px;
}


/* ============================================================
   CONTAINER
============================================================ */

.container {
    width:
        min(1180px,
            calc(100% - 40px));

    margin:
        0 auto;
}


/* ============================================================
   BUTTONS
============================================================ */

.btn {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    min-height:
        48px;

    padding:
        0 22px;

    border-radius:
        12px;

    font-size:
        14px;

    font-weight:
        700;

    transition:
        all 0.25s ease;

    cursor:
        pointer;
}


.btn:hover {
    transform:
        translateY(-2px);
}


.btn-primary {
    background:
        linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));

    color:
        var(--white);

    box-shadow:
        0 10px 25px rgba(4, 112, 184, 0.24);
}


.btn-primary:hover {
    box-shadow:
        0 15px 30px rgba(4, 112, 184, 0.30);
}


.btn-outline {
    background:
        rgba(255, 255, 255, 0.9);

    color:
        var(--primary);

    border:
        1px solid rgba(4, 112, 184, 0.25);
}


.btn-outline:hover {
    background:
        var(--primary-light);

    border-color:
        var(--primary);
}


.btn-white {
    background:
        var(--white);

    color:
        var(--primary);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.12);
}


.btn-white:hover {
    background:
        #f6fbff;
}


.btn-submit {
    width:
        100%;

    border:
        none;

    margin-top:
        4px;
}


/* ============================================================
   HEADER
============================================================ */

.header {
    position:
        fixed;

    top:
        0;

    left:
        0;

    right:
        0;

    z-index:
        1000;

    background:
        rgba(255, 255, 255, 0.93);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);

    border-bottom:
        1px solid rgba(227, 235, 240, 0.85);
}


.navbar {
    min-height:
        76px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        25px;
}


/* ============================================================
   LOGO
============================================================ */

.logo {
    display:
        flex;

    align-items:
        center;

    gap:
        11px;

    min-width:
        max-content;
}


.logo-icon {
    width:
        42px;

    height:
        42px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--primary-dark));

    color:
        var(--white);

    border-radius:
        13px;

    font-size:
        26px;

    font-weight:
        500;

    box-shadow:
        0 8px 18px rgba(4, 112, 184, 0.23);
}


.logo div:last-child {
    display:
        flex;

    flex-direction:
        column;

    line-height:
        1.1;
}


.logo strong {
    color:
        var(--primary);

    font-size:
        17px;

    letter-spacing:
        0.7px;
}


.logo span {
    margin-top:
        4px;

    font-size:
        9px;

    color:
        var(--text-secondary);

    letter-spacing:
        0.7px;

    text-transform:
        uppercase;
}


/* ============================================================
   NAVIGATION
============================================================ */

.nav-menu {
    display:
        flex;

    align-items:
        center;

    gap:
        28px;
}


.nav-menu a {
    position:
        relative;

    color:
        #4d5b65;

    font-size:
        13px;

    font-weight:
        600;

    transition:
        color 0.2s ease;
}


.nav-menu a::after {
    content:
        '';

    position:
        absolute;

    left:
        0;

    bottom:
        -8px;

    width:
        0;

    height:
        2px;

    background:
        var(--primary);

    border-radius:
        10px;

    transition:
        width 0.25s ease;
}


.nav-menu a:hover {
    color:
        var(--primary);
}


.nav-menu a:hover::after {
    width:
        100%;
}


.btn-header {
    background:
        var(--primary);

    color:
        var(--white);

    min-height:
        42px;

    padding:
        0 17px;

    font-size:
        12px;
}


/* ============================================================
   HERO
============================================================ */

.hero {
    position:
        relative;

    overflow:
        hidden;

    padding:
        150px 0 85px;

    background:
        linear-gradient(135deg,
            #f9fcff 0%,
            #f1f9fe 48%,
            #eaf6fd 100%);
}


.hero::before {
    content:
        '';

    position:
        absolute;

    width:
        500px;

    height:
        500px;

    left:
        -220px;

    top:
        -180px;

    border-radius:
        50%;

    background:
        rgba(4, 112, 184, 0.05);
}


.hero::after {
    content:
        '';

    position:
        absolute;

    width:
        420px;

    height:
        420px;

    right:
        -180px;

    bottom:
        -160px;

    border-radius:
        50%;

    background:
        rgba(4, 112, 184, 0.06);
}


.hero-grid {
    position:
        relative;

    z-index:
        2;

    display:
        grid;

    grid-template-columns:
        1.08fr 0.92fr;

    align-items:
        center;

    gap:
        70px;
}


.hero-content {
    max-width:
        650px;
}


.hero-badge {
    display:
        inline-flex;

    align-items:
        center;

    padding:
        8px 14px;

    margin-bottom:
        20px;

    border-radius:
        100px;

    background:
        rgba(4, 112, 184, 0.08);

    color:
        var(--primary);

    font-size:
        12px;

    font-weight:
        700;
}


.hero-content h1 {
    font-size:
        clamp(40px,
            5vw,
            65px);

    line-height:
        1.05;

    letter-spacing:
        -2.2px;

    color:
        #13212b;

    margin-bottom:
        22px;
}


.hero-content h1 span {
    display:
        block;

    color:
        var(--primary);
}


.hero-description {
    max-width:
        610px;

    color:
        var(--text-secondary);

    font-size:
        16px;

    line-height:
        1.8;

    margin-bottom:
        28px;
}


.hero-actions {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        12px;
}


.hero-features {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        20px;

    margin-top:
        27px;

    color:
        #51606b;

    font-size:
        12px;

    font-weight:
        600;
}


.hero-features span {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        5px;
}


/* ============================================================
   PHONE MOCKUP
============================================================ */

.hero-phone {
    display:
        flex;

    justify-content:
        center;

    position:
        relative;
}


.hero-phone::before {
    content:
        '';

    position:
        absolute;

    width:
        380px;

    height:
        380px;

    border-radius:
        50%;

    background:
        radial-gradient(circle,
            rgba(4, 112, 184, 0.18),
            rgba(4, 112, 184, 0));

    top:
        50%;

    left:
        50%;

    transform:
        translate(-50%, -50%);
}


.phone {
    position:
        relative;

    width:
        292px;

    background:
        #11191f;

    padding:
        9px;

    border-radius:
        38px;

    box-shadow:
        0 35px 70px rgba(17, 39, 53, 0.25);

    transform:
        rotate(2deg);
}


.phone::before {
    content:
        '';

    position:
        absolute;

    width:
        92px;

    height:
        22px;

    background:
        #11191f;

    top:
        8px;

    left:
        50%;

    transform:
        translateX(-50%);

    z-index:
        5;

    border-radius:
        0 0 14px 14px;
}


.phone-screen {
    min-height:
        570px;

    padding:
        36px 17px 20px;

    border-radius:
        31px;

    background:
        var(--background);

    overflow:
        hidden;
}


.phone-top {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    margin-bottom:
        18px;
}


.phone-top small {
    display:
        block;

    color:
        #7b8890;

    font-size:
        9px;
}


.phone-top h3 {
    color:
        var(--primary);

    font-size:
        16px;

    margin-top:
        2px;
}


.avatar {
    width:
        37px;

    height:
        37px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-weight:
        800;

    font-size:
        13px;
}


.app-banner {
    padding:
        18px;

    border-radius:
        19px;

    background:
        linear-gradient(135deg,
            var(--primary),
            #045c94);

    color:
        var(--white);

    box-shadow:
        0 12px 30px rgba(4, 112, 184, 0.19);
}


.app-banner span {
    display:
        inline-block;

    padding:
        4px 8px;

    margin-bottom:
        10px;

    border-radius:
        30px;

    background:
        rgba(255, 255, 255, 0.15);

    font-size:
        8px;

    text-transform:
        uppercase;

    letter-spacing:
        0.8px;
}


.app-banner h3 {
    font-size:
        16px;

    margin-bottom:
        5px;
}


.app-banner p {
    color:
        rgba(255, 255, 255, 0.8);

    font-size:
        10px;

    line-height:
        1.6;

    margin-bottom:
        15px;
}


.app-banner button {
    background:
        var(--white);

    color:
        var(--primary);

    padding:
        9px 12px;

    border-radius:
        9px;

    font-size:
        9px;

    font-weight:
        700;
}


.mini-title {
    margin:
        20px 0 9px;

    color:
        #2c3942;

    font-size:
        11px;

    font-weight:
        700;
}


.order-preview,
.points-preview {
    background:
        var(--white);

    padding:
        13px;

    border-radius:
        13px;

    border:
        1px solid #edf1f3;

    box-shadow:
        0 5px 18px rgba(20, 52, 74, 0.05);
}


.order-preview {
    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;
}


.order-preview div:first-child {
    display:
        flex;

    flex-direction:
        column;
}


.order-preview strong {
    font-size:
        10px;
}


.order-preview span {
    color:
        var(--primary);

    font-size:
        8px;

    margin-top:
        4px;
}


.order-status {
    color:
        var(--success);
}


.points-preview {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    background:
        linear-gradient(135deg,
            #0470B8,
            #034e7d);

    color:
        var(--white);
}


.points-preview div {
    display:
        flex;

    flex-direction:
        column;
}


.points-preview small {
    color:
        rgba(255, 255, 255, 0.7);

    font-size:
        8px;
}


.points-preview strong {
    margin-top:
        3px;

    font-size:
        15px;
}


.points-preview>span {
    color:
        #ffd25c;

    font-size:
        24px;
}


/* ============================================================
   TRUST SECTION
============================================================ */

.trust-section {
    background:
        var(--white);

    border-top:
        1px solid #edf2f5;

    border-bottom:
        1px solid #edf2f5;
}


.trust-grid {
    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    text-align:
        center;
}


.trust-grid div {
    padding:
        26px 15px;

    position:
        relative;
}


.trust-grid div:not(:last-child)::after {
    content:
        '';

    position:
        absolute;

    right:
        0;

    top:
        25%;

    height:
        50%;

    width:
        1px;

    background:
        #e8eef2;
}


.trust-grid strong {
    display:
        block;

    color:
        var(--primary);

    font-size:
        21px;

    font-weight:
        800;
}


.trust-grid span {
    display:
        block;

    margin-top:
        3px;

    color:
        #74808a;

    font-size:
        11px;
}


/* ============================================================
   SECTIONS
============================================================ */

.section {
    padding:
        90px 0;
}


.section-light {
    background:
        var(--background);
}


.section-heading {
    max-width:
        650px;

    margin:
        0 auto 48px;

    text-align:
        center;
}


.section-heading>span,
.section-label {
    display:
        inline-block;

    margin-bottom:
        10px;

    color:
        var(--primary);

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        1.5px;

    text-transform:
        uppercase;
}


.section-heading h2,
.loyalty-content h2,
.contact-info h2 {
    color:
        #17252e;

    font-size:
        clamp(29px,
            3.5vw,
            42px);

    line-height:
        1.15;

    letter-spacing:
        -1.2px;
}


.section-heading p {
    margin-top:
        13px;

    color:
        var(--text-secondary);

    font-size:
        14px;

    line-height:
        1.8;
}


/* ============================================================
   STEPS
============================================================ */

.steps-grid {
    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        18px;
}


.step-card {
    position:
        relative;

    padding:
        28px 24px;

    min-height:
        220px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    box-shadow:
        var(--shadow-soft);

    overflow:
        hidden;

    transition:
        all 0.25s ease;
}


.step-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow);

    border-color:
        rgba(4, 112, 184, 0.2);
}


.step-number {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        45px;

    height:
        45px;

    margin-bottom:
        24px;

    border-radius:
        13px;

    background:
        var(--primary-light);

    color:
        var(--primary);

    font-weight:
        800;

    font-size:
        12px;
}


.step-card h3 {
    margin-bottom:
        10px;

    font-size:
        15px;

    color:
        #25333d;
}


.step-card p {
    color:
        var(--text-secondary);

    font-size:
        12px;

    line-height:
        1.75;
}


/* ============================================================
   FEATURES
============================================================ */

.features-grid {
    display:
        grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap:
        20px;
}


.feature-card {
    padding:
        25px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    transition:
        all 0.25s ease;
}


.feature-card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        var(--shadow-soft);

    border-color:
        rgba(4, 112, 184, 0.2);
}


.feature-icon {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        48px;

    height:
        48px;

    margin-bottom:
        18px;

    border-radius:
        14px;

    background:
        var(--primary-light);

    font-size:
        21px;
}


.feature-card h3 {
    margin-bottom:
        7px;

    color:
        #25333d;

    font-size:
        15px;
}


.feature-card p {
    color:
        var(--text-secondary);

    font-size:
        12px;

    line-height:
        1.75;
}


/* ============================================================
   LOYALTY
============================================================ */

.loyalty-section {
    position:
        relative;

    overflow:
        hidden;

    background:
        var(--white);
}


.loyalty-grid {
    display:
        grid;

    grid-template-columns:
        1fr 1fr;

    align-items:
        center;

    gap:
        90px;
}


.loyalty-content p {
    margin:
        18px 0 22px;

    max-width:
        530px;

    color:
        var(--text-secondary);

    font-size:
        14px;

    line-height:
        1.8;
}


.loyalty-content ul {
    display:
        grid;

    gap:
        11px;
}


.loyalty-content li {
    color:
        #4f5f69;

    font-size:
        13px;

    font-weight:
        500;
}


.loyalty-card {
    position:
        relative;

    min-height:
        270px;

    padding:
        27px;

    border-radius:
        25px;

    overflow:
        hidden;

    color:
        var(--white);

    background:
        linear-gradient(135deg,
            #0470B8 0%,
            #035f9d 45%,
            #023b62 100%);

    box-shadow:
        0 30px 60px rgba(4, 76, 120, 0.28);

    transform:
        rotate(2deg);
}


.loyalty-card::before {
    content:
        '';

    position:
        absolute;

    width:
        220px;

    height:
        220px;

    border-radius:
        50%;

    right:
        -90px;

    top:
        -100px;

    background:
        rgba(255, 255, 255, 0.07);
}


.loyalty-card::after {
    content:
        '';

    position:
        absolute;

    width:
        170px;

    height:
        170px;

    border-radius:
        50%;

    right:
        60px;

    bottom:
        -110px;

    background:
        rgba(255, 255, 255, 0.05);
}


.loyalty-card-header,
.loyalty-card-footer {
    position:
        relative;

    z-index:
        2;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;
}


.loyalty-card-header div {
    display:
        flex;

    flex-direction:
        column;
}


.loyalty-card-header strong {
    font-size:
        20px;

    letter-spacing:
        1.2px;
}


.loyalty-card-header small {
    margin-top:
        2px;

    color:
        rgba(255, 255, 255, 0.7);

    font-size:
        9px;

    letter-spacing:
        1.4px;
}


.loyalty-card>p {
    position:
        relative;

    z-index:
        2;

    margin-top:
        48px;

    color:
        rgba(255, 255, 255, 0.7);

    font-size:
        9px;

    letter-spacing:
        1.2px;
}


.loyalty-card>h3 {
    position:
        relative;

    z-index:
        2;

    margin-top:
        4px;

    font-size:
        39px;

    line-height:
        1;
}


.loyalty-card>h3 small {
    font-size:
        12px;

    color:
        rgba(255, 255, 255, 0.7);
}


.loyalty-card-footer {
    margin-top:
        44px;
}


.loyalty-card-footer div {
    display:
        flex;

    flex-direction:
        column;
}


.loyalty-card-footer small {
    color:
        rgba(255, 255, 255, 0.55);

    font-size:
        8px;
}


.loyalty-card-footer strong {
    margin-top:
        2px;

    font-size:
        11px;

    letter-spacing:
        0.5px;
}


.loyalty-card-footer>span {
    padding:
        7px 10px;

    border-radius:
        30px;

    background:
        rgba(255, 255, 255, 0.12);

    font-size:
        9px;

    font-weight:
        700;

    color:
        #fff;
}


/* ============================================================
   DOWNLOAD
============================================================ */

.download-section {
    padding:
        30px 0 90px;
}


.download-box {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        40px;

    padding:
        46px 50px;

    border-radius:
        var(--radius-large);

    background:
        linear-gradient(135deg,
            var(--primary),
            var(--primary-dark),
            var(--primary-darker));

    color:
        var(--white);

    box-shadow:
        0 25px 55px rgba(4, 82, 132, 0.22);
}


.download-box>div {
    max-width:
        700px;
}


.download-box span {
    color:
        rgba(255, 255, 255, 0.7);

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        1.4px;
}


.download-box h2 {
    margin-top:
        6px;

    font-size:
        clamp(26px,
            3vw,
            37px);

    line-height:
        1.2;
}


.download-box p {
    margin-top:
        10px;

    color:
        rgba(255, 255, 255, 0.75);

    font-size:
        13px;

    line-height:
        1.7;
}


/* ============================================================
   CONTACT
============================================================ */

.contact-section {
    background:
        var(--background);
}


.contact-grid {
    display:
        grid;

    grid-template-columns:
        0.85fr 1.15fr;

    gap:
        70px;

    align-items:
        start;
}


.contact-info {
    padding-top:
        25px;
}


.contact-info p {
    margin-top:
        18px;

    color:
        var(--text-secondary);

    font-size:
        14px;

    line-height:
        1.8;
}


.contact-item {
    display:
        flex;

    flex-direction:
        column;

    margin-top:
        28px;

    padding:
        18px;

    border-radius:
        14px;

    background:
        var(--primary-light);
}


.contact-item strong {
    color:
        var(--primary);

    font-size:
        13px;
}


.contact-item span {
    margin-top:
        3px;

    color:
        var(--text-secondary);

    font-size:
        11px;
}


/* ============================================================
   FORMULAIRE
============================================================ */

.contact-form-box {
    background:
        var(--white);

    padding:
        32px;

    border:
        1px solid var(--border);

    border-radius:
        22px;

    box-shadow:
        var(--shadow-soft);
}


.form-row {
    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        14px;
}


.form-group {
    margin-bottom:
        16px;
}


.form-group label {
    display:
        block;

    margin-bottom:
        7px;

    color:
        #35434c;

    font-size:
        11px;

    font-weight:
        700;
}


.form-group input,
.form-group textarea {
    width:
        100%;

    padding:
        13px 14px;

    border:
        1px solid #dfe8ed;

    border-radius:
        11px;

    outline:
        none;

    background:
        #fbfdfe;

    color:
        #25313a;

    font-size:
        13px;

    transition:
        all 0.2s ease;
}


.form-group textarea {
    resize:
        vertical;

    min-height:
        125px;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color:
        #a4afb6;
}


.form-group input:focus,
.form-group textarea:focus {
    border-color:
        var(--primary);

    background:
        var(--white);

    box-shadow:
        0 0 0 4px rgba(4, 112, 184, 0.07);
}


.form-message {
    display:
        none;

    margin-top:
        13px;

    padding:
        11px 13px;

    border-radius:
        10px;

    font-size:
        11px;
}


.form-message.success {
    display:
        block;

    background:
        rgba(34, 168, 97, 0.09);

    color:
        var(--success);

    border:
        1px solid rgba(34, 168, 97, 0.16);
}


.form-message.error {
    display:
        block;

    background:
        rgba(221, 75, 75, 0.08);

    color:
        var(--danger);

    border:
        1px solid rgba(221, 75, 75, 0.16);
}


/* ============================================================
   FOOTER
============================================================ */

.footer {
    padding:
        60px 0 0;

    background:
        #101b23;

    color:
        var(--white);
}


.footer-grid {
    display:
        grid;

    grid-template-columns:
        2fr 1fr 1fr;

    gap:
        60px;

    padding-bottom:
        45px;
}


.footer-logo strong {
    color:
        var(--white);
}


.footer-logo span {
    color:
        rgba(255, 255, 255, 0.45);
}


.footer-grid>div:first-child p {
    max-width:
        370px;

    margin-top:
        18px;

    color:
        rgba(255, 255, 255, 0.52);

    font-size:
        12px;

    line-height:
        1.8;
}


.footer h4 {
    margin-bottom:
        15px;

    color:
        var(--white);

    font-size:
        13px;
}


.footer-grid>div:not(:first-child) {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;
}


.footer-grid>div:not(:first-child) a {
    margin-bottom:
        9px;

    color:
        rgba(255, 255, 255, 0.55);

    font-size:
        11px;

    transition:
        color 0.2s ease;
}


.footer-grid>div:not(:first-child) a:hover {
    color:
        var(--white);
}


.footer-bottom {
    padding:
        19px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}


.footer-bottom p {
    color:
        rgba(255, 255, 255, 0.43);

    font-size:
        10px;

    text-align:
        center;
}


/* ============================================================
   SELECTION TEXTE
============================================================ */

::selection {
    background:
        var(--primary);

    color:
        var(--white);
}


/* ============================================================
   SCROLLBAR
============================================================ */

::-webkit-scrollbar {
    width:
        8px;
}


::-webkit-scrollbar-track {
    background:
        #eef5f8;
}


::-webkit-scrollbar-thumb {
    background:
        #a9c8dc;

    border-radius:
        20px;
}


::-webkit-scrollbar-thumb:hover {
    background:
        var(--primary);
}


/* ============================================================
   RESPONSIVE - TABLET
============================================================ */

@media (max-width: 1050px) {

    .nav-menu {
        display:
            none;
    }


    .hero-grid {
        gap:
            35px;

        grid-template-columns:
            1fr 0.85fr;
    }


    .steps-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .features-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .loyalty-grid {
        gap:
            45px;
    }


    .contact-grid {
        gap:
            40px;
    }
}


/* ============================================================
   RESPONSIVE - 850
============================================================ */

@media (max-width: 850px) {

    .hero {
        padding-top:
            125px;
    }


    .hero-grid {
        grid-template-columns:
            1fr;

        text-align:
            center;
    }


    .hero-content {
        margin:
            0 auto;
    }


    .hero-description {
        margin-left:
            auto;

        margin-right:
            auto;
    }


    .hero-actions,
    .hero-features {
        justify-content:
            center;
    }


    .hero-phone {
        margin-top:
            15px;
    }


    .phone {
        transform:
            none;
    }


    .trust-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .trust-grid div:nth-child(2)::after {
        display:
            none;
    }


    .loyalty-grid {
        grid-template-columns:
            1fr;

        gap:
            45px;
    }


    .loyalty-content {
        text-align:
            center;
    }


    .loyalty-content p {
        margin-left:
            auto;

        margin-right:
            auto;
    }


    .loyalty-content ul {
        justify-content:
            center;
    }


    .loyalty-card {
        max-width:
            520px;

        width:
            100%;

        margin:
            0 auto;

        transform:
            none;
    }


    .download-box {
        flex-direction:
            column;

        align-items:
            flex-start;
    }


    .contact-grid {
        grid-template-columns:
            1fr;
    }


    .contact-info {
        text-align:
            center;

        padding-top:
            0;
    }


    .contact-item {
        max-width:
            450px;

        margin-left:
            auto;

        margin-right:
            auto;
    }


    .footer-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .footer-grid>div:first-child {
        grid-column:
            1 / -1;
    }
}


/* ============================================================
   RESPONSIVE - MOBILE
============================================================ */

@media (max-width: 600px) {

    .container {
        width:
            min(100% - 28px,
                1180px);
    }


    .navbar {
        min-height:
            68px;
    }


    .logo-icon {
        width:
            38px;

        height:
            38px;

        font-size:
            23px;
    }


    .logo strong {
        font-size:
            15px;
    }


    .logo span {
        font-size:
            7px;
    }


    .btn-header {
        display:
            none;
    }


    .hero {
        padding:
            108px 0 65px;
    }


    .hero-content h1 {
        font-size:
            39px;

        letter-spacing:
            -1.5px;
    }


    .hero-description {
        font-size:
            14px;
    }


    .hero-actions {
        flex-direction:
            column;
    }


    .hero-actions .btn {
        width:
            100%;
    }


    .hero-features {
        gap:
            10px;

        font-size:
            10px;
    }


    .phone {
        width:
            270px;
    }


    .phone-screen {
        min-height:
            535px;
    }


    .trust-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .trust-grid div {
        padding:
            21px 8px;
    }


    .trust-grid strong {
        font-size:
            18px;
    }


    .trust-grid span {
        font-size:
            9px;
    }


    .section {
        padding:
            65px 0;
    }


    .section-heading {
        margin-bottom:
            32px;
    }


    .section-heading h2,
    .loyalty-content h2,
    .contact-info h2 {
        font-size:
            29px;
    }


    .steps-grid {
        grid-template-columns:
            1fr;
    }


    .features-grid {
        grid-template-columns:
            1fr;
    }


    .step-card {
        min-height:
            auto;
    }


    .loyalty-card {
        min-height:
            245px;

        padding:
            22px;
    }


    .loyalty-card>p {
        margin-top:
            38px;
    }


    .loyalty-card>h3 {
        font-size:
            34px;
    }


    .loyalty-card-footer {
        margin-top:
            38px;
    }


    .download-section {
        padding:
            10px 0 65px;
    }


    .download-box {
        padding:
            32px 25px;

        border-radius:
            21px;
    }


    .download-box .btn {
        width:
            100%;
    }


    .contact-form-box {
        padding:
            22px 17px;
    }


    .form-row {
        grid-template-columns:
            1fr;

        gap:
            0;
    }


    .footer {
        padding-top:
            45px;
    }


    .footer-grid {
        grid-template-columns:
            1fr;

        gap:
            32px;
    }


    .footer-grid>div:first-child {
        grid-column:
            auto;
    }
}


/* ============================================================
   PETITS ECRANS
============================================================ */

@media (max-width: 380px) {

    .hero-content h1 {
        font-size:
            34px;
    }


    .phone {
        width:
            250px;
    }


    .loyalty-card-footer {
        align-items:
            flex-end;

        gap:
            10px;
    }


    .loyalty-card-footer>span {
        font-size:
            7px;
    }
}


/* ============================================================
   ANIMATIONS
============================================================ */

@keyframes fadeUp {

    from {
        opacity:
            0;

        transform:
            translateY(20px);
    }

    to {
        opacity:
            1;

        transform:
            translateY(0);
    }
}


.hero-content {
    animation:
        fadeUp 0.7s ease both;
}


.hero-phone {
    animation:
        fadeUp 0.85s ease 0.12s both;
}



/* ============================================================
   JS - ANIMATIONS AU SCROLL
============================================================ */

.animate-on-scroll {
    opacity:
        0;

    transform:
        translateY(25px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}


.animate-on-scroll.visible {
    opacity:
        1;

    transform:
        translateY(0);
}


/* ============================================================
   LOADER BOUTON FORMULAIRE
============================================================ */

.btn-loader {

    width:
        16px;

    height:
        16px;

    display:
        inline-block;

    border:
        2px solid rgba(255, 255, 255, 0.4);

    border-top-color:
        #ffffff;

    border-radius:
        50%;

    animation:
        btnLoading 0.7s linear infinite;
}


@keyframes btnLoading {

    to {

        transform:
            rotate(360deg);
    }
}


.btn:disabled {

    opacity:
        0.75;

    cursor:
        not-allowed;

    transform:
        none;
}