/* ============================================================
   Tcom — Premium Design System
   ============================================================ */

:root {
    /* Couleurs extraites du logo TCOM */
    --tcom-brand: #1A9BDB;
    --tcom-brand-deep: #0B6CAD;
    --tcom-brand-light: #4DB8E8;
    --tcom-brand-pale: #E8F5FC;
    --tcom-brand-sky: #F4FAFE;
    --tcom-blue: #1A9BDB;
    --tcom-cyan: #4DB8E8;
    --tcom-cyan-light: #7FCDEF;
    --tcom-dark: #0B4A72;
    --tcom-navy: #0D5F8F;
    --tcom-black: #0A2E45;
    --tcom-menu-black: #0a0a0a;
    --tcom-white: #FFFFFF;
    --tcom-gray-100: #F4FAFE;
    --tcom-gray-200: #E3EFF8;
    --tcom-gray-300: #B8D4E8;
    --tcom-gray-400: #7A9BB5;
    --tcom-gray-500: #4A6D85;
    --tcom-text-dark: #0A2E45;
    --tcom-text-body: #2D5570;
    --tcom-text-muted: #5A7D96;
    --tcom-orange: #FF6B35;
    --tcom-gradient: linear-gradient(135deg, #1A9BDB 0%, #4DB8E8 100%);
    --tcom-gradient-text: linear-gradient(135deg, #0B6CAD 0%, #1A9BDB 50%, #4DB8E8 100%);
    --tcom-glow: 0 0 30px rgba(26, 155, 219, 0.35);
    --tcom-glow-strong: 0 0 50px rgba(26, 155, 219, 0.45);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --top-header-height: 42px;
    --main-header-height: 118px;
    --header-height: calc(var(--top-header-height) + var(--main-header-height));
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-pill: 50px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tcom-text-dark);
    background: var(--tcom-white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-gradient {
    background: var(--tcom-gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--tcom-brand-sky);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--tcom-gray-200);
    border-radius: 3px;
    margin-top: 30px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--tcom-gradient);
    border-radius: 3px;
    animation: preloaderFill 1.5s ease forwards;
}

@keyframes preloaderFill {
    to { width: 100%; }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot, .cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-dot, .cursor-ring { display: block; }
    body { cursor: none; }
    a, button { cursor: none; }
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--tcom-brand);
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(26, 155, 219, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-ring.hover {
    width: 56px;
    height: 56px;
    border-color: var(--tcom-brand);
}

/* ============================================================
   LOGO
   ============================================================ */
.logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
    line-height: 0;
}

.logo-img {
    width: auto;
    height: auto;
    max-height: 64px;
    min-width: 0;
    max-width: 260px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.logo-img--sm { max-height: 44px; max-width: 200px; }
.logo-img--md { max-height: 64px; max-width: 260px; }
.logo-img--lg { max-height: 90px; max-width: 300px; }

.logo-link:hover .logo-img {
    filter: drop-shadow(0 0 10px rgba(77, 184, 232, 0.45));
}

/* Logo dans la barre de menu principale — sans cadre */
.main-header .logo-link {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    width: auto;
    min-width: 0;
    transition: opacity 0.25s ease;
}

.main-header .logo-link:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.92;
}

.main-header .logo-img {
    display: block;
    width: auto;
    height: 100px;
    max-width: min(560px, 46vw);
    max-height: none;
    min-width: 0;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

/* Logo plus grand sur la bannière d'accueil — texte du bas lisible */
.page-home .site-header:not(.scrolled) .main-header .logo-img {
    height: 112px;
    max-width: min(620px, 50vw);
    filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.5));
}

/* Autres pages — logo légèrement réduit sur la bande noire */
body.inner-page .main-header .logo-img {
    height: 78px;
    max-width: min(440px, 40vw);
}

.main-header .logo-link:hover .logo-img {
    filter: drop-shadow(0 2px 12px rgba(77, 184, 232, 0.45));
}

/* ============================================================
   HEADER
   ============================================================ */
body.mobile-menu-open {
    overflow: hidden;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.site-header.scrolled .main-header {
    background: var(--tcom-menu-black);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Homepage — header flottant sur la bannière hero */
.page-home .top-header {
    transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.page-home .site-header:not(.scrolled) .top-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: none;
}

.page-home .site-header:not(.scrolled) .top-header-item {
    color: rgba(255, 255, 255, 0.82);
}

.page-home .site-header:not(.scrolled) .top-header-item svg {
    color: var(--tcom-brand-light);
}

.page-home .site-header:not(.scrolled) a.top-header-item:hover {
    color: var(--tcom-white);
}

.page-home .site-header:not(.scrolled) .top-header-ticker-item {
    color: rgba(255, 255, 255, 0.88);
}

.page-home .site-header:not(.scrolled) .top-header-ticker-dot {
    box-shadow: 0 0 8px rgba(77, 184, 232, 0.7);
}

.page-home .site-header:not(.scrolled) .top-header-login {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
    color: var(--tcom-white);
}

.page-home .site-header:not(.scrolled) .top-header-login:hover {
    background: var(--tcom-gradient);
    border-color: transparent;
}

.page-home .main-header {
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.page-home .site-header:not(.scrolled) .main-header {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    backdrop-filter: none;
}

.page-home .site-header.scrolled .top-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 155, 219, 0.12);
}

.page-home .site-header.scrolled .main-header {
    background: var(--tcom-menu-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Léger dégradé pour lisibilité du menu sur la bannière */
.page-home .site-header:not(.scrolled)::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: calc(var(--header-height) + 40px);
    background: linear-gradient(180deg, rgba(6, 14, 26, 0.72) 0%, rgba(6, 14, 26, 0.25) 55%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.page-home .mobile-toggle span {
    background: var(--tcom-white);
}

/* Top Header Bar */
.top-header {
    height: var(--top-header-height);
    background: var(--tcom-brand-pale);
    border-bottom: 1px solid rgba(26, 155, 219, 0.12);
}

.top-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.top-header-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: nowrap;
    min-width: 0;
    flex-shrink: 0;
}

/* Bandeau marketing défilant */
.top-header-ticker {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.top-header-ticker-mask {
    overflow: hidden;
    width: 100%;
}

.top-header-ticker-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: topHeaderTicker 40s linear infinite;
}

.top-header-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tcom-brand-deep);
    white-space: nowrap;
}

.top-header-ticker-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(26, 155, 219, 0.5);
}

