/* =========================
   Base
========================= */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17344d;
    background: #ffffff;
    line-height: 1.5;
}

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

.container {
    width: calc(100% - 8rem);
    margin: 0 auto;
}


/* =========================
   Titres
========================= */

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    max-width: 550px;
    color: #17344d;
    font-size: 2.7rem;
    font-weight: 700;
}

h2 {
    color: #17344d;
    font-size: 2rem;
    font-weight: 700;
}

.title-line {
    width: 46px;
    height: 2px;
    margin: 0.7rem 0 0.8rem;
    background: #79a0bd;
}

.services .title-line,
.practical-info .title-line {
    margin-left: 0;
    margin-right: 0;
}

.section-intro {
    color: #536f86;
    font-size: 1rem;
}

.services .section-intro,
.practical-info .section-intro {
    max-width: none;
    text-align: left;
}


/* =========================
   Hero
========================= */

.hero {
    position: relative;
    min-height: 400px;
    overflow: hidden;
    background: #edf5fa;
}

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

    min-height: 400px;

    display: flex;
    align-items: center;
}

.hero-text {
    width: 46%;
    padding: 2rem 0;
}

.hero-image {
    position: absolute;
    z-index: 1;

    top: 0;
    right: 0;

    width: 62%;
    height: 100%;
}

.hero-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 58%;

    /*
       L'image disparaît progressivement
       vers la gauche pour fusionner avec
       le fond du Hero.
    */
    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.15) 12%,
            black 35%,
            black 100%
        );

    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            rgba(0, 0, 0, 0.15) 12%,
            black 35%,
            black 100%
        );
}

.brand {
    margin-bottom: 0.5rem;
    color: #6589a5;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.brand {
    margin-bottom: 0.5rem;
    color: #6589a5;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}



/* =========================
   Création de sites
========================= */

.services {
    padding: 1.5rem 0 1.25rem;
    background: #ffffff;
}

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

    width: 100%;
    margin-top: 1.25rem;
}

.offer-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: fit-content;
    max-width: 100%;
    padding: 1.25rem 1.5rem;

    background: #eef6fb;
    border-radius: 12px;
}

/* Carte gauche → collée vers le centre */
.offer-card:first-child {
    justify-self: end;
}

/* Carte droite → collée vers le centre */
.offer-card:nth-child(2) {
    justify-self: start;
}

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

    width: 54px;
    height: 54px;
    margin-bottom: 0.7rem;

    border-radius: 50%;
    background-color: #dcecf6;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}

/* Carte Vitrine dorée */
.offer-card:nth-child(2) {
    background: #fff7e8;
}

/* Icône One-Page */
.offer-card:first-child::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%232d6489' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='1'/%3E%3Cpath d='M3 8h18'/%3E%3Cpath d='M7 12h4v4H7z'/%3E%3Cpath d='M14 12h3'/%3E%3Cpath d='M14 16h3'/%3E%3C/svg%3E");
}

/* Icône Vitrine */
.offer-card:nth-child(2)::before {
    background-color: #f8e9c9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%239b762c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='14' height='12' rx='1'/%3E%3Crect x='7' y='8' width='14' height='12' rx='1'/%3E%3Cpath d='M10 12h8'/%3E%3C/svg%3E");
}

.offer-card h3 {
    margin: 0;
    color: #17344d;
    font-size: 1.25rem;
}

.price {
    margin: 0.15rem 0 0.5rem;
    color: #17344d;
    font-size: 1.75rem;
    font-weight: 700;
}

.price::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin-top: 0.35rem;
    background: #79a0bd;
}

.offer-card:nth-child(2) .price::after {
    background: #b89143;
}

.offer-card p:last-child {
    color: #536f86;
}

.additional-services {
    margin-top: 0.9rem;
    color: #536f86;
    text-align: center;
}

.additional-services p + p {
    margin-top: 0;
}


/* =========================
   Infos pratiques
========================= */

.practical-info {
    padding: 1.25rem 0 1.5rem;
    background: #edf6fb;
}

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

.info-item {
    position: relative;
    min-height: 95px;
    padding: 0rem 2rem 0.4rem 2rem;
}

/* Séparateurs */
.info-item:not(:last-child) {
    border-right: 1px solid #b9cfdd;
}

