/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a1f44;
    --primary-light: #1a3a6b;
    --accent: #1565c0;
    --accent-light: #1e88e5;
    --gold: #f9a825;
    --orange: #ff6d00;
    --green: #00c853;
    --teal: #00bfa5;
    --purple: #7c4dff;
    --red: #ff1744;
    --pink: #f50057;
    --cyan: #00e5ff;
    --bg-light: #e8f0fe;
    --bg-white: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #555;
    --text-light: #888;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 14px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    font-style: italic;
}

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

.logo-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.logo-slogan {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.horaires {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.phone-btn:hover {
    background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
}

.navbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links li a {
    display: block;
    padding: 14px 18px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
    background: rgba(255, 255, 255, 0.15);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 60%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a1f44 0%, #1a3a6b 25%, #1565c0 50%, #7c4dff 75%, #00bfa5 100%);
    background-size: 200% 200%;
    animation: heroGradient 8s ease infinite;
    margin-top: 115px;
    overflow: hidden;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero-logo-circle {
    width: 140px;
    height: 140px;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
    animation: float 3s ease-in-out infinite;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-logo-circle span {
    font-family: 'Montserrat', sans-serif;
    font-size: 72px;
    font-weight: 800;
    font-style: italic;
    color: var(--white);
}

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

.hero h1 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 strong {
    color: var(--gold);
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(249, 168, 37, 0.3);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-style: italic;
}

.hero-urgence {
    display: inline-block;
    background: rgba(255, 29, 68, 0.2);
    border: 1px solid rgba(255, 29, 68, 0.5);
    color: #ff6b6b;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
    animation: urgencePulse 2s ease-in-out infinite;
}

@keyframes urgencePulse {
    0%, 100% { background: rgba(255, 29, 68, 0.15); }
    50% { background: rgba(255, 29, 68, 0.3); }
}

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

.btn-pulse {
    animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 109, 0, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(255, 109, 0, 0.7), 0 0 60px rgba(255, 109, 0, 0.3); }
}

.section-cta-banner {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 40px;
}

.section-cta-banner a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
}

.section-cta-banner a:hover {
    text-decoration: underline;
}

.section-cta-box {
    margin-top: 50px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 109, 0, 0.1), rgba(255, 23, 68, 0.1));
    border: 2px solid rgba(255, 109, 0, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
}

.section-cta-box p {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 24px;
}

.section-cta-box .btn {
    font-size: 18px;
    padding: 16px 40px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 100%);
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 109, 0, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--purple));
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-title-left {
    text-align: left;
}

