/*
 * Weedev — thème et composants.
 * tailwind.css (chargé avant) fournit le reset et les utilitaires de mise en page.
 * Il est compilé à partir des classes utilisées dans les pages : si vous ajoutez
 * de nouvelles classes Tailwind dans le HTML, régénérez-le avec
 *   npx tailwindcss@3.4.17 --content './*.html' -o tailwind.css --minify
 * Modifiez les variables ci-dessous pour changer la palette du site.
 */
:root {
    --color-background: #050511;
    --color-background-rgb: 5 5 17;
    --color-white: 255 255 255;
    --color-black: 0 0 0;
    --color-gray-100: 243 244 246;
    --color-gray-200: 229 231 235;
    --color-gray-300: 209 213 219;
    --color-gray-400: 156 163 175;
    --color-gray-500: 107 114 128;
    --color-blue-400: 45 139 255;
    --color-blue-500: 27 111 249;
    --color-blue-600: 37 99 235;
    --color-blue-electric: 56 189 248;
    --color-emerald-500: 16 185 129;
    --radius-card: 1.25rem;
}

/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--color-background);
    color: rgb(var(--color-gray-100));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Halos lumineux fixes sur les côtés de la page. */
body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -1;
    width: 30rem;
    height: 30rem;
    border-radius: 9999px;
    pointer-events: none;
    opacity: .2;
    filter: blur(100px);
    background-color: rgb(var(--color-blue-electric));
    box-shadow: 0 0 120px rgb(var(--color-blue-electric) / .12);
}

body::before {
    top: 10rem;
    left: -12rem;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 35%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 35%, transparent);
}

body::after {
    top: 0;
    right: -12rem;
    -webkit-mask-image: linear-gradient(to left, transparent, #000 35%, transparent);
    mask-image: linear-gradient(to left, transparent, #000 35%, transparent);
}

/* Accueil : halos bleus animés derrière le contenu. */
.site-halos {
    position: fixed;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.site-halos::before,
.site-halos::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
}

.site-halos::before {
    background-color: var(--color-background);
    mix-blend-mode: multiply;
    opacity: .5;
}

.site-halos::after,
.contact-section::after {
    background-image:
        linear-gradient(
            to bottom,
            transparent,
            rgb(var(--color-background-rgb) / .45) 72%,
            var(--color-background) 100%
        ),
        radial-gradient(circle at 16% 32%, rgb(var(--color-blue-electric) / .12), transparent 34%),
        radial-gradient(circle at 84% 38%, rgb(var(--color-blue-600) / .1), transparent 30%);
}

.site-halos span {
    position: absolute;
    border-radius: 9999px;
    mix-blend-mode: screen;
    animation: halo-pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
}

.site-halos span:first-child {
    top: 25%;
    left: 25%;
    width: 500px;
    height: 500px;
    background-color: rgb(var(--color-blue-600) / .2);
    filter: blur(120px);
}

.site-halos span:last-child {
    right: 25%;
    bottom: 25%;
    width: 400px;
    height: 400px;
    background-color: rgb(var(--color-blue-500) / .2);
    filter: blur(100px);
}

@keyframes halo-pulse {
    50% {
        opacity: .5;
    }
}

::selection {
    background-color: rgb(var(--color-blue-600) / .3);
    color: rgb(var(--color-white));
}

:focus-visible {
    outline: 2px solid rgb(var(--color-blue-400));
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 60;
    padding: .6rem 1rem;
    border-radius: .6rem;
    background: rgb(var(--color-white));
    color: rgb(var(--color-black));
    font-weight: 600;
}

.skip-link:focus {
    top: 1rem;
}

/* Apparition au défilement : sans JavaScript, le contenu reste visible. */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .8s cubic-bezier(.16, 1, .3, 1),
        transform .8s cubic-bezier(.16, 1, .3, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    .site-halos span {
        animation: none;
    }
}

/* ---------- Navigation ---------- */

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 1.5rem 0;
    transition: padding .3s ease;
}

.site-nav.is-scrolled {
    padding: 1rem 0;
}

.nav-inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .7rem .8rem .7rem 1.4rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: 9999px;
    background-color: rgb(var(--color-background-rgb) / .72);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    box-shadow:
        0 0 24px rgb(var(--color-blue-600) / .07),
        0 0 35px -10px rgb(0 0 0 / .45);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgb(var(--color-white));
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1;
}

