/* 
 * Hologram HIDS Custom CSS - IDEMIA Inspired Corporate Dark Theme
 */

:root {
    --hids-pattern-network: url('/wp-content/themes/hologram-hids/assets/images/pattern-network.svg');
}

body {
    background-color: #ffffff;
    color: #050810;
    overflow-x: hidden;
}

/* Site-wide tech network pattern on light / white surfaces */
.hids-light-pattern,
.hids-pattern-surface,
main .alignfull.has-background-alt-background-color,
.company-timeline-section,
.actualites-archive-section,
.single-article-body,
.nos-projets-article,
.project-tabs-container,
.nos-services-page > section:not(.nos-services-hero):not(.nos-services-cta),
.carrieres-page > section:not(.carrieres-hero):not(.carrieres-culture-section),
.contact-page .contact-main-section,
.contact-page .contact-panel-right,
body.page-la-societe main > .wp-block-group.alignwide,
body.page-societe main > .wp-block-group.alignwide,
body.page-la-societe main article.wp-block-group,
main section[style*="background:white"],
main section[style*="background:#fff"],
main section[style*="background:#f8fafc"],
main section[style*="background: white"],
main section[style*="background: #f8fafc"] {
    position: relative;
    isolation: isolate;
}

.hids-light-pattern::before,
.hids-pattern-surface::before,
main .alignfull.has-background-alt-background-color::before,
.company-timeline-section::before,
.actualites-archive-section::before,
.single-article-body::before,
.nos-projets-article::before,
.project-tabs-container::before,
.nos-services-page > section:not(.nos-services-hero):not(.nos-services-cta)::before,
.carrieres-page > section:not(.carrieres-hero):not(.carrieres-culture-section)::before,
.contact-page .contact-main-section::before,
.contact-page .contact-panel-right::before,
body.page-la-societe main > .wp-block-group.alignwide::before,
body.page-societe main > .wp-block-group.alignwide::before,
body.page-la-societe main article.wp-block-group::before,
main section[style*="background:white"]::before,
main section[style*="background:#fff"]::before,
main section[style*="background:#f8fafc"]::before,
main section[style*="background: white"]::before,
main section[style*="background: #f8fafc"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hids-pattern-network);
    background-size: min(860px, 72vw) auto;
    background-position: right -5% top 8%;
    background-repeat: no-repeat;
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}

.hids-light-pattern::after,
.hids-pattern-surface::after,
main .alignfull.has-background-alt-background-color::after,
.company-timeline-section::after,
.actualites-archive-section::after,
.single-article-body::after,
.nos-projets-article::after,
.project-tabs-container::after,
.nos-services-page > section:not(.nos-services-hero):not(.nos-services-cta)::after,
.carrieres-page > section:not(.carrieres-hero):not(.carrieres-culture-section)::after,
.contact-page .contact-main-section::after,
.contact-page .contact-panel-right::after,
body.page-la-societe main > .wp-block-group.alignwide::after,
body.page-societe main > .wp-block-group.alignwide::after,
body.page-la-societe main article.wp-block-group::after,
main section[style*="background:white"]::after,
main section[style*="background:#fff"]::after,
main section[style*="background:#f8fafc"]::after,
main section[style*="background: white"]::after,
main section[style*="background: #f8fafc"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hids-pattern-network);
    background-size: min(480px, 50vw) auto;
    background-position: left -10% bottom 12%;
    background-repeat: no-repeat;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    transform: scaleX(-1);
}

.hids-light-pattern > *,
.hids-light-pattern .wp-block-group,
.hids-light-pattern .wp-block-columns,
.hids-pattern-surface > *,
.actualites-archive-section > *,
.single-article-body > *,
.nos-projets-article > *,
.project-tabs-container > *,
.company-timeline-section > *,
main .alignfull.has-background-alt-background-color > *,
body.page-la-societe main > .wp-block-group.alignwide > *,
body.page-societe main > .wp-block-group.alignwide > *,
main section[style*="background:white"] > *,
main section[style*="background:#f8fafc"] > * {
    position: relative;
    z-index: 1;
}

/* Glassmorphism Classes (Adapted for Light Theme) */
.glass-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.glass-card::before,
.svc-card::before,
.carrieres-benefit-card::before,
.carrieres-job-card::before,
.carrieres-candidature-card::before,
.contact-split-card::before,
.reference-card::before,
.mission-card::before,
.idemia-business-card::before {
    content: '';
    position: absolute;
    top: -35%;
    right: -28%;
    width: min(300px, 95%);
    height: min(320px, 125%);
    background-image: var(--hids-pattern-network);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.svc-card,
.carrieres-benefit-card,
.carrieres-job-card,
.carrieres-candidature-card,
.contact-split-card,
.reference-card,
.mission-card,
.idemia-business-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.svc-card > *,
.carrieres-benefit-card > *,
.carrieres-job-card > *,
.carrieres-candidature-card > *,
.contact-split-card > *,
.reference-card > *,
.mission-card > *,
.idemia-business-card > * {
    position: relative;
    z-index: 1;
}

.glass-card > * {
    position: relative;
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 212, 255, 0.5); /* Primary color */
}

.glass-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Header Logo */
.site-logo-img {
    margin: 0;
}

.site-logo-img img {
    height: 48px;
    width: auto;
    display: block;
}

/* Header "Nous appeler" button — brand blue */
.glass-header .header-cta .wp-block-button__link,
.glass-header .header-cta .wp-element-button.btn-idemia,
.glass-header .header-cta .btn-idemia a {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.95rem !important;
    background: #0052cc !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
}

.glass-header .header-cta .wp-block-button__link:hover,
.glass-header .header-cta .btn-idemia a:hover {
    background: #003d99 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 82, 204, 0.45);
}

/* Footer */
.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-newsletter p {
    margin: 0;
    color: #ffffff;
    font-weight: 600;
}

.footer-newsletter-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-newsletter-form input {
    min-width: 300px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.6rem 0.8rem;
}

.footer-newsletter-form button {
    background: #0b6bff;
    border: none;
    color: #ffffff;
    padding: 0.65rem 1rem;
    font-weight: 700;
    cursor: pointer;
}

.footer-newsletter-form button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.hids-newsletter-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.footer-newsletter-status {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    min-height: 1.25em;
}

