:root {
    color-scheme: light;
    --bg: #eef4fb;
    --surface: #ffffff;
    --surface-soft: #f7f9fd;
    --text: #1e293b;
    --muted: #55687a;
    --brand: #2162ff;
    --brand-soft: #d7e4ff;
    --border: rgba(34, 100, 255, 0.12);
    --shadow: 0 26px 70px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    min-height: 100vh;
    padding-top: 92px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(33, 98, 255, 0.12), transparent 18%), radial-gradient(circle at bottom right, rgba(33, 98, 255, 0.09), transparent 16%);
    pointer-events: none;
    z-index: -1;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px;
}

header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.logo {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--text);
    text-decoration: none;
}

nav ul {
    display: flex;
    gap: 1.6rem;
    list-style: none;
    align-items: center;
}

nav ul li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
}

nav ul li a:hover,
nav ul li a:focus-visible {
    color: var(--brand);
    transform: translateY(-1px);
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2162ff 0%, #1b356d 100%);
    color: #fff;
    border-radius: 0 0 48px 48px;
    padding: 96px 0 92px;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    top: -130px;
    right: -120px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    bottom: -90px;
    left: -70px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1.25rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.85rem, 4.5vw, 4.8rem);
    line-height: 1.02;
    margin-bottom: 1.4rem;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 720px;
    margin: 0 auto 2.25rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #dbe6ff 100%);
    color: #162a4c;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 20px 32px rgba(33, 98, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 26px 40px rgba(33, 98, 255, 0.22);
}

section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: clamp(2rem, 2.6vw, 2.5rem);
    margin-bottom: 1.8rem;
    color: #172d4a;
}

.about {
    padding-top: 0;
}

.about-card {
    background: linear-gradient(135deg, #1c4ed8 0%, #2563eb 45%, #93c5fd 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    padding: 2.4rem;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    color: #eef6ff;
}

.about-card h2 {
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.about-card p {
    margin-bottom: 1rem;
    line-height: 1.85;
}

.service-grid,
.offers-grid {
    display: grid;
    gap: 1.75rem;
}

.service-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service {
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(33, 98, 255, 0.08);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: left;
}

.service h2,
.service h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    color: #ffffff;
    text-align: center;
}

.service {
    background: linear-gradient(135deg, #1c4ed8 0%, #2563eb 45%, #93c5fd 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    padding: 2.4rem;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    color: #eef6ff;
    text-align: left;
}

.service > h2,
.service > h3 {
    color: #ffffff;
}

.service:not(.contact-links) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service:not(.contact-links) .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
}

.service:not(.contact-links) .contact-info p,
.service:not(.contact-links) .contact-info a {
    color: #eef6ff;
}

.offer-group h3 {
    font-size: clamp(1.12rem, 1.8vw, 1.45rem);
    margin-bottom: 1rem;
    color: var(--brand);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(33,98,255,0.10), rgba(33,98,255,0.03));
    box-shadow: 0 8px 20px rgba(33,98,255,0.04);
}

.table-wrapper {
    background: var(--surface);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 1.4rem;
    min-height: 220px;
}

.offers-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.offer-card {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    border: 1px solid rgba(33, 98, 255, 0.12);
    border-radius: 24px;
    padding: 1.75rem;
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 20px 42px rgba(33, 98, 255, 0.08);
}

.offer-card-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.3rem;
}

.offer-card h4 {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
    color: #11203b;
}

.offer-company{
    color: #16325b;
    font-size: 0.95rem;
}

.offer-location,
.offer-hash {
    color: #16325b;
    font-size: 0.95rem;
}

.offer-location {
    margin-top: 0.5rem;
}

.offer-hash {
    margin: 0.85rem 0 1rem;
    word-break: break-word;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(33, 98, 255, 0.12);
    color: #16408f;
    font-size: 0.88rem;
    font-weight: 700;
}