.brand img {
    width: 1.9rem;
    height: 1.9rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    color: rgb(var(--color-gray-300));
    font-size: .95rem;
    font-weight: 500;
}

.nav-links a {
    transition: color .2s ease;
}

.nav-links a:hover {
    color: rgb(var(--color-blue-400));
}

.nav-links a[aria-current="page"] {
    color: rgb(var(--color-blue-400));
}

.nav-cta {
    display: none;
    padding: .6rem 1.25rem;
    border: 1px solid rgb(var(--color-white) / .14);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .05);
    color: rgb(var(--color-white));
    font-size: .95rem;
    font-weight: 500;
    transition: background-color .2s ease, border-color .2s ease;
}

.nav-cta:hover {
    border-color: rgb(var(--color-blue-400) / .6);
    background: rgb(var(--color-blue-500) / .14);
}

.nav-toggle {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: rgb(var(--color-white));
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin-top: .75rem;
    padding: .5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1rem;
    background: rgb(var(--color-background-rgb) / .96);
}

.mobile-menu[hidden] {
    display: none;
}

.mobile-menu a {
    padding: .75rem 1rem;
    border-radius: .65rem;
    color: rgb(var(--color-gray-200));
    font-size: 1rem;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
    background: rgb(var(--color-blue-500) / .2);
    color: rgb(var(--color-blue-400));
}

@media (min-width: 960px) {
    .nav-links {
        display: flex;
    }

    .nav-cta {
        display: inline-flex;
    }

    .nav-toggle,
    .mobile-menu {
        display: none;
    }
}

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn-primary {
    background: linear-gradient(90deg, rgb(var(--color-blue-600)), rgb(var(--color-blue-400)));
    color: rgb(var(--color-white));
}

.btn-primary:hover {
    box-shadow: 0 0 30px -5px rgb(var(--color-blue-500) / .5);
}

.btn-ghost {
    border: 1px solid rgb(var(--color-white) / .1);
    background: rgb(var(--color-white) / .03);
    color: rgb(var(--color-white));
}

.btn-ghost:hover {
    background: rgb(var(--color-white) / .08);
}

.btn-light {
    border-radius: .75rem;
    background: rgb(var(--color-white));
    color: rgb(var(--color-black));
    font-weight: 600;
}

.btn-light:hover {
    background: rgb(var(--color-gray-200));
}

.btn:disabled {
    cursor: wait;
    opacity: .6;
}

/* ---------- Sections et titres ---------- */

.section {
    position: relative;
    padding: 6rem 0;
}

#services {
    padding: 5rem 0;
}

.section-divider {
    border-top: 1px solid rgb(var(--color-white) / .06);
}

