﻿html, body {
    height: 100%;
}

.site-body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    background: #f5f7fb;
    color: #0f172a;
}

/* Headings: explicit sizes to avoid UA defaults */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.site-main {
    min-height: calc(100vh - 220px);
}

.hero {
    position: relative;
    padding: 7rem 0 6rem;
    overflow: hidden;
    background: radial-gradient(circle at top left, #3b82f6 0, #1d4ed8 40%, #0f172a 100%);
    color: #fff;
}

    .hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 120px;
        background: #f5f7fb;
        border-radius: 60% 60% 0 0;
    }

.hero__inner {
    position: relative;
    z-index: 1;
}

.hero__title {
    font-weight: 700;
    line-height: 1.1;
}

    .hero__title span {
        display: block;
    }

.hero__subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
}

.hero__actions .btn-primary,
.hero__actions .btn-outline-light {
    border-radius: 999px;
    padding: 0.75rem 1.75rem;
    border-width: 1.5px;
    background-color: #2563eb;
    border-color: #2563eb;
    color: #fff !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

    .hero__actions .btn-primary:hover,
    .hero__actions .btn-primary:focus,
    .hero__actions .btn-outline-light:hover,
    .hero__actions .btn-outline-light:focus {
        background-color: #ffffff;
        color: #2563eb !important;
        border-color: #ffffff;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.35);
    }

.hero__card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 24px;
    padding: 0.2rem;
    width: auto;
    max-width: min(100%, 450px);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.6);
}

    .hero__card img {
        border-radius: 18px;
        width: auto;
        max-width: min(100%, 439px);
        height: auto;
        display: block;
    }

/* Target / feature block */

/* target-card : aligné fonctionnellement avec feature-card (transition + hover) */
.target-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(15, 42, 61, 0.06);

    /* comportement équivalent à .feature-card */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.target-card-title {
    font-weight: 600;
    color: #0d1b2a; /* Une nuance plus sombre */
}

/* Hover effect identique à .feature-card */
.target-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* Small transform and shadow on focus for accessibility */
.target-card:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    outline: none;
}

#deliverables .section-title {
    font-size: 2rem;
    font-weight: 700;
}

#deliverables .section-subtitle {
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.85;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(15, 42, 61, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    }

/* Icône / rond */
.feature-card-icon {
    margin-bottom: 1rem;
}

    .feature-card-icon .icon-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.08); /* petit halo bleu */
        color: #2563eb;
        font-size: 32px;
        transition: transform 0.35s ease;
    }

/* Rotation subtile du rond (et de l’icône) au survol */
.feature-card:hover .feature-card-icon .icon-circle {
    transform: rotate(15deg);
}

.feature-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.feature-card-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

.feature-card:hover {
    transform: translateY(-4px);
    transition: 0.2s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}



/* Metrics / solution block */
.metrics-card {
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.metrics-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.8rem;
}

.metrics-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.metrics-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0f172a;
}

.metrics-caption {
    font-size: 0.8rem;
    color: #6b7280;
}

.projects-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.project-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.75);
    color: #e5efff;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #2563eb;
    font-size: 0.75rem;
    color: #ffffff;
    background-color: #2563eb;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
    background: transparent;
    backdrop-filter: blur(10px);
}

.site-header--scrolled {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
}

#site-header-content {
    position: sticky;
}

.site-header__inner {
    padding: 0.75rem 1.5rem;
}

.site-logo {
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #e5efff;
    text-decoration: none;
}

.site-header--scrolled .site-logo {
    color: #2563eb;
}

.site-nav__link {
    margin-right: 1.5rem;
    font-size: 0.95rem;
    text-decoration: none;
    color: #e5efff;
}

.site-header--scrolled .site-nav__link {
    color: #0f172a;
}

.site-nav__link:hover {
    color: #bfdbfe;
}

.site-header--scrolled .site-nav__link:hover {
    color: #2563eb;
}

.site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    background: #ffffff;
    color: #2563eb !important;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.55);
}

.site-header--scrolled .site-nav__cta {
    background: #2563eb;
    color: #fff !important;
}

.site-nav__cta:hover {
    filter: brightness(1.05);
}

.site-nav__lang {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: inherit;
}

    .site-nav__lang.dropdown-toggle {
        
        color: gainsboro;
        text-decoration: none !important;
    }

.site-nav__lang-label {
    color:gainsboro;
    font-weight: 600;
    color: inherit;
}

