/* Menu mobile simplifié */

/* Panneau menu mobile autonome */
.mobile-menu-panel {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 100000;
    padding: 80px 24px 24px;
}

.mobile-menu-panel.open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.mobile-menu-panel a {
    display: block;
    text-decoration: none;
    color: #1C1C1C;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 16px;
}

.mobile-menu-panel a.btn-contact {
    background: transparent;
    color: #1C1C1C;
    border-radius: 0;
    margin-top: 8px;
}

:root {
    --primary: #00527F;
    --primary-light: #5EC3B2;
    --accent: #D77A61;
    --neutral-light: #5EC3B2;
    --neutral-medium: #AA958D;
    --dark: #1C1C1C;
    --secondary: var(--primary-light);
    --accent-light: rgba(215, 122, 97, .1);
    --gray: var(--neutral-medium);
    --light-gray: var(--neutral-light);
    --white: #fff;
    --success: var(--primary-light);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #E8A082 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / .1);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / .25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: .3s
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none
}

.logo-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

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

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .5px;
    color: var(--primary)
}

.logo-main.logo-up {
    color: var(--primary-light)
}

.logo-tagline {
    font-size: .75rem;
    color: var(--gray);
    font-weight: 600;
    margin-top: .25rem;
    letter-spacing: .5px
}

.nav-container {
    position: relative;
    background: rgba(240, 249, 255, .8);
    padding: .5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px)
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
}

/* MENU MOBILE - SIMPLE */
.nav-menu.active {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #fff !important;
    z-index: 99999 !important;
    padding: 80px 20px 20px !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-menu.active li {
    list-style: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    text-align: center !important;
    display: block !important;
}

.nav-menu.active .nav-link {
    display: block !important;
    padding: 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    background: none !important;
    border: none !important;
    margin: 0 !important;
}

.nav-menu.active .btn-contact {
    display: block !important;
    padding: 15px !important;
    background: transparent !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    margin: 20px auto 0 auto !important;
    width: auto !important;
    text-align: center !important;
}

.nav-indicator {
    display: none !important;
}

.nav-link {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    font-size: .95rem;
    transition: .3s cubic-bezier(.25, .46, .45, .94);
    position: relative;
    padding: .8rem 1.5rem;
    border-radius: 10px;
    z-index: 2
}

.nav-link.active {
    color: var(--primary)
}

.nav-indicator {
    position: absolute;
    top: .5rem;
    height: calc(100% - 1rem);
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 82, 127, .15);
    transition: .4s cubic-bezier(.25, .46, .45, .94);
    z-index: 1
}

.btn-contact {
    background: transparent;
    color: var(--dark);
    padding: .6rem 1.5rem;
    border-radius: 10px;
    transition: .3s;
    text-decoration: none;
    font-weight: 600;
    margin-left: .5rem;
    position: relative;
    overflow: hidden
}

.btn-contact::before {
    display: none;
}

.btn-contact:hover::before {
    left: 100%
}

.btn-contact:hover {
    transform: none;
    box-shadow: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

body {
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}


/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 82, 127, .05) 0%, rgba(94, 195, 178, .05) 100%);
    z-index: 0
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,82,127,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: .4;
    animation: float 20s ease-in-out infinite
}

.hero-background::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 40%;
    height: 160%;
    background: radial-gradient(circle, rgba(215, 122, 97, .08) 0%, transparent 70%);
    animation: rotate 25s linear infinite
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 82, 127, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 82, 127, .1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: .3
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    margin: 0 auto
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    padding: .5rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    color: var(--white);
    font-weight: 600;
    font-size: .9rem;
    animation: fadeInUp .8s ease
}

.hero-badge svg {
    width: 20px;
    height: 20px
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp .8s ease .2s both
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp .8s ease .4s both
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp .8s ease .6s both
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: .3s;
    border: none;
    cursor: pointer
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
    transition: left .5s
}

.btn-primary:hover::before {
    left: 100%
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2)
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--accent)
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    background: var(--accent-light)
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp .8s ease .8s both
}

.stat-item {
    text-align: center
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent)
}

.stat-label {
    font-size: .9rem;
    color: var(--gray);
    margin-top: .25rem
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--light-gray)
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    position: relative
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite
}

/* About */
.about {
    padding: 8rem 0;
    background: var(--white);
    position: relative
}

.section-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    opacity: .8;
    transition: .3s
}

.section-logo:hover {
    opacity: 1;
    transform: scale(1.05)
}

.section-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center
}

.about-text {
    opacity: 0;
    animation: fadeInLeft 1s ease .3s forwards
}

.about-visual {
    opacity: 0;
    animation: fadeInRight 1s ease .5s forwards
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.8
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--dark)
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center
}