.section-title-left::after {
    margin: 16px 0 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 17px;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SERVICES ===== */
.services {
    background: linear-gradient(180deg, #f0f4ff 0%, #e8f5e9 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:nth-child(1) { border-top-color: var(--accent); }
.service-card:nth-child(2) { border-top-color: var(--green); }
.service-card:nth-child(3) { border-top-color: var(--red); }
.service-card:nth-child(4) { border-top-color: var(--orange); }
.service-card:nth-child(5) { border-top-color: var(--purple); }
.service-card:nth-child(6) { border-top-color: var(--teal); }
.service-card:nth-child(7) { border-top-color: var(--pink); }
.service-card:nth-child(8) { border-top-color: var(--cyan); }

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:nth-child(1) .service-icon { background: #e3f2fd; color: var(--accent); }
.service-card:nth-child(2) .service-icon { background: #e8f5e9; color: var(--green); }
.service-card:nth-child(3) .service-icon { background: #fce4ec; color: var(--red); }
.service-card:nth-child(4) .service-icon { background: #fff3e0; color: var(--orange); }
.service-card:nth-child(5) .service-icon { background: #ede7f6; color: var(--purple); }
.service-card:nth-child(6) .service-icon { background: #e0f2f1; color: var(--teal); }
.service-card:nth-child(7) .service-icon { background: #fce4ec; color: var(--pink); }
.service-card:nth-child(8) .service-icon { background: #e0f7fa; color: var(--cyan); }

.service-card:nth-child(1):hover .service-icon { background: var(--accent); color: white; }
.service-card:nth-child(2):hover .service-icon { background: var(--green); color: white; }
.service-card:nth-child(3):hover .service-icon { background: var(--red); color: white; }
.service-card:nth-child(4):hover .service-icon { background: var(--orange); color: white; }
.service-card:nth-child(5):hover .service-icon { background: var(--purple); color: white; }
.service-card:nth-child(6):hover .service-icon { background: var(--teal); color: white; }
.service-card:nth-child(7):hover .service-icon { background: var(--pink); color: white; }
.service-card:nth-child(8):hover .service-icon { background: var(--cyan); color: white; }

.service-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== SECTEURS ===== */
.secteurs {
    background: var(--white);
    position: relative;
}

.secteurs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--teal), var(--green), var(--gold), var(--orange), var(--red), var(--pink), var(--purple));
}

.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.secteur-card {
    background: linear-gradient(135deg, #f5f7ff 0%, #e8f0fe 100%);
    padding: 24px 16px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.secteur-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.15);
}

.secteur-card.secteur-principal {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
}

.secteur-card.secteur-principal .secteur-icon {
    color: var(--gold);
}

.secteur-card.secteur-principal h3 {
    color: var(--white);
}

.secteur-card.secteur-principal p {
    color: rgba(255, 255, 255, 0.8);
}

.secteur-icon {
    color: var(--accent);
    margin-bottom: 12px;
}

.secteur-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.secteur-card p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

.secteurs-note {
    text-align: center;
    margin-top: 32px;
    padding: 20px;
    background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text-gray);
    border-left: 4px solid var(--accent);
}

.secteurs-note a {
    color: var(--accent);
    font-weight: 700;
}

.secteurs-note a:hover {
    text-decoration: underline;
}

/* ===== POURQUOI ===== */
.pourquoi {
    background: linear-gradient(135deg, #0a1f44 0%, #1a3a6b 30%, #7c4dff 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.pourquoi::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -200px;
    right: -100px;
}

.pourquoi::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.05);
    bottom: -100px;
    left: -50px;
}

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

.pourquoi .section-title {
    color: var(--white);
}

.pourquoi .section-title::after {
    background: linear-gradient(90deg, var(--gold), var(--orange));
}

.pourquoi .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pourquoi-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.pourquoi-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}

.pourquoi-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
    margin-bottom: 12px;
}

.pourquoi-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ===== AVIS ===== */
.avis {
    background: linear-gradient(180deg, #fff8e1 0%, #fff3e0 50%, #fce4ec 100%);
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.avis-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--gold);
    position: relative;
}

.avis-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 64px;
    font-family: Georgia, serif;
    color: rgba(249, 168, 37, 0.15);
    line-height: 1;
}

.avis-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.avis-stars {
    color: var(--gold);
    font-size: 22px;
    margin-bottom: 16px;
    letter-spacing: 4px;
    text-shadow: 0 1px 3px rgba(249, 168, 37, 0.3);
}

.avis-text {
    font-size: 15px;
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.7;
}

.avis-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avis-card:nth-child(1) .avis-avatar { background: linear-gradient(135deg, var(--accent), var(--purple)); }
.avis-card:nth-child(2) .avis-avatar { background: linear-gradient(135deg, var(--teal), var(--green)); }
.avis-card:nth-child(3) .avis-avatar { background: linear-gradient(135deg, var(--orange), var(--pink)); }

.avis-avatar {
    width: 48px;
    height: 48px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.avis-author strong {
    display: block;
    font-size: 15px;
    color: var(--primary);
}

.avis-author span {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== À PROPOS ===== */
.apropos {
    background: var(--white);
}

.apropos-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.apropos-text p {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.apropos-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--bg-light);
}

.stat {
    text-align: center;
}

.stat:nth-child(1) .stat-number { color: var(--accent); }
.stat:nth-child(2) .stat-number { color: var(--green); }
.stat:nth-child(3) .stat-number { color: var(--orange); }
.stat:nth-child(4) .stat-number { color: var(--purple); }

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 900;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
}

.apropos-placeholder {
    background: linear-gradient(135deg, #e3f2fd 0%, #ede7f6 50%, #e0f2f1 100%);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    color: var(--accent);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 2px dashed rgba(21, 101, 192, 0.2);
}

.apropos-placeholder p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
}

/* ===== FAQ ===== */
.faq {
    background: linear-gradient(180deg, #ede7f6 0%, #e3f2fd 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border-left: 4px solid var(--purple);
    transition: var(--transition);
}

.faq-item:nth-child(2) { border-left-color: var(--accent); }
.faq-item:nth-child(3) { border-left-color: var(--teal); }
.faq-item:nth-child(4) { border-left-color: var(--green); }
.faq-item:nth-child(5) { border-left-color: var(--orange); }
.faq-item:nth-child(6) { border-left-color: var(--pink); }

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--purple);
}

.faq-question svg {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--purple);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ===== CONTACT ===== */
.contact {
    background: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--teal), var(--green), var(--gold), var(--orange), var(--red), var(--pink), var(--purple));
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item:nth-child(1) .contact-icon { background: linear-gradient(135deg, var(--green), var(--teal)); }
.contact-item:nth-child(2) .contact-icon { background: linear-gradient(135deg, var(--accent), var(--purple)); }
.contact-item:nth-child(3) .contact-icon { background: linear-gradient(135deg, var(--orange), var(--red)); }
.contact-item:nth-child(4) .contact-icon { background: linear-gradient(135deg, var(--gold), var(--orange)); }

.contact-item h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--accent);
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
    color: var(--purple);
}

