/* ==========================================================================
   1. VARIABLES ET CONFIGURATION GLOBALE
   ========================================================================== */
:root {
    --color-text: #1d1d1f;
    --color-text-secondary: #86868b;
    --color-text-light: rgba(255, 255, 255, 0.8);
    --color-background: #f5f5f7;
    --color-border: #d2d2d7;
    --color-link: #06c;
    --transition-default: 0.3s ease;
    --border-radius-large: 20px;
    --border-radius-medium: 18px;
    --max-width-container: 980px;
    --max-width-large: 1200px;
    
    /* Couleurs de gradient pour les différentes pages */
    --gradient-home: linear-gradient(to right, #2271E6, #30B8C4, #2271E6);
    --gradient-entreprise: linear-gradient(to right, #5856D6, #AF52DE, #5856D6);
    --gradient-realisations: linear-gradient(to right, #34C759, #2AC9A0, #34C759);
    --gradient-veille: linear-gradient(to right, #FF9500, #FF3B30, #FF9500);
    --gradient-bilan: linear-gradient(to right, #C644FC, #5856D6, #C644FC);
    --gradient-mentions: linear-gradient(to right, #34C759, #2AC9A0, #34C759);
    --gradient-e6: linear-gradient(to right, #FF9500, #FF3B30, #FF9500);
}

/* ==========================================================================
   2. RESET & STYLES DE BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    background-color: #fff;
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 22px;
}

/* Utility Classes */
.clear {
    clear: both;
}

/* Font Awesome fix */
.fa-solid, .fas {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

/* ==========================================================================
   3. COMPOSANTS COMMUNS (HEADER, FOOTER, BOUTONS, etc.)
   ========================================================================== */

/* 3.1 Header & Navigation */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 44px;
    border-bottom: 1px solid var(--color-border);
}

.navbar {
    height: 100%;
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    margin-right: auto;
}

.logo img {
    height: 44px;
    width: auto;
    opacity: 0.8;
}

.links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.links a {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-size: 12px;
    transition: color var(--transition-default);
}

.links a:hover {
    color: var(--color-link);
}

/* 3.2 Footer */
.footer {
    background-color: var(--color-background);
    padding: 30px 0;
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--color-text-secondary);
    border-top: 1px solid var(--color-border);
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: #515154;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social {
    display: flex;
    gap: 20px;
}

.social i {
    font-size: 18px;
    color: #515154;
    transition: color var(--transition-default);
}

.social i:hover {
    color: var(--color-link);
}

/* Style spécial pour l'icône du CV */
.cv-link i {
    transition: color 0.3s ease, transform 0.3s ease;
}

.cv-link:hover i {
    color: #FF3B30 !important;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(255, 59, 48, 0.5);
}

/* Style spécial pour l'icône LinkedIn */
.linkedin-link i,
.social .fa-linkedin {
    transition: color 0.3s ease, transform 0.3s ease;
}

.linkedin-link:hover i,
.social a:hover .fa-linkedin {
    color: #0077B5 !important;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(0, 119, 181, 0.5);
}

/* 3.3 Bannières style Apple */
.apple-banner {
    background-color: rgba(245, 245, 247, 0.95);
    padding: 12px 0;
    width: 100%;
    position: relative;
    z-index: 100;
    margin-top: 44px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.apple-banner .container {
    display: flex;
    justify-content: center;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34C759, #2AC9A0);
    color: white;
    font-size: 14px;
    position: relative;
    animation: pulse 2s infinite;
}

.banner-content p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text);
    font-weight: 400;
}

/* Styles spécifiques pour chaque bannière de page */
.apple-banner.portfolio-banner {
    background-color: rgba(34, 113, 230, 0.08);
    box-shadow: none;
}

.apple-banner.portfolio-banner .banner-icon {
    background: linear-gradient(135deg, #2271E6, #30B8C4);
    animation: pulse-blue 2s infinite;
}

.apple-banner.realisations-banner {
    background-color: rgba(255, 224, 102, 0.12);
    box-shadow: none;
    border-bottom: none;
}

.apple-banner.realisations-banner .banner-icon {
    background: linear-gradient(135deg, #FFE066, #F8C471, #EDBB99);
    background-size: 200% 200%;
    animation: goldShift 5s infinite alternate;
}

.apple-banner.veille-banner {
    background-color: rgba(229, 27, 35, 0.08);
}

.apple-banner.veille-banner .banner-icon {
    background: linear-gradient(135deg, #FF9500, #FF3B30);
}

.apple-banner.bilan-banner {
    background-color: rgba(138, 43, 226, 0.1);
}

.apple-banner.bilan-banner .banner-icon {
    background: linear-gradient(135deg, #C644FC, #5856D6);
    animation: pulse-bilan 2s infinite;
}

.apple-banner.entreprise-banner {
    background-color: rgba(230, 0, 126, 0.08);
}

.apple-banner.entreprise-banner .banner-icon {
    background: linear-gradient(90deg, #E6007E, #FF4E9D);
    animation: pulse-entreprise 2s infinite;
}

.apple-banner.formation-banner {
    background-color: rgba(0, 102, 204, 0.08);
}

.apple-banner.formation-banner .banner-icon {
    background: linear-gradient(90deg, #0066cc, #30B8C4);
    animation: pulse-formation 2s infinite;
}

.apple-banner.mentions-banner {
    background-color: rgba(52, 199, 89, 0.08);
}

.apple-banner.mentions-banner .banner-icon {
    background: linear-gradient(135deg, #34C759, #2AC9A0);
}

.apple-banner.e6-banner {
    background-color: rgba(255, 149, 0, 0.08);
}

.apple-banner.e6-banner .banner-icon {
    background: linear-gradient(90deg, #FF9500, #FF3B30);
    transition: transform 0.3s ease;
    animation: pulse-e6 2s infinite;
}

/* 3.4 Boutons */
.button {
    background-color: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(20px);
    color: #2997ff;
    font-size: 21px;
    line-height: 1.381;
    padding: 12px 22px;
    border-radius: 980px;
    text-decoration: none;
    transition: all var(--transition-default);
}

.button:hover {
    color: #147ce5;
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.button:after {
    content: ">";
    margin-left: 6px;
    transition: transform var(--transition-default);
    display: inline-block;
}

.button:hover:after {
    transform: translateX(4px);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 35px;
    padding: 40px 0;
    width: 100%;
}

/* 3.5 Icônes de section */
.section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #34C759, #2AC9A0);
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.section-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    color: white !important;
    font-size: 24px;
    display: block;
    z-index: 10;
}

.section-icon:hover i {
    transform: translate(-50%, -50%) scale(1.2);
    animation: pulse-icon 1s infinite;
}

.section-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.section-icon-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

/* Variations d'icônes */
.section-icon.section-icon-parcours {
    background: linear-gradient(135deg, #5856D6, #AF52DE);
}

.section-icon.section-icon-skills {
    background: linear-gradient(135deg, #FF9500, #FF3B30);
}

.section-icon.section-icon-cert {
    background: linear-gradient(135deg, #34C759, #2AC9A0);
}

.section-icon.icon-editor {
    background: linear-gradient(135deg, #5856D6, #AF52DE); /* Violet */
}

.section-icon.icon-hosting {
    background: linear-gradient(135deg, #34C759, #2AC9A0); /* Vert */
}

.section-icon.icon-cookies {
    background: linear-gradient(135deg, #FF9500, #FF3B30); /* Orange-Rouge */
}

.section-icon.icon-privacy {
    background: linear-gradient(135deg, #007AFF, #5AC8FA); /* Bleu */
}

.section-icon.icon-copyright {
    background: linear-gradient(135deg, #A2845E, #D4B888); /* Bronze */
}

.section-icon.icon-links {
    background: linear-gradient(135deg, #1D62F0, #19AEFF); /* Bleu foncé */
}

.section-icon.icon-modifications {
    background: linear-gradient(135deg, #FF2D55, #FF9500); /* Rouge-Orange */
}

/* 3.6 Titres animés */
.animated-title {
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -o-background-clip: text;
    color: transparent !important;
    animation: gradient 15s ease infinite;
    background-size: 200% 200%;
    display: inline-block;
    text-shadow: none;
}

.features h2.animated-title,
.about h2.animated-title,
.skills-header h2.animated-title {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -.003em;
    margin-bottom: 20px;
    text-align: center;
}

/* Variantes de couleurs pour les titres animés */
.home-gradient {
    background-image: var(--gradient-home);
}

.entreprise-gradient {
    background-image: var(--gradient-entreprise);
}

.realisations-gradient {
    background-image: var(--gradient-realisations);
}

.veille-gradient {
    background-image: var(--gradient-veille);
}

.bilan-gradient {
    background-image: var(--gradient-bilan);
}

.mentions-gradient {
    background-image: var(--gradient-mentions);
}

.e6-gradient {
    background-image: var(--gradient-e6);
}

/* 3.7 Sections Hero communes */
.slider {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: #fff;
    padding-top: 44px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    padding: 65px 0 0;
    min-height: calc(100vh - 44px);
    width: 100%;
    max-width: var(--max-width-large);
    margin: 0 auto;
}

.hero-text-container {
    text-align: center;
    padding: 0 40px;
    margin-bottom: 20px;
}

.hero-text-left h1 {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 8px;
    color: #2271E6;
}

.hero-text-left h1.animated-title {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
    background-image: linear-gradient(to right, #2271E6, #30B8C4, #2271E6);
    animation: gradient 15s ease infinite;
    background-size: 200% 200%;
}

.hero-text-right {
    text-align: center;
    max-width: none;
}

.hero-text-right p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: .011em;
    margin: 0;
}

.hero-subtitle {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 400;
    letter-spacing: .009em;
    color: #86868b;
    margin-top: 8px;
}

.dynamic-quote {
    font-size: 19px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: .011em;
    color: var(--color-text-secondary);
    margin-top: 12px;
    min-height: 26px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* 3.8 Composant vidéo */
.video-wrapper {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    width: 100%;
    position: relative;
    padding-top: 50%;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   4. ANIMATIONS
   ========================================================================== */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(52, 199, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); }
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(34, 113, 230, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(34, 113, 230, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 113, 230, 0); }
}

@keyframes pulse-bilan {
    0% { box-shadow: 0 0 0 0 rgba(198, 68, 252, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(198, 68, 252, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 68, 252, 0); }
}

@keyframes pulse-entreprise {
    0% { box-shadow: 0 0 0 0 rgba(230, 0, 126, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(230, 0, 126, 0); }
    100% { box-shadow: 0 0 0 0 rgba(230, 0, 126, 0); }
}

@keyframes pulse-formation {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 102, 204, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0); }
}

@keyframes pulse-e6 {
    0% { box-shadow: 0 0 0 0 rgba(255, 149, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 149, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 149, 0, 0); }
}

@keyframes goldShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes pulse-icon {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* ==========================================================================
   5. STYLES SPÉCIFIQUES AUX PAGES
   ========================================================================== */

/* 5.1 Page d'accueil (index.html) */
/* Style spécifique pour la vidéo de la page d'accueil */
.slider:not(.enterprise-hero) .video-container video {
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 100vh;
    height: 100vh;
    object-fit: contain;
    max-width: none;
}

/* Features Section */
.features {
    background-color: #fff;
    padding: 120px 0;
}

.features h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -.003em;
    margin-bottom: 20px;
    text-align: center;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: var(--max-width-large);
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    min-height: 500px;
    padding: 44px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform var(--transition-default);
    cursor: pointer;
}

.content {
    color: var(--color-text);
    text-align: left;
    z-index: 2;
    max-width: 70%;
    position: relative;
}

.overline {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.gallery-item h3 {
    font-size: 28px;
    line-height: 1.1;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -.003em;
    color: var(--color-text);
}

.description {
    font-size: 17px;
    line-height: 1.47059;
    color: var(--color-text-secondary);
    letter-spacing: -.022em;
}

/* White text styles for dark cards */
.gallery-item[style*="background: #000000"] .content,
.gallery-item[style*="background: linear-gradient"] .content,
.gallery-item:nth-child(1) .content,
.gallery-item:nth-child(3) .content {
    color: #fff;
}

.gallery-item[style*="background: #000000"] .overline,
.gallery-item[style*="background: linear-gradient"] .overline,
.gallery-item:nth-child(1) .overline,
.gallery-item:nth-child(3) .overline {
    color: var(--color-text-light);
}

.gallery-item[style*="background: #000000"] h3,
.gallery-item[style*="background: linear-gradient"] h3,
.gallery-item:nth-child(1) h3,
.gallery-item:nth-child(3) h3 {
    color: #fff;
}

.gallery-item[style*="background: #000000"] .description,
.gallery-item[style*="background: linear-gradient"] .description,
.gallery-item:nth-child(1) .description,
.gallery-item:nth-child(3) .description {
    color: var(--color-text-light);
}

/* Image containers */
.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-default);
    transform: scale(1.1);
}

.gallery-item:hover .image-container img {
    transform: scale(1.15);
}

.expand-button {
    display: none;
}

/* About/Certifications Section */
.about {
    background-color: var(--color-background);
    padding: 130px 0;
    text-align: center;
}

.about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: var(--max-width-large);
}

.about .info {
    max-width: 800px;
}

.about h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -.003em;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: .011em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.certification-buttons {
    display: flex;
    justify-content: center;
    gap: 35px;
}

/* Skills Section */
.skills-section {
    background-color: #fff;
    padding: 80px 0;
    overflow: hidden;
}

.skills-header {
    text-align: left;
    max-width: var(--max-width-large);
    margin: 0 auto;
    padding: 0 30px;
}

.skills-header h2 {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -.003em;
    color: var(--color-text);
    margin-bottom: 10px;
    text-align: center;
}

.skills-header h3 {
    font-size: 28px;
    line-height: 1.10722;
    font-weight: 400;
    letter-spacing: .004em;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.skills-header .section-icon-header {
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.skills-header h2 {
    color: transparent !important;
    text-align: center;
    width: 100%;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: var(--max-width-large);
    margin: 0 auto;
    padding: 0 30px;
}

.skills-card {
    background: #000;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--transition-default);
}

.skills-card:hover {
    transform: scale(1.02);
}

.skills-card-content {
    position: relative;
    padding-top: 100%;
}

.skills-text {
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px;
    z-index: 2;
}

.skills-category {
    display: block;
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--color-text-light);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.skills-card h4 {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: .007em;
    color: #fff;
    margin-bottom: 4px;
}

.skills-description {
    font-size: 17px;
    line-height: 1.23536;
    font-weight: 400;
    letter-spacing: -.022em;
    color: var(--color-text-light);
}

.skills-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.skills-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    z-index: 1;
}

.skills-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-default);
}

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

/* 5.2 Page Entreprise */
/* Style spécifique pour la vidéo de la page Entreprise */
.enterprise-hero .video-container {
    padding-top: 56.25%; /* Ratio 16:9 */
}

.enterprise-hero .video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission Cards - Apple Store Style */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: var(--max-width-large);
    margin: 0 auto;
    padding: 0 30px;
}

.mission-card {
    background: #fff;
    border-radius: var(--border-radius-medium);
    overflow: hidden;
    text-decoration: none;
    transition: transform var(--transition-default);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
}

.mission-card:hover {
    transform: scale(1.02);
    box-shadow: 4px 8px 24px rgba(0, 0, 0, 0.12);
}

.mission-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mission-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-default);
}

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

.mission-text {
    padding: 30px;
    background: #fff;
}

.mission-category {
    display: block;
    font-size: 12px;
    line-height: 1.33337;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--color-link);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.mission-card h4 {
    font-size: 24px;
    line-height: 1.16667;
    font-weight: 600;
    letter-spacing: .009em;
    color: var(--color-text);
    margin-bottom: 8px;
}

.mission-description {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -.022em;
    color: var(--color-text-secondary);
}

/* 5.3 Page Mentions légales */
/* Mentions légales - Hero ajusté */
.mentions-hero {
    min-height: auto;
    padding: 120px 0 0;
}

.mentions-hero .hero-content {
    min-height: auto;
    padding: 0;
}

/* Titre Mentions Légales - h2 en noir, h1 en vert */
h2.mentions-title {
    color: #1d1d1f;
}

h1.mentions-title.animated-title {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 20px;
    text-align: center;
}

/* Legal Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.legal-section {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-section h2 {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: .007em;
    color: var(--color-text);
    margin-bottom: 20px;
    text-align: center;
}

.legal-section h2.mentions-title {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: .007em;
}

.legal-info {
    background-color: var(--color-background);
    border-radius: var(--border-radius-medium);
    padding: 30px;
    width: 100%;
    max-width: 700px;
    text-align: justify;
}

.legal-info p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -.022em;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    text-align: justify;
}

.legal-info p:last-child {
    margin-bottom: 0;
}

.legal-info strong {
    color: var(--color-text);
    font-weight: 600;
}

.legal-info a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition-default);
}

.legal-info a:hover {
    text-decoration: underline;
}

/* 5.4 Page E6 */
.e6-hero {
    min-height: auto;
    padding: 120px 0 60px;
    background: none;
}

.e6-hero .hero-content {
    min-height: auto;
    padding: 0;
}

.e6-hero .hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.e6-hero .hero-text-left {
    width: 100%;
    text-align: center;
}

.e6-hero .hero-text-left h1.animated-title {
    background-image: var(--gradient-e6);
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 20px;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.e6-hero .hero-subtitle {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: .011em;
    color: #86868b;
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
}

.e6-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.e6-section h2 {
    font-size: 28px;
    line-height: 1.14286;
    font-weight: 600;
    letter-spacing: .007em;
    color: #1d1d1f;
    margin: 24px 0;
}

.e6-info {
    width: 100%;
    max-width: 800px;
    padding: 0;
    background: none;
    box-shadow: none;
}

.e6-info > p {
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -.022em;
    color: #86868b;
    margin-bottom: 32px;
}

.e6-card {
    background: #fff;
    border-radius: 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.e6-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.e6-card-header {
    width: 100%;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #f5f5f7;
}

.e6-card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2271E6, #30B8C4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.e6-card-icon i {
    font-size: 20px;
    color: white;
}

.e6-card-title {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .007em;
    color: #1d1d1f;
}

.e6-card-content {
    padding: 20px 30px 30px;
    width: 100%;
}

.e6-card-details {
    margin: 15px 0;
    padding: 15px;
    background: #f5f5f7;
    border-radius: 12px;
}

.e6-card-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.e6-card-details li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #1d1d1f;
}

.e6-card-details li i {
    color: #2271E6;
    font-size: 16px;
}

.e6-info .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF9500, #FF3B30);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
}

.e6-info .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 149, 0, 0.2);
}

.e6-info .button i {
    display: none;
}

.e6-card-description {
    font-size: 15px;
    line-height: 1.4;
    color: #86868b;
    margin: 10px 0 20px;
}

/* 5.5 Page Bilan */
.bilan-hero h1,
.bilan-hero-content h1,
.bilan-section h2,
.bilan-section .animated-title {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent !important;
    animation: gradient 15s ease infinite;
    background-size: 200% 200%;
    background-image: var(--gradient-bilan);
}

/* CTA Section */
.cta-section {
    background-color: var(--color-background);
    text-align: center;
    padding: 60px 0;
}

.cta-section .button {
    display: inline-block;
    background-color: var(--color-link);
    color: #fff;
    font-size: 17px;
    line-height: 1.47059;
    padding: 8px 16px;
    border-radius: 980px;
    text-decoration: none;
    transition: all var(--transition-default);
}

.cta-section .button:hover {
    background-color: #0077ed;
    transform: scale(1.02);
}

/* Team Image Styles */
.team-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 40px;
    border-radius: var(--border-radius-medium);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* 5.6 Page Veille */
/* Style spécifique pour la page Veille */
.gallery-item[style*="linear-gradient"] {
    background: linear-gradient(to right bottom, #2271E6, #30B8C4) !important;
}

/* ==========================================================================
   6. MEDIA QUERIES
   ========================================================================== */

/* Grand écran / Tablette */
@media (max-width: 1068px) {
    .hero-content {
        padding: 45px 0 0;
    }

    .hero-text-container {
        padding: 0 20px;
        margin-bottom: 15px;
    }

    .hero-text-left h1 {
        font-size: 48px;
    }

    .video-container {
        padding-top: 55%;
    }

    .video-container video {
        width: 90vh;
        height: 90vh;
    }

    .features h2,
    .skills-header h2 {
        font-size: 40px;
    }

    .skills-header h3 {
        font-size: 24px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        min-height: 400px;
        padding: 35px;
    }

    .gallery-item h3 {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 734px) {
    .hero-content {
        padding: 35px 0 0;
    }

    .hero-text-container {
        padding: 0 16px;
        margin-bottom: 10px;
    }

    .hero-text-left h1 {
        font-size: 40px;
    }

    .video-container {
        padding-top: 60%;
    }

    .video-container video {
        width: 80vh;
        height: 80vh;
    }

    .features h2,
    .skills-header h2 {
        font-size: 32px;
    }

    .skills-header h3 {
        font-size: 19px;
    }

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

    .gallery-item {
        min-height: 350px;
        padding: 30px;
    }

    .gallery-item h3 {
        font-size: 21px;
    }

    .description {
        font-size: 15px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-image {
        height: 250px;
    }
    
    .e6-card-header {
        padding: 20px;
    }

    .e6-card-content {
        padding: 15px 20px 25px;
    }

    .e6-card-details {
        padding: 10px;
    }

    .e6-info .button {
        width: 100%;
        justify-content: center;
    }
}