.section-kicker {
    margin-bottom: .8rem;
    color: rgb(var(--color-blue-400));
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-title,
.page-title {
    margin-bottom: 1rem;
    color: rgb(var(--color-white));
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.section-title {
    font-size: clamp(1.9rem, 4.5vw, 3rem);
}

.page-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.section-lead {
    max-width: 42rem;
    color: rgb(var(--color-gray-400));
    font-size: 1.125rem;
    line-height: 1.65;
}

.section-lead + .section-lead {
    margin-top: 1rem;
}

/* Mot mis en valeur dans un titre : à utiliser une fois par page ou presque. */
.accent-word {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.34em;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: .9;
    color: rgb(var(--color-blue-500));
    white-space: nowrap;
}

/* ---------- Accueil : en-tête ---------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

.hero-particles {
    position: absolute;
    inset: 8rem 0 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles span {
    position: absolute;
    color: rgb(var(--color-blue-400) / .55);
    font-size: .8rem;
    line-height: 1;
    animation: hero-particle-float 9s ease-in-out infinite;
}

.hero-particles span::before {
    content: "✦";
}

.hero-particles span:nth-child(1) { top: 18%; left: 13%; animation-delay: -1.5s; }
.hero-particles span:nth-child(2) { top: 30%; left: 28%; color: rgb(var(--color-blue-400) / .35); font-size: .55rem; animation-delay: -6s; }
.hero-particles span:nth-child(3) { top: 16%; right: 19%; animation-delay: -4s; }
.hero-particles span:nth-child(4) { top: 42%; right: 10%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -7.5s; }
.hero-particles span:nth-child(5) { top: 58%; left: 8%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -3s; }
.hero-particles span:nth-child(6) { top: 68%; left: 22%; animation-delay: -8s; }
.hero-particles span:nth-child(7) { top: 72%; right: 25%; color: rgb(var(--color-blue-400) / .35); font-size: .55rem; animation-delay: -5s; }
.hero-particles span:nth-child(8) { top: 50%; right: 38%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -2.5s; }
.hero-particles span:nth-child(9) { top: 25%; left: 43%; color: rgb(var(--color-blue-400) / .35); font-size: .55rem; animation-delay: -6.5s; }
.hero-particles span:nth-child(10) { top: 82%; left: 58%; color: rgb(var(--color-blue-400) / .4); font-size: .65rem; animation-delay: -1s; }

@keyframes hero-particle-float {
    0%, 100% {
        opacity: .25;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: .75;
        transform: translate3d(10px, -18px, 0);
    }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 64rem;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 2rem;
    padding: .4rem .9rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .03);
    color: rgb(var(--color-blue-400));
    font-size: .8rem;
    font-weight: 500;
}

.hero-title {
    display: grid;
    place-items: center;
    max-width: 62rem;
    min-height: 1.1em;
    margin: 0 auto 2rem;
    background: linear-gradient(to bottom, rgb(var(--color-white)), rgb(var(--color-white)) 50%, rgb(var(--color-white) / .6));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.75rem, 6vw, 5.25rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
}

/* Le second titre remplace le premier au premier défilement (voir script.js). */
.hero-title-state {
    grid-area: 1 / 1;
    transition:
        opacity .65s ease,
        transform .65s cubic-bezier(.16, 1, .3, 1),
        filter .65s ease;
}

.hero-title-state-secondary {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
}

.hero.hero-scrolled .hero-title-state-primary {
    opacity: 0;
    transform: translateY(-24px);
    filter: blur(4px);
}

.hero.hero-scrolled .hero-title-state-secondary {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@media (max-width: 640px) {
    .hero-title {
        font-size: clamp(2.4rem, 12vw, 3.4rem);
    }
}

.hero-lead {
    max-width: 40rem;
    margin: 0 auto 2.75rem;
    color: rgb(var(--color-gray-400));
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 480px) {
    .hero-actions .btn {
        width: 100%;
    }
}

/* ---------- Accueil : chiffres ---------- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.stat-card {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding: 2rem 1rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-top-color: rgb(var(--color-blue-500) / .35);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .055);
    text-align: center;
}

.stat-card dd {
    margin-bottom: .5rem;
    color: rgb(var(--color-white));
    font-size: clamp(2rem, 5vw, 3rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
}

.stat-card dt {
    color: rgb(var(--color-gray-400));
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Cartes : services, réalisations, méthode, avis ---------- */

.service-card,
.project-card,
.process-step,
.review-card,
.hosting-feature {
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
}

.service-card,
.project-card {
    transition: border-color .25s ease, background-color .25s ease;
}

.service-card:hover,
.project-card:hover {
    border-color: rgb(var(--color-blue-400) / .35);
    background: rgb(var(--color-white) / .07);
}

.service-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
}

.service-card-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1rem;
    background: rgb(var(--color-white) / .05);
    color: rgb(var(--color-blue-400));
}

.service-card h3 {
    margin-top: auto;
    margin-bottom: .5rem;
    color: rgb(var(--color-white));
    font-size: 1.25rem;
    font-weight: 700;
}

.service-card h3 a {
    text-decoration: underline;
    text-decoration-color: rgb(var(--color-blue-400) / .5);
    text-underline-offset: .25em;
    transition: color .2s ease;
}

.service-card h3 a:hover {
    color: rgb(var(--color-blue-400));
}

.service-card p {
    color: rgb(var(--color-gray-400));
    font-size: .95rem;
    line-height: 1.65;
}

.projects-grid,
.process-grid {
    display: grid;
    gap: 1.25rem;
}

.projects-slider {
    position: relative;
}

.projects-grid {
    display: flex;
    overflow-x: auto;
    padding: .15rem .1rem .75rem;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.projects-grid::-webkit-scrollbar {
    display: none;
}

.projects-grid .project-card {
    flex: 0 0 calc((100% - 2.5rem) / 3);
}

.process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects-grid .project-card {
        flex-basis: calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid .project-card {
        flex-basis: 100%;
    }

}

.projects-slider-button {
    position: absolute;
    z-index: 2;
    top: 42%;
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgb(var(--color-white) / .2);
    border-radius: 9999px;
    background: rgb(10 12 29 / .78);
    box-shadow: 0 .5rem 1.5rem rgb(0 0 0 / .28), inset 0 1px rgb(var(--color-white) / .12);
    color: rgb(var(--color-white));
    cursor: pointer;
    backdrop-filter: blur(10px);
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.projects-slider-button:hover {
    border-color: rgb(var(--color-blue-400) / .8);
    background: rgb(var(--color-blue-400));
    box-shadow: 0 .7rem 1.8rem rgb(58 146 255 / .28), inset 0 1px rgb(var(--color-white) / .3);
    color: rgb(var(--color-white));
    transform: translateY(-50%) scale(1.08);
}

.projects-slider-button:active {
    transform: translateY(-50%) scale(.96);
}

.projects-slider-button:focus-visible {
    outline: 2px solid rgb(var(--color-white));
    outline-offset: 4px;
}

.projects-slider-button svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.projects-slider-button-prev {
    left: -.75rem;
}

.projects-slider-button-next {
    right: -.75rem;
}

@media (min-width: 1350px) {
    .projects-slider-button-prev {
        left: -4.25rem;
    }

    .projects-slider-button-next {
        right: -4.25rem;
    }
}

@media (max-width: 600px) {
    .projects-slider-button-prev {
        left: .65rem;
    }

    .projects-slider-button-next {
        right: .65rem;
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card-visual {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
}

.project-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.project-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.35rem;
}

.project-card-label {
    margin-bottom: .45rem;
    color: rgb(var(--color-blue-400));
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.project-card-body h3 {
    margin-bottom: .45rem;
    color: rgb(var(--color-white));
    font-size: 1.2rem;
    font-weight: 700;
}

.project-card-body > p:not(.project-card-label) {
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
    line-height: 1.6;
}

.project-card-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding-top: 1rem;
    color: rgb(var(--color-blue-400));
    font-size: .85rem;
    font-weight: 600;
}

.project-card-link:hover {
    color: rgb(var(--color-white));
}

.process-step {
    padding: 1.35rem;
}

.process-step > span {
    color: rgb(var(--color-blue-400));
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.process-step h3 {
    margin: 1.2rem 0 .45rem;
    color: rgb(var(--color-white));
    font-size: 1.1rem;
    font-weight: 700;
}

.process-step p {
    color: rgb(var(--color-gray-400));
    font-size: .88rem;
    line-height: 1.6;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.5rem;
    margin-top: 1.5rem;
    color: rgb(var(--color-gray-400));
    font-weight: 500;
}

.clients-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.clients-list li::before {
    content: "";
    width: .375rem;
    height: .375rem;
    border-radius: 50%;
    background: rgb(var(--color-blue-500) / .6);
}

/* Bandeau d'avis : défile en continu et se met en pause au survol. */
.reviews-slider {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.reviews-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
    animation: reviews-slide 52s linear infinite;
}

.reviews-slider:hover .reviews-track,
.reviews-slider:focus-within .reviews-track {
    animation-play-state: paused;
}

@keyframes reviews-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - .75rem));
    }
}

.review-card {
    display: flex;
    flex-direction: column;
    width: min(78vw, 31rem);
    min-height: 18rem;
    padding: 2rem;
}

@media (prefers-reduced-motion: reduce) {
    .reviews-track {
        width: 100%;
        flex-wrap: wrap;
        animation: none;
    }

    .hero-particles span {
        animation: none;
    }

    .review-card {
        width: 100%;
        min-height: 0;
    }
}

.review-rating {
    margin-bottom: 1rem;
    color: #f5b942;
    font-size: 1.6rem;
    letter-spacing: .18em;
    line-height: 1;
}

.review-card blockquote {
    flex: 1;
    margin-bottom: 1.75rem;
    color: rgb(var(--color-gray-300));
    font-size: 1.125rem;
    line-height: 1.65;
}

.review-card figcaption {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.review-avatar {
    display: block;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 50%;
    background: rgb(var(--color-white) / .06);
    overflow: hidden;
    box-shadow: 0 .35rem .9rem rgb(0 0 0 / .2);
}

.review-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.review-card figcaption strong {
    display: block;
    color: rgb(var(--color-white));
    font-weight: 500;
}

.review-card figcaption small {
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
}

/* ---------- Tarifs des noms de domaine ---------- */

.price-list {
    padding: .5rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
}

.price-row:last-child {
    border-bottom: 0;
}

.price-row-name {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgb(var(--color-white));
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.price-row-icon {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .75rem;
    background: rgb(var(--color-blue-600) / .12);
    color: rgb(var(--color-blue-400));
}

.price-row-value strong {
    color: rgb(var(--color-blue-400));
    font-size: 1.25rem;
    font-weight: 500;
}

.price-row-value small {
    margin-left: .4rem;
    color: rgb(var(--color-gray-400));
    font-size: .875rem;
}

.hosting-promo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid rgb(var(--color-blue-500) / .28);
    border-radius: var(--radius-card);
    background: linear-gradient(110deg, rgb(4 6 44 / .95), rgb(var(--color-blue-600) / .18));
}

.hosting-promo-mark {
    flex: 0 0 auto;
    width: 3.5rem;
    height: 3.5rem;
}

.hosting-promo-content {
    flex: 1;
    min-width: 0;
}

.hosting-promo-title {
    margin-bottom: .25rem;
    color: rgb(var(--color-white));
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.3;
}

.hosting-promo-text {
    color: rgb(var(--color-gray-300));
    font-size: .95rem;
}

.hosting-promo-link,
.domain-estimate-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: .6rem;
    font-size: .9rem;
    font-weight: 600;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hosting-promo-link {
    background: rgb(var(--color-blue-600));
    color: rgb(var(--color-white));
}

.hosting-promo-link:hover {
    background: rgb(var(--color-blue-500));
}

.domain-estimate-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: .75rem 1rem .75rem 1.5rem;
    border: 1px solid rgb(var(--color-white) / .08);
    border-radius: 1rem;
    background: rgb(var(--color-white) / .025);
}

.domain-estimate-cta p {
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
}

.domain-estimate-link {
    border: 1px solid rgb(var(--color-blue-500) / .35);
    background: rgb(var(--color-blue-600) / .12);
    color: rgb(var(--color-blue-400));
}

.domain-estimate-link:hover {
    border-color: rgb(var(--color-blue-400) / .65);
    background: rgb(var(--color-blue-500) / .2);
    color: rgb(var(--color-white));
}

@media (max-width: 640px) {
    .price-row {
        padding: 1rem;
    }

    .hosting-promo,
    .domain-estimate-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 1.25rem;
    }

    .hosting-promo-mark {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* ---------- Contact ---------- */

.contact-section {
    overflow: hidden;
}

.contact-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-section > div {
    position: relative;
    z-index: 1;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(62rem, 82vw);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgb(var(--color-blue-500) / .32) 30%,
        rgb(var(--color-white) / .12) 50%,
        rgb(var(--color-blue-500) / .32) 70%,
        transparent
    );
    transform: translateX(-50%);
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.contact-detail {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .9rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 9999px;
    background: rgb(var(--color-white) / .03);
    color: rgb(var(--color-gray-200));
    font-size: .9rem;
    font-weight: 500;
    transition: border-color .2s ease, color .2s ease;
}

.contact-detail svg {
    color: rgb(var(--color-blue-400));
}

.contact-detail:hover {
    border-color: rgb(var(--color-blue-400) / .45);
    color: rgb(var(--color-white));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid rgb(var(--color-white) / .11);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .055);
}

.field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.field label {
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: .75rem;
    background-color: rgb(var(--color-white) / .055);
    color: rgb(var(--color-white));
    transition: border-color .2s ease;
}

.field textarea {
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgb(var(--color-gray-400) / .8);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgb(var(--color-blue-500) / .7);
    outline: none;
}

.field select option {
    background: var(--color-background);
    color: rgb(var(--color-white));
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    color: rgb(var(--color-gray-400));
    font-size: .78rem;
    line-height: 1.5;
}

.contact-consent input {
    flex: 0 0 auto;
    margin-top: .15rem;
    accent-color: rgb(var(--color-blue-500));
}

.contact-consent a {
    color: rgb(var(--color-blue-400));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form-status {
    font-size: .875rem;
}

.contact-form-status[data-state="pending"] {
    color: rgb(var(--color-blue-400));
}

.contact-form-status[data-state="success"] {
    color: rgb(110 231 183);
}

.contact-form-status[data-state="error"] {
    color: rgb(252 165 165);
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.25rem;
    }
}

/* ---------- Pied de page ---------- */

.site-footer {
    padding: 2rem 0;
    border-top: 1px solid rgb(var(--color-white) / .06);
    color: rgb(var(--color-gray-400));
    font-size: .875rem;
    text-align: center;
}

.site-footer a {
    transition: color .2s ease;
}

.site-footer a:hover {
    color: rgb(var(--color-white));
}

.site-footer p a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.25rem;
    color: rgb(var(--color-gray-300));
    font-weight: 500;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.site-footer-social svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-footer-social a:nth-child(3) svg {
    fill: currentColor;
    stroke: none;
}

.site-footer-social a:hover {
    color: rgb(var(--color-blue-400));
}

.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.5rem;
    font-weight: 500;
}

