/* ==========================================================================
   IN THE CLOUD (ITC) - Template CSS Principal
   Version 1.0.0
   Couleurs : Bleu ciel (#87CEEB) et Vert menthe (#98E8C1)
   Style : Moderne, lumineux, épuré, collaboratif
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES CSS (Custom Properties)
   ========================================================================== */
:root {
    /* Couleurs principales */
    --itc-primary: #87CEEB;
    --itc-primary-dark: #5BA4CF;
    --itc-primary-light: #B8E2F8;
    --itc-primary-ultra-light: #E8F4FB;

    --itc-secondary: #98E8C1;
    --itc-secondary-dark: #6BC9A0;
    --itc-secondary-light: #C2F2DA;
    --itc-secondary-ultra-light: #E6FAF0;

    --itc-accent: #5BA4CF;

    /* Neutrals */
    --itc-white: #FFFFFF;
    --itc-gray-50: #F8FAFB;
    --itc-gray-100: #F1F5F9;
    --itc-gray-200: #E2E8F0;
    --itc-gray-300: #CBD5E1;
    --itc-gray-400: #94A3B8;
    --itc-gray-500: #64748B;
    --itc-gray-600: #475569;
    --itc-gray-700: #334155;
    --itc-gray-800: #1E293B;
    --itc-gray-900: #0F172A;

    /* Texte */
    --itc-text: #334155;
    --itc-text-light: #64748B;
    --itc-text-heading: #1E293B;
    --itc-text-inverse: #FFFFFF;

    /* Fond */
    --itc-bg: #FFFFFF;
    --itc-bg-alt: #F8FAFB;
    --itc-bg-card: #FFFFFF;
    --itc-bg-overlay: rgba(15, 23, 42, 0.5);

    /* Bordures */
    --itc-border: #E2E8F0;
    --itc-border-light: #F1F5F9;

    /* Ombres */
    --itc-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --itc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --itc-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.04);
    --itc-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.06), 0 4px 6px rgba(0, 0, 0, 0.04);
    --itc-shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --itc-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --itc-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* Typographie */
    --itc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --itc-font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    --itc-font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

    /* Espacement */
    --itc-container: 1200px;
    --itc-container-narrow: 900px;
    --itc-gap: 1.5rem;
    --itc-gap-lg: 2.5rem;
    --itc-radius: 12px;
    --itc-radius-sm: 8px;
    --itc-radius-lg: 20px;
    --itc-radius-full: 9999px;

    /* Header */
    --itc-header-height: 72px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--itc-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--itc-text);
    background-color: var(--itc-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--itc-accent);
    text-decoration: none;
    transition: color var(--itc-transition-fast);
}

a:hover,
a:focus-visible {
    color: var(--itc-primary-dark);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--itc-font-heading);
    color: var(--itc-text-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.75em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--itc-border);
    text-align: left;
}

th {
    background: var(--itc-primary-ultra-light);
    font-weight: 600;
    color: var(--itc-text-heading);
}

blockquote {
    border-left: 4px solid var(--itc-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--itc-primary-ultra-light);
    border-radius: 0 var(--itc-radius-sm) var(--itc-radius-sm) 0;
    font-style: italic;
    color: var(--itc-text);
}

/* Focus visible */
:focus-visible {
    outline: 3px solid var(--itc-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip link accessibilité */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 10000;
    padding: 0.75rem 1.5rem;
    background: var(--itc-accent);
    color: var(--itc-white);
    font-weight: 600;
    border-radius: 0 0 var(--itc-radius-sm) 0;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   3. CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--itc-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ==========================================================================
   4. PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--itc-primary-ultra-light), var(--itc-secondary-ultra-light));
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-cloud svg {
    animation: preloaderFloat 2s ease-in-out infinite;
}

.preloader-text {
    margin-top: 1rem;
    font-family: var(--itc-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--itc-accent);
    letter-spacing: 0.05em;
}