.info-item::before {
    content: "";
    display: block;
    position: static;

    width: 54px;
    height: 54px;
    margin-bottom: 0.6rem;

    border-radius: 50%;
    background-color: #dcecf6;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px;
}

/* PC */
.info-item:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%232d6489' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='12' rx='1'/%3E%3Cpath d='M2 20h20'/%3E%3Cpath d='M8 16l-1 4'/%3E%3Cpath d='M16 16l1 4'/%3E%3C/svg%3E");
}

/* Engrenage */
.info-item:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%232d6489' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1-2.8 2.8-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.6v.2h-4V21a1.7 1.7 0 0 0-1-1.6 1.7 1.7 0 0 0-1.9.3l-.1.1L4.2 17l.1-.1a1.7 1.7 0 0 0 .3-1.9A1.7 1.7 0 0 0 3 14H2.8v-4H3a1.7 1.7 0 0 0 1.6-1 1.7 1.7 0 0 0-.3-1.9L4.2 7 7 4.2l.1.1a1.7 1.7 0 0 0 1.9.3A1.7 1.7 0 0 0 10 3V2.8h4V3a1.7 1.7 0 0 0 1 1.6 1.7 1.7 0 0 0 1.9-.3l.1-.1L19.8 7l-.1.1a1.7 1.7 0 0 0-.3 1.9 1.7 1.7 0 0 0 1.6 1h.2v4H21a1.7 1.7 0 0 0-1.6 1z'/%3E%3C/svg%3E");
}

/* Mail */
.info-item:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%232d6489' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.info-item h3 {
    margin-bottom: 0.2rem;
    color: #17344d;
    font-size: 1rem;
}

.info-item p {
    color: #536f86;
}

.info-item a {
    color: #286ca0;
}

.info-item a:hover {
    text-decoration: underline;
}


/* =========================
   Footer
========================= */

.footer {
    padding: 1.25rem 0;
    color: #dbe6ee;
    background: #24465f;
}

.footer .container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    margin-right: auto;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Le mail du footer n'est pas nécessaire :
   il existe déjà dans Infos pratiques. */
.footer > .container > p:nth-child(2) {
    display: none;
}

.footer-nav {
    display: flex;
    align-items: center;
}

.footer-nav a {
    padding: 0 1rem;
    color: #dbe6ee;
    font-size: 0.85rem;
}

.footer-nav a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav a:hover {
    color: #ffffff;
}

/* =========================
   Pages légales
========================= */

.legal-page {
    padding: 2.5rem 0 3rem;
    background: #ffffff;
}

.legal-content {
    max-width: 900px;
}

.legal-content h1 {
    font-size: 2.3rem;
}

.legal-content section {
    margin-top: 2rem;
}

.legal-content h2 {
    margin-bottom: 0.6rem;
    font-size: 1.3rem;
}

.legal-content p {
    margin-bottom: 0.8rem;
    color: #536f86;
}

.legal-content a {
    color: #286ca0;
}

.legal-content a:hover {
    text-decoration: underline;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* =========================
   Mobile
========================= */

@media (max-width: 1100px) {
    .offer-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 900px) {

    .offers {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .offer-card {
        width: 100%;
    }

    .offer-card:first-child,
    .offer-card:nth-child(2) {
        justify-self: stretch;
    }
}

@media (max-width: 704px) {

    .info-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .info-item {
        min-height: auto;
        padding: 1rem 0;
    }

    /* On supprime les séparateurs verticaux */
    .info-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #b9cfdd;
    }

    .hero {
        min-height: 0;
    }

    .hero-content {
        min-height: 0;
        padding: 3rem 0;
    }

    .hero-image {
        display: none;
    }

    .hero-text {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 600px) {

    .offers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .offer-card {
        width: 100%;
        max-width: 100%;
    }

    .offer-card:first-child,
    .offer-card:nth-child(2) {
        justify-self: stretch;
    }
}

@media (max-width: 500px) {

    .container {
        width: calc(100% - 2rem);
    }

    .footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-nav a + a {
        border-left: none;
    }
}

@media (max-width: 375px) {

    h1 {
        font-size: 2.3rem;
    }
}