.cookie-banner {
    position: fixed;
    z-index: 100;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border: 1px solid rgb(var(--color-blue-400) / .35);
    border-radius: 1rem;
    background: rgb(10 18 38 / .97);
    box-shadow: 0 1rem 3rem rgb(0 0 0 / .3);
    color: rgb(var(--color-gray-100));
}

.cookie-banner p {
    max-width: 48rem;
    margin: .25rem 0 0;
    color: rgb(var(--color-gray-300));
    font-size: .85rem;
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    flex-shrink: 0;
}

.cookie-banner button,
.cookie-settings-link {
    border: 1px solid rgb(var(--color-blue-400) / .6);
    border-radius: .5rem;
    padding: .55rem .8rem;
    background: rgb(var(--color-blue-400));
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
}

.cookie-banner .cookie-banner-secondary,
.cookie-settings-link {
    background: transparent;
    color: rgb(var(--color-blue-400));
}

.cookie-settings-link {
    border: 0;
    padding: 0;
}

@media (max-width: 700px) {
    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
        gap: .75rem;
    }

    .cookie-banner-actions {
        justify-content: flex-start;
    }
}

/* ---------- Page hébergement ---------- */

.hosting-price-card {
    padding: 2rem;
    border: 1px solid rgb(var(--color-blue-400) / .3);
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgb(var(--color-blue-600) / .18), rgb(var(--color-white) / .05));
}