@keyframes preloaderFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   5. TOPBAR
   ========================================================================== */
.itc-topbar {
    background: var(--itc-gray-800);
    color: var(--itc-gray-300);
    font-size: 0.8125rem;
    padding: 0.375rem 0;
}

.itc-topbar a {
    color: var(--itc-gray-300);
}

.itc-topbar a:hover {
    color: var(--itc-primary-light);
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
.itc-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--itc-border-light);
    height: var(--itc-header-height);
    z-index: 1000;
    transition: box-shadow var(--itc-transition), background var(--itc-transition);
}

.itc-header.sticky {
    position: sticky;
    top: 0;
}

.itc-header.scrolled {
    box-shadow: var(--itc-shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.5rem;
}

/* Logo */
.header-logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--itc-text-heading);
}

.logo-img {
    max-height: 44px;
    width: auto;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-icon svg {
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(135, 206, 235, 0.4));
}

.logo-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name strong {
    font-family: var(--itc-font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--itc-primary-dark), var(--itc-secondary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-slogan {
    font-size: 0.6875rem;
    color: var(--itc-text-light);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Navigation principale */
.header-nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.header-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
}

.header-nav li {
    position: relative;
}

.header-nav a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--itc-text);
    border-radius: var(--itc-radius-sm);
    transition: all var(--itc-transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.header-nav .active > a,
.header-nav .current > a {
    color: var(--itc-accent);
    background: var(--itc-primary-ultra-light);
    text-decoration: none;
}

/* Dropdown */
.header-nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--itc-white);
    border: 1px solid var(--itc-border);
    border-radius: var(--itc-radius);
    box-shadow: var(--itc-shadow-lg);
    padding: 0.5rem;
    flex-direction: column;
    z-index: 100;
}

.header-nav li:hover > ul,
.header-nav li:focus-within > ul {
    display: flex;
}

.header-nav ul ul a {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border-radius: var(--itc-radius-sm);
}

/* Actions header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Bouton toggle thème */
.btn-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--itc-radius-full);
    background: var(--itc-gray-100);
    color: var(--itc-text);
    cursor: pointer;
    transition: all var(--itc-transition-fast);
    font-size: 1.1rem;
}

.btn-theme-toggle:hover {
    background: var(--itc-primary-ultra-light);
    color: var(--itc-accent);
    transform: rotate(15deg);
}

[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-light { display: inline; }
[data-theme="dark"] .theme-icon-dark { display: inline; }

/* Hamburger mobile */
.btn-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: var(--itc-radius-sm);
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--itc-text);
    border-radius: 2px;
    transition: all var(--itc-transition);
}

.btn-mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.btn-mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.btn-mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.itc-hero {
    position: relative;
    padding: 4rem 0 3rem;
    background: linear-gradient(160deg, var(--itc-primary-ultra-light) 0%, var(--itc-secondary-ultra-light) 50%, var(--itc-white) 100%);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
}

.itc-hero .container {
    position: relative;
    z-index: 2;
}