@keyframes topHeaderTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .top-header-ticker-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}

.top-header-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--tcom-text-muted);
    transition: color 0.3s;
    white-space: nowrap;
}

.top-header-item svg {
    flex-shrink: 0;
    color: var(--tcom-brand);
    opacity: 0.9;
}

a.top-header-item:hover {
    color: var(--tcom-brand);
}

.top-header-address {
    cursor: default;
}

.top-header-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.top-header-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tcom-brand-deep);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(26, 155, 219, 0.3);
    background: var(--tcom-white);
    transition: all 0.3s;
}

.top-header-login svg {
    color: var(--tcom-brand);
}

.top-header-login:hover {
    background: var(--tcom-gradient);
    color: var(--tcom-white);
    border-color: transparent;
    box-shadow: var(--tcom-glow);
}

/* Main Header */
.main-header {
    height: var(--main-header-height);
    background: var(--tcom-menu-black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
    overflow: visible;
}

.main-header .nav-link {
    color: rgba(255, 255, 255, 0.88);
    padding: 6px 14px;
    font-size: 0.75rem;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: var(--tcom-white);
}

.main-header .nav-link::after {
    background: var(--tcom-brand-light);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-nav { display: flex; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tcom-text-dark);
    padding: 8px 16px;
    position: relative;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--tcom-gradient);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--tcom-brand);
}

.nav-chevron { transition: transform 0.3s; }
.nav-item-has-mega:hover .nav-chevron { transform: rotate(180deg); }

/* Mega Menu */
.nav-item-has-mega { position: relative; }

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 700px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(26, 155, 219, 0.15);
    border-radius: var(--radius-lg);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(26, 155, 219, 0.12);
}

.nav-item-has-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mega-col h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tcom-brand);
    margin-bottom: 12px;
}

.mega-col ul li a {
    font-size: 0.85rem;
    color: var(--tcom-text-muted);
    padding: 6px 0;
    display: block;
    transition: color 0.3s, padding-left 0.3s;
}

.mega-col ul li a:hover {
    color: var(--tcom-brand-deep);
    padding-left: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: var(--tcom-white);
    color: var(--tcom-brand-deep);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.btn-header svg {
    flex-shrink: 0;
}

.btn-header:hover {
    transform: translateY(-2px);
    background: var(--tcom-brand-light);
    color: var(--tcom-white);
    box-shadow: 0 4px 20px rgba(77, 184, 232, 0.4);
}

.mobile-nav-close {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.mobile-toggle span {
    display: block;
    height: 2px;
    background: var(--tcom-white);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    padding: 14px 32px;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--tcom-gradient);
    color: var(--tcom-white);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--tcom-glow-strong);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--tcom-gradient);
    border-radius: inherit;
    z-index: -1;
    filter: blur(12px);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.btn-glow:hover::before { opacity: 0.8; }

.btn-outline {
    background: transparent;
    color: var(--tcom-brand-deep);
    border: 2px solid rgba(26, 155, 219, 0.35);
}

.btn-outline:hover {
    border-color: var(--tcom-brand);
    color: var(--tcom-brand);
    background: rgba(26, 155, 219, 0.08);
}

.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HERO SECTION — Design fidèle à la maquette
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--tcom-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--tcom-dark) 0%, var(--tcom-navy) 40%, var(--tcom-black) 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--tcom-blue);
    top: -10%;
    left: -5%;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--tcom-cyan);
    bottom: 20%;
    right: 10%;
    opacity: 0.15;
}

.hero-layout {
    position: relative;
    z-index: 2;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: calc(var(--header-height) + 40px) 40px 0;
    gap: 20px;
}

/* Hero Content (Left) */
.hero-content {
    padding-right: 20px;
}

.hero-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--tcom-radius-pill, 50px);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--tcom-gray-300);
    backdrop-filter: blur(10px);
}

.badge-trust { color: var(--tcom-cyan); border-color: rgba(0, 212, 255, 0.2); }
.badge-trust svg { color: #FFD700; }

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-line { display: block; }

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--tcom-gray-300);
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.hero-stat { display: flex; flex-direction: column; }

.hero-stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--tcom-cyan);
    line-height: 1;
}

.hero-stat-suffix {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--tcom-cyan);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--tcom-gray-400);
    margin-top: 4px;
}

/* Hero Visual (Right) — Diagonal Image Collage */
.hero-visual {
    position: relative;
    height: 520px;
    width: 100%;
}

.hero-img {
    position: absolute;
    overflow: hidden;
    border-radius: 4px;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-img:hover img { transform: scale(1.05); }

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 27, 61, 0.4) 100%);
    pointer-events: none;
}

/* Main image — top wide diagonal */
.hero-img-main {
    top: 0;
    right: 0;
    width: 85%;
    height: 55%;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 85%);
    z-index: 3;
}

/* Secondary — bottom left */
.hero-img-secondary {
    bottom: 5%;
    left: 0;
    width: 48%;
    height: 42%;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
    z-index: 2;
}

/* Tertiary — bottom right */
.hero-img-tertiary {
    bottom: 0;
    right: 0;
    width: 50%;
    height: 40%;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-visual-accent {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 50%;
    z-index: 0;
    animation: floatAccent 6s ease-in-out infinite;
}

@keyframes floatAccent {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Hero Services Bar */
.hero-services-bar {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(0, 15, 35, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 150, 255, 0.15);
    padding: 28px 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-service-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform 0.3s;
}

.hero-service-item:last-child { border-right: none; }
.hero-service-item:hover { transform: translateY(-4px); }

.hero-service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-cyan);
    transition: color 0.3s, transform 0.3s;
}