.contact-item p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Form */
.contact-form {
    background: linear-gradient(135deg, #f5f7ff 0%, #ede7f6 100%);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid rgba(124, 77, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
}

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

.contact-form .btn {
    margin-top: 8px;
    border: none;
    font-size: 16px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
}

.contact-form .btn:hover {
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.4);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0a1f44 0%, #1a1a2e 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, var(--accent), var(--purple));
}

.footer-logo .logo-name {
    color: var(--white);
}

.footer-logo .logo-slogan {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col p {
    font-size: 14px;
    margin-top: 16px;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--orange));
    margin-top: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--cyan);
    padding-left: 4px;
}

.footer-cities {
    text-align: center;
    padding: 20px 0;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 2;
}

.footer-cities a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-cities a:hover {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    background: linear-gradient(90deg, transparent, rgba(124, 77, 255, 0.1), transparent);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(124, 77, 255, 0.5);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CHATBOT ===== */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.4);
    transition: var(--transition);
    z-index: 1001;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 200, 83, 0.5);
}

.chatbot-toggle.shifted {
    bottom: 100px;
}

.chatbot-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.chatbot-toggle.active .chatbot-badge {
    display: none;
}

.chatbot {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-height: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chatbot.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-header-info strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.chatbot-status {
    font-size: 12px;
    color: var(--green);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    font-size: 20px;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: var(--transition);
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 350px;
    min-height: 300px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    animation: messageIn 0.3s ease;
}

@keyframes messageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.bot {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.chat-message.user {
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    color: var(--white);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-message p {
    margin: 0;
}

.chat-message a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

.chat-message.user a {
    color: var(--gold);
}

.chatbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
}

.suggestion-btn {
    background: var(--white);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.suggestion-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.chatbot-input {
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid #eee;
    gap: 8px;
    background: var(--white);
}

.chatbot-input input {
    flex: 1;
    border: 1.5px solid #ddd;
    border-radius: 24px;
    padding: 10px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--accent);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-input button:hover {
    box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
}

.chatbot-typing {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    align-self: flex-start;
}

.chatbot-typing span {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    animation: typing 1.2s ease-in-out infinite;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-4px); }
}

/* ===== RESPONSIVE ===== */

/* Tablette paysage */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .secteurs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .pourquoi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .apropos-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .nav-links li a {
        padding: 14px 12px;
        font-size: 13px;
    }
}