.itc-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--itc-gray-800), var(--itc-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.itc-hero p {
    font-size: 1.125rem;
    color: var(--itc-text-light);
    max-width: 600px;
}

/* Décoration nuages */
.hero-decoration {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.cloud-1 {
    width: 200px;
    height: 80px;
    background: var(--itc-primary);
    top: 20%;
    right: -30px;
    border-radius: 100px;
    animation: cloudDrift 20s ease-in-out infinite;
}

.cloud-2 {
    width: 150px;
    height: 60px;
    background: var(--itc-secondary);
    top: 60%;
    right: 15%;
    border-radius: 80px;
    animation: cloudDrift 25s ease-in-out infinite reverse;
}

.cloud-3 {
    width: 120px;
    height: 50px;
    background: var(--itc-primary);
    bottom: 15%;
    left: 5%;
    border-radius: 60px;
    animation: cloudDrift 18s ease-in-out infinite 3s;
}

@keyframes cloudDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

/* ==========================================================================
   8. BREADCRUMB
   ========================================================================== */
.itc-breadcrumb {
    padding: 0.75rem 0;
    background: var(--itc-bg-alt);
    border-bottom: 1px solid var(--itc-border-light);
    font-size: 0.8125rem;
}

.itc-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
}

.itc-breadcrumb li + li::before {
    content: "›";
    margin-right: 0.375rem;
    color: var(--itc-gray-400);
}

.itc-breadcrumb a {
    color: var(--itc-text-light);
}

.itc-breadcrumb a:hover {
    color: var(--itc-accent);
}

/* ==========================================================================
   9. MAIN CONTENT
   ========================================================================== */
.itc-main {
    padding: 2.5rem 0 3.5rem;
    min-height: 50vh;
}

.content-row {
    display: grid;
    gap: var(--itc-gap-lg);
}

.content-row.with-sidebar {
    grid-template-columns: 1fr 300px;
}

.content-row.full-width {
    grid-template-columns: 1fr;
}

.content-main {
    min-width: 0;
}

.content-top,
.content-bottom {
    margin-bottom: var(--itc-gap-lg);
}

.content-bottom {
    margin-bottom: 0;
    margin-top: var(--itc-gap-lg);
}

/* Style module "card" */
.card {
    background: var(--itc-bg-card);
    border: 1px solid var(--itc-border);
    border-radius: var(--itc-radius);
    padding: 1.5rem;
    margin-bottom: var(--itc-gap);
    box-shadow: var(--itc-shadow-xs);
    transition: box-shadow var(--itc-transition);
}

.card:hover {
    box-shadow: var(--itc-shadow-sm);
}

.card h3 {
    font-size: 1.1rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--itc-primary-light);
}

/* Sidebar */
.content-sidebar .card {
    background: var(--itc-bg-card);
}

.content-sidebar .card:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   10. BOUTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--itc-font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--itc-radius-sm);
    cursor: pointer;
    transition: all var(--itc-transition);
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--itc-primary), var(--itc-primary-dark));
    color: var(--itc-white);
    box-shadow: 0 4px 12px rgba(135, 206, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--itc-primary-dark), var(--itc-accent));
    color: var(--itc-white);
    box-shadow: 0 6px 20px rgba(135, 206, 235, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--itc-secondary), var(--itc-secondary-dark));
    color: var(--itc-white);
    box-shadow: 0 4px 12px rgba(152, 232, 193, 0.35);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--itc-secondary-dark), #4DB886);
    color: var(--itc-white);
    box-shadow: 0 6px 20px rgba(152, 232, 193, 0.45);
}

.btn-outline {
    background: transparent;
    border-color: var(--itc-primary);
    color: var(--itc-accent);
}

.btn-outline:hover {
    background: var(--itc-primary);
    color: var(--itc-white);
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.itc-footer {
    background: var(--itc-gray-800);
    color: var(--itc-gray-300);
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--itc-gap-lg);
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--itc-font-heading);
}

.footer-logo-text strong {
    font-size: 1.25rem;
    color: var(--itc-white);
}

.itc-footer h4 {
    color: var(--itc-white);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.itc-footer a {
    color: var(--itc-gray-300);
}

.itc-footer a:hover {
    color: var(--itc-primary-light);
    text-decoration: none;
}

.itc-footer ul {
    list-style: none;
    padding: 0;
}

.itc-footer ul li {
    margin-bottom: 0.5rem;
}

/* Social links */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--itc-radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--itc-gray-300);
    font-size: 1.1rem;
    transition: all var(--itc-transition);
}

.social-links a:hover {
    background: var(--itc-primary);
    color: var(--itc-white);
    transform: translateY(-3px);
}

/* Footer bottom */
.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--itc-gray-400);
}

