
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #333;
    background: #ffffff;
}

/* Heading hierarchy */
h1 { font-size: clamp(1.875rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 600; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 1.75vw, 1.3rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

@keyframes rotate-180 {
    0% { transform: rotate(0deg); }
    40% { transform: rotate(180deg); }
    60% { transform: rotate(180deg); }
    100% { transform: rotate(0deg); }
}

/* Legal Pages Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 20px 60px;
    line-height: 1.8;
    font-weight: 400;
}

.legal-content h1 {
    color: #0ea5e9;
    margin-bottom: 40px;
    font-size: 2.5em;
    text-align: center;
}

.legal-content h2 {
    color: #0c4a6e;
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8em;
}

.legal-content h3 {
    color: #0c4a6e;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.legal-content p {
    margin-bottom: 15px;
    color: #333;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-content a {
    color: #0ea5e9;
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.back-btn {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: #0ea5e9;
    color: white !important;
    text-decoration: none !important;
    border-radius: 5px;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #0284c7;
}

/* Scroll Animations - Enhanced */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.5s; }

/* Blur fade animation */
.blur-in {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.8s ease, filter 0.8s ease, transform 0.8s ease;
}

.blur-in.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Smooth reveal from bottom */
.reveal-up {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transition: opacity 0.9s cubic-bezier(0.77, 0, 0.175, 1),
                clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1);
}

.reveal-up.visible {
    opacity: 1;
    clip-path: inset(0 0 0 0);
}

/* Navigation */
nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    height: 50px;
    width: auto;
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.4));
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0ea5e9;
    transition: width 0.25s ease;
    border-radius: 9999px;
}

.nav-links a:hover {
    color: #0ea5e9;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Bouton CTA navbar */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1.1rem;
    border-radius: 0.4rem;
    background: #0ea5e9;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta-btn .material-symbols-outlined {
    font-size: 1rem;
    transition: transform 0.2s;
}

.nav-cta-btn:hover {
    background: #0284c7;
    transform: translateY(-1px);
}

.nav-cta-btn:hover .material-symbols-outlined {
    transform: translateX(3px);
}



/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5rem;
    overflow: hidden;
    background: #ffffff;
}

/* Blobs décoratifs */
.blob {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.blob-1 {
    top: 0; right: 0;
    width: 40vw; height: 40vw;
    background: rgba(186, 230, 253, 0.45);
    filter: blur(120px);
    transform: translate(25%, -25%);
}
.blob-2 {
    bottom: 0; left: 0;
    width: 30vw; height: 30vw;
    background: rgba(255, 87, 87, 0.18);
    filter: blur(80px);
    transform: translate(-25%, 25%);
}

/* Grid interne */
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

/* Colonne gauche */
.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.875rem;
    border-radius: 9999px;
    background: #f3f4f6;
    width: fit-content;
}
.badge-dot {
    width: 0.5rem; height: 0.5rem;
    border-radius: 50%;
    background: #0ea5e9;
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.35; }
}
.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5e6d82;
}