.hosting-price {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.hosting-price strong {
    color: rgb(var(--color-white));
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1;
}

.hosting-price span {
    margin-bottom: .4rem;
    color: rgb(var(--color-gray-400));
}

.hosting-price-card li {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1rem;
    color: rgb(var(--color-gray-300));
    font-size: .9rem;
}

.hosting-check {
    flex: 0 0 auto;
    width: 1rem;
    height: 1rem;
    color: rgb(var(--color-blue-electric));
}

.hosting-price-note {
    margin-top: 1rem;
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    line-height: 1.5;
}

.hosting-feature {
    padding: 1.5rem;
}

.hosting-feature h3 {
    margin: 1rem 0 .5rem;
    color: rgb(var(--color-white));
    font-size: 1.1rem;
    font-weight: 600;
}

.hosting-feature p {
    color: rgb(var(--color-gray-400));
    font-size: .9rem;
    line-height: 1.6;
}

.hosting-icon {
    width: 1.6rem;
    height: 1.6rem;
    color: rgb(var(--color-blue-400));
}

.domain-prices > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 1.25rem;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1rem;
    background: rgb(var(--color-white) / .045);
}

.domain-prices span {
    color: rgb(var(--color-white));
    font-size: 1.3rem;
    font-weight: 700;
}

.domain-prices strong {
    color: rgb(var(--color-blue-400));
    font-size: 1.1rem;
}