.footer-bottom p {
    margin: 0;
}

/* ==========================================================================
   12. BACK TO TOP
   ========================================================================== */
.btn-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: var(--itc-radius-full);
    background: linear-gradient(135deg, var(--itc-primary), var(--itc-accent));
    color: var(--itc-white);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--itc-shadow-lg);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--itc-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--itc-shadow-xl);
}

/* ==========================================================================
   13. FLOATING CONTACT BUTTON
   ========================================================================== */
.btn-floating-contact {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 56px;
    height: 56px;
    border-radius: var(--itc-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--itc-white);
    box-shadow: var(--itc-shadow-lg);
    z-index: 900;
    transition: all var(--itc-transition);
    text-decoration: none;
    animation: floatingPulse 3s ease-in-out infinite;
}

.btn-floating-contact:hover {
    transform: scale(1.1);
    box-shadow: var(--itc-shadow-xl);
    color: var(--itc-white);
    text-decoration: none;
}

.floating-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-email {
    background: linear-gradient(135deg, var(--itc-primary), var(--itc-accent));
}

.floating-phone {
    background: linear-gradient(135deg, var(--itc-secondary), var(--itc-secondary-dark));
}

@keyframes floatingPulse {
    0%, 100% { box-shadow: var(--itc-shadow-lg); }
    50% { box-shadow: 0 0 20px rgba(135, 206, 235, 0.5); }
}

/* ==========================================================================
   14. COOKIE / RGPD BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--itc-white);
    border-top: 1px solid var(--itc-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 1.25rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-inner {
    max-width: var(--itc-container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--itc-text-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-content p {
    font-size: 0.875rem;
    color: var(--itc-text-light);
    margin: 0;
    max-width: 600px;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie-accept {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--itc-secondary), var(--itc-secondary-dark));
    color: var(--itc-white);
    border: none;
    border-radius: var(--itc-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--itc-transition-fast);
}

.btn-cookie-accept:hover {
    background: linear-gradient(135deg, var(--itc-secondary-dark), #4DB886);
    transform: translateY(-1px);
}

.btn-cookie-reject {
    padding: 0.625rem 1.5rem;
    background: transparent;
    color: var(--itc-text-light);
    border: 1px solid var(--itc-border);
    border-radius: var(--itc-radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--itc-transition-fast);
}

.btn-cookie-reject:hover {
    background: var(--itc-gray-100);
    color: var(--itc-text);
}

/* ==========================================================================
   15. ANIMATIONS AU SCROLL
   ========================================================================== */
.has-animations .anim-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-animations .anim-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.has-animations .anim-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-animations .anim-slide-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.has-animations .anim-slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-animations .anim-slide-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.has-animations .anim-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.has-animations .anim-scale-in.is-visible {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   16. JOOMLA SYSTEM MESSAGES
   ========================================================================== */
#system-message-container {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--itc-radius-sm);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    border: 1px solid transparent;
}

.alert-success {
    background: var(--itc-secondary-ultra-light);
    border-color: var(--itc-secondary-light);
    color: #1a6b45;
}

.alert-warning {
    background: #FFF8E1;
    border-color: #FFE082;
    color: #8B6914;
}

.alert-danger,
.alert-error {
    background: #FFF0F0;
    border-color: #FFCDD2;
    color: #B71C1C;
}

.alert-info {
    background: var(--itc-primary-ultra-light);
    border-color: var(--itc-primary-light);
    color: var(--itc-accent);
}

/* ==========================================================================
   17. ARTICLE STYLES (pour le contenu des articles)
   ========================================================================== */
.article-hero {
    margin-bottom: 2rem;
    border-radius: var(--itc-radius-lg);
    overflow: hidden;
    box-shadow: var(--itc-shadow-md);
}

.article-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-hero figcaption {
    padding: 0.75rem 1rem;
    background: var(--itc-gray-50);
    font-size: 0.8125rem;
    color: var(--itc-text-light);
    text-align: center;
    font-style: italic;
}