/* Titre */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: #0d121b;
}
.title-gradient {
    background: linear-gradient(to right, #0ea5e9, #60c8fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sous-titre */
.hero-sub {
    font-size: 1rem;
    color: #5e6d82;
    max-width: 36rem;
    line-height: 1.75;
}

/* CTA row */
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 3.5rem;
    padding: 0 2rem;
    border-radius: 0.5rem;
    background: #0ea5e9;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -4px rgba(14,165,233,.35);
    transition: background 0.25s, transform 0.2s;
}
.btn-hero-primary:hover { background: #0284c7; transform: translateY(-2px); }
.btn-hero-primary:hover .icon-forward { transform: translateX(4px); }
.icon-forward { transition: transform 0.2s; font-size: 1.125rem; }

.link-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0d121b;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}
.link-secondary:hover { color: #0ea5e9; }
.link-secondary:hover .icon-down { transform: translateY(4px); }
.icon-down { transition: transform 0.2s; font-size: 1.125rem; }

/* Colonne droite — cartes glassmorphism */
.hero-visual {
    display: none;
    position: relative;
    height: 500px;
}
.visual-scene {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}
.glass {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 1rem;
}
.card-stats {
    position: absolute;
    top: 0.5rem; right: 1.5rem;
    width: 19rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.15);
    transform: rotate(3deg);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.stack-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.stats-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    background: #f0f9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
    flex-shrink: 0;
}
.stats-label-top { font-size: 0.875rem; font-weight: 700; color: #0d121b; }
.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.stack-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    background: #f0f9ff;
    color: #0ea5e9;
    border: 1px solid rgba(14,165,233,.2);
}
.card-testimonial {
    position: absolute;
    bottom: 2rem; left: 1.5rem;
    width: 17rem;
    padding: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
    transform: rotate(-3deg);
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.services-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0ea5e9;
}
.services-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
}
.services-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0d121b;
}
.svc-icon {
    font-size: 1rem;
    color: #0ea5e9;
}
.deco-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}
.deco-circle-1 { width: 24rem; height: 24rem; border: 1px solid #e5e7eb; z-index: -1; }
.deco-circle-2 { width: 31rem; height: 31rem; border: 1px solid #f3f4f6; z-index: -2; }

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════════════════════════════════════════════════════════
   COMPARATIF SECTION
════════════════════════════════════════════════════════ */
.compare-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 4rem;
    text-align: center;
}

.compare-title {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 800;
    color: #0d121b;
    margin: 0;
}

.compare-section {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    border-top: 1px solid #E2E8F0;
    border-left: 1px solid #E2E8F0;
    border-right: 1px solid #E2E8F0;
    padding-top: 0;
}

.panel {
    width: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.panel-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.panel-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-text h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Panneau gauche — mauvais */
.panel-bad {
    background: #ffffff;
    border-bottom: 1px solid #E2E8F0;
}

.panel-bad .panel-eyebrow { color: #EF4444; }

.panel-bad .panel-title { color: #9CA3AF; }

.panel-bad .strikethrough {
    text-decoration: line-through;
    text-decoration-color: #EF4444;
    text-decoration-thickness: 4px;
}

.panel-bad .feature-item { opacity: 0.6; }

.icon-bad {
    color: #EF4444;
    font-size: 1.875rem;
    line-height: 1;
    flex-shrink: 0;
}

.panel-bad .feature-text h4 { color: #1E293B; }
.panel-bad .feature-text p  { color: #64748B; }

/* Panneau droit — bon */
.panel-good {
    background: #F8FAFC;
}

.panel-good::before {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 24rem; height: 24rem;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.panel-good::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(14, 165, 233, 0.03);
    pointer-events: none;
    z-index: 0;
}

.panel-good > * { position: relative; z-index: 1; }

.panel-good .panel-eyebrow { color: #0ea5e9; font-weight: 700; }

.panel-good .panel-title { color: #1E293B; }

.panel-highlight { color: #0ea5e9; }

.icon-good-wrap {
    padding: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.feature-item:hover .icon-good-wrap {
    background: rgba(34, 197, 94, 0.2);
}

.icon-good {
    color: #22C55E;
    font-size: 1.5rem;
    display: block;
}

.panel-good .feature-text h4 { color: #1E293B; }
.panel-good .feature-text p  { color: #64748B; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.demos-section {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

section {
    padding: 60px 20px;
    scroll-margin-top: 68px;
}

.section-light {
    background: #ffffff;
}

.section-gray {
    background: #ffffff;
}


.section-title {
    text-align: center;
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    color: #0d121b;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #475569;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Tabs Section */
.tabs-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 25%, rgba(237, 237, 237, 1) 50%, rgba(237, 237, 237, 1) 90%, rgba(255, 255, 255, 1) 100%);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 0.6rem 1.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.tab-btn:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.tab-btn.active {
    background: #0ea5e9;
    color: #ffffff;
    border-color: #0ea5e9;
}

.tab-content {
    display: none;
    background: #ffffff;
    padding: 3rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.tab-text {
    flex-grow: 2;
    flex-basis: 0;
}

.tab-text h3 {
    color: #0d121b;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tab-text p {
    color: #475569;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tab-text ul {
    list-style: none;
    margin-top: 1rem;
}

.tab-text ul li {
    padding: 0.5rem 0;
    color: #475569;
    font-size: 0.925rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tab-text ul li::before {
    content: "✓";
    color: #0ea5e9;
    font-weight: 700;
    flex-shrink: 0;
}

.tab-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 0.8;
    flex-basis: 0;
}

.tab-visual img {
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    object-fit: cover;
}


/* FAQ Section */
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: start;
}

.faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 3px solid #0ea5e9;
    border-radius: 0.625rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease;
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item.visible:hover {
    border-color: rgba(14, 165, 233, 0.4);
    border-left-color: #0ea5e9;
}

.faq-item.active {
    border-left-color: #0ea5e9;
}

.faq-question {
    background: #ffffff;
    padding: 1rem 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h4 {
    color: #0d121b;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-icon {
    color: #0ea5e9;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #f8fafc;
    border-top: 0px solid #e5e7eb;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0.875rem 1.25rem;
    border-top-width: 1px;
}

.faq-answer p {
    color: #475569;
    line-height: 1.65;
    font-size: 0.875rem;
    margin: 0;
}

/* ── Ticker Stack Technique ────────────────────────────── */
.ticker-section {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    background: #f6f6f8;
    padding: 1.75rem 0;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    padding: 0 1.5rem;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.5s, filter 0.5s;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-section:hover .ticker-track {
    opacity: 1;
    filter: grayscale(0);
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ticker-item {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0d121b;
    white-space: nowrap;
    cursor: default;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-item i {
    font-size: 1.4rem;
}

.ticker-item:hover { color: #0ea5e9; }

.ticker-sep {
    color: #d1d5db;
    font-size: 1.5rem;
    line-height: 1;
    user-select: none;
}

/* Pourquoi CodeYourWeb Section */
.pq-section {
    width: 100%;
    background: linear-gradient(160deg, rgba(14, 165, 233, 0.04) 0%, #ffffff 60%);
    padding: 60px 20px;
}

.pq-section .section-title {
    text-align: center;
    margin-bottom: 0;
    padding: 0 1.5rem;
}

.pq-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 2rem auto 0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
}

.pq-item {
    padding: 2.5rem;
    transition: background-color 0.3s ease;
}

.pq-item:hover {
    background-color: #f8f9fb;
}

.pq-item:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

.pq-icon-container {
    height: 3rem;
    width: 3rem;
    border-radius: 0.25rem;
    background-color: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Variantes couleurs icônes #pourquoi */
.pq-icon--blue   { background-color: rgba(14, 165, 233, 0.1);  color: #0ea5e9; }
.pq-icon--red    { background-color: rgba(245, 96, 87, 0.1);   color: #F56057; }
.pq-icon--purple { background-color: rgba(127, 92, 169, 0.1);  color: #7F5CA9; }

.pq-item:hover .pq-icon--blue   { background: #0ea5e9; color: #fff; }
.pq-item:hover .pq-icon--red    { background: #F56057; color: #fff; }
.pq-item:hover .pq-icon--purple { background: #7F5CA9; color: #fff; }

.pq-item:hover .pq-icon-container {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
}

.pq-icon {
    font-size: 28px;
}

.pq-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.pq-desc {
    color: #64748b;
    line-height: 1.625;
    font-family: 'Poppins', sans-serif;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* CTA Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
    background: linear-gradient(135deg, #0284c7, #0369a1);
}

/* Blob décoratif de section */
.blob-section {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
.blob-section--orange {
    width: 35vw;
    height: 35vw;
    background: rgba(255, 120, 50, 0.18);
    filter: blur(90px);
}

.blob-section--orange-bottom-left {
    bottom: 0;
    left: 0;
    transform: translate(-50%, 50%);
}

.blob-section--orange-top-left {
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

/* Philosophy Section */
.philosophy {
    position: relative;
    padding: 4rem 1.5rem 6rem;
    background: #ffffff;
    overflow: hidden;
}

.philosophy-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.philosophy-heading {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.philosophy-heading h2 {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #0d121b;
    font-family: 'Poppins', sans-serif;
}

.philosophy-heading p {
    font-size: 1rem;
    color: #5e6d82;
    line-height: 1.75;
    font-family: 'Poppins', sans-serif;
}

.philosophy-divider {
    height: 1px;
    width: 6rem;
    background: #0ea5e9;
    margin-top: 1rem;
}

.philosophy-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.philosophy-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}

.philosophy-card:hover {
    border-color: #f3f4f6;
    background: #f6f6f8;
}

.phil-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.philosophy-card:hover .phil-card-icon {
    transform: scale(1.1);
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0d121b;
    font-family: 'Poppins', sans-serif;
}

.card-body p {
    font-size: 0.875rem;
    color: #5e6d82;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
}

/* ── Services / Ce que ça inclut ───────────────────────── */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f6f6f8 0%, rgba(14, 165, 233, 0.05) 100%);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.expertise-label {
    color: #0ea5e9;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
    display: block;
}

.services-title {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    font-weight: 800;
    color: #0d121b;
    margin-bottom: 1rem;
}

.services-desc {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: 1rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.35);
}

.services-icon-container {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background-color: rgba(14, 165, 233, 0.1);
    color: #0ea5e9;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Variantes couleurs icônes services */
.svc-icon--blue   { background-color: rgba(14, 165, 233, 0.1);  color: #0ea5e9; }
.svc-icon--red    { background-color: rgba(245, 96, 87, 0.1);   color: #F56057; }
.svc-icon--purple { background-color: rgba(127, 92, 169, 0.1);  color: #7F5CA9; }

.glass-card:hover .svc-icon--blue   { background-color: #0ea5e9; color: #fff; }
.glass-card:hover .svc-icon--red    { background-color: #F56057; color: #fff; }
.glass-card:hover .svc-icon--purple { background-color: #7F5CA9; color: #fff; }

.glass-card:hover .services-icon-container {
    background-color: #0ea5e9;
    color: #ffffff;
}

.services-icon {
    font-size: 1.75rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d121b;
    margin-bottom: 0.75rem;
}

.card-desc {
    color: #475569;
    line-height: 1.65;
    font-size: 0.925rem;
}

.cta-button:hover {
    background: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* CTA Section */
.cta-wrapper {
    padding: 0 20px;
    margin: 5rem auto 4rem;
    max-width: 1200px;
}

.cta-container {
    border-radius: 1rem;
    background-color: #0d121b;
    overflow: hidden;
    position: relative;
}

.cta-svg {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3rem;
    opacity: 0.1;
    pointer-events: none;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
    gap: 2rem;
}

.cta-text {
    max-width: 28rem;
}

.cta-heading {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.cta-paragraph {
    color: #9ca3af;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.cta-button-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: normal;
    text-align: center;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.cta-button-new:hover {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}



/* Contact Section */
.contact-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(237, 237, 237, 1) 20%);
}

.contact-card {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

/* Panneau gauche */
.contact-info {
    background: linear-gradient(-45deg, #1B446D, #2BAADC, #8F54A3, #EC486A, #F78447, #2BAADC, #1B446D);
    background-size: 400% 400%;
    animation: contactGradient 12s ease-in-out infinite;
    padding: 2rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.25rem;
}

@keyframes contactGradient {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 100% 25%; }
    50%  { background-position: 100% 75%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.85rem;
}

.contact-detail-item a,
.contact-detail-item span {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-detail-item .material-symbols-outlined {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Panneau droit */
.contact-form-wrap {
    flex: 1;
    padding: 2rem;
    background: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    width: 100%;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.form-control {
    height: 2.5rem;
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 0 0.875rem;
    color: #0d121b;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-control:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.08);
    background-color: #ffffff;
}

select.form-control {
    height: auto;
    min-height: 2.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 1.4;
}

textarea.form-control {
    height: 5.5rem;
    padding: 0.625rem 0.875rem;
    resize: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.btn-submit {
    height: 2.5rem;
    padding: 0 1.75rem;
    border-radius: 0.375rem;
    background: #0ea5e9;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
    letter-spacing: 0.03em;
}

.btn-submit:hover {
    background: #0284c7;
}

.contact-message {
    display: none;
    padding: 0.875rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
    background: linear-gradient(180deg, #0a3a54 0%, #062333 100%);
    color: rgba(255,255,255,.85);
    padding: 60px 20px 0;
}

footer a {
    text-decoration: none;
    transition: color 0.25s ease;
}

/* Grid 2 colonnes */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    text-align: left;
    align-items: start;
}

/* Colonne gauche */
.footer-col-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Logo animé */
.footer-logo {
    font-size: 1.6em;
    font-weight: 800;
    display: inline-flex;
    cursor: default;
    margin: 0;
}

.footer-logo span {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-logo:hover span { animation: letterBounce 0.5s ease forwards; }
.footer-logo:hover span:nth-child(1)  { animation-delay: 0s; }
.footer-logo:hover span:nth-child(2)  { animation-delay: 0.03s; }
.footer-logo:hover span:nth-child(3)  { animation-delay: 0.06s; }
.footer-logo:hover span:nth-child(4)  { animation-delay: 0.09s; }
.footer-logo:hover span:nth-child(5)  { animation-delay: 0.12s; }
.footer-logo:hover span:nth-child(6)  { animation-delay: 0.15s; }
.footer-logo:hover span:nth-child(7)  { animation-delay: 0.18s; }
.footer-logo:hover span:nth-child(8)  { animation-delay: 0.21s; }
.footer-logo:hover span:nth-child(9)  { animation-delay: 0.24s; }
.footer-logo:hover span:nth-child(10) { animation-delay: 0.27s; }
.footer-logo:hover span:nth-child(11) { animation-delay: 0.30s; }

@keyframes letterBounce {
    0%   { transform: translateY(0);   color: white; }
    50%  { transform: translateY(-8px); color: #0ea5e9; }
    100% { transform: translateY(0);   color: white; }
}

.footer-description {
    font-size: 0.95em;
    line-height: 1.7;
    opacity: 0.75;
    max-width: 340px;
}

/* Réseaux sociaux */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer-social a {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.75);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
    transform: translateY(-3px);
}

/* Colonne droite : newsletter */
.footer-col-newsletter {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.newsletter-modern {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
}

.newsletter-modern h4 {
    color: #38bdf8;
    font-size: 1.05em;
    font-weight: 700;
    margin-bottom: 8px;
}

.newsletter-modern p {
    font-size: 0.875em;
    opacity: 0.75;
    margin-bottom: 18px;
    line-height: 1.6;
}

.newsletter-inline {
    display: flex;
    width: 100%;
}

.newsletter-inline input {
    flex: 1;
    padding: 11px 14px;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 0.9em;
    outline: none;
    background: rgba(255,255,255,.95);
    color: #333;
}

.newsletter-inline input::placeholder { color: #999; }

.newsletter-send-btn {
    background: #0ea5e9;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 11px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.newsletter-send-btn:hover { background: #0284c7; }

.newsletter-send-btn svg {
    width: 18px; height: 18px;
    fill: white;
    transition: transform 0.25s ease;
}

.newsletter-send-btn:hover svg { transform: translateX(3px); }

/* Footer newsletter form */
.footer-newsletter-form { margin: 0; }

.footer-newsletter-message {
    display: none;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

/* Barre copyright */
.footer-copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright p {
    font-size: 0.85em;
    opacity: 0.55;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 0.85em;
    color: rgba(255,255,255,.5);
    transition: color 0.25s ease;
}

.footer-legal-links a:hover { color: #38bdf8; }

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    z-index: 9999;
    animation: slideIn 0.5s ease-out;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    padding: 20px;
}

.cookie-content p {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 0.9em;
    line-height: 1.6;
}

.cookie-content a {
    color: #0ea5e9;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-btn {
    background: #0ea5e9;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background 0.3s;
    width: 100%;
}

.cookie-btn:hover {
    background: #0284c7;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile menu burger */
.menu-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
    cursor: pointer;
    z-index: 1001;
    border-radius: 0.375rem;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: #f3f4f6;
}

@media (hover: none) {
    .menu-toggle:hover,
    .menu-toggle:focus,
    .menu-toggle:active {
        background: transparent;
        -webkit-tap-highlight-color: transparent;
        outline: none;
    }
}

.menu-toggle .material-symbols-outlined {
    font-size: 1.5rem;
    color: #0d121b;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
    width: 500%; /* 5 slides */
    overflow: hidden;
}

.carousel-slide {
    width: 20%; /* 100% / 5 slides */
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
}

.slide-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 1rem 2rem;
}

.slide-text {
    flex: 1;
    padding: 1.5rem 0;
}

.slide-text h3 {
    color: #0d121b;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.slide-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #475569;
    font-size: 0.95rem;
}

.slide-ideal {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f6f6f8;
    border-left: 2px solid #0ea5e9;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.slide-ideal:hover {
    transform: translateX(4px);
    background: #eff6ff;
}

.slide-ideal strong {
    color: #0ea5e9;
    font-weight: 600;
}

.slide-image {
    flex: 1;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    min-width: 540px;
}

.carousel-img {
    width: 100%;
    aspect-ratio: 540 / 275;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
    display: block;
}

.carousel-img:hover {
    transform: scale(1.03);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem 1rem;
    gap: 1.5rem;
}

.carousel-btn {
    background-color: #ffffff;
    color: #0d121b;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.carousel-btn:hover {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
    color: #ffffff;
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.indicator {
    width: 24px;
    height: 3px;
    border-radius: 0;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #0ea5e9;
    width: 36px;
}

/* Quand le menu est ouvert, le bouton toggle reste dans le nav sticky */
.menu-toggle.active {
    z-index: 1001;
}

/* Masquer le bouton contact mobile par défaut */
.mobile-contact-item {
    display: none;
}

/* ========================================
   BRIEF CLIENT - STYLES (Compact & Pro)
   ======================================== */

/* Variables CSS */
:root {
    --color-primary: #0EA5E9;
    --color-primary-dark: #0284C7;
    --color-secondary: #064E6E;
    --color-background: #F8FAFC;
    --color-text: #1E293B;
    --color-text-light: #64748B;
    --color-success: #22C55E;
    --color-error: #EF4444;
    --color-border: #E2E8F0;
    --color-white: #FFFFFF;
    --border-radius: 6px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.2s ease;
}

/* ========================================
   CONTACT FORM STYLES
   ======================================== */

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0ea5e9;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94A3B8;
    font-size: 0.85rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--color-error);
}

.form-row {
    display: flex;
    gap: 15px;
}


/* ========================================
   BRIEF CLIENT STYLES MOVED TO brief/brief-styles.css
   ======================================== */

/* ========================================
   FIN BRIEF CLIENT - STYLES
   ======================================== */


/*MEDIA QUERIES*/


@media (min-width: 768px) {
    .hero-inner { padding: 0 3rem; }
    .panel { padding: 4rem 3rem; }
    .faq-container { grid-template-columns: repeat(2, 1fr); }
    .ticker-track { gap: 5rem; }
    .philosophy { padding: 5rem 1.5rem 7rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-content {
        flex-direction: row;
        padding: 4rem;
    }
    .cta-heading { font-size: 2.25rem; }
    .contact-card { flex-direction: row; }
    .contact-info { width: 35%; }
    .contact-form-wrap { width: 65%; }
    .pq-grid { grid-template-columns: repeat(3, 1fr); }
    .pq-item:not(:last-child) {
        border-bottom: none;
        border-right: 1px solid #e2e8f0;
    }
}

@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: 7fr 5fr; }
    .hero-visual { display: block; }
    .compare-section { flex-direction: row; }
    .panel { width: 50%; padding: 6rem; }
    .panel-bad {
        border-right: 1px solid #E2E8F0;
        border-bottom: none;
    }
    .philosophy-inner {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        padding: 0 1.5rem;
    }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .pq-item { padding: 3.5rem; }
}

/* Responsive design */
@media (max-width: 1200px) {
    .carousel {
        width: 500%; /* Maintain 5 slides */
    }
}

/* Nav intermédiaire entre 901px et 1050px */
@media (max-width: 1050px) and (min-width: 821px) {

    .nav-links a {
        font-size: 0.875em;
    }

    .nav-cta-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }
}

/* Large tablets and small desktops */
@media (max-width: 1024px) {

    /* Footer tablettes */
    footer {
        padding: 40px 15px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-bottom: 36px;
    }

    footer h3 {
        font-size: 1.3em;
    }

    footer h4 {
        font-size: 1em;
    }

    footer p,
    footer li {
        font-size: 0.9em;
    }

    .tab-grid {
        flex-direction: column;
        gap: 30px;
    }

    .tab-visual {
        width: 100%;
        padding: 0;
        flex-grow: unset;
        flex-basis: unset;
    }

    .tab-visual img {
        width: 80%;
        aspect-ratio: 2 / 1;
        object-fit: cover;
        margin: 0;
    }

    /* Paiement unique grid */
    div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

}


@media (max-width: 970px) {
    .slide-content {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 5px 40px;
    }

    .slide-text {
        order: 1;
        padding: 0px;
    }

    .slide-image {
        order: 2;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .demos-title {
        padding: 0 40px;
    }


    .cookie-consent {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    /* Sections mobile */
    section {
        padding: 60px 15px;
    }

    .section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Tabs mobile */
    .tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .tab-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tab-content {
        padding: 30px 20px;
    }

    .tab-text h3 {
        font-size: 1.5em;
    }

    .tab-visual {
        padding: 15px;
    }

    .feature-item {
        font-size: 0.9em;
        margin-bottom: 12px;
    }

    /* Services mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* CTA Section mobile */
    .cta-wrapper {
        margin: 3rem auto 5rem;
    }

    .cta-content {
        flex-direction: column;
        padding: 2rem;
    }

    .cta-heading {
        font-size: 1.5rem;
    }

    .cta-button-new {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.875rem 1.5rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1em;
        padding: 12px;
    }


    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    /* Social icons mobile */
    footer a[href="#"] svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* Paiement Unique Section mobile */
    section .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

}

/* Menu hamburger en dessous de 900px */
@media (max-width: 820px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    body {
        padding-top: 70px;
    }

    .nav-container {
        flex-wrap: nowrap;
        height: 70px;
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-right {
        display: contents;
    }

    .nav-cta-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        order: initial;
        display: none;
    }

    .nav-links.active {
        right: 0;
        display: block;
    }

    .nav-links li {
        border-bottom: 1px solid #eee;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 1.1em;
    }


    /* Afficher le bouton contact dans le menu mobile juste après FAQ */
    .mobile-contact-item {
        display: list-item !important;
        border-bottom: none !important;
        margin-top: 5px !important;
        padding: 0 !important;
        list-style: none !important;
    }

    .mobile-contact-link {
        background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
        color: white !important;
        padding: 15px 20px !important;
        margin: 10px 0 !important;
        border-radius: 8px !important;
        text-align: center !important;
        font-weight: 600 !important;
        display: block !important;
        text-decoration: none !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }

    .mobile-contact-link:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4) !important;
        color: white !important;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

}

@media (max-width: 660px) {
    .slide-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .slide-image {
        min-width: unset;
        width: 100%;
    }

    .slide-text h3 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .slide-text p {
        font-size: 0.875rem;
        margin-bottom: 10px;
    }

    .demos-section {
        padding: 40px 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-copyright {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 530px) {
    .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .tab-text h3 {
        font-size: 1.3em;
    }

    /* Paiement unique section mobile */
    div[style*="max-width: 900px"][style*="padding: 60px 50px"] {
        padding: 40px 20px !important;
    }

    div[style*="font-size: 2.5em"][style*="margin-bottom: 25px"] {
        font-size: 1.4em !important;
    }

    div[style*="font-size: 1.2em"][style*="line-height: 1.8"] {
        font-size: 1em !important;
    }

    div[style*="background: rgba(255, 255, 255, 0.15)"],
    div[style*="background: rgba(255, 255, 255, 0.25)"] {
        padding: 15px !important;
    }

    div[style*="font-size: 1.3em"][style*="margin-bottom: 15px"] {
        font-size: 1.1em !important;
    }

}

/* Small devices below 450px */
@media (max-width: 450px) {

    .tab-text ul li {
        word-wrap: break-word;
        word-break: break-word;
    }

    .tab-visual img {
        width: 100%;
    }

    .demos-section {
        padding: 0px;
    }

    .demos-title {
        padding: 0px;
    }

    .section-light {
        padding:  60px 15px 20px;
    }

    .hero-content {
        padding: 0px;
        margin: 0px;
    }
}

@media (max-width: 375px) {
    .newsletter-inline input {
        width: 100%;
    }
}

/* Very small devices */
@media (max-width: 360px) {

    .section-subtitle {
        font-size: 0.9em;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }

    .tab-visual {
        padding: 10px;
    }

}