.footer-newsletter-status.is-success {
    color: #7dffb8;
}

.footer-newsletter-status.is-error {
    color: #ffb4b4;
}

.footer-logo {
    margin: 0 0 0.75rem 0;
    background: transparent !important;
}

.footer-logo img {
    height: 42px;
    width: auto;
    background: transparent;
    display: block;
}

.footer-brand-text {
    max-width: 280px;
}

.footer-title {
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.footer-products,
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    line-height: 2;
}

/* IDEMIA Style Large Typography & Cards */
.idemia-business-card {
    padding: 1.75rem 2rem !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
}

.idemia-business-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.idemia-business-card p {
    margin-bottom: 0;
}

.idemia-news-card {
    border-top: 3px solid var(--wp--preset--color--primary);
    border-radius: 4px !important;
}

.idemia-news-card:nth-child(2) {
    border-top: 3px solid var(--wp--preset--color--secondary);
}

.tech-card {
    padding: 2rem;
}

.tech-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

.tech-cards-grid .tech-card {
    margin: 0;
    height: 100%;
}

.tech-cards-grid .tech-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.tech-cards-grid .tech-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .tech-cards-column {
        flex-basis: 100% !important;
        margin-top: 1.5rem;
    }

    .tech-cards-grid {
        grid-template-columns: 1fr;
    }
}

.client-ref-card {
    border-left: 1px solid rgba(0,0,0,0.1);
    padding-left: 2rem !important;
    border-radius: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* La Société — Historique de Projets */
.project-history-section {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* References logo marquee (La Société) */
.project-history-section .refs-marquee {
    overflow: hidden;
    width: 100%;
    margin: 0 0 1.5rem;
    padding: 0.25rem 0;
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.project-history-section .refs-marquee-track {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: max-content;
    animation: refsMarquee 75s linear infinite;
}

.project-history-section .refs-marquee:hover .refs-marquee-track {
    animation-play-state: paused;
}

.project-history-section .refs-marquee-item,
.project-history-section .partner-logo-item {
    flex: 0 0 auto;
    width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: none;
}

.project-history-section .refs-marquee-item img,
.project-history-section .partner-logo-item img {
    display: block;
    max-width: 110px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.2s ease;
}

.project-history-section .refs-marquee-item:hover img,
.project-history-section .partner-logo-item:hover img {
    filter: none;
}

@keyframes refsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.project-history-section .platforms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: visible;
    width: 100%;
    max-width: 100%;
}

.project-history-section .history-platform-card {
    border-top: 3px solid var(--wp--preset--color--primary) !important;
    padding: 1.5rem 1.35rem !important;
    min-height: 200px;
    min-width: 0;
}

.project-history-section .history-platform-card--secondary {
    border-top-color: var(--wp--preset--color--secondary) !important;
}

.project-history-section .history-platform-card--accent {
    border-top-color: #0b6bff !important;
}

.project-history-section .history-platform-card:hover {
    transform: translateY(-6px);
}

.project-history-section .history-platform-logo {
    margin: 0 0 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
}

.project-history-section .history-platform-logo img {
    display: block;
    max-height: 52px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.project-history-section .platform-initial-badge {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0052cc, #00b4d8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.project-history-section .history-platform-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.project-history-section .history-platform-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--wp--preset--color--text-muted, #64748b);
}

.project-history-section .history-cta-note a {
    color: var(--wp--preset--color--primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 212, 255, 0.35);
    transition: border-color 0.2s ease;
}

.project-history-section .history-cta-note a:hover {
    border-bottom-color: var(--wp--preset--color--primary);
}

/* Buttons - IDEMIA Style */
.wp-element-button.btn-idemia, .btn-idemia a {
    background: #00d4ff !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 1rem 2.5rem !important;
    font-weight: 700 !important;
    transition: all 0.3s ease;
}

.wp-element-button.btn-idemia:hover, .btn-idemia a:hover {
    background: #050810 !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

.wp-element-button.btn-outline, .btn-outline a {
    background: transparent !important;
    border: 1px solid #050810 !important;
    color: #050810 !important;
    border-radius: 50px !important;
}

.wp-element-button.btn-outline:hover, .btn-outline a:hover {
    background: #050810 !important;
    color: #ffffff !important;
}

.hero-section .wp-element-button.btn-idemia, .hero-section .btn-idemia a {
    background: #ffffff !important;
    color: #050810 !important;
}

.hero-section .wp-element-button.btn-idemia:hover, .hero-section .btn-idemia a:hover {
    background: #00d4ff !important;
    color: #ffffff !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker gradient to ensure text readability over images */
    background: radial-gradient(circle at center, rgba(10, 15, 30, 0.4) 0%, #0a0f1e 100%);
    z-index: 1;
    pointer-events: none;
}

/* Background Image Slider (Parallax / Crossfade) */
.hero-bg-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    /* This creates the "scroll behind" parallax effect */
    background-attachment: fixed; 
    opacity: 0;
    animation: heroFade 25s infinite;
}

/* Load the 5 images from assets/images/ */
.hero-slide:nth-child(1) { background-image: url('../images/bg1.png'); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url('../images/bg2.png'); animation-delay: 5s; }
.hero-slide:nth-child(3) { background-image: url('../images/bg3.png'); animation-delay: 10s; }
.hero-slide:nth-child(4) { background-image: url('../images/bg4.png'); animation-delay: 15s; }
.hero-slide:nth-child(5) { background-image: url('../images/bg5.png'); animation-delay: 20s; }

@keyframes heroFade {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 0.6; } /* Opacity low to keep text readable */
    20% { opacity: 0.6; }
    25% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

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

/* Stats Counter */
.stat-number {
    font-size: 3rem;
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

/* Software / Project Logos Display */
.project-tab-content .wp-block-columns.alignwide {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 92vw;
    max-width: 1500px;
    margin-left: 0;
    margin-right: 0;
}

.software-card,
.product-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem !important;
    min-height: 250px;
    height: 100% !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02) !important;
    transition: all 0.25s ease;
}

.products-grid-container .wp-block-columns,
#tab-publique .wp-block-columns,
#tab-prive .wp-block-columns {
    align-items: stretch !important;
}

.products-grid-container .wp-block-column.product-card,
#tab-publique .wp-block-column.product-card,
#tab-prive .wp-block-column.product-card {
    display: flex !important;
}

.product-card:hover,
.software-card.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 82, 204, 0.1) !important;
    border-color: #0052cc !important;
}

