@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700&display=swap");


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --navy: #003955;
    --navy2: #00283e;
    --blue: #7b9dad;
    --gold: #d4b06a;
    --mint: #9ccbaa;
    --pale: #97cfd2;
    --cream: #f5f1e9;
    --white: #ffffff;
    --ink: #17303d;

    --shadow: 0 20px 60px rgba(0, 57, 85, 0.14);
}


/* =========================================================
   BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.65;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    font-family: "Bebas Neue", "Arial Narrow", sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.98;
}

h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(4rem, 9vw, 8rem);
    color: var(--navy);
}

h1 em {
    color: var(--gold);
    font-style: normal;
}

h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.7rem, 5.5vw, 5rem);
    color: var(--navy);
}

h2 span {
    color: var(--gold);
}

h3 {
    font-size: 1.35rem;
    color: var(--navy);
    line-height: 1.25;
}

.container {
    width: min(1160px, calc(100% - 2.5rem));
    margin-inline: auto;
}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    padding: 0.75rem;
    background: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}


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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0, 57, 85, 0.09);
}

.nav-wrap {
    height: 105px;

    display: flex;
    align-items: center;
    gap: 2rem;
}


/* =========================================================
   LOGO
   ========================================================= */

.brand {
    display: block;
    flex-shrink: 0;
}

.site-header .brand {
    width: 350px;
}

.site-header .brand-logo {
    display: block;
    width: auto;
    height: auto;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    gap: 1.7rem;

    margin-left: auto;
}

.main-nav a {
    color: var(--navy);
    text-decoration: none;

    font-size: 0.92rem;
    font-weight: 600;
}

.main-nav a:hover {
    color: #9b7431;
}


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

.menu-toggle {
    display: none;

    padding: 0.5rem;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;

    width: 25px;
    height: 2px;
    margin: 5px;

    background: var(--navy);
}


/* =========================================================
   BOUTONS
   ========================================================= */

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

    padding: 0.8rem 1.35rem;

    color: var(--navy2);
    background: var(--gold);

    border: 2px solid var(--gold);
    border-radius: 100px;

    text-decoration: none;
    font-weight: 700;

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

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

    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.12);
}

.btn-small {
    padding: 0.58rem 1rem;
}

.btn-outline {
    color: var(--navy);
    background: transparent;
    border-color: var(--navy);
}

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

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

.btn-ghost {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.75);
}


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

.hero {
    position: relative;

    min-height: 750px;

    display: grid;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #f7f3eb 0%,
            #eef7f5 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;

    align-items: center;

    padding-block: 6rem;
}

.hero-copy .eyebrow {
    margin-bottom: 1rem;
}

.lead {
    max-width: 640px;

    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;

    margin-top: 2rem;
}


/* =========================================================
   LABELS / EYEBROW
   ========================================================= */