.security-icon img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 82, 127, .2));
    animation: float 6s ease-in-out infinite
}

/* ISO */
.iso-section {
    padding: 8rem 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden
}

.iso-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(28,28,28,0.05)"/></pattern></defs><rect width="60" height="60" fill="url(%23dots)"/></svg>');
    opacity: .6;
    animation: pulse 8s ease-in-out infinite
}

.iso-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 30%;
    height: 30%;
    background: radial-gradient(circle, rgba(0, 82, 127, .08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative
}

.section-logo-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    opacity: .9;
    transition: .3s;
    filter: drop-shadow(0 10px 20px rgba(0, 82, 127, .2))
}

.section-logo-large:hover {
    opacity: 1;
    transform: scale(1.05)
}

.section-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.section-logo-services {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    opacity: .8;
    transition: .3s;
    filter: drop-shadow(0 8px 16px rgba(215, 122, 97, .2))
}

.section-logo-services:hover {
    opacity: 1;
    transform: scale(1.05)
}

.section-logo-services img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.section-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: .5rem 1.5rem;
    border-radius: 50px;
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(215, 122, 97, .3)
}

.iso-intro {
    max-width: 900px;
    margin: 0 auto
}

.iso-intro h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark)
}

.iso-intro p {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1.5rem
}

.iso-importance {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow)
}

.iso-importance h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark)
}

/* Services */
.services {
    padding: 8rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden
}

.services::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="50" height="43.3" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.3 0,28.9 0,14.4" fill="none" stroke="rgba(94,195,178,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: .5;
    animation: float 25s ease-in-out infinite
}

.services::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -15%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(215, 122, 97, .06) 0%, transparent 70%);
    animation: rotate 20s linear infinite
}

/* >>> Grille services corrigée */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-top: 3rem;
}

/* Cartes */
.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--light-gray);
    transition: .4s cubic-bezier(.25, .46, .45, .94);
    position: relative;
    transform: translateY(0);
    opacity: 0;
    animation: slideInUp .8s ease forwards;

    /* largeur responsive propre */
    flex: 1 1 340px;
    /* base */
    width: auto;
    max-width: 100%;
}

.service-card:nth-child(1) {
    animation-delay: .2s
}

.service-card:nth-child(2) {
    animation-delay: .4s
}

.service-card.featured {
    background: var(--gradient);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;

    /* un peu plus large si possible */
    flex: 1 1 360px;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    border-color: var(--accent)
}

.service-card.featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .05) 100%);
    pointer-events: none
}

.service-card.featured h3,
.service-card.featured p {
    color: var(--white)
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, .2);
    color: var(--white)
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, .3);
    color: var(--white);
    padding: .4rem 1rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    border: 2px solid var(--accent);
    transition: .4s cubic-bezier(.25, .46, .45, .94)
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    animation: bounce .6s ease
}

.service-icon svg {
    width: 30px;
    height: 30px
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark)
}

.service-card p {
    color: var(--dark);
    line-height: 1.8
}

/* Financement */
.financement {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #003d5c 100%);
    color: var(--white);
    position: relative
}

.financement::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(215,122,97,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: .4;
    pointer-events: none
}

.financement-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1
}

.financement-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(215, 122, 97, .3)
}

.financement-icon svg {
    width: 40px;
    height: 40px
}

.financement-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem
}

.financement-content h3 {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-weight: 700
}

.financement-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, .8)
}

.financement .btn-primary {
    margin-top: 2rem
}

/* Partenariat */
.partenariat {
    padding: 8rem 0;
    background: var(--light-gray);
    position: relative;
    overflow: hidden
}

.partenariat::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><defs><pattern id="waves" width="80" height="40" patternUnits="userSpaceOnUse"><path d="M0,20 Q20,10 40,20 T80,20 V40 Q60,30 40,40 T0,40 Z" fill="rgba(28,28,28,0.03)" stroke="rgba(94,195,178,0.1)" stroke-width="0.5"/></pattern></defs><rect width="80" height="80" fill="url(%23waves)"/></svg>');
    opacity: .7;
    animation: float 18s ease-in-out infinite
}

.partenariat::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(94, 195, 178, .1) 0%, transparent 70%);
    animation: pulse 12s ease-in-out infinite
}

.partenariat-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem
}

.partenariat-text {
    opacity: 0;
    animation: fadeInLeft 1s ease .4s forwards
}

.partenariat-logo {
    opacity: 0;
    animation: fadeInRight 1s ease .6s forwards;
    display: flex;
    justify-content: center;
    align-items: center
}

.partenariat-text p {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 1.5rem
}

.partner-badge {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    text-align: center
}

.partner-icon {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1)
}

.partner-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.partner-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: .3s
}