.hero-service-item:hover .hero-service-icon {
    color: var(--tcom-cyan-light);
    transform: scale(1.1);
}

.hero-service-text h3 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tcom-cyan);
    margin-bottom: 6px;
}

.hero-service-text p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--tcom-gray-400);
}

/* ============================================================
   SECTIONS — Common Styles
   ============================================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--tcom-cyan);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--tcom-gray-400);
    max-width: 600px;
    line-height: 1.7;
}

.section-header { margin-bottom: 60px; }

/* ============================================================
   LIGHT SECTIONS — alternance clair / sombre
   ============================================================ */
.section-light {
    background: var(--tcom-white);
    color: var(--tcom-text-dark);
}

.section-light-alt {
    background: var(--tcom-gray-100);
    color: var(--tcom-text-dark);
}

.section-light .section-title,
.section-light-alt .section-title {
    color: var(--tcom-text-dark);
}

.section-light .section-desc,
.section-light-alt .section-desc {
    color: var(--tcom-text-muted);
}

.section-light .section-eyebrow,
.section-light-alt .section-eyebrow {
    color: var(--tcom-blue);
}

.section-light .btn-outline,
.section-light-alt .btn-outline {
    color: var(--tcom-text-dark);
    border-color: rgba(0, 27, 61, 0.2);
    background: transparent;
}

.section-light .btn-outline:hover,
.section-light-alt .btn-outline:hover {
    border-color: var(--tcom-blue);
    color: var(--tcom-blue);
    background: rgba(0, 102, 255, 0.05);
}

/* Service cards on light bg */
.section-light .service-card-inner,
.section-light-alt .service-card-inner {
    background: var(--tcom-white);
    border-color: var(--tcom-gray-200);
    box-shadow: 0 4px 24px rgba(0, 27, 61, 0.06);
}

.section-light-alt .service-card-inner {
    background: var(--tcom-white);
}

.section-light .service-card h3,
.section-light-alt .service-card h3 {
    color: var(--tcom-text-dark);
}

.section-light .service-card p,
.section-light-alt .service-card p {
    color: var(--tcom-text-muted);
}

.section-light .service-card:hover .service-card-inner,
.section-light-alt .service-card:hover .service-card-inner {
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: 0 16px 40px rgba(0, 102, 255, 0.1);
}

.section-light .service-icon,
.section-light-alt .service-icon {
    background: rgba(0, 102, 255, 0.08);
    color: var(--tcom-blue);
}

/* Stats on light bg */
.section-light .stat-card,
.section-light-alt .stat-card {
    background: var(--tcom-white);
    border-color: var(--tcom-gray-200);
    box-shadow: 0 4px 20px rgba(0, 27, 61, 0.05);
}

.section-light-alt .stat-card {
    background: var(--tcom-white);
}

.section-light .stat-number,
.section-light-alt .stat-number,
.section-light .stat-suffix,
.section-light-alt .stat-suffix {
    color: var(--tcom-blue);
}

.section-light .stat-label,
.section-light-alt .stat-label {
    color: var(--tcom-text-muted);
}

/* Portfolio on light - overlay stays dark on hover */
.section-light .portfolio-item,
.section-light-alt .portfolio-item {
    box-shadow: 0 8px 30px rgba(0, 27, 61, 0.08);
}

/* About teaser */
.section-light .about-teaser-visual,
.section-light-alt .about-teaser-visual {
    border-color: var(--tcom-gray-200);
    box-shadow: 0 12px 40px rgba(0, 27, 61, 0.08);
}

.section-light .about-intro-text,
.section-light-alt .about-intro-text {
    color: var(--tcom-text-muted);
}

.section-light .pill,
.section-light-alt .pill {
    background: rgba(0, 102, 255, 0.06);
    border-color: rgba(0, 102, 255, 0.15);
    color: var(--tcom-blue);
}

/* MVV cards light */
.section-light .mvv-card,
.section-light-alt .mvv-card {
    background: var(--tcom-white);
    border-color: var(--tcom-gray-200);
    box-shadow: 0 4px 24px rgba(0, 27, 61, 0.06);
}

.section-light .mvv-card-featured,
.section-light-alt .mvv-card-featured {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.06) 0%, rgba(0, 212, 255, 0.04) 100%);
    border-color: rgba(0, 102, 255, 0.15);
}

.section-light .mvv-card h3,
.section-light-alt .mvv-card h3 {
    color: var(--tcom-text-dark);
}

.section-light .mvv-card p,
.section-light-alt .mvv-card p {
    color: var(--tcom-text-muted);
}

/* Timeline light */
.section-light .timeline-content h4,
.section-light-alt .timeline-content h4 {
    color: var(--tcom-text-dark);
}

.section-light .timeline-content p,
.section-light-alt .timeline-content p {
    color: var(--tcom-text-muted);
}

.section-light .timeline-year,
.section-light-alt .timeline-year {
    color: var(--tcom-blue);
}

/* Team cards light */
.section-light .team-card,
.section-light-alt .team-card {
    background: var(--tcom-white);
    border-color: var(--tcom-gray-200);
    box-shadow: 0 4px 20px rgba(0, 27, 61, 0.06);
}

.section-light .team-card h4,
.section-light-alt .team-card h4 {
    color: var(--tcom-text-dark);
}

/* Contact light */
.section-light .contact-detail,
.section-light-alt .contact-detail {
    background: var(--tcom-white);
    border-color: var(--tcom-gray-200);
    box-shadow: 0 2px 12px rgba(0, 27, 61, 0.04);
}

.section-light .contact-detail strong,
.section-light-alt .contact-detail strong {
    color: var(--tcom-text-dark);
}

