/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }

:root {
    --bg: #ffffff;
    --text: #16181c;
    --text-muted: #5b6068;
    --border: #e6e7ea;
    --surface: #f6f7f8;
    --accent: #16181c;
    --radius: 14px;
    --header-h: 76px;
    --container-w: 1180px;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}
.container.narrow { max-width: 760px; }
.container.center { text-align: center; }

.section { padding: 96px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 3rem; font-family: var(--font-display); }

h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 600; letter-spacing: -0.005em; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 600; }
.lead { font-size: 1.15rem; color: var(--text-muted); }

/* ============ Scroll-reveal ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Buttons ============ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 1.5px solid transparent;
    transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); }

/* ============ Header ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo-img {
    display: block;
    height: 40px;
    width: auto;
}
.logo-img.small { height: 32px; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
    font-weight: 500;
    font-size: .95rem;
    color: var(--text-muted);
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); border-color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 20px; }

.social-icons { display: flex; gap: 12px; }
.social-icons.large { gap: 16px; }
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: color .2s ease, border-color .2s ease;
}
.social-icon:hover { color: var(--text); border-color: var(--text); }

.lang-switcher { position: relative; }
.lang-current {
    display: flex; align-items: center; gap: 4px;
    background: none; border: none; color: var(--text);
    font-weight: 600; font-size: .85rem; padding: 6px 4px;
}
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
    min-width: 84px;
    padding: 6px;
    display: none;
}
.lang-menu.open { display: block; }
.lang-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.lang-menu a:hover { background: var(--surface); color: var(--text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    background: none;
    border: none;
    padding: 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero (plain) ============ */
.hero-plain {
    position: relative;
    padding-top: 70px;
    padding-bottom: 110px;
    overflow: hidden;
}
.hero-plain::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(22, 24, 28, .08) 1px, transparent 1px);
    background-size: 22px 22px;
    background-position: center top;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
    pointer-events: none;
}
.hero-plain .container { position: relative; z-index: 1; }

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    background: radial-gradient(circle, #e9eaed 0%, transparent 72%);
    animation: blobFloat 20s ease-in-out infinite;
    pointer-events: none;
}
.hero-blob.b1 { width: 460px; height: 460px; top: -160px; left: -140px; }
.hero-blob.b2 { width: 380px; height: 380px; top: 40px; right: -160px; animation-delay: -7s; animation-duration: 24s; }
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(26px, -22px) scale(1.08); }
}

.hero-cta-main { margin-bottom: 14px; opacity: 0; animation: heroFadeUp .45s ease .2s forwards; }
.hero-cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; opacity: 0; animation: heroFadeUp .45s ease .28s forwards; }