.lang-flag {
    display: inline-block;
    width: 28px;
    height: 18px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.lang-flag--fr {
    background: linear-gradient(90deg, #0055a4 0 33%, #ffffff 33% 66%, #ef4135 66% 100%);
}

.lang-flag--en {
    background:
        linear-gradient(90deg, transparent 45%, #ffffff 45%, #ffffff 55%, transparent 55%),
        linear-gradient(transparent 45%, #ffffff 45%, #ffffff 55%, transparent 55%),
        linear-gradient(90deg, transparent 47%, #c8102e 47%, #c8102e 53%, transparent 53%),
        linear-gradient(transparent 47%, #c8102e 47%, #c8102e 53%, transparent 53%),
        #012169;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-dropdown .dropdown-item.active {
    background: #e5efff;
    color: #0f172a;
}

.language-dropdown .dropdown-item.active .lang-flag {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.site-nav-toggle {
    background: none;
    border: none;
    padding: 0.25rem;
}

    .site-nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        margin-bottom: 4px;
    }

.site-header--scrolled .site-nav-toggle span {
    background: #0f172a;
}

.site-nav--mobile {
    display: none;
    flex-direction: column;
    margin-top: 0.75rem;
}

    .site-nav--mobile.open {
        display: flex;
    }

@media (max-width: 767.98px) {
    .site-nav--mobile {
        background: rgba(2, 6, 23, 0.95);
        border-radius: 14px;
        padding: 0.75rem 1rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(8px);
    }

    .site-nav--mobile .site-nav__link {
        color: #e5e7eb;
        margin-right: 0;
        padding: 0.5rem 0;
    }

    .site-nav--mobile .site-nav__cta {
        width: 100%;
        justify-content: center;
        margin: 0.35rem 0;
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.55);
    }
}

.site-footer {
    background: #020617;
    color: #e5e7eb;
    padding: 3rem 0 2rem;
}

.site-footer__title {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.site-footer__subtitle {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.site-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .site-footer__list li + li {
        margin-top: 0.25rem;
    }

    .site-footer__list a {
        color: inherit;
        text-decoration: none;
    }

        .site-footer__list a:hover {
            text-decoration: underline;
        }

.site-footer__bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    padding-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
}

/* --- Alignement des icônes pour .target-card pour qu'elles se comportent comme .feature-card --- */
.target-card-icon {
    margin-bottom: 1rem;
}

.target-card-icon .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08); /* même halo bleu */
    color: #2563eb;
    font-size: 32px;
    transition: transform 0.35s ease;
    will-change: transform;
}

/* même rotation subtile au survol que pour .feature-card */
.target-card:hover .target-card-icon .icon-circle,
.target-card:focus-within .target-card-icon .icon-circle {
    transform: rotate(15deg);
}

/* optionnel : ajuster titre/texte si besoin pour parfaire l'alignement visuel */
.target-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Social proof / témoignages */
#social-proof .section-title {
    font-size: 2rem;
    font-weight: 700;
}

#social-proof .section-subtitle {
    max-width: 720px;
    margin: 0 auto;
    opacity: 0.85;
}

/* Bandeau de types de clients */
.social-proof-strip {
    gap: 0.75rem;
}

.social-proof-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.06);
    color: #1d4ed8;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Cartes de témoignages */
.testimonial-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.4rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.35);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

/* Badge guillemet */
.testimonial-badge {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}

    .testimonial-badge i {
        font-size: 1.1rem;
    }

/* Texte + méta */
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #0f172a;
}

.testimonial-meta {
    font-size: 0.85rem;
}

.testimonial-name {
    font-weight: 600;
    color: #0f172a;
}

.testimonial-role {
    color: #6b7280;
}

/* CTA final */
#final-cta {
    border-top: 1px solid rgba(15, 42, 61, 0.06);
    border-bottom: 1px solid rgba(15, 42, 61, 0.06);
}

    #final-cta .cta-title {
        font-size: 2rem;
        font-weight: 700;
        color: #0f172a;
    }

    #final-cta .cta-subtitle {
        font-size: 1.1rem;
        max-width: 720px;
        margin: 0 auto;
        opacity: 0.85;
    }

    #final-cta .cta-button {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
        border-radius: 0.65rem;
        box-shadow: 0 8px 20px rgba(37, 99, 235, 0.18);
        transition: all 0.25s ease;
    }

        #final-cta .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
        }

    #final-cta .cta-note {
        font-size: 0.9rem;
        color: #64748b;
    }

/* SEO footer (texte discret mais optimisé pour Google) */
#seo-footer {
    border-top: 1px solid rgba(15, 42, 61, 0.06);
    font-size: 0.9rem;
    color: #475569;
}

    #seo-footer p {
        margin-bottom: 0.75rem;
        line-height: 1.55;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }

/* Auth navigation */
.site-nav__logout {
    display: inline-flex;
    align-items: center;
}

.site-nav__logout-btn {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
}

.site-nav--mobile .site-nav__logout {
    padding: 0.25rem 0;
}

/* Footer layout adjustments */
.site-footer .row {
    row-gap: 2.25rem;
}

.site-footer__middle {
    gap: 0.5rem;
}

.footer-links a {
    text-decoration: none;
}

.footer-links .cookie-manage-trigger {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    text-align: left;
    text-decoration: none;
}

.footer-links .cookie-manage-trigger:hover,
.footer-links .cookie-manage-trigger:focus {
    color: #2563eb;
    text-decoration: underline;
}

/* Blog */
.blog-card {
    border: 1px solid rgba(15, 42, 61, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.blog-card__thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.blog-card__body {
    padding: 1.25rem;
}

.article-image {
    display: inline-block;
    width: auto;
    max-width: min(100%, 600px);
    height: auto;
    max-height: 70vh;
}

.blog-card__title {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0f172a;
    text-decoration: none;
}

.blog-card__meta {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.blog-card__excerpt {
    margin-top: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
}

.blog-card__readmore {
    text-decoration: none;
    font-weight: 600;
    color: #2563eb;
}

/* Cookie consent */
.cookie-consent {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    max-width: 420px;
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    padding: 1.5rem;
    z-index: 1100;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-consent__title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    font-weight: 700;
    color: #f8fafc;
}

.cookie-consent__text {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.cookie-consent__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent__link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
}

.cookie-consent__link:hover {
    color: #ffffff;
}

.cookie-consent__buttons {
    display: inline-flex;
    gap: 0.5rem;
}

@media (max-width: 767.98px) {
    .cookie-consent {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .cookie-consent__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent__buttons {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Admin - contact requests */
.contact-requests-table {
    table-layout: fixed;
    width: 100%;
}

.contact-requests-table th,
.contact-requests-table td {
    white-space: normal;
    word-break: break-word;
}

.contact-requests-table .contact-message {
    white-space: pre-wrap;
}

.contact-requests-table .contact-actions form {
    flex: 1 1 auto;
}