.intro-block {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--itc-primary-ultra-light), var(--itc-secondary-ultra-light));
    border-radius: var(--itc-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--itc-primary);
}

.intro-block .lead {
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--itc-gap);
    margin-top: 1.5rem;
}

.pillar-card {
    background: var(--itc-bg-card);
    border: 1px solid var(--itc-border);
    border-radius: var(--itc-radius);
    padding: 1.75rem;
    box-shadow: var(--itc-shadow-sm);
    transition: all var(--itc-transition);
}

.pillar-card:hover {
    box-shadow: var(--itc-shadow-lg);
    transform: translateY(-4px);
    border-color: var(--itc-primary-light);
}

.pillar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--itc-bg-card);
    border: 1px solid var(--itc-border);
    border-radius: var(--itc-radius-sm);
    transition: all var(--itc-transition);
}

.benefit-item:hover {
    border-color: var(--itc-primary-light);
    box-shadow: var(--itc-shadow-sm);
}

.benefit-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--itc-text-heading);
}

.benefit-item p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--itc-text-light);
}

.team-table {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.team-table table {
    border-radius: var(--itc-radius-sm);
    overflow: hidden;
}

.target-list {
    list-style: none;
    padding: 0;
}

.target-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.target-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--itc-primary);
    font-weight: bold;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--itc-border-light);
}

.values-list li:last-child {
    border-bottom: none;
}

.legal-info {
    list-style: none;
    background: var(--itc-gray-50);
    border-radius: var(--itc-radius-sm);
    padding: 1.25rem 1.5rem;
}

.legal-info li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--itc-border);
}

.legal-info li:last-child {
    border-bottom: none;
}

.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--itc-primary-ultra-light), var(--itc-secondary-ultra-light));
    border-radius: var(--itc-radius-lg);
    margin-top: 2rem;
}

.cta-section h2 {
    margin-bottom: 0.5rem;
}

.cta-section .btn {
    margin-top: 1rem;
}

/* ==========================================================================
   18. RESPONSIVE
   ========================================================================== */

/* Tablette */
@media (max-width: 1024px) {
    .content-row.with-sidebar {
        grid-template-columns: 1fr 260px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-left {
        grid-column: 1 / -1;
    }
}

/* Mobile large */
@media (max-width: 768px) {
    :root {
        --itc-header-height: 60px;
    }

    .btn-mobile-toggle {
        display: flex;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: var(--itc-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--itc-bg);
        padding: 1rem;
        overflow-y: auto;
        flex-direction: column;
        justify-content: flex-start;
        z-index: 999;
        border-top: 1px solid var(--itc-border);
    }

    .header-nav.is-open {
        display: flex;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .header-nav a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-bottom: 1px solid var(--itc-border-light);
    }

    .header-nav ul ul {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        background: var(--itc-bg-alt);
    }

    .content-row.with-sidebar {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .itc-hero {
        padding: 2.5rem 0 2rem;
        min-height: auto;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-floating-contact {
        bottom: 1.25rem;
        left: 1.25rem;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .btn-back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile petit */
@media (max-width: 480px) {
    .header-search {
        display: none;
    }

    .logo-slogan {
        display: none;
    }

    .intro-block {
        padding: 1rem 1.25rem;
    }

    .cta-section {
        padding: 2rem 1.25rem;
    }
}

/* ==========================================================================
   19. PRINT
   ========================================================================== */
@media print {
    .itc-header,
    .itc-topbar,
    .itc-hero,
    .itc-footer,
    .btn-back-to-top,
    .btn-floating-contact,
    .cookie-banner,
    .preloader,
    .header-actions,
    .content-sidebar {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .itc-main {
        padding: 0;
    }

    .content-row.with-sidebar {
        grid-template-columns: 1fr;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* ==========================================================================
   20. UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