.domain-prices small {
    margin-left: .15rem;
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    font-weight: 400;
}

.hosting-faq {
    overflow: hidden;
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .045);
}

.hosting-faq details {
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid rgb(var(--color-white) / .08);
}

.hosting-faq details:last-child {
    border-bottom: 0;
}

.hosting-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgb(var(--color-white));
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.hosting-faq summary::-webkit-details-marker {
    display: none;
}

.hosting-faq summary::after {
    content: "+";
    color: rgb(var(--color-blue-400));
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
}

.hosting-faq details[open] summary::after {
    content: "−";
}

.hosting-faq p {
    margin: .8rem 2rem 0 0;
    color: rgb(var(--color-gray-400));
    line-height: 1.7;
}

/* ---------- Simulateur de prix ---------- */

.simulator-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr);
    gap: 1.5rem;
}

.simulator-card {
    padding: 2rem;
    border: 1px solid rgb(var(--color-white) / .09);
    border-radius: var(--radius-card);
    background: rgb(var(--color-white) / .035);
}

.simulator-card h2 {
    margin: 0 0 1.5rem;
    color: rgb(var(--color-white));
    font-size: 1.35rem;
}

.simulator-label,
.simulator-card legend {
    display: block;
    color: rgb(var(--color-gray-400));
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.simulator-select,
.simulator-small-select {
    border: 1px solid rgb(var(--color-white) / .14);
    border-radius: .5rem;
    background: var(--color-background);
    color: rgb(var(--color-white));
    padding: .7rem .8rem;
}

.simulator-select {
    width: 100%;
    margin: .6rem 0 1.5rem;
}

.simulator-small-select {
    padding: .35rem .5rem;
    font-size: .8rem;
}

.simulator-card fieldset {
    margin: 0;
    padding: 1.1rem 0 .65rem;
    border: 0;
}

.simulator-card legend {
    width: 100%;
    padding-bottom: .55rem;
    border-bottom: 1px solid rgb(var(--color-white) / .1);
}

.simulator-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    border-bottom: 1px solid rgb(var(--color-white) / .06);
    color: rgb(var(--color-gray-300));
}