.hero-showcase {
    margin-top: 64px;
    opacity: 0;
    animation: heroFadeUp .5s ease .34s forwards;
}
.browser-mock {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(16, 18, 22, .10);
    animation: mockFloat 7s ease-in-out infinite;
}
@keyframes mockFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.browser-url {
    margin-left: 10px;
    padding: 5px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .72rem;
    color: var(--text-muted);
}
.code-mock {
    background: #1c1e22;
    padding: 28px 32px;
    font-family: "SF Mono", "Cascadia Code", Consolas, Menlo, monospace;
    font-size: .82rem;
    line-height: .85;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: pre;
    cursor: text;
    outline: none;
    transition: box-shadow .2s ease;
}
.code-mock:focus { box-shadow: inset 0 0 0 1.5px #55585f; }
.code-line { color: #babdc4; }
.tok-tag { color: #f2f3f5; font-weight: 600; }
.tok-kw { color: #f2f3f5; font-weight: 600; }
.tok-str { color: #9a9ea6; }
.tok-var { color: #e3e4e7; }
.tok-attr { color: #babdc4; }
.tok-fn { color: #e3e4e7; }
.tok-punc { color: #6e7178; }

@media (prefers-reduced-motion: reduce) {
    .hero-blob, .browser-mock { animation: none; }
}
@media (min-width: 1400px) {
    .hero-showcase .browser-mock { max-width: clamp(760px, 60vw, 1130px); }
}
@media (max-width: 760px) {
    /* Le flou animé est coûteux à recalculer sur les GPU mobiles : on garde
       la texture visuelle mais on retire l'animation continue et on l'allège. */
    .hero-blob { animation: none; filter: blur(40px); }
    .hero-blob.b1 { width: 280px; height: 280px; }
    .hero-blob.b2 { width: 240px; height: 240px; }
}
@media (max-width: 600px) {
    .code-mock { padding: 20px; font-size: .74rem; }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 20px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 30px;
    opacity: 0;
    animation: heroFadeUp .45s ease .02s forwards;
}
.hero-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text);
    flex-shrink: 0;
}
.hero-plain h1 { margin-bottom: 24px; opacity: 0; animation: heroFadeUp .45s ease .08s forwards; }
.hero-plain h1 em { font-style: italic; font-weight: 500; }
.hero-plain .lead { margin-bottom: 36px; opacity: 0; animation: heroFadeUp .45s ease .16s forwards; }

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .hero-plain h1, .hero-plain .lead, .hero-cta-main, .hero-cta-row, .hero-showcase { animation: none; opacity: 1; }
}

/* ============ 404 ============ */
.error-404 { padding-top: 160px; padding-bottom: 140px; }
.error-404-num {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(9rem, 26vw, 20rem);
    font-weight: 700;
    color: var(--surface);
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* ============ About / services ============ */
.about-section { text-align: center; }

.text-frame {
    border: 1.5px solid #9a9ca3;
    border-radius: var(--radius);
    padding: 48px 44px;
    background: #fff;
}
.text-frame h2:last-of-type,
.text-frame p:last-child { margin-bottom: 0; }

.cta-section { text-align: center; background: var(--surface); }

/* ============ Trust strip ============ */
.trust-strip { padding: 36px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 4px 24px;
    border-left: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.trust-item:first-child { border-left: none; }
.trust-item svg { flex-shrink: 0; color: var(--text); }

/* ============ Why us ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}
.why-card { padding: 30px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(16,18,22,.09); border-color: var(--text); }
.why-icon {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--border);
    margin-bottom: 18px;
}
.why-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ============ Process ============ */
.process-section { background: var(--surface); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
}
.process-step { position: relative; text-align: center; }
.process-num {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--text); color: #fff;
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    position: relative; z-index: 1;
}
.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22px;
    left: calc(50% + 34px);
    width: calc(100% - 44px);
    height: 1px;
    background: var(--border);
}
.process-step h3 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: .88rem; margin: 0; }

@media (max-width: 900px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
    .process-step:nth-child(2)::after { display: none; }
    .process-step:not(:last-child)::after { display: none; }
    .trust-strip .container { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .trust-item:nth-child(2n+1) { border-left: none; }
    .trust-item:nth-child(3), .trust-item:nth-child(4) { border-top: 1px solid var(--border); padding-top: 20px; }
}
@media (max-width: 560px) {
    .why-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .trust-strip .container { grid-template-columns: 1fr; row-gap: 18px; }
    .trust-item { border-left: none !important; border-top: 1px solid var(--border); padding: 16px 12px 0 !important; }
    .trust-item:first-child { border-top: none; padding-top: 4px !important; }
}

/* ============ Pricing ============ */
.page-header { padding-bottom: 48px; }

.pricing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.pricing-column .section-title { margin-bottom: 2rem; }
.pricing-grid.stacked {
    grid-template-columns: 1fr;
    border: 1.5px solid #9a9ca3;
    border-radius: var(--radius);
    padding: 24px;
    gap: 20px;
}

.pricing-column-note { color: var(--text-muted); font-size: .88rem; margin: -8px 0 24px; }

.pricing-price.placeholder,
.btn.placeholder {
    visibility: hidden;
    pointer-events: none;
}

.ribbon-wrap { position: relative; overflow: hidden; }
.ribbon-wrap.soon { opacity: .82; }
.ribbon {
    position: absolute;
    top: 22px;
    right: -38px;
    width: 150px;
    transform: rotate(45deg);
    background: var(--text);
    color: #fff;
    text-align: center;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    z-index: 2;
}

/* ============ Modification à la demande ============ */
.maintenance-section { background: var(--surface); }
.modification-rate {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin: 32px auto 0;
    padding: 20px 40px;
    background: #fff;
    border: 1.5px solid #9a9ca3;
    border-radius: var(--radius);
    font-size: 1.6rem;
    font-weight: 700;
}
.modification-rate span { font-size: .85rem; font-weight: 500; color: var(--text-muted); }

/* ============ Examples gallery ============ */
.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.example-card {
    display: block;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.example-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
    border-color: var(--text);
}
.example-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f0f0f0;
    border-bottom: 1px solid var(--border);
    pointer-events: none;
}
.example-preview iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 400%;
    border: 0;
    transform: scale(.25);
    transform-origin: top left;
}
.example-body { padding: 24px 28px 28px; }
.example-swatch { display: flex; gap: 6px; margin-bottom: 20px; }
.example-swatch span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.08);
}
.example-card h3 { margin-bottom: 8px; }
.example-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 20px; }
.example-link { font-weight: 600; font-size: .88rem; }

@media (max-width: 1100px) {
    .examples-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .examples-grid { grid-template-columns: 1fr; }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 30px;
    border: 1.5px solid #9a9ca3;
    border-radius: var(--radius);
    background: #fff;
}
.pricing-card.featured {
    border-color: var(--text);
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.pricing-badge {
    position: absolute;
    top: -13px;
    left: 30px;
    background: var(--text);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
}
.pricing-desc { color: var(--text-muted); font-size: .92rem; min-height: 44px; }
.pricing-price { font-size: 1.7rem; font-weight: 700; margin-bottom: 1.25rem; }
.pricing-price .from { font-size: .7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; display: block; letter-spacing: .04em; }
.pricing-features { margin: 0 0 28px; flex-grow: 1; }
.pricing-features li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    font-size: .92rem;
    color: var(--text);
}
.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--text);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.pricing-card .btn { margin-top: auto; text-align: center; }
.pricing-card .btn-outline {
    background: #fff;
    border-color: var(--text);
    transition: transform .15s ease, background .2s ease, color .2s ease;
}
.pricing-card .btn-outline:hover { background: var(--text); color: #fff; }

.pricing-note { text-align: center; }
.pricing-note h3 { margin-bottom: .5rem; }
.pricing-note p { color: var(--text-muted); max-width: 620px; margin: 0 auto; }

/* ============ Réalisations ============ */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    background: #fff;
}
.case-study .browser-mock { margin: 0; animation: none; box-shadow: 0 20px 50px rgba(16,18,22,.08); }
.browser-screenshot { display: block; width: 100%; height: auto; }
.case-study-category { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.case-study-body h2 { margin-bottom: 16px; }
.case-study-body p { color: var(--text-muted); margin-bottom: 28px; }
.realisations-note { text-align: center; color: var(--text-muted); font-size: .9rem; margin: 40px 0 0; }

@media (max-width: 900px) {
    .case-study { grid-template-columns: 1fr; padding: 32px; }
}

/* ============ Contact ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: start;
}

.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 8px; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font: inherit;
    background: var(--surface);
    color: var(--text);
    transition: border-color .2s ease, background .2s ease;
}
.form-row select { cursor: pointer; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--text);
    background: #fff;
}
.form-required-note { font-size: .8rem; color: var(--text-muted); margin-bottom: 20px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ============ Devis form ============ */
.devis-section-title {
    font-size: 1.1rem;
    margin: 44px 0 20px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.devis-section-title:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

.form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-group .form-row { margin-bottom: 20px; }

.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.radio-group.vertical { flex-direction: column; }
.radio-option, .checkbox-option {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    cursor: pointer;
    background: var(--surface);
    text-align: center;
    transition: border-color .2s ease, background .2s ease;
}
.radio-group.vertical .radio-option { justify-content: flex-start; flex: initial; text-align: left; }
.radio-option:has(input:checked),
.checkbox-option:has(input:checked) {
    border-color: var(--text);
    background: #fff;
}
.radio-option input, .checkbox-option input { accent-color: var(--text); margin: 0; }
.option-price { margin-left: auto; padding-left: 16px; font-weight: 700; color: var(--text-muted); font-size: .8rem; white-space: nowrap; }

.devis-conditional[hidden] { display: none; }
input.devis-conditional { margin-top: 10px; }
.field-hint { font-size: .8rem; color: var(--text-muted); margin-top: 10px; }

.consent-option {
    flex: initial;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    font-weight: 400;
    line-height: 1.4;
}
.consent-option input { margin-top: 3px; flex-shrink: 0; }

.radio-option.is-disabled { opacity: .5; cursor: not-allowed; background: var(--border); }

@media (max-width: 560px) {
    .form-row-group { grid-template-columns: 1fr; }
}

.form-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: .92rem;
    margin-bottom: 24px;
}
.form-alert.success { background: #eaf7ee; color: #1e6b34; border: 1px solid #c7ead1; }
.form-alert.error { background: #fbeaea; color: #8a2323; border: 1px solid #f3caca; }
.form-alert.info { background: #eef1f7; color: #2c3a52; border: 1px solid #d6dded; }

.contact-info-list { margin-bottom: 32px; }
.contact-info-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.info-label { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.info-value { font-size: 1.02rem; font-weight: 500; }

.social-title { font-size: .95rem; margin-bottom: 14px; }

.map-embed {
    margin-top: 28px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.map-embed iframe { display: block; }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 56px 24px 32px;
}
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--text-muted); font-size: .88rem; margin-top: 12px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--text-muted); font-size: .92rem; }
.footer-nav a:hover { color: var(--text); }
.footer-social { display: flex; gap: 12px; }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 32px;
    border-top: 1px solid var(--border);
    font-size: .8rem;
    color: var(--text-muted);
}
.footer-legal a:hover { color: var(--text); }

/* ============ Legal notice ============ */
.legal-section h2 { font-size: 1.25rem; margin-top: 2.5rem; }
.legal-section h2:first-child { margin-top: 0; }
.legal-section p { color: var(--text-muted); }
.legal-block { background: var(--surface); border-radius: 10px; padding: 18px 22px; color: var(--text); }

/* ============ Admin corner link (tarifs page only) ============ */
.admin-corner-link {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 50;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    backdrop-filter: blur(6px);
}
.admin-corner-link:hover { color: var(--text); border-color: var(--text); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-columns { grid-template-columns: 1fr; gap: 64px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border);
        transform: translateY(-8px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease;
    }
    .main-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 12px 24px 24px; }
    .main-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); }
    .social-icons { display: none; }
    .nav-toggle { display: flex; }
    .section { padding: 64px 0; }
}