.eyebrow {
    margin-bottom: 1rem;

    color: #98752f;

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow.light {
    color: var(--gold);
}


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

.hero-visual {
    position: relative;

    min-height: 480px;

    display: grid;
    place-items: center;
}

.monitor {
    width: min(440px, 92%);

    filter:
        drop-shadow(
            0 35px 35px rgba(0, 57, 85, 0.18)
        );
}

.monitor-screen {
    aspect-ratio: 4 / 3;

    display: grid;
    place-content: center;

    text-align: center;
    color: var(--white);

    background:
        linear-gradient(
            145deg,
            var(--navy),
            #07547a
        );

    border: 12px solid #e7e1d5;
    border-radius: 23px;
}

.monitor-screen p {
    margin: 0.8rem 0 0;

    font-family: "Bebas Neue", sans-serif;
    font-size: 1.4rem;

    letter-spacing: 0.22em;
}

.monitor-stand {
    width: 45%;
    height: 70px;

    margin: auto;

    background: #d8d2c7;

    clip-path:
        polygon(
            38% 0,
            62% 0,
            76% 78%,
            100% 78%,
            100% 100%,
            0 100%,
            0 78%,
            24% 78%
        );
}


/* =========================================================
   ŒIL DÉCORATIF
   Attention : ceci n'est PAS le logo.
   Il sert uniquement à l'illustration centrale.
   ========================================================= */

.eye {
    position: relative;

    width: 135px;
    height: 85px;

    display: grid;
    place-items: center;

    margin: auto;

    border: 4px solid var(--pale);
    border-radius: 70% 12% 70% 12%;

    transform: rotate(-7deg);
}

.eye::before {
    content: "";

    width: 48px;
    height: 48px;

    border: 8px solid var(--gold);
    border-radius: 50%;
}

.eye i {
    position: absolute;

    width: 18px;
    height: 18px;

    background: var(--pale);
    border-radius: 50%;
}

.eye.large {
    width: 220px;
    height: 140px;

    border-width: 6px;
}

.eye.large::before {
    width: 70px;
    height: 70px;
}


/* =========================================================
   CARTE "ASSISTANCE SEREINE"
   ========================================================= */

.trust-card {
    position: absolute;
    bottom: 5%;
    left: 0;

    display: flex;
    align-items: center;
    gap: 0.8rem;

    padding: 1rem 1.3rem;

    background: var(--white);

    border-radius: 15px;
    box-shadow: var(--shadow);
}

.trust-card > span {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

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

    border-radius: 50%;

    font-weight: 800;
}

.trust-card div {
    display: grid;
}

.trust-card small {
    color: #67808b;
}


/* =========================================================
   DÉCORATIONS HERO
   ========================================================= */

.hero-decoration {
    position: absolute;

    border-radius: 50%;

    filter: blur(2px);
    opacity: 0.55;
}

.d1 {
    top: -80px;
    right: -120px;

    width: 280px;
    height: 280px;

    background: var(--pale);
}

.d2 {
    bottom: -70px;
    left: -100px;

    width: 170px;
    height: 170px;

    background: var(--gold);
}


/* =========================================================
   SECTIONS GÉNÉRALES
   ========================================================= */

.section {
    padding: 8rem 0;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8vw;

    align-items: start;
}

.intro-text {
    padding-top: 1.5rem;

    font-size: 1.3rem;
}

.intro-text strong {
    color: var(--navy);
}

.section-heading {
    max-width: 780px;

    margin: 0 auto 4rem;

    text-align: center;
}


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

.services {
    background: #f6f7f4;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.service-card {
    padding: 2rem;

    background: var(--white);

    border-radius: 8px;
    border-top: 5px solid var(--pale);

    box-shadow:
        0 10px 35px rgba(0, 57, 85, 0.07);

    transition:
        transform 0.25s,
        border-color 0.25s;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: var(--gold);
}

.service-card .icon {
    color: var(--gold);

    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5rem;
}


/* =========================================================
   POURQUOI ME FAIRE CONFIANCE
   ========================================================= */

.trust {
    overflow: hidden;

    color: #e9f3f3;
    background: var(--navy);
}

.trust h2,
.contact h2 {
    color: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 7vw;

    align-items: center;
}

.trust-visual {
    position: relative;
}

.rings {
    width: min(430px, 100%);
    aspect-ratio: 1;

    display: grid;
    place-items: center;

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

    box-shadow:
        0 0 0 50px rgba(151, 207, 210, 0.06),
        0 0 0 100px rgba(151, 207, 210, 0.03);
}

.check-list {
    display: grid;
    gap: 0.85rem;

    padding: 0;

    list-style: none;
}

.check-list li {
    position: relative;

    padding-left: 2rem;
}

.check-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--gold);

    font-weight: 900;
}

.trust-note {
    margin-top: 2rem;

    color: var(--pale);

    font-size: 1.18rem;
}


/* =========================================================
   TARIFS
   ========================================================= */

.pricing {
    background: var(--cream);
}

.pricing-grid {
    max-width: 900px;

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

    margin: auto;
}

