/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bleu-spc: #1F4E79;
    --bleu-secondaire: #2196F3;
    --orange-spc: #F57C00;
    --gris-clair: #F5F5F5;
    --blanc: #FFFFFF;
    --noir: #000000;
    --gris-fonce: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--gris-fonce);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(31, 78, 121, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar.scrolled {
    background: var(--bleu-spc);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--orange-spc);
    transition: all 0.5s ease;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(245, 124, 0, 0.4);
}

.logo-img:hover {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 0 30px rgba(245, 124, 0, 0.8);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    color: var(--blanc);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 10px;
    color: var(--orange-spc);
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: var(--blanc);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--orange-spc);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--orange-spc);
}

.cta-nav {
    background: var(--orange-spc);
    color: var(--blanc);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-nav:hover {
    background: #E67200;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.4);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: var(--blanc);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bleu-spc) 0%, var(--bleu-secondaire) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--blanc);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--orange-spc);
    animation: lineExpand 2s ease forwards;
    animation-delay: 3s;
}

@keyframes lineExpand {
    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange-spc), #FF9800);
    color: var(--blanc);
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF9800, var(--orange-spc));
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(245, 124, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    border: 2px solid var(--blanc);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--blanc);
    color: var(--bleu-spc);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--blanc);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--blanc);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(20px); opacity: 0; }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-block;
    color: var(--orange-spc);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 20px;
    background: rgba(245, 124, 0, 0.1);
    border-radius: 30px;
    border: 2px solid var(--orange-spc);
}

.section-tag::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--orange-spc);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--bleu-spc);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: auto;
    transform: translateZ(0);
}

.section-desc {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--gris-clair);
}

.services-poles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-pole {
    background: var(--blanc);
    padding: 40px 35px;
    border-radius: 25px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-pole::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 124, 0, 0.06), transparent);
    transition: left 0.6s ease;
}

.service-pole:hover::before {
    left: 100%;
}

.service-pole:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(31, 78, 121, 0.18);
    border-color: var(--orange-spc);
}

.pole-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gris-clair);
    position: relative;
}

.pole-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange-spc), var(--bleu-secondaire));
    transition: width 0.5s ease;
}

.service-pole:hover .pole-header::after {
    width: 100%;
}

.pole-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    box-shadow: 0 5px 15px rgba(31, 78, 121, 0.3);
}

.pole-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--orange-spc), #FF9800);
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-pole:hover .pole-icon::before {
    opacity: 1;
}

.service-pole:hover .pole-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.5);
}

.pole-icon i {
    font-size: 36px;
    color: var(--blanc);
    position: relative;
    z-index: 1;
}

.pole-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--bleu-spc);
    letter-spacing: 1px;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
}

.pole-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.pole-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pole-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding: 12px 15px;
    background: var(--gris-clair);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pole-services-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, var(--orange-spc), #FF9800);
    transition: width 0.3s ease;
}

.service-pole:hover .pole-services-list li::before {
    width: 4px;
}

.pole-services-list li:hover {
    background: rgba(245, 124, 0, 0.05);
    transform: translateX(5px);
}

.pole-services-list li i {
    color: var(--orange-spc);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pole-services-list li span {
    flex: 1;
    font-weight: 500;
}

.service-pole {
    display: flex;
    flex-direction: column;
}

.service-pole .pole-services-list {
    flex: 1;
}

.pole-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    align-self: flex-start;
    color: var(--bleu-spc);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 22px;
    border: 2px solid var(--bleu-spc);
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.pole-link i {
    transition: transform 0.3s ease;
}

.pole-link:hover {
    background: var(--orange-spc);
    border-color: var(--orange-spc);
    color: var(--blanc);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.35);
}

.pole-link:hover i {
    transform: translateX(5px);
}

/* Pôle Detail Sections */
.pole-detail {
    background: var(--blanc);
}

.pole-detail--alt {
    background: var(--gris-clair);
}

.pole-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.prestation-card {
    background: var(--blanc);
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    border-top: 4px solid var(--bleu-secondaire);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pole-detail--alt .prestation-card {
    background: var(--blanc);
}

.prestation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(31, 78, 121, 0.16);
    border-color: var(--orange-spc);
}

.prestation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    box-shadow: 0 5px 15px rgba(31, 78, 121, 0.3);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.prestation-card:hover .prestation-icon {
    transform: rotate(360deg) scale(1.08);
    background: linear-gradient(135deg, var(--orange-spc), #FF9800);
    box-shadow: 0 10px 25px rgba(245, 124, 0, 0.45);
}

.prestation-icon i {
    font-size: 30px;
    color: var(--blanc);
}

.prestation-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--bleu-spc);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.prestation-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prestation-card ul li {
    position: relative;
    padding-left: 28px;
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
}

.prestation-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--orange-spc);
    font-size: 13px;
}

.pole-detail-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 45px;
}

.valeurs-block,
.cible-block {
    background: var(--blanc);
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.valeurs-block:hover,
.cible-block:hover {
    border-color: var(--orange-spc);
    box-shadow: 0 12px 30px rgba(31, 78, 121, 0.12);
}

.extra-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--bleu-spc);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.extra-title i {
    color: var(--orange-spc);
}