.simulator-card fieldset .simulator-option:last-child {
    border-bottom: 0;
}

.simulator-option > span:first-child,
.simulator-option > label:first-child {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.simulator-option input {
    width: 1rem;
    height: 1rem;
    accent-color: rgb(var(--color-blue-500));
}

.simulator-option strong {
    color: rgb(var(--color-blue-400));
    font-size: .9rem;
    white-space: nowrap;
}

.simulator-option-end {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.simulator-engagement {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .45rem;
    border: 1px solid rgb(var(--color-blue-500) / .25);
    border-radius: .35rem;
    background: rgb(var(--color-blue-500) / .08);
    color: rgb(var(--color-blue-400));
    font-size: .7rem;
}

.simulator-engagement input {
    width: .8rem;
    height: .8rem;
}

.simulator-suboption {
    padding-left: 1.7rem;
}

.simulator-option.is-disabled {
    opacity: .4;
}

.simulator-summary {
    position: sticky;
    top: 7rem;
    align-self: start;
}

.simulator-pdf {
    float: right;
    padding: .35rem .55rem;
    border: 1px solid rgb(var(--color-white) / .12);
    border-radius: .4rem;
    color: rgb(var(--color-gray-400));
    font-size: .7rem;
}

.simulator-pdf:hover {
    border-color: rgb(var(--color-blue-400) / .5);
    color: rgb(var(--color-white));
}

.simulator-total-label {
    margin: 1.5rem 0 .7rem;
    color: rgb(var(--color-blue-400));
    font-size: .85rem;
    font-weight: 600;
}

.simulator-total-label.recurring,
.simulator-total.recurring strong {
    color: rgb(var(--color-emerald-500));
}

.simulator-bill-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: .45rem 0;
    color: rgb(var(--color-gray-300));
    font-size: .85rem;
}

.simulator-total {
    display: flex;
    justify-content: space-between;
    margin-top: .9rem;
    padding-top: .8rem;
    border-top: 1px dashed rgb(var(--color-white) / .15);
    font-size: 1rem;
    font-weight: 600;
}

.simulator-total strong {
    color: rgb(var(--color-blue-400));
}

.simulator-empty,
.simulator-note {
    color: rgb(var(--color-gray-400));
    font-size: .8rem;
}

.simulator-note {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(var(--color-white) / .08);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .simulator-grid {
        grid-template-columns: 1fr;
    }

    .simulator-summary {
        position: static;
    }
}

@media (max-width: 560px) {
    .simulator-card {
        padding: 1.25rem;
    }

    .simulator-option {
        align-items: flex-start;
        flex-direction: column;
        gap: .45rem;
        padding: .8rem 0;
    }

    .simulator-option-end {
        padding-left: 1.7rem;
    }
}

/* ---------- Pages légales et page 404 ---------- */

.legal-page {
    width: min(54rem, calc(100% - 2rem));
    margin: 0 auto;
    padding: 9rem 0 5rem;
}

.legal-content {
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid rgb(var(--color-white) / .1);
    border-radius: 1.5rem;
    background: rgb(var(--color-white) / .045);
    color: rgb(var(--color-gray-300));
    line-height: 1.75;
}

.legal-content h1 {
    margin-bottom: .6rem;
    color: rgb(var(--color-white));
    font-size: clamp(1.9rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.15;
    text-align: center;
}

.legal-date {
    margin-bottom: 2.5rem;
    color: rgb(var(--color-blue-400));
    font-weight: 600;
    text-align: center;
}

.legal-content h2 {
    margin: 2.25rem 0 1rem;
    padding-left: .85rem;
    border-left: 2px solid rgb(var(--color-blue-500) / .7);
    color: rgb(var(--color-white));
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    list-style: disc;
}

.legal-content li {
    margin-bottom: .4rem;
}

.legal-content a {
    color: rgb(var(--color-blue-400));
    text-decoration: underline;
    text-underline-offset: .2em;
}

.legal-content strong {
    color: rgb(var(--color-white));
}

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 9rem 1.5rem 4rem;
    text-align: center;
}