.partner-link:hover {
    transform: translateY(-5px)
}

.partner-link:hover .partner-icon {
    box-shadow: 0 15px 35px rgba(0, 0, 0, .2)
}

.partner-badge span {
    display: block;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem
}

/* Contact */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(0, 82, 127, .02) 0%, rgba(94, 195, 178, .02) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(0,82,127,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: .5;
    pointer-events: none;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.contact-header>p {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Carte de contact principale */
.contact-card {
    background: var(--white);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .1);
    border: 1px solid rgba(255, 255, 255, .8);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: .4s cubic-bezier(.25, .46, .45, .94);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(94, 195, 178, .1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, .15);
}

.contact-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 15px 35px rgba(0, 82, 127, .3);
    position: relative;
    overflow: hidden;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .05) 100%);
    pointer-events: none;
}

.contact-icon svg {
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-gray);
    padding: 1rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    transition: .3s;
    border: 2px solid transparent;
    margin-bottom: 1rem;
}

.email-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 82, 127, .3);
}

.email-text {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
}

.contact-note {
    color: var(--gray);
    font-style: italic;
    font-size: .95rem;
    margin: 0;
}

/* Features en bas de la carte */
.contact-features {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 82, 127, .1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--dark);
    font-weight: 500;
    font-size: .95rem;
}

.feature-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-light);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, #003d5c 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1
}

.footer-brand .logo {
    margin-bottom: 1rem
}

.footer-brand .logo-image {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2)
}

.footer-brand p {
    color: rgba(255, 255, 255, .6);
    margin-top: 1rem
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--white)
}

.footer-column ul {
    list-style: none
}

.footer-column ul li {
    margin-bottom: .75rem
}

.footer-column a {
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .3s
}

.footer-column a:hover {
    color: var(--white)
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .7);
    position: relative;
    z-index: 1
}

/* Logo flottant */
.floating-logo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: .3s;
    border: 3px solid var(--accent)
}

.floating-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(215, 122, 97, .3)
}

.floating-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    40% {
        transform: translateX(-50%) translateY(-10px)
    }

    60% {
        transform: translateX(-50%) translateY(-5px)
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0)
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px)
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-20px)
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: .3
    }

    50% {
        opacity: .6
    }
}

@keyframes slideInUp {
    0% {
        transform: translateY(50px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

@keyframes fadeInLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes fadeInRight {
    0% {
        transform: translateX(50px);
        opacity: 0
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0)
    }

    40%,
    43% {
        transform: translate3d(0, -10px, 0)
    }

    70% {
        transform: translate3d(0, -5px, 0)
    }

    90% {
        transform: translate3d(0, -2px, 0)
    }
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        display: none !important;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1.1rem
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem
    }

    .stat-divider {
        display: none
    }

    .about-content,
    .partenariat-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about,
    .services,
    .iso-section,
    .financement,
    .partenariat,
    .contact {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* (on garde .services-grid en flex-wrap centré, pas de grid-template-columns ici) */

    .footer-content,
    .footer-links {
        grid-template-columns: 1fr
    }
}

/* ≤ 768px : 2 colonnes fluides si possible */
@media (max-width: 768px) {
    .services-grid {
        gap: 24px
    }

    .service-card,
    .service-card.featured {
        flex: 1 1 320px;
        max-width: 500px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .partenariat-content {
        grid-template-columns: 1fr;
        gap: 2rem
    }
}

/* ≤ 640px : 1 colonne centrée */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }

    .trust-badges {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }

    /* Contact responsive */
    .contact-main {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .contact-features {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .email-link {
        flex-direction: column;
        gap: .5rem;
        padding: 1.5rem;
    }

    .services-grid {
        gap: 20px;
        padding: 0;
    }

    .service-card,
    .service-card.featured {
        flex: 1 1 100%;
        max-width: 100%;
        margin-inline: auto;
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .security-icon img {
        width: 200px;
        height: 200px
    }

    .iso-intro h3 {
        font-size: 1.5rem;
    }

    .iso-intro p,
    .iso-importance p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .about-text p,
    .partenariat-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .financement-content h2 {
        font-size: 2rem;
    }

    .financement-content h3 {
        font-size: 1.5rem;
    }

    .financement-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-info p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .floating-logo {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px
    }

    .nav-menu {
        width: 85%;
        max-width: 100%;
        padding: 5rem 1.5rem 2rem;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .logo-image {
        width: 50px;
        height: 50px;
    }
}

/* Très petits écrans */
@media (max-width: 400px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .service-card,
    .service-card.featured {
        padding: 1.5rem 1rem;
    }

    .nav-menu {
        width: 90%;
        padding: 5rem 1rem 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 1rem 0.8rem;
    }
}