.valeurs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.valeur-tag {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(31, 78, 121, 0.07);
    color: var(--bleu-spc);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.valeur-tag:hover {
    background: var(--orange-spc);
    color: var(--blanc);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(245, 124, 0, 0.35);
}

.public-cible {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.public-cible li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    font-weight: 500;
}

.public-cible li i {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    color: var(--blanc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.pole-message {
    margin-top: 40px;
    padding: 35px 40px;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    border-radius: 20px;
    color: var(--blanc);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 40px rgba(31, 78, 121, 0.25);
}

.pole-message i {
    color: var(--orange-spc);
    font-size: 26px;
    margin-right: 12px;
    vertical-align: top;
}

/* About Section */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Valeurs communes (About) — version allégée, intégrée au texte */
.about-valeurs {
    margin-top: 28px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

.about-valeurs:hover {
    border: none;
    box-shadow: none;
}

.about-valeurs .extra-title {
    margin-bottom: 16px;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--gris-clair), #ffffff);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--orange-spc);
    box-shadow: 0 10px 30px rgba(245, 124, 0, 0.2);
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: scaleIn 0.5s ease forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-number::after {
    content: '+';
    background: linear-gradient(135deg, var(--orange-spc), #FF9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="50" height="50" xmlns="http://www.w3.org/2000/svg"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 10s linear infinite;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.image-icon {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.2);
    z-index: 2;
}

/* Valeurs fondamentales (fiche institutionnelle) */
.valeurs-fond {
    background: linear-gradient(180deg, #ffffff 0%, var(--gris-clair) 100%);
}

.valeurs-fond-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
}

.valeur-fond-card {
    background: var(--blanc);
    border-radius: 20px;
    padding: 36px 26px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.valeur-fond-card:hover {
    transform: translateY(-8px);
    border-color: var(--orange-spc);
    box-shadow: 0 12px 30px rgba(31, 78, 121, 0.12);
}

.valeur-fond-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(31, 78, 121, 0.25);
    transition: all 0.4s ease;
}

.valeur-fond-card:hover .valeur-fond-icon {
    transform: scale(1.1);
}

.valeur-fond-icon i {
    font-size: 34px;
    color: var(--blanc);
}

.valeur-fond-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--bleu-spc);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.valeur-fond-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Team Section */
.team {
    background: var(--gris-clair);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 124, 0, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.team::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.team .container {
    position: relative;
    z-index: 1;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.team-member {
    background: var(--blanc);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.team-member:hover::before {
    opacity: 0.03;
}

.team-member:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(31, 78, 121, 0.15);
    border-color: var(--orange-spc);
}

.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    position: relative;
}

.team-photo-placeholder i {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
}

.team-member:hover .team-photo-placeholder i {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.6);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.95), rgba(33, 150, 243, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.team-member:hover .team-social {
    transform: translateY(0);
}

.team-social-link {
    width: 45px;
    height: 45px;
    background: var(--orange-spc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(245, 124, 0, 0.3);
}

.team-social-link:hover {
    background: #E67200;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.5);
}

.team-social-link i {
    font-size: 18px;
}

.team-info {
    padding: 25px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--bleu-spc);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.team-member:hover .team-name {
    color: var(--orange-spc);
}

.team-role {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-top: 10px;
}

.team-role::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--orange-spc);
    transition: width 0.3s ease;
}

.team-member:hover .team-role::before {
    width: 60px;
}

/* Advantages Section */
.advantages {
    background: var(--bleu-spc);
}

.advantages .section-tag {
    color: var(--orange-spc);
}

.advantages .section-title {
    color: var(--blanc);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: var(--orange-spc);
}

.advantage-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--orange-spc), #FF9800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 5px 20px rgba(245, 124, 0, 0.4);
    position: relative;
}

.advantage-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px solid var(--orange-spc);
    opacity: 0;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 40px rgba(245, 124, 0, 0.6);
}

.advantage-card:hover .advantage-icon::before {
    opacity: 0.5;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.advantage-icon i {
    font-size: 45px;
    color: var(--blanc);
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.advantage-card p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: var(--gris-clair);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bleu-spc), var(--bleu-secondaire));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--blanc);
}

.contact-data h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--bleu-spc);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.contact-data p {
    font-size: 15px;
    color: #666;
}

.contact-form {
    background: var(--blanc);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bleu-spc);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Dynamic quote-form fields */
.conditional-fields[hidden] {
    display: none;
}

.conditional-fields.is-visible {
    animation: condSlideDown 0.35s ease;
    border-top: 1px dashed #E0E0E0;
    margin-bottom: 20px;
    padding-top: 18px;
}

.conditional-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--orange-spc);
    margin-bottom: 16px;
}

@keyframes condSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: var(--gris-clair);
}

.form-input:focus {
    outline: none;
    border-color: var(--bleu-spc);
    background: var(--blanc);
}

.form-input::placeholder {
    color: #999;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.btn-full {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--bleu-spc);
    color: var(--blanc);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--orange-spc);
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact {
    margin-top: 18px;
    line-height: 2;
}

.footer-contact i {
    color: var(--orange-spc);
    width: 18px;
    margin-right: 8px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange-spc);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--orange-spc);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 18px;
    }

    .nav-link {
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    /* Free up navbar width at this breakpoint (7 links + CTA) */
    .logo-sub {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bleu-spc);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .burger {
        display: flex;
        z-index: 1001;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .cta-nav {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 32px;
    }

    .services-poles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pole-detail-extra {
        grid-template-columns: 1fr;
    }

    .pole-message {
        font-size: 17px;
        padding: 28px 25px;
    }

    .pole-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .pole-icon {
        width: 65px;
        height: 65px;
    }

    .pole-icon i {
        font-size: 30px;
    }

    .pole-title {
        font-size: 18px;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
    }

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

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .logo-sub {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

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

    .service-pole {
        padding: 30px 25px;
    }

    .pole-description {
        font-size: 14px;
    }

    .pole-services-list li {
        font-size: 13px;
        padding: 10px 12px;
    }
}
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}
.image-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.image-wrapper video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}
.section-title-light{
    font-size: 48px;
    font-weight: 800;
    color: var(--bleu-spc);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    background: linear-gradient(110deg, var(--bleu-spc), var(--bleu-secondaire));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    will-change: auto;
    transform: translateZ(0);
}