.section-light .contact-detail span,
.section-light-alt .contact-detail span {
    color: var(--tcom-text-muted);
}

.section-light .contact-form,
.section-light-alt .contact-form {
    background: var(--tcom-white);
    border-color: var(--tcom-gray-200);
    box-shadow: 0 8px 40px rgba(0, 27, 61, 0.08);
}

.section-light .contact-form h3,
.section-light-alt .contact-form h3 {
    color: var(--tcom-text-dark);
}

.section-light .form-group label,
.section-light-alt .form-group label {
    color: var(--tcom-text-body);
}

.section-light .form-group input,
.section-light-alt .form-group input,
.section-light .form-group textarea,
.section-light-alt .form-group textarea,
.section-light .form-group select,
.section-light-alt .form-group select {
    background: var(--tcom-gray-100);
    border-color: var(--tcom-gray-200);
    color: var(--tcom-text-dark);
}

.section-light .form-group input:focus,
.section-light-alt .form-group input:focus,
.section-light .form-group textarea:focus,
.section-light-alt .form-group textarea:focus,
.section-light .form-group select:focus,
.section-light-alt .form-group select:focus {
    background: var(--tcom-white);
    border-color: var(--tcom-blue);
}

.section-light .contact-hours,
.section-light-alt .contact-hours {
    background: var(--tcom-gray-100);
    border-color: var(--tcom-gray-200);
}

.section-light .contact-hours p,
.section-light-alt .contact-hours p {
    color: var(--tcom-text-muted);
}

/* FAQ light */
.section-light .faq-item,
.section-light-alt .faq-item {
    border-color: var(--tcom-gray-200);
}

.section-light .faq-question,
.section-light-alt .faq-question {
    color: var(--tcom-text-dark);
}

.section-light .faq-question:hover,
.section-light-alt .faq-question:hover {
    color: var(--tcom-blue);
}

.section-light .faq-answer p,
.section-light-alt .faq-answer p {
    color: var(--tcom-text-muted);
}

/* Auth light */
.section-light .auth-card,
.section-light-alt .auth-card {
    background: var(--tcom-white);
    border-color: var(--tcom-gray-200);
    box-shadow: 0 12px 48px rgba(0, 27, 61, 0.1);
}

.section-light .auth-card-header h2,
.section-light-alt .auth-card-header h2 {
    color: var(--tcom-text-dark);
}

.section-light .auth-card-header p,
.section-light-alt .auth-card-header p {
    color: var(--tcom-text-muted);
}

.section-light .auth-footer-text,
.section-light-alt .auth-footer-text {
    color: var(--tcom-text-muted);
}

/* Filter buttons light */
.section-light .filter-btn,
.section-light-alt .filter-btn {
    color: var(--tcom-text-muted);
    border-color: var(--tcom-gray-200);
    background: var(--tcom-white);
}

.section-light .filter-btn:hover,
.section-light-alt .filter-btn:hover,
.section-light .filter-btn.active,
.section-light-alt .filter-btn.active {
    color: var(--tcom-white);
}

/* CTA on light pages */
.section-light .cta-card,
.section-light-alt .cta-card {
    background: linear-gradient(135deg, var(--tcom-dark) 0%, var(--tcom-navy) 100%);
    border-color: rgba(0, 150, 255, 0.2);
}

.section-light .cta-card h2,
.section-light-alt .cta-card h2 {
    color: var(--tcom-white);
}

.section-light .cta-card p,
.section-light-alt .cta-card p {
    color: var(--tcom-gray-300);
}

/* Clients on light — legacy */
.section-light.clients-section,
.section-light-alt.clients-section {
    border-top: 1px solid var(--tcom-gray-200);
    border-bottom: 1px solid var(--tcom-gray-200);
}

/* ============================================================
   PARTNERS STRIP — bandeau compact
   ============================================================ */
.partners-strip {
    padding: 18px 0;
    background: var(--tcom-gray-100);
    border-top: 1px solid var(--tcom-gray-200);
    border-bottom: 1px solid var(--tcom-gray-200);
    overflow: hidden;
}

.partners-strip-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 52px;
}

.partners-strip-label {
    flex-shrink: 0;
    position: relative;
    padding-right: 28px;
}

.partners-strip-label::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 28px;
    background: var(--tcom-gray-300);
}

.partners-strip-eyebrow {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tcom-text-muted);
    white-space: nowrap;
    line-height: 1.2;
}

.partners-strip-marquee {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.partners-strip-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: partners-marquee 40s linear infinite;
}

.partners-strip-track:hover {
    animation-play-state: paused;
}

.partners-strip-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 6px 14px;
    background: var(--tcom-white);
    border: 1px solid var(--tcom-gray-200);
    border-radius: 8px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.partners-strip-item:hover {
    border-color: var(--tcom-brand-light);
    box-shadow: 0 2px 12px rgba(26, 155, 219, 0.1);
}

.partners-strip-logo {
    height: 28px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.8;
    transition: opacity 0.25s, filter 0.25s;
}

.partners-strip-item:hover .partners-strip-logo {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes partners-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .partners-strip {
        padding: 14px 0;
    }

    .partners-strip-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        min-height: auto;
    }

    .partners-strip-label {
        text-align: center;
        padding-right: 0;
    }

    .partners-strip-label::after {
        display: none;
    }

    .partners-strip-eyebrow {
        font-size: 0.62rem;
    }

    .partners-strip-item {
        height: 36px;
        padding: 5px 12px;
    }

    .partners-strip-logo {
        height: 24px;
        max-width: 80px;
    }
}

/* ============================================================
   CLIENTS MARQUEE — legacy (admin preview)
   ============================================================ */
.clients-section {
    padding: 24px 0;
    overflow: hidden;
}

.clients-marquee {
    overflow: hidden;
    margin-top: 16px;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee 35s linear infinite;
    width: max-content;
    padding: 4px 0;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 8px;
}

.client-logo-img {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.75;
    transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}