.offer-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.offer-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(33, 98, 255, 0.14), rgba(33, 98, 255, 0.26));
    color: #16408f;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(33, 98, 255, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.offer-action:hover,
.offer-action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(33, 98, 255, 0.18);
    background: rgba(33, 98, 255, 0.18);
}

.offer-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
    margin-bottom: 1rem;
}

.tag-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(15,23,42,0.06);
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
    color: #16325b;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tag-btn:hover,
.tag-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(33,98,255,0.08);
}

.contact {
    background: var(--surface);
    border-radius: 32px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

.contact-banner {
    display: grid;
    grid-template-columns: 1.1fr minmax(280px, 1fr);
    gap: 2rem;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #eaf2ff 100%);
    border: 1px solid rgba(33, 98, 255, 0.15);
    border-radius: 32px;
    padding: 2.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.contact-banner .eyebrow {
    margin-bottom: 0.8rem;
    color: #16408f;
}

.contact-banner h2 {
    margin: 0 0 1rem;
    color: #11203b;
}

.contact-banner p {
    margin: 0;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.8;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.45rem;
    font-weight: 600;
    color: #16325b;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    background: linear-gradient(135deg, #1c4ed8 0%, #2563eb 45%, #93c5fd 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 32px;
    padding: 2.4rem;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    color: #eef6ff;
}



.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(33, 98, 255, 0.4);
    box-shadow: 0 0 0 4px rgba(33, 98, 255, 0.08);
}

.contact-form .btn {
    width: fit-content;
    padding: 0.9rem 1.8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-card {
    background: linear-gradient(180deg, #ffffff 65%, #336dd8 100%);
    border: 1px solid rgba(33, 98, 255, 0.12);
    
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: left;
}

.contact-card.contact-links {
    display: grid;
    gap: 1.6rem;
}

/* Lighter, more readable background for Services when using .service */
.service.contact-links {
    background: linear-gradient(135deg, #1c4ed8 0%, #2563eb 45%, #93c5fd 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
    color: #eef6ff;
    padding: 2.2rem;
    border-radius: 32px;
}

.service.contact-links ul {
    list-style: disc inside;
    color: rgba(238,246,255,0.95);
    margin: 0.5rem 0 0 0;
}

.service.contact-links li {
    margin-bottom: 0.55rem;
}

/* Titres et liens de contact en blanc dans les blocs .service */
.service h2,
.service h3 {
    color: #ffffff !important;
}

.service .contact-info a,
.service.contact-links a {
    color: #ffffff;
    text-decoration: none;
}

.service .contact-info a:hover,
.service.contact-links a:hover {
    color: rgba(255,255,255,0.95);
    text-decoration: underline;
}

.contact .contact-banner h2,
.contact .contact-banner h3 {
    margin: 0 0 1rem;
    color: #172d4a;
}

.contact-tagline {
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 640px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-start;
}

.contact-info p {
    margin: 0;
    color: var(--text);
    font-size: 1rem;
}

.contact-info a {
    color: var(--brand);
    text-decoration: none;
}

.contact-info a:hover,
.contact-info a:focus-visible {
    text-decoration: underline;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.footer-columns h3 {
    margin-bottom: 0.9rem;
    font-size: 1.05rem;
    color: #16325b;
}

.footer-columns ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.footer-columns li {
    color: var(--muted);
    font-size: 0.98rem;
}

.footer-copy {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 860px) {
    .contact-banner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

footer {
    background: transparent;
    color: #4b5f7d;
    text-align: center;
    padding: 2rem 0 2.8rem;
}



footer p {
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 920px) {
    header .container {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .hero {
        padding: 82px 0 72px;
        border-radius: 0 0 32px 32px;
    }

    .offer-card-header {
        grid-template-columns: 1fr;
    }

    .offer-group {
        margin-bottom: 2rem;
    }
}

@media (max-width: 560px) {
    .container {
        padding: 0 16px;
    }

    .service {
        padding: 1.75rem;
    }

    .table-wrapper {
        padding: 1.2rem;
    }
}