.price-card {
    position: relative;

    padding: 2.6rem;

    background: var(--white);

    border-radius: 18px;

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

.price-card.featured {
    color: #eaf4f2;
    background: var(--navy);
}

.price-card.featured h3 {
    color: var(--white);
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;

    padding: 0.3rem 0.75rem;

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

    border-radius: 100px;

    font-size: 0.75rem;
    font-weight: 700;
}

.badge.secondary {
    background: var(--mint);
}

.prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;

    margin: 2rem 0;
}

.prices > div {
    display: grid;
}

.prices small {
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.prices strong {
    font-family: "Bebas Neue", sans-serif;
    font-size: 3.5rem;
    line-height: 1;
}

.prices sup {
    font-size: 1.2rem;
}

.hourly {
    margin: 2rem 0 0;

    text-align: center;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    color: #eaf4f2;

    background:
        linear-gradient(
            145deg,
            #064863,
            var(--navy2)
        );
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 7vw;

    align-items: center;
}

.contact-card {
    display: grid;
    gap: 0.35rem;

    padding: 2.5rem;

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

    border-radius: 16px;

    box-shadow: var(--shadow);

    font-style: normal;
}

.contact-card strong {
    color: var(--navy);

    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
}

.contact-card a {
    color: var(--navy);

    text-decoration: none;
    font-weight: 700;
}


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

footer {
    padding: 2rem 0;

    color: #b9cbd3;
    background: #001f30;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    color: var(--white);
}

/* Logo du footer */

.footer-brand .brand-logo {
    width: auto;
    height: 60px;
    max-width: 280px;

    object-fit: contain;
    object-position: left center;
}

.footer-grid p {
    margin: 0;

    font-size: 0.8rem;
}

.footer-grid > a {
    justify-self: end;

    color: var(--pale);

    text-decoration: none;
}

.footer-grid > a:hover {
    color: var(--gold);
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

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

.reveal.visible {
    opacity: 1;

    transform: none;
}


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

@media (max-width: 900px) {

    .nav-wrap {
        gap: 1rem;
    }

    .site-header .brand {
        max-width: 240px;
    }

    .site-header .brand-logo {
        height: 65px;
        max-width: 240px;
    }

    .main-nav {
        position: absolute;
        top: 92px;
        right: 0;
        left: 0;

        display: none;
        flex-direction: column;

        margin-left: 0;
        padding: 1.5rem 2rem;

        background: var(--white);

        border-bottom: 1px solid #dddddd;
    }

    .main-nav.open {
        display: flex;
    }

    .menu-toggle {
        display: block;

        margin-left: auto;
    }

    .nav-wrap > .btn-small {
        display: none;
    }

    .hero-grid,
    .split,
    .trust-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .lead {
        margin-inline: auto;
    }

    .actions {
        justify-content: center;
    }

    .hero-visual {
        min-height: 400px;
    }

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

    .trust-visual {
        max-width: 430px;

        margin: auto;
    }

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

        text-align: center;
    }

    .footer-brand {
        justify-self: center;
    }

    .footer-brand .brand-logo {
        object-position: center;
    }

    .footer-grid > a {
        justify-self: center;
    }
}


/* =========================================================
   RESPONSIVE - SMARTPHONE
   ========================================================= */

@media (max-width: 560px) {

    .container {
        width: min(100% - 1.5rem, 1160px);
    }

    /*
       On réduit le logo mais on conserve toujours
       ses proportions originales.
    */

    .site-header .brand {
        max-width: 200px;
    }

    .site-header .brand-logo {
        width: auto;
        height: 55px;
        max-width: 200px;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 4rem;
    }

    .hero-visual {
        min-height: 320px;
    }

    .trust-card {
        bottom: 0;
        left: 2%;
    }

    .section {
        padding: 5rem 0;
    }

    .cards,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card {
        padding: 2rem;
    }

    .prices strong {
        font-size: 2.8rem;
    }

    .footer-brand .brand-logo {
        height: 55px;
        max-width: 230px;

        object-position: center;
    }
}


/* =========================================================
   RÉDUCTION DES ANIMATIONS
   ========================================================= */

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

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;

        transform: none;
        transition: none;
    }

    .btn {
        transition: none;
    }
}