.client-logo-item:hover .client-logo-img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--tcom-brand-sky); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual { position: relative; }

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.about-img-main::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid var(--tcom-black);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-badge-float {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--tcom-gradient);
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--tcom-glow);
}

.about-badge-number {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-tabs { margin-top: 30px; }

.about-tab {
    display: none;
    animation: fadeIn 0.4s ease;
}

.about-tab.active { display: block; }

.about-tab h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--tcom-white);
}

.about-tab p {
    color: var(--tcom-gray-400);
    line-height: 1.7;
}

.about-tab-nav {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    color: var(--tcom-gray-400);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--tcom-gradient);
    color: var(--tcom-white);
    border-color: transparent;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 30px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--tcom-cyan);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    color: var(--tcom-cyan);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--tcom-gray-400);
    margin-top: 8px;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-section { }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    perspective: 1000px;
}

.service-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    height: 100%;
    transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
    display: flex;
    flex-direction: column;
}

.service-card:hover .service-card-inner {
    transform: translateY(-8px) rotateX(2deg);
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 100, 255, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 255, 0.1);
    border-radius: var(--radius);
    color: var(--tcom-cyan);
    margin-bottom: 20px;
    transition: background 0.3s, transform 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(0, 102, 255, 0.2);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--tcom-gray-400);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tcom-cyan);
    transition: gap 0.3s;
}

.service-link:hover { gap: 10px; }

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
    background: var(--tcom-navy);
}

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-features { margin-top: 36px; }

.why-feature {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.why-feature:last-child { border-bottom: none; }

.why-feature-icon {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--tcom-cyan);
    opacity: 0.5;
    flex-shrink: 0;
}

.why-feature h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.why-feature p {
    font-size: 0.9rem;
    color: var(--tcom-gray-400);
    line-height: 1.6;
}

.why-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.why-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s;
}

.why-card:hover { transform: translateX(8px); }

.why-card-1 {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.2);
}

.why-card-2 {
    background: rgba(255, 255, 255, 0.03);
    margin-left: 40px;
}

.why-card-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tcom-gray-400);
    margin-bottom: 8px;
}

.why-card-value {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
    color: var(--tcom-cyan);
    line-height: 1;
}

.why-card-2 .why-card-value { color: var(--tcom-gray-500); }

.why-card-desc {
    font-size: 0.85rem;
    color: var(--tcom-gray-400);
    margin-top: 4px;
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-section { background: var(--tcom-brand-sky); }

.process-timeline {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: linear-gradient(90deg, var(--tcom-blue), var(--tcom-cyan));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 16px;
    box-shadow: var(--tcom-glow);
    transition: transform 0.3s;
}

.process-step:hover .process-num { transform: scale(1.15); }

.process-step h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.75rem;
    color: var(--tcom-gray-400);
    line-height: 1.5;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section { }

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    color: var(--tcom-gray-400);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--tcom-gradient);
    color: var(--tcom-white);
    border-color: transparent;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-item:hover img { transform: scale(1.08); }

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0, 27, 61, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tcom-cyan);
    margin-bottom: 6px;
}

.portfolio-overlay h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.portfolio-view {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-white);
    transform: scale(0);
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-view { transform: scale(1); }

.portfolio-item.hidden { display: none; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--tcom-brand-pale); }

.testimonials-slider { position: relative; overflow: hidden; }

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border-color 0.3s;
}

.testimonial-card:hover { border-color: rgba(0, 212, 255, 0.2); }

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #FFD700;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--tcom-gray-300);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--tcom-gray-400);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.testimonial-prev,
.testimonial-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-white);
    transition: all 0.3s;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--tcom-gradient);
    border-color: transparent;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--tcom-white);
    text-align: left;
    transition: color 0.3s;
}

.faq-question:hover { color: var(--tcom-cyan); }

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--tcom-cyan);
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--tcom-gray-400);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s, transform 0.3s;
}

.contact-detail:hover {
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(8px);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-cyan);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-detail span {
    font-size: 0.85rem;
    color: var(--tcom-gray-400);
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--tcom-gray-300);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--tcom-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--tcom-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--tcom-gray-500);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: linear-gradient(180deg, var(--tcom-brand-pale) 0%, var(--tcom-white) 100%);
    border-top: 1px solid rgba(26, 155, 219, 0.15);
    color: var(--tcom-text-dark);
}

.footer-top { padding: 80px 0 40px; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--tcom-text-muted);
    line-height: 1.7;
    margin: 20px 0;
}

.footer-contact {
    font-size: 0.85rem;
    color: var(--tcom-text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-contact a {
    color: var(--tcom-text-muted);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--tcom-brand);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tcom-white);
    border: 1px solid rgba(26, 155, 219, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-brand);
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--tcom-gradient);
    color: var(--tcom-white);
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: var(--tcom-text-dark);
}

.footer-links ul li a {
    font-size: 0.85rem;
    color: var(--tcom-text-muted);
    padding: 6px 0;
    display: block;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links ul li a:hover {
    color: var(--tcom-brand);
    padding-left: 8px;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--tcom-text-muted);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: var(--tcom-white);
    border: 1px solid rgba(26, 155, 219, 0.2);
    border-radius: var(--radius-pill);
    color: var(--tcom-text-dark);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-form input:focus { border-color: var(--tcom-brand); }

.newsletter-success {
    font-size: 0.85rem;
    color: #6ee7b7;
    margin-bottom: 10px;
}

.newsletter-error {
    font-size: 0.85rem;
    color: #fca5a5;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(26, 155, 219, 0.12);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--tcom-gray-500);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--tcom-gray-500);
    transition: color 0.3s;
}

.footer-legal a:hover { color: var(--tcom-brand); }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--tcom-gradient);
    transform: scaleY(0);
    transform-origin: bottom center;
    pointer-events: none;
}