.software-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border-color: var(--wp--preset--color--primary) !important;
}

.software-card img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.software-card:hover img {
    transform: scale(1.05);
}

.software-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: var(--wp--preset--color--text-dark);
}

.software-content p {
    font-size: 0.875rem;
    text-align: center;
    color: var(--wp--preset--color--text-muted);
    line-height: 1.4;
    margin: 0;
}

.product-card .software-content {
    flex: 1 1 auto;
    width: 100%;
}

.product-logo-area {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
    min-height: 72px;
    align-items: center;
}

.product-initial-badge {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 auto 16px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #0052cc, #00b4d8);
}

.product-initial-badge--gouvernance {
    background: linear-gradient(135deg, #0052cc, #2563eb);
}

.product-initial-badge--finance {
    background: linear-gradient(135deg, #059669, #10b981);
}

.product-initial-badge--biometrie {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
}

.product-initial-badge--sante {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.product-initial-badge--mobilite {
    background: linear-gradient(135deg, #ea580c, #f97316);
}

.product-initial-badge--infrastructure {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.project-filters .project-filter-btn.active {
    background: #0052cc !important;
    border-color: #0052cc !important;
    color: #ffffff !important;
}

/* Nos Produits page */
.nos-projets-page {
    padding: 0 !important;
    max-width: none !important;
}

.nos-projets-page > .wp-block-html,
.nos-projets-article > .wp-block-html {
    width: 100%;
    max-width: 100%;
}

.nos-projets-hero {
    width: 100%;
    box-sizing: border-box;
}

.nos-projets-cta {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

.nos-projets-page .nos-projets-cta {
    display: block;
}

.nos-projets-cta-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nos-projets-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #0052cc;
}

#tab-publique.active-tab,
#tab-prive.active-tab {
    display: block !important;
}

.project-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.project-tabs-header {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    border-radius: 50px;
}

.project-tab-btn {
    background: transparent;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: var(--wp--preset--font-family--heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--wp--preset--color--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-tab-btn:hover {
    color: var(--wp--preset--color--text-dark);
}

.project-tab-btn.active {
    background: #ffffff;
    color: var(--wp--preset--color--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-tab-content {
    display: none;
    animation: fadeInTab 0.4s ease;
}

.project-tab-content.active-tab {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tech stack marquee on Accueil */
.tech-marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.tech-marquee {
    width: 100%;
    position: relative;
}

.tech-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    width: max-content;
    animation: techMarquee var(--marquee-duration, 52s) linear infinite;
    will-change: transform;
}

.tech-marquee:hover .tech-marquee-track {
    animation-play-state: paused;
}

.tech-marquee-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tech-marquee-track img {
    height: 46px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
    opacity: 0.9;
    filter: grayscale(10%);
    transition: filter 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.tech-marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Taller logos (SQL Server, Oracle) */
.tech-marquee-track img[alt="Microsoft SQL Server"],
.tech-marquee-track img[alt="Oracle"] {
    height: 52px;
    max-width: 130px;
}

@keyframes techMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(var(--marquee-offset, -50%)); }
}

/* =========================================
   Global UI Enhancement Pass
   ========================================= */
:root {
    --hids-shadow-soft: 0 10px 35px rgba(2, 12, 30, 0.06);
    --hids-shadow-card: 0 12px 34px rgba(2, 12, 30, 0.08);
    --hids-border-soft: 1px solid rgba(15, 23, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    overflow-x: clip;
}

p {
    letter-spacing: 0.1px;
}

.wp-block-heading {
    letter-spacing: -0.02em;
}

.wp-block-group.alignwide,
.wp-block-columns.alignwide {
    width: min(1200px, calc(100% - 2.5rem));
    margin-left: auto;
    margin-right: auto;
}

/* Inner page hero bands (Services, Contact, Societe, Projets...) */
main > .wp-block-group.alignfull.has-background-dark-background-color:not(.hero-section) {
    padding-top: 5rem !important;
    padding-bottom: 3rem !important;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

main > .wp-block-group.alignfull.has-background-dark-background-color:not(.hero-section) h1 {
    text-shadow: 0 6px 26px rgba(0, 0, 0, 0.25);
}

/* Header polish */
.glass-header {
    box-shadow: 0 8px 26px rgba(2, 12, 30, 0.05);
}

.glass-header .wp-block-navigation-item__content {
    font-size: 0.98rem;
    font-weight: 600;
    padding: 0.2rem 0.2rem;
    transition: color 0.25s ease, opacity 0.25s ease;
    color: #334155;
}

.glass-header .wp-block-navigation-item__content:hover {
    color: #0052cc !important;
}

/* Active page — highlight current menu item in blue */
.glass-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.glass-header .wp-block-navigation-item.current-menu-item > a,
.glass-header .wp-block-navigation-item .wp-block-navigation-item__content[aria-current="page"],
.glass-header .wp-block-navigation-item a[aria-current="page"] {
    color: #0052cc !important;
    font-weight: 700 !important;
}

.glass-header .wp-block-navigation__responsive-container .current-menu-item .wp-block-navigation-item__content,
.glass-header .wp-block-navigation__responsive-container [aria-current="page"] {
    color: #0052cc !important;
    font-weight: 700 !important;
}

.site-logo-img img {
    height: 52px;
}

/* Generic card improvements */
.glass-card {
    border-radius: 16px;
    box-shadow: var(--hids-shadow-soft);
}

.glass-card:hover {
    box-shadow: var(--hids-shadow-card);
}

/* News cards */
.idemia-news-card {
    overflow: hidden;
}

.idemia-news-card img {
    transition: transform 0.5s ease;
}

.idemia-news-card:hover img {
    transform: scale(1.03);
}

/* Actualités — homepage, archive & single article */
.hids-news-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hids-news-query .wp-block-post-template,
.hids-news-archive-query .wp-block-post-template {
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hids-news-card {
    padding: 0 !important;
    overflow: hidden;
    height: 100%;
    border-radius: 14px;
    border: 1px solid rgba(13, 27, 62, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hids-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(13, 27, 62, 0.12);
}

.hids-news-card .wp-block-post-title a {
    color: #0d1b3e;
    text-decoration: none;
}

.hids-news-card .wp-block-post-title a:hover {
    color: #0052cc;
}

.hids-news-card .wp-block-post-featured-image {
    margin: 0;
}

.hids-news-card .wp-block-post-featured-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.hids-news-card-body .wp-block-post-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hids-news-card-excerpt {
    margin-top: 0.5rem !important;
}

.hids-news-card-excerpt a {
    color: #0052cc;
    font-weight: 600;
    text-decoration: none;
}

.hids-news-card-date {
    margin: 0.25rem 0 0.5rem !important;
    color: #94a3b8 !important;
}

/* Category pills on cards */
.hids-news-category {
    margin: 0 !important;
}

.hids-news-category a {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 50px;
    background: #eff4ff;
    color: #0052cc !important;
}

.hids-news-category a:hover {
    opacity: 0.85;
}

.hids-news-query .category-video .hids-news-category a,
.hids-news-archive-query .category-video .hids-news-category a {
    background: #f5f3ff;
    color: #7c3aed !important;
}

.hids-news-query .category-blog .hids-news-category a,
.hids-news-archive-query .category-blog .hids-news-category a {
    background: #ecfeff;
    color: #0891b2 !important;
}

/* Play icon on video cards */
.hids-news-query .category-video .wp-block-post-featured-image,
.hids-news-archive-query .category-video .wp-block-post-featured-image {
    position: relative;
    display: block;
}

.hids-news-query .category-video .wp-block-post-featured-image::after,
.hids-news-archive-query .category-video .wp-block-post-featured-image::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 4px;
    pointer-events: none;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hids-news-meta {
    gap: 0.35rem;
}

/* Archive page */
.actualites-page .actualites-hero {
    width: 100%;
}

.actualites-archive-section {
    width: 100%;
}

.actualites-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.actualites-filter-btn {
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.actualites-filter-btn:hover {
    border-color: #0052cc;
    color: #0052cc;
}

.actualites-filter-btn.is-active {
    background: #0052cc;
    border-color: #0052cc;
    color: #fff;
}

.actualites-filter-hint {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 2rem;
}

.actualites-empty-filter {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-top: 1rem;
}

.actualites-empty-filter.is-hidden {
    display: none;
}

.hids-news-pagination {
    margin-top: 2.5rem;
    gap: 0.5rem;
}

.hids-news-pagination a {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #0d1b3e;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.hids-news-pagination a:hover {
    background: #eff4ff;
    border-color: #0052cc;
}

/* Single article */
.single-article-page {
    background: #fff;
}

.single-article-hero .hids-news-category-pill a {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(0, 180, 216, 0.15);
    color: #00b4d8 !important;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.single.category-video .single-article-hero .hids-news-category-pill a {
    background: rgba(167, 139, 250, 0.2);
    color: #c4b5fd !important;
    border-color: rgba(167, 139, 250, 0.35);
}

.single.category-evenement .single-article-hero .hids-news-category-pill a {
    background: rgba(0, 82, 204, 0.2);
    color: #93c5fd !important;
    border-color: rgba(0, 82, 204, 0.35);
}

.single-article-date {
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 !important;
}

/* Full-width banner image under hero (événement / blog) */
.single-article-page .single-article-featured,
.single-article-page .wp-block-post-featured-image.single-article-featured {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.single-article-page .single-article-featured img {
    width: 100%;
    height: auto;
    min-height: 280px;
    max-height: 520px;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0;
}

.single.category-video .single-article-featured {
    display: none !important;
}

.single-article-body .wp-block-post-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
}

.single-article-body .wp-block-post-content > p:first-child {
    font-size: 1.1rem;
    color: #475569;
}

.single-article-body .wp-block-post-content h2,
.single-article-body .wp-block-post-content h3 {
    color: #0d1b3e;
    margin-top: 1.75rem;
}

/* Content images & media — centered */
.single-article-body .wp-block-post-content .wp-block-image,
.single-article-body .wp-block-post-content figure.wp-block-image {
    margin: 1.5rem auto !important;
    max-width: 800px;
    width: 100% !important;
    float: none !important;
    text-align: center;
    display: block;
}

.single-article-body .wp-block-post-content .wp-block-image img,
.single-article-body .wp-block-post-content figure.wp-block-image img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 12px;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: 0 4px 24px rgba(13, 27, 62, 0.08);
}

.single-article-body .wp-block-post-content .alignleft,
.single-article-body .wp-block-post-content .alignright,
.single-article-body .wp-block-post-content .aligncenter,
.single-article-body .wp-block-post-content .alignwide,
.single-article-body .wp-block-post-content .alignfull {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

.single-article-body .wp-block-post-content .wp-block-image figcaption,
.single-article-body .wp-block-post-content figure figcaption {
    text-align: center;
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Article galleries — 4 per row (3 on tablet, 2 on mobile) */
.single-article-body .hids-event-gallery,
.single-article-body .wp-block-gallery {
    margin: 2rem auto;
    gap: 12px;
    max-width: 1100px;
    width: 100%;
}

.single-article-body .wp-block-gallery.has-nested-images {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px !important;
}

.single-article-body .wp-block-gallery.has-nested-images figure.wp-block-image {
    width: 100% !important;
    margin: 0 !important;
    flex: none !important;
}

.single-article-body .wp-block-gallery.has-nested-images img,
.single-article-body .wp-block-gallery img {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
    box-shadow: 0 2px 12px rgba(13, 27, 62, 0.08);
}

/* Legacy gallery block (columns class from editor) */
.single-article-body .wp-block-gallery:not(.has-nested-images) {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.single-article-body .wp-block-gallery:not(.has-nested-images) .blocks-gallery-item,
.single-article-body .wp-block-gallery:not(.has-nested-images) > figure {
    flex: 0 0 calc(25% - 9px);
    max-width: calc(25% - 9px);
    margin: 0 !important;
}

.single-article-body .wp-block-gallery.columns-3.has-nested-images {
    grid-template-columns: repeat(3, 1fr) !important;
}

.single-article-body .wp-block-gallery.columns-4.has-nested-images {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 992px) {
    .single-article-body .wp-block-gallery.has-nested-images {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .single-article-body .wp-block-gallery:not(.has-nested-images) .blocks-gallery-item,
    .single-article-body .wp-block-gallery:not(.has-nested-images) > figure {
        flex: 0 0 calc(33.333% - 8px);
        max-width: calc(33.333% - 8px);
    }
}

@media (max-width: 640px) {
    .single-article-body .wp-block-gallery.has-nested-images {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .single-article-body .wp-block-gallery.has-nested-images img,
    .single-article-body .wp-block-gallery img {
        height: 160px;
    }

    .single-article-body .wp-block-gallery:not(.has-nested-images) .blocks-gallery-item,
    .single-article-body .wp-block-gallery:not(.has-nested-images) > figure {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
}

.single-article-body .hids-article-video,
.single-article-body .wp-block-video,
.single-article-body .wp-block-embed,
.single-article-body .wp-block-file {
    margin: 0 auto 2rem !important;
    max-width: 800px;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(13, 27, 62, 0.12);
    text-align: center;
}

.single-article-body .wp-block-video {
    margin-top: 0;
}

.single-article-body .wp-block-video video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    background: #0d1b3e;
}

.single-article-body .wp-block-file {
    box-shadow: none;
    background: #f8fafc;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.single-article-body .wp-block-file a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #0052cc;
    text-decoration: none;
}

.single-article-body .wp-block-embed iframe {
    width: 100%;
    min-height: 360px;
    display: block;
    margin: 0 auto;
}

.single-article-back .wp-block-button__link {
    font-weight: 600;
}

@media (max-width: 900px) {
    .hids-news-query .wp-block-post-template,
    .hids-news-archive-query .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }

    .actualites-hero {
        padding: 48px 24px !important;
    }
}

/* Hero improvements — accueil (compact band) */
.hero-section {
    min-height: clamp(380px, 52vh, 560px);
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 780px) {
    .hero-section {
        min-height: clamp(340px, 48vh, 480px);
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
}

.hero-content p {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content {
    width: min(1000px, calc(100% - 2rem));
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}

/* Project cards readability */
.software-card {
    min-height: 270px;
    border-radius: 14px;
}

.software-content p {
    font-size: 0.9rem;
}

/* Tabs */
.project-tabs-header {
    box-shadow: inset 0 0 0 1px rgba(2, 12, 30, 0.06);
}

/* Footer polish */
.footer-newsletter {
    padding: 0.65rem 0;
}

.footer-newsletter-form input {
    border-radius: 8px;
}

.footer-newsletter-form button {
    border-radius: 8px;
}

.footer-title {
    font-size: 0.9rem;
}

/* Fluent Forms styling */
.fluentform .ff-el-form-control,
.fluentform textarea,
.fluentform select {
    border: var(--hids-border-soft) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    padding: 0.72rem 0.85rem !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fluentform .ff-el-form-control:focus,
.fluentform textarea:focus,
.fluentform select:focus {
    border-color: rgba(0, 212, 255, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15) !important;
}

.fluentform .ff-btn-submit {
    border-radius: 999px !important;
    padding: 0.75rem 1.4rem !important;
    font-weight: 700 !important;
    background: linear-gradient(120deg, #00d4ff 0%, #0bb6ff 100%) !important;
    border: none !important;
    color: #fff !important;
}

.fluentform .ff-btn-submit:hover {
    filter: brightness(0.95);
}

/* Better spacing on content areas */
article.wp-block-group > .wp-block-post-content {
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: clamp(2.2rem, 6vw, 3.4rem) !important;
    }

    .glass-header .wp-block-navigation-item__content {
        font-size: 0.92rem;
    }
}

@media (max-width: 780px) {
    .wp-block-group.alignwide,
    .wp-block-columns.alignwide {
        width: min(100%, calc(100% - 1.25rem));
    }

    .site-logo-img img {
        height: 42px;
    }

    .footer-newsletter {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-newsletter-form {
        width: 100%;
    }

    .footer-newsletter-form input {
        min-width: 0;
        width: 100%;
    }

    .project-tab-btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.9rem;
    }

    .tech-marquee-track img {
        height: 34px;
    }

    .project-history-section .refs-marquee-item,
    .project-history-section .partner-logo-item {
        width: 120px;
        height: 68px;
        padding: 10px;
    }

    .project-history-section .refs-marquee-item img,
    .project-history-section .partner-logo-item img {
        max-height: 38px;
        max-width: 96px;
    }

    .mission-cards-grid,
    .reference-cards-grid,
    .project-history-section .platforms-grid {
        grid-template-columns: 1fr;
    }

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

    .stats-dark-card {
        padding: 20px 18px;
    }

    .stats-values-layout {
        flex-direction: column !important;
    }

    .stats-quote-col,
    .stats-numbers-col {
        flex-basis: 100% !important;
    }
}

/* La Société — Hero (matches Contact / Carrières / Produits #0d1b3e) */
.societe-hero {
    position: relative;
    overflow: hidden;
    background: #0d1b3e !important;
    width: 100%;
    box-sizing: border-box;
}

.societe-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

body.page-la-societe .societe-hero,
body.page-societe .societe-hero {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

@media (max-width: 768px) {
    body.page-la-societe .societe-hero,
    body.page-societe .societe-hero {
        padding: 48px 24px !important;
    }
}

/* La Société — Mission / Vision / Engagement */
.mission-cards-section {
    padding-top: 0 !important;
}

.mission-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.mission-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem 1.5rem 1.5rem !important;
    border-top-width: 4px !important;
    border-top-style: solid !important;
    border-radius: 16px !important;
}

.mission-card--cyan {
    border-top-color: #00b4d8 !important;
}

.mission-card--blue {
    border-top-color: #0052cc !important;
}

.mission-card--green {
    border-top-color: #059669 !important;
}

.mission-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.mission-card-icon--cyan {
    background: #f0fbff;
}

.mission-card-icon--blue {
    background: #eff4ff;
}

.mission-card-icon--green {
    background: #f0fdf4;
}

.mission-card-title {
    margin: 0 0 0.65rem;
    font-size: 17px;
    font-weight: 700;
    color: #0d1b3e;
}

.mission-card-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
}

/* La Société — Valeurs / Stats */
.stats-section {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.stats-values-layout {
    align-items: flex-start !important;
    gap: 2rem !important;
    margin-top: 0.5rem !important;
}

.stats-quote-mark {
    font-size: 80px;
    line-height: 0.5;
    color: #00b4d8;
    margin: 0 0 16px;
    font-family: Georgia, "Times New Roman", serif;
}

.stats-quote-text {
    font-style: italic;
    font-size: 16px;
    color: #334155;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.stats-quote-author {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.stats-dark-card {
    background: #0d1b3e;
    border-radius: 16px;
    padding: 24px 28px;
}

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

.stats-dark-number {
    font-size: 2.25rem !important;
    color: #00b4d8 !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.1 !important;
}

.stats-dark-label {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.15rem;
    line-height: 1.3;
}

.stats-dark-sublabel {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.35;
}

/* La Société — Références cards */
.reference-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin: 0 auto;
}

.reference-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 28px !important;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
}

.reference-card--international:hover {
    border-color: #0052cc !important;
}

.reference-card--gov:hover {
    border-color: #7c3aed !important;
}

.reference-card--local:hover {
    border-color: #059669 !important;
}

.reference-card-icon {
    margin-bottom: 0.75rem;
}

.reference-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.5rem;
}

.reference-card--international .reference-card-category {
    color: #0052cc;
}

.reference-card--gov .reference-card-category {
    color: #7c3aed;
}

.reference-card--local .reference-card-category {
    color: #059669;
}

.reference-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0d1b3e;
    margin: 0 0 0.65rem;
}

.reference-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.reference-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.reference-card--international .reference-card-link {
    color: #0052cc;
}

.reference-card--gov .reference-card-link {
    color: #7c3aed;
}

.reference-card--local .reference-card-link {
    color: #059669;
}

.reference-card-link:hover {
    opacity: 0.8;
}

/* La Société — Horizontal timeline (alternating above/below rail) */
.company-timeline-section {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.hids-horizontal-timeline {
    width: 100%;
    max-width: 100%;
}

.hids-horizontal-timeline__scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0 0 0.5rem;
}

.hids-horizontal-timeline__inner {
    position: relative;
    min-width: 1180px;
    padding: 0 1.5rem;
}

.hids-horizontal-timeline__rail {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 0;
}

.hids-horizontal-timeline__rail-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0d1b3e;
    flex-shrink: 0;
}

.hids-horizontal-timeline__rail-line {
    flex: 1;
    height: 0;
    border-top: 2px dashed #0d1b3e;
    margin: 0 2px;
}

.hids-horizontal-timeline__rail-arrow {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #0d1b3e;
    flex-shrink: 0;
}

.hids-horizontal-timeline__list {
    position: relative;
    z-index: 1;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    min-height: 300px;
}

.hids-timeline-step {
    flex: 1 0 118px;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: stretch;
    text-align: center;
    min-height: 300px;
}

.hids-timeline-step__top,
.hids-timeline-step__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0.35rem;
}

.hids-timeline-step--bottom .hids-timeline-step__bottom {
    justify-content: flex-start;
}

.hids-timeline-step__node-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.hids-timeline-step__node {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #0d1b3e;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.hids-timeline-step__node span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.hids-timeline-step--purple .hids-timeline-step__node span { background: #7c3aed; }
.hids-timeline-step--cyan .hids-timeline-step__node span { background: #38bdf8; }
.hids-timeline-step--lime .hids-timeline-step__node span { background: #84cc16; }
.hids-timeline-step--yellow .hids-timeline-step__node span { background: #eab308; }
.hids-timeline-step--orange .hids-timeline-step__node span { background: #f97316; }
.hids-timeline-step--pink .hids-timeline-step__node span { background: #ec4899; }

.hids-timeline-step__connector {
    width: 2px;
    height: 18px;
    background: #0d1b3e;
    position: relative;
}

.hids-timeline-step__connector::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #0d1b3e;
}

.hids-timeline-step--top .hids-timeline-step__connector::before {
    bottom: -3px;
}

.hids-timeline-step--bottom .hids-timeline-step__connector::before {
    top: -3px;
}

.hids-timeline-step__year {
    display: inline-block;
    background: #dbeafe;
    color: #0d1b3e;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    line-height: 1.2;
    white-space: nowrap;
    margin: 0.15rem 0;
}

.hids-timeline-step__label {
    margin: 0.25rem 0 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0d1b3e;
    line-height: 1.45;
    max-width: 108px;
}

.hids-timeline-step--top .hids-timeline-step__label {
    margin: 0 0 0.35rem;
}

.hids-horizontal-timeline__hint {
    display: none;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin: 0.75rem 0 0;
}

@media (max-width: 1024px) {
    .hids-horizontal-timeline__hint {
        display: block;
    }

    .hids-horizontal-timeline__inner {
        min-width: 1040px;
    }

    .hids-timeline-step {
        flex-basis: 104px;
    }
}

/* Accueil: tighter spacing between sections */
body.home main > .wp-block-group.alignfull:not(.hero-section),
body.home main .wp-block-group.alignfull:not(.hero-section) {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

/* Accueil — CTA band (matches hero navy #0d1b3e) */
body.home .home-cta-section,
body.home main > .wp-block-group.alignfull#contact,
body.home #contact.home-cta-section,
body.home #contact {
    background-color: #0d1b3e !important;
    position: relative;
    overflow: hidden;
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Override row/column layouts from Site Editor */
body.home #contact.is-layout-flex,
body.home .home-cta-section.is-layout-flex {
    flex-direction: column !important;
    align-items: center !important;
}

body.home .home-cta-section > *,
body.home #contact.home-cta-section > *,
body.home #contact > h2,
body.home #contact > p,
body.home #contact > .wp-block-heading,
body.home #contact > .wp-block-paragraph,
body.home #contact > .wp-block-buttons {
    width: 100% !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    align-self: center !important;
}

body.home .home-cta-section::before,
body.home #contact.home-cta-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(500px, 90vw);
    height: min(500px, 90vw);
    border: 1px solid rgba(0, 180, 216, 0.06);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body.home .home-cta-title,
body.home #contact .home-cta-title,
body.home #contact h2 {
    font-size: clamp(1.35rem, 4vw, 2rem) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 auto 0.75rem !important;
    color: #ffffff !important;
    position: relative;
    z-index: 1;
    text-align: center !important;
    width: 100% !important;
}

body.home .home-cta-text,
body.home #contact .home-cta-text,
body.home #contact p {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem) !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 auto 1.25rem !important;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

body.home .home-cta-buttons,
body.home #contact .wp-block-buttons,
body.home #contact .home-cta-buttons {
    position: relative;
    z-index: 1;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0.5rem;
}

body.home .home-cta-btn,
body.home #contact .home-cta-btn,
body.home #contact .wp-block-button {
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
}

body.home .home-cta-btn .wp-block-button__link,
body.home #contact .wp-block-button__link {
    background-color: #ffffff !important;
    color: #050810 !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: clamp(0.85rem, 2.2vw, 0.95rem) !important;
    padding: 0.85rem 1.75rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.home .home-cta-btn .wp-block-button__link:hover,
body.home #contact .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    body.home .home-cta-section,
    body.home main > .wp-block-group.alignfull#contact {
        padding-top: 2.25rem !important;
        padding-bottom: 2.25rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    body.home .home-cta-text,
    body.home #contact p {
        margin-bottom: 1rem !important;
    }

    body.home .home-cta-btn,
    body.home #contact .wp-block-button,
    body.home #contact .home-cta-btn {
        width: 100% !important;
        max-width: 320px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.home .home-cta-btn .wp-block-button__link,
    body.home #contact .wp-block-button__link {
        width: 100%;
        display: block;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    body.home .home-cta-title,
    body.home #contact h2 {
        font-size: 1.25rem !important;
    }
}

body.home .project-tabs-container {
    margin-bottom: 1.5rem !important;
}

body.home .tech-marquee {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
}

body.home .idemia-business-card {
    min-height: 0 !important;
}

/* La Société: tighter spacing between sections */
body.page-la-societe main .wp-block-group.alignfull:not(.hero-section),
body.page-societe main .wp-block-group.alignfull:not(.hero-section) {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

body.page-la-societe main .wp-block-group.alignwide,
body.page-societe main .wp-block-group.alignwide {
    padding-top: 2rem !important;
    padding-bottom: 1.25rem !important;
}

body.page-la-societe main .wp-block-columns.alignwide,
body.page-societe main .wp-block-columns.alignwide {
    padding-bottom: 1.5rem !important;
}

body.page-la-societe main article.wp-block-group,
body.page-societe main article.wp-block-group {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

@media (max-width: 1024px) {
    .mission-cards-grid,
    .reference-cards-grid {
        grid-template-columns: 1fr;
    }

    .project-history-section .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* Nos Services page */
.nos-services-page {
    padding: 0 !important;
    max-width: none !important;
    width: 100%;
}

.nos-services-page > .wp-block-html {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.nos-services-page section {
    width: 100%;
    box-sizing: border-box;
}

.nos-services-page section h1,
.nos-services-page section h2,
.nos-services-page section h3,
.nos-services-page section p {
    margin-top: 0;
}

.svc-card {
    cursor: default;
}

.svc-card:hover {
    border-color: #0052cc !important;
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 82, 204, 0.1);
}

.nos-services-cta-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nos-services-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    color: #0052cc;
}

@media (max-width: 900px) {
    .nos-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .nos-services-tech-inner {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .nos-services-hero,
    .nos-services-grid-section,
    .nos-services-tech-section,
    .nos-services-cta {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

@media (max-width: 600px) {
    .nos-services-grid {
        grid-template-columns: 1fr !important;
    }

    .nos-services-tech-cards {
        grid-template-columns: 1fr !important;
    }

    .nos-services-hero-pills {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px !important;
        max-width: 320px;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: stretch !important;
    }

    .nos-services-hero-pills > span {
        justify-content: center;
    }

    .nos-services-hero {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .nos-services-grid-section,
    .nos-services-tech-section,
    .nos-services-cta {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .nos-services-cta h2 {
        font-size: 26px !important;
    }
}

/* Contact page */
.contact-page {
    padding: 0 !important;
    max-width: none !important;
}

.contact-page > .wp-block-html,
.contact-page > .wp-block-group {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.contact-hero,
.contact-main-section {
    width: 100%;
    box-sizing: border-box;
}

.contact-page .contact-form-editor {
    margin: 0;
    padding: 0;
}

.contact-page .contact-form-editor > *:first-child {
    margin-top: 0;
}

/* Native form fallback — hidden when Fluent Forms / CF7 / WPForms is in the page */
.contact-native-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-panel-right:has(.fluentform, .wpcf7, .wpforms-container, .gform_wrapper) .contact-native-form {
    display: none !important;
}

.contact-native-form label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 6px;
}

.contact-native-form input,
.contact-native-form select,
.contact-native-form textarea,
.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea,
.contact-panel-right .fluentform .ff-el-form-control,
.contact-panel-right .fluentform textarea,
.contact-panel-right .fluentform select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #0d1b3e;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-native-form textarea,
.contact-panel-right .fluentform textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 120px;
}

.contact-native-form .contact-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-native-form button[type="submit"],
.contact-panel-right .fluentform .ff-btn-submit {
    width: 100%;
    padding: 14px !important;
    background: linear-gradient(135deg, #0052cc, #00b4d8) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.contact-native-form button[type="submit"]:hover,
.contact-panel-right .fluentform .ff-btn-submit:hover {
    filter: brightness(0.95);
}

.contact-form-disclaimer {
    font-size: 11px;
    color: #94a3b8;
    text-align: center;
    margin: 0;
}

.contact-page input:focus,
.contact-page select:focus,
.contact-page textarea:focus,
.contact-panel-right .fluentform .ff-el-form-control:focus,
.contact-panel-right .fluentform textarea:focus,
.contact-panel-right .fluentform select:focus {
    border-color: #0052cc !important;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1) !important;
    background: #ffffff !important;
}

.contact-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    font-size: 24px;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* Site-wide floating actions (back to top + WhatsApp) */
.hids-floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hids-float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.hids-float-btn:hover {
    transform: scale(1.06);
}

.hids-float-top {
    background: #ffffff;
    color: #0052cc;
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.25);
}

.hids-float-top:hover {
    box-shadow: 0 6px 28px rgba(0, 82, 204, 0.35);
}

.hids-float-top.is-visible {
    display: flex;
}

.hids-float-top[hidden] {
    display: none;
}

.hids-float-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.hids-float-whatsapp:hover {
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.produits-domaine-filter {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    padding: 0.75rem 1rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #1e3a5f;
}

.produits-domaine-filter a {
    color: #0052cc;
    font-weight: 600;
    text-decoration: none;
}

.produits-domaine-filter a:hover {
    text-decoration: underline;
}

.svc-card-link {
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.svc-card-link:hover {
    text-decoration: underline;
}

.product-card.is-domain-hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .hids-floating-actions {
        bottom: 16px;
        right: 16px;
    }

    .hids-float-btn {
        width: 48px;
        height: 48px;
    }
}

.contact-panel-left a:hover {
    color: #00b4d8 !important;
}

@media (max-width: 768px) {
    .contact-split-card {
        grid-template-columns: 1fr !important;
    }

    .contact-row-2col,
    .contact-native-form .contact-row-2col {
        grid-template-columns: 1fr !important;
    }

    .contact-trust-badges {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    .contact-hero,
    .contact-main-section {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .contact-map-section {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .contact-panel-left,
    .contact-panel-right {
        padding: 28px 24px !important;
    }
}

/* Carrières page */
.carrieres-page {
    padding: 0 !important;
    max-width: none !important;
}

.carrieres-page > .wp-block-html,
.carrieres-page > .wp-block-group {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.carrieres-page section {
    box-sizing: border-box;
}

/* Carrières — tighter section spacing */
.carrieres-page .carrieres-hero {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
}

.carrieres-page .carrieres-why-section,
.carrieres-page .carrieres-jobs-section,
.carrieres-page .carrieres-culture-section,
.carrieres-page .carrieres-candidature-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.carrieres-page .carrieres-hero-chips {
    margin-bottom: 1.25rem !important;
}

.carrieres-page .carrieres-hero > p {
    margin-bottom: 1.25rem !important;
}

.carrieres-page .carrieres-why-section > div:first-child,
.carrieres-page .carrieres-jobs-section > div > div:first-child {
    margin-bottom: 1.5rem !important;
}

.carrieres-page .carrieres-job-filters {
    margin-bottom: 1.25rem !important;
}

.carrieres-page .carrieres-candidature-card {
    padding: 2rem !important;
}

.carrieres-page .carrieres-candidature-card > div:first-child {
    margin-bottom: 1.5rem !important;
}

.carrieres-page .carrieres-culture-grid {
    gap: 2rem !important;
}

.carrieres-page .carrieres-job-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.carrieres-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.carrieres-jobs-empty {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    padding: 2rem 1rem;
    background: #ffffff;
    border: 1px dashed #e2e8f0;
    border-radius: 16px;
    margin: 0;
}

.carrieres-job-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.2s ease;
}

.carrieres-job-card__main {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.carrieres-job-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carrieres-job-card__body {
    min-width: 0;
}

.carrieres-job-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.carrieres-job-card__head h3 {
    font-size: 16px;
    font-weight: 700;
    color: #0d1b3e;
    margin: 0;
}

.carrieres-job-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    line-height: 1.3;
}

.carrieres-job-badge--contract {
    background: #f0fdf4;
    color: #059669;
}

.carrieres-job-card__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.carrieres-job-card__meta span {
    font-size: 12px;
    color: #64748b;
}

.carrieres-job-filter-btn {
    font-size: 12px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carrieres-job-filter-btn.active {
    background: #0052cc !important;
    border-color: #0052cc !important;
    color: #ffffff !important;
}

.carrieres-job-card:hover {
    border-color: #0052cc !important;
    box-shadow: 0 8px 32px rgba(0, 82, 204, 0.1);
    transform: translateY(-2px);
}

.carrieres-job-apply-btn,
.carrieres-job-card .apply-btn {
    background: #0052cc;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carrieres-job-apply-btn:hover {
    background: #0046b0;
    transform: translateY(-1px);
}

.carrieres-benefit-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carrieres-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.carrieres-btn-primary:hover {
    filter: brightness(1.08);
}

.carrieres-btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.carrieres-form-editor {
    margin: 0;
    padding: 0;
}

.carrieres-candidature-card:has(.fluentform, .wpcf7, .wpforms-container, .gform_wrapper) .carrieres-native-form {
    display: none !important;
}

.carrieres-native-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.carrieres-native-form label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 6px;
}

.carrieres-native-form input,
.carrieres-native-form select,
.carrieres-native-form textarea,
.carrieres-candidature-card .fluentform .ff-el-form-control,
.carrieres-candidature-card .fluentform textarea,
.carrieres-candidature-card .fluentform select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #0d1b3e;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.carrieres-native-form textarea,
.carrieres-candidature-card .fluentform textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 100px;
}

.carrieres-form-row-2,
.carrieres-native-form .carrieres-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.carrieres-native-form button[type="submit"],
.carrieres-candidature-card .fluentform .ff-btn-submit {
    width: 100%;
    padding: 16px !important;
    background: linear-gradient(135deg, #0052cc, #00b4d8) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.carrieres-native-form button[type="submit"]:hover,
.carrieres-candidature-card .fluentform .ff-btn-submit:hover {
    filter: brightness(0.95);
}

.carrieres-form-note {
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.carrieres-form-note a {
    color: #0052cc;
    font-weight: 600;
    text-decoration: none;
}

.carrieres-page input:focus,
.carrieres-page select:focus,
.carrieres-page textarea:focus,
.carrieres-candidature-card .fluentform .ff-el-form-control:focus,
.carrieres-candidature-card .fluentform textarea:focus,
.carrieres-candidature-card .fluentform select:focus {
    border-color: #0052cc !important;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1) !important;
    background: #ffffff !important;
    outline: none !important;
}

@media (max-width: 1024px) {
    .carrieres-why-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .carrieres-culture-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .carrieres-why-grid {
        grid-template-columns: 1fr !important;
    }

    .carrieres-job-card {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .carrieres-job-card .carrieres-job-apply-btn,
    .carrieres-job-card .apply-btn {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box;
    }

    .carrieres-form-row-2,
    .carrieres-native-form .carrieres-form-row-2 {
        grid-template-columns: 1fr !important;
    }

    .carrieres-hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
    }

    .carrieres-hero {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .carrieres-why-section,
    .carrieres-jobs-section,
    .carrieres-culture-section,
    .carrieres-candidature-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .carrieres-candidature-card {
        padding: 1.5rem !important;
    }
}