/* Tablette portrait & petits écrans */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }

    .header-top-inner {
        flex-direction: column;
        gap: 10px;
        padding: 8px 16px;
    }

    .header-info {
        gap: 12px;
        width: 100%;
        justify-content: center;
    }

    .horaires {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .logo-name {
        font-size: 16px;
    }

    .mobile-toggle {
        display: block;
    }

    .navbar-inner {
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        box-shadow: var(--shadow-hover);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        padding: 14px 24px;
        font-size: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hero {
        min-height: 70vh;
        margin-top: 90px;
    }

    .hero h1 {
        font-size: 26px;
    }

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

    .hero-logo-circle {
        width: 100px;
        height: 100px;
    }

    .hero-logo-circle span {
        font-size: 48px;
    }

    .section {
        padding: 50px 0;
    }

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

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }

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

    .service-card {
        padding: 24px 16px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-card h3 {
        font-size: 15px;
    }

    .service-card p {
        font-size: 13px;
    }

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

    .pourquoi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pourquoi-card {
        padding: 24px;
    }

    .pourquoi-number {
        font-size: 36px;
    }

    .pourquoi-card h3 {
        font-size: 18px;
    }

    .avis-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .avis-card {
        padding: 24px;
    }

    .apropos-content {
        grid-template-columns: 1fr;
    }

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

    .apropos-placeholder {
        min-height: 250px;
        padding: 40px 24px;
    }

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

    .contact-form {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4::after {
        margin: 8px auto 0;
    }

    .footer-logo .logo {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .phone-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 20px 16px;
        font-size: 14px;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 90px;
        right: 16px;
    }

    .chatbot-toggle {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 16px;
    }

    .chatbot {
        bottom: 84px;
        right: 10px;
        left: 10px;
        width: auto;
        max-height: 70vh;
    }

    .chatbot-messages {
        max-height: 50vh;
        min-height: 200px;
    }
}

/* Smartphone */
@media (max-width: 480px) {
    .header-top-inner {
        padding: 8px 12px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .logo-name {
        font-size: 14px;
    }

    .logo-slogan {
        font-size: 10px;
    }

    .phone-btn {
        padding: 8px 14px;
        font-size: 13px;
        gap: 6px;
    }

    .phone-btn svg {
        width: 16px;
        height: 16px;
    }

    .hero {
        min-height: 60vh;
        margin-top: 80px;
    }

    .hero h1 {
        font-size: 22px;
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 10px;
    }

    .hero-logo-circle {
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
    }

    .hero-logo-circle span {
        font-size: 40px;
    }

    .hero-content {
        padding: 20px 12px;
    }

    .section {
        padding: 40px 0;
    }

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

    .section-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .container {
        padding: 0 14px;
    }

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

    .service-card {
        padding: 20px 16px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .secteurs-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .secteur-card {
        padding: 16px 12px;
    }

    .pourquoi-card {
        padding: 20px 16px;
    }

    .avis-card {
        padding: 20px 16px;
    }

    .apropos-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 11px;
    }

    .contact-item {
        margin-bottom: 20px;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }

    .contact-form {
        padding: 20px 14px;
    }

    .contact-form .btn {
        padding: 14px 24px;
        font-size: 14px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-grid {
        gap: 24px;
    }

    .footer-col ul li {
        font-size: 13px;
    }

    .footer-bottom {
        padding: 16px 0;
        font-size: 12px;
    }

    .secteurs-note {
        font-size: 13px;
        padding: 14px;
    }

    .faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }

    .faq-answer p {
        padding: 0 16px 14px;
        font-size: 13px;
    }
}

/* iPhone SE et très petits écrans */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 20px;
    }

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

    .hero-logo-circle {
        width: 70px;
        height: 70px;
    }

    .hero-logo-circle span {
        font-size: 36px;
    }

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

    .logo-name {
        font-size: 13px;
        letter-spacing: 0;
    }

    .logo-slogan {
        font-size: 9px;
    }

    .phone-btn span {
        display: none;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .pourquoi-number {
        font-size: 32px;
    }

    .pourquoi-card h3 {
        font-size: 16px;
    }

    .stat-number {
        font-size: 22px;
    }
}

/* Fix pour les écrans tactiles - désactiver les effets hover */
@media (hover: none) {
    .service-card:hover,
    .secteur-card:hover,
    .pourquoi-card:hover,
    .avis-card:hover {
        transform: none;
    }

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

    .btn-primary:hover {
        transform: none;
    }

    .btn-outline:hover {
        transform: none;
    }
}

/* Fix pour l'encoche et barre de navigation iPhone (safe areas) */
@supports (padding: max(0px)) {
    .header {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .footer-bottom {
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .back-to-top {
        bottom: max(20px, calc(env(safe-area-inset-bottom) + 10px));
    }
}

/* Orientation paysage sur mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-logo-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .hero-logo-circle span {
        font-size: 30px;
    }

    .hero h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        margin-bottom: 20px;
    }
}