.page-transition.is-active {
    pointer-events: all;
}

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-white);
    z-index: 900;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-white);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: var(--tcom-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover { transform: translateY(-4px); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .process-timeline { grid-template-columns: repeat(4, 1fr); }
    .process-timeline::before { display: none; }
    .mega-menu { width: 600px; }
    .mega-menu-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        padding-top: calc(var(--header-height) + 20px);
    }

    .hero-visual {
        height: 400px;
        order: -1;
    }

    .hero-content { text-align: center; padding-right: 0; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-badges { justify-content: center; }

    .hero-services-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .hero-service-item:nth-child(2) { border-right: none; }

    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual { max-width: 500px; margin: 0 auto; }
    .why-card-2 { margin-left: 0; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .testimonial-card { flex: 0 0 calc(50% - 12px); }

    .mobile-toggle { display: flex; }
    .btn-header { display: none; }

    .header-actions {
        position: relative;
        z-index: 1301;
    }

    .site-header.menu-open {
        z-index: 1300;
    }

    .main-nav {
        position: fixed;
        inset: 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100dvh;
        z-index: 1290;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: var(--mobile-nav-offset, var(--header-height)) 0 0;
        transform: translateX(100%);
        transition: transform 0.4s ease, visibility 0.4s ease;
        overflow: hidden;
        visibility: hidden;
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: calc(var(--mobile-nav-offset, var(--header-height)) + 10px);
        right: 20px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--tcom-brand-pale);
        color: var(--tcom-brand-deep);
        border: 1px solid rgba(26, 155, 219, 0.2);
        z-index: 2;
        transition: background 0.25s, color 0.25s, transform 0.25s;
    }

    .mobile-nav-close:hover,
    .mobile-nav-close:focus-visible {
        background: var(--tcom-gradient);
        color: var(--tcom-white);
        transform: scale(1.05);
    }

    .main-nav-panel {
        height: 100%;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 56px 28px calc(32px + env(safe-area-inset-bottom, 0px));
    }

    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .main-header .main-nav .nav-link,
    .main-nav .nav-link {
        color: #000000;
        padding: 16px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(26, 155, 219, 0.12);
    }

    .main-header .main-nav .nav-link:hover,
    .main-header .main-nav .nav-link.active,
    .main-nav .nav-link:hover,
    .main-nav .nav-link.active {
        color: var(--tcom-brand-deep);
    }

    .main-nav .nav-chevron {
        color: #000000;
    }

    .main-nav .nav-item-has-mega {
        width: 100%;
    }

    .main-nav .nav-item-has-mega.mega-open > .nav-link {
        color: var(--tcom-brand-deep);
        border-bottom-color: transparent;
    }

    .main-nav .nav-item-has-mega.mega-open .nav-chevron {
        transform: rotate(180deg);
        color: var(--tcom-brand);
    }

    .main-nav .mega-menu {
        position: static;
        transform: none !important;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background: rgba(26, 155, 219, 0.06);
        border: none;
        border-left: 3px solid var(--tcom-brand);
        border-radius: 0 10px 10px 0;
        box-shadow: none;
        padding: 0 12px;
        margin: 0 0 8px;
        display: block;
        transition: opacity 0.3s ease, max-height 0.35s ease, padding 0.3s ease, visibility 0.3s;
    }

    .main-nav .nav-item-has-mega.mega-open .mega-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 1200px;
        padding: 12px 12px 16px 16px;
    }

    .main-nav .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .main-nav .mega-col h4 {
        color: var(--tcom-brand-deep);
        font-size: 0.72rem;
        margin-bottom: 8px;
        padding-bottom: 4px;
        border-bottom: 1px solid rgba(26, 155, 219, 0.15);
    }

    .main-nav .mega-col ul li a {
        color: #000000;
        font-size: 0.88rem;
        font-weight: 500;
        padding: 8px 0;
        display: block;
    }

    .main-nav .mega-col ul li a:hover {
        color: var(--tcom-brand-deep);
    }
}

@media (max-width: 1100px) {
    .top-header-info .top-header-address {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --main-header-height: 78px;
        --header-height: calc(var(--top-header-height) + var(--main-header-height));
    }

    .main-header .logo-img {
        height: 54px;
        max-width: 72vw;
    }

    body.inner-page .main-header .logo-img {
        height: 50px;
        max-width: 68vw;
    }

    .page-home .site-header:not(.scrolled) .main-header .logo-img {
        height: 58px;
        max-width: 76vw;
    }

    .page-home .site-header.scrolled .main-header .logo-img {
        height: 48px;
        max-width: 64vw;
    }

    .top-header-container { padding: 0 20px; gap: 12px; }

    .top-header-info {
        display: none;
    }

    .top-header-ticker {
        flex: 1;
    }

    .top-header-ticker-item {
        font-size: 0.65rem;
    }

    .top-header-login span { display: none; }

    .top-header-login {
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .header-container { padding: 0 20px; }

    .main-header .logo-link {
        padding: 0;
    }

    .hero-title { font-size: 2rem; }
    .hero-visual { height: 300px; }

    .hero-services-bar {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hero-service-item { border-right: none !important; padding: 12px 0; }

    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .testimonial-card { flex: 0 0 100%; }

    .section { padding: 60px 0; }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .back-to-top { right: 30px; bottom: 100px; }
}

@media (max-width: 1024px) {
    .reveal,
    .reveal.visible {
        opacity: 1 !important;
        transform: none !important;
    }

    .section-title,
    .section-desc,
    .section-eyebrow,
    .page-hero-title,
    .page-hero-subtitle,
    .service-card h3,
    .service-card p,
    .news-card-body h3,
    .news-card-body p,
    .news-card-excerpt,
    .dg-name,
    .dg-role,
    .dg-bio p,
    .dg-quote,
    .about-intro-text,
    .contact-detail,
    .faq-question,
    .faq-answer p,
    .footer-desc,
    .cta-card h2,
    .cta-card p,
    .devis-benefits li,
    .auth-card-header h2,
    .auth-card-header p,
    .timeline-content h4,
    .timeline-content p,
    .team-card h4,
    .team-card p,
    .mvv-card h3,
    .mvv-card p {
        overflow: visible;
        max-width: 100%;
        word-break: break-word;
    }

    .page-hero {
        overflow: visible;
        padding-top: calc(var(--header-height) + 32px);
        padding-bottom: 48px;
    }

    .page-hero-content {
        max-width: 100%;
        padding: 0 4px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-grid,
    .about-intro-grid,
    .about-teaser-grid,
    .devis-grid,
    .dg-card,
    .form-row {
        overflow: visible;
    }

    .form-group input,
    .form-group textarea,
    .form-group select,
    .contact-form,
    .devis-form {
        width: 100%;
        max-width: 100%;
    }

    .cta-card {
        padding: 32px 24px;
    }

    .partners-strip-eyebrow {
        white-space: normal;
        text-align: center;
    }

    .partners-strip-label {
        max-width: 100%;
    }

    .service-card-inner,
    .news-card-body,
    .portfolio-item-caption {
        overflow: visible;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 48px 0;
        overflow: visible;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .page-hero-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.2;
    }

    .page-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .dg-card {
        padding: 24px 20px;
    }

    .dg-photo {
        height: auto;
        max-height: 420px;
    }

    .timeline-item {
        overflow: visible;
    }

    .portfolio-overlay h3,
    .portfolio-overlay p {
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
    .newsletter-form { flex-direction: column; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */
body.inner-page .top-header {
    background: var(--tcom-brand-pale);
}

body.inner-page .main-header {
    background: var(--tcom-menu-black);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.page-hero {
    position: relative;
    padding: calc(var(--header-height) + 60px) 0 80px;
    overflow: hidden;
    background: var(--tcom-brand-sky);
    color: var(--tcom-text-dark);
}

.page-hero-bg { position: absolute; inset: 0; }

.page-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 46, 69, 0.82) 0%, rgba(11, 108, 173, 0.55) 100%);
}

.page-hero--image .page-hero-gradient {
    background: linear-gradient(135deg, rgba(244, 250, 254, 0.15) 0%, rgba(255, 255, 255, 0.35) 100%);
}

.page-hero--image .page-hero-title,
.page-hero--image .page-hero-subtitle,
.page-hero--image .breadcrumb,
.page-hero--image .breadcrumb a {
    color: var(--tcom-white);
}

.page-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--tcom-brand-sky) 0%, var(--tcom-brand-pale) 50%, var(--tcom-white) 100%);
}

.page-hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--tcom-brand);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    top: -20%;
    right: 10%;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--tcom-gray-400);
    margin-bottom: 20px;
}

.breadcrumb a { color: var(--tcom-brand); transition: opacity 0.3s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb-sep { opacity: 0.4; }

.page-hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--tcom-text-dark);
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--tcom-text-muted);
    line-height: 1.7;
}

/* ============================================================
   ABOUT PAGE — Introduction
   ============================================================ */
.about-intro-section { }

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-visual { position: relative; }

.about-intro-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 150, 255, 0.15);
}

.about-intro-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--tcom-gradient);
    padding: 24px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--tcom-glow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-intro-badge-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1;
}

.about-intro-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
    line-height: 1.3;
}

.about-intro-text {
    color: var(--tcom-gray-400);
    line-height: 1.7;
    margin: 16px 0 24px;
}

.about-intro-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--tcom-cyan);
}

/* ============================================================
   DG SECTION — Mot du Directeur Général
   ============================================================ */
.dg-section {
    background: linear-gradient(180deg, var(--tcom-brand-pale) 0%, var(--tcom-white) 100%);
    padding: 120px 0;
    color: var(--tcom-text-dark);
}

.dg-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: center;
    background: var(--tcom-white);
    border: 1px solid rgba(26, 155, 219, 0.15);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 20px 60px rgba(26, 155, 219, 0.08);
}

.dg-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.dg-photo-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(26, 155, 219, 0.25);
    box-shadow: 0 30px 60px rgba(26, 155, 219, 0.15);
}

.dg-photo-glow {
    position: absolute;
    inset: -20px;
    background: var(--tcom-gradient);
    border-radius: var(--radius-lg);
    filter: blur(30px);
    opacity: 0.2;
    z-index: 0;
}

.dg-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.dg-photo-badge {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 155, 219, 0.3);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tcom-brand);
    white-space: nowrap;
}

.dg-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--tcom-text-dark);
}

.dg-role {
    font-size: 0.9rem;
    color: var(--tcom-brand);
    font-weight: 500;
    margin-bottom: 28px;
}

.dg-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--tcom-text-body);
    font-style: italic;
    border-left: 3px solid var(--tcom-brand);
    padding-left: 24px;
    margin-bottom: 28px;
}

.dg-bio p {
    color: var(--tcom-text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}

.dg-credentials {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.dg-credential {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius);
    flex: 1;
    min-width: 200px;
}

.dg-credential-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-cyan);
    flex-shrink: 0;
}

.dg-credential strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.dg-credential span {
    font-size: 0.78rem;
    color: var(--tcom-gray-400);
}

/* ============================================================
   MVV Cards
   ============================================================ */
.mvv-section { }

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mvv-card {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: transform 0.3s, border-color 0.3s;
}

.mvv-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.2);
}

.mvv-card-featured {
    background: rgba(0, 102, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
}

.mvv-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    background: rgba(0, 102, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-cyan);
    margin-bottom: 24px;
}

.mvv-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.mvv-card p {
    font-size: 0.9rem;
    color: var(--tcom-gray-400);
    line-height: 1.7;
}

.mvv-list {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
    color: var(--tcom-gray-400);
    line-height: 1.8;
}

.section-light .mvv-list,
.section-light-alt .mvv-list {
    color: var(--tcom-text-muted);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline-section { }

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--tcom-blue), var(--tcom-cyan));
    opacity: 0.3;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 24px 1fr;
    gap: 20px;
    align-items: start;
    padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-year {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--tcom-cyan);
    text-align: right;
    padding-top: 4px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    box-shadow: var(--tcom-glow);
    margin-top: 6px;
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--tcom-gray-400);
    line-height: 1.6;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-section { }

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 36px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.2);
}

.team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--tcom-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 16px;
    box-shadow: var(--tcom-glow);
}

.team-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.8rem;
    color: var(--tcom-gray-400);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 80px 0; }

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 60px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.12) 0%, rgba(0, 212, 255, 0.06) 100%);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: var(--radius-lg);
    flex-wrap: wrap;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 10px;
}

.cta-content p {
    color: var(--tcom-gray-400);
    font-size: 1rem;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   HOME TEASERS
   ============================================================ */
.about-teaser-section { }

.about-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-teaser-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 150, 255, 0.15);
}

.services-grid-preview { grid-template-columns: repeat(3, 1fr); }
.portfolio-grid-preview { grid-template-columns: repeat(3, 1fr); }

.home .stats-grid { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   CONTACT PAGE EXTRAS
   ============================================================ */
.contact-form h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.contact-hours {
    margin-top: 32px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius);
}

.contact-hours h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--tcom-cyan);
}

.contact-hours p {
    font-size: 0.85rem;
    color: var(--tcom-gray-400);
    margin-bottom: 4px;
}

/* ============================================================
   AUTH / LOGIN PAGE
   ============================================================ */
.auth-section {
    padding-bottom: 120px;
}

.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.auth-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-cyan);
    margin: 0 auto 16px;
}

.auth-card-header h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.auth-card-header p {
    font-size: 0.9rem;
    color: var(--tcom-gray-400);
}

.form-error {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #dc2626;
}

.form-alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.form-alert--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.contact-service-badge {
    margin: 0 0 18px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(26, 155, 219, 0.1);
    color: var(--tcom-brand-deep);
    font-size: 0.9rem;
}

/* ============================================================
   PAGE DEVIS
   ============================================================ */
.devis-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

.devis-benefits {
    list-style: none;
    padding: 0;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.devis-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--tcom-text-body);
}

.devis-benefits svg {
    flex-shrink: 0;
    color: var(--tcom-brand);
}

.devis-note {
    font-size: 0.9rem;
    color: var(--tcom-text-muted);
}

.devis-note a {
    color: var(--tcom-brand-deep);
    font-weight: 600;
}

.devis-form h3 {
    margin-bottom: 8px;
}

.devis-form-intro {
    margin: 0 0 20px;
    font-size: 0.9rem;
    color: var(--tcom-text-muted);
}

.devis-form textarea {
    min-height: 160px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%230B6CAD' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

@media (max-width: 1024px) {
    .devis-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--tcom-gray-400);
    cursor: pointer;
}

.auth-checkbox input {
    accent-color: var(--tcom-cyan);
}

.auth-forgot {
    font-size: 0.82rem;
    color: var(--tcom-cyan);
    transition: opacity 0.3s;
}

.auth-forgot:hover { opacity: 0.8; }

.auth-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--tcom-gray-400);
}

.auth-footer-text a {
    color: var(--tcom-cyan);
    font-weight: 600;
}

/* About page responsive */
@media (max-width: 1024px) {
    .about-intro-grid,
    .about-teaser-grid,
    .dg-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dg-photo-wrap { order: -1; }
    .dg-photo { height: 400px; }
    .dg-card { padding: 32px; }

    .mvv-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid-preview { grid-template-columns: repeat(2, 1fr); }
    .home .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }

    .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .dg-photo { height: 350px; }
    .dg-credentials { flex-direction: column; }
    .team-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 60px; }
    .timeline-item { grid-template-columns: 60px 20px 1fr; }
    .services-grid-preview,
    .portfolio-grid-preview { grid-template-columns: 1fr; }
}

/* ============================================================
   ACTUALITÉS / NEWS
   ============================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--tcom-white);
    border: 1px solid rgba(26, 155, 219, 0.12);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 155, 219, 0.12);
}

.news-card-link {
    display: block;
    color: inherit;
    height: 100%;
}

.news-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--tcom-brand-pale);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tcom-brand);
    opacity: 0.5;
}

.news-card-body {
    padding: 22px;
}

.news-card-date {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tcom-brand);
    margin-bottom: 10px;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--tcom-text-dark);
}

.news-card-excerpt {
    font-size: 0.9rem;
    color: var(--tcom-text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.news-card-more {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--tcom-brand-deep);
}

.news-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--tcom-text-muted);
}

.news-empty h2 {
    font-family: var(--font-heading);
    color: var(--tcom-text-dark);
    margin-bottom: 10px;
}

.news-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.news-pagination nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.news-pagination a,
.news-pagination span {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(26, 155, 219, 0.2);
    font-size: 0.88rem;
}

.news-pagination .active span {
    background: var(--tcom-brand-deep);
    color: var(--tcom-white);
    border-color: transparent;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--tcom-text-muted);
    margin-bottom: 28px;
}

.article-breadcrumb a:hover {
    color: var(--tcom-brand);
}

.article-content {
    max-width: 820px;
    margin: 0 auto;
}

.article-header time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tcom-brand);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-cover {
    margin: 28px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--tcom-text-body);
}

.article-related {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(26, 155, 219, 0.15);
}

.article-related h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.news-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-related-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border: 1px solid rgba(26, 155, 219, 0.12);
    border-radius: var(--radius);
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.news-related-card:hover {
    border-color: var(--tcom-brand);
    box-shadow: 0 8px 24px rgba(26, 155, 219, 0.1);
}

.news-related-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.news-related-card time {
    font-size: 0.75rem;
    color: var(--tcom-brand);
    display: block;
    margin-bottom: 4px;
}

.news-related-card h3 {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.35;
}

.article-back {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .news-grid { grid-template-columns: 1fr; }
}
