/* ============================================
   SYNKRONISE IA - STYLES
   Design premium noir/or avec animations
   ============================================ */

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

:root {
    /* Couleurs */
    --black: #000000;
    --gold: #D4A017;
    --gold-light: #E5B84A;
    --gold-dark: #B8860B;
    --white: #FFFFFF;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    --section-padding-mobile: 60px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 24px rgba(212, 160, 23, 0.3);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-700);
}

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

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 3px solid transparent !important;
}

.cta-primary {
    background: var(--gold);
    color: var(--black);
    box-shadow: var(--shadow-gold);
    border: 3px solid var(--gold) !important;
}

.cta-primary:hover {
    background: var(--gold-light);
    border: 3px solid var(--gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 160, 23, 0.4);
}

.cta-secondary {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black) !important;
}

.cta-secondary:hover {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black) !important;
}

.cta-large {
    padding: 20px 48px;
    font-size: 1.125rem;
}

/* Section Styles */
.section {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.nav-logo .logo-img {
    height: 115px !important;
    width: auto;
    max-width: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links .cta-button {
    background: var(--gold) !important;
    color: var(--black) !important;
    border: 3px solid var(--gold) !important;
    box-shadow: var(--shadow-gold);
}

.nav-links .cta-button:hover {
    background: var(--gold-light) !important;
    border: 3px solid var(--gold-light) !important;
    transform: translateY(-2px);
}

.nav-link {
    font-weight: 500;
    color: var(--black);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-normal);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 12px 0;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-200);
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--gray-700);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* Network Animation */
.hero-visual {
    position: relative;
    height: 500px;
}

.network-animation {
    position: absolute;
    width: 400px;
    height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 20px rgba(212, 160, 23, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.node-2 {
    bottom: 0;
    left: 20%;
    animation-delay: 0.6s;
}

.node-3 {
    bottom: 0;
    right: 20%;
    animation-delay: 1.2s;
}

.connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
    transform-origin: left center;
}

.connection-1 {
    top: 10px;
    left: 50%;
    width: 200px;
    transform: rotate(60deg);
}

.connection-2 {
    bottom: 10px;
    left: 20%;
    width: 200px;
    transform: rotate(0deg);
}

.connection-3 {
    top: 10px;
    left: 50%;
    width: 200px;
    transform: rotate(-60deg);
}

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

/* Problems Section */
.problems {
    background: var(--gray-100);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.problem-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.problem-card p {
    color: var(--gray-700);
}

.problems-cta {
    text-align: center;
}

.problems-cta .cta-button {
    border: 3px solid var(--gold) !important;
    background: var(--gold);
}

.problems-cta .cta-button:hover {
    border: 3px solid var(--gold-light) !important;
    background: var(--gold-light);
}

.problems-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--black);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 64px;
}

.service-card {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: var(--transition-normal);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--gold);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-description {
    margin-bottom: 24px;
    color: var(--gray-700);
}

.service-benefits {
    list-style: none;
}

.service-benefits li {
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 1rem;
}

.services-cta {
    text-align: center;
}

.services-cta .cta-button {
    border: 3px solid var(--gold) !important;
    background: var(--gold);
}

.services-cta .cta-button:hover {
    border: 3px solid var(--gold-light) !important;
    background: var(--gold-light);
}

/* Process Section */
.process {
    background: var(--gray-900);
    color: var(--white);
}

.process .section-title,
.process .section-subtitle {
    color: var(--white);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    margin-bottom: 64px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 49px;
    top: 100px;
    width: 2px;
    height: calc(100% - 40px);
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.step-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: var(--white);
}

.step-description {
    color: var(--gray-300);
    margin-bottom: 16px;
}

.step-deliverable {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212, 160, 23, 0.1);
    border: 1px solid var(--gold);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--gold);
}

.process-cta {
    text-align: center;
    margin-top: 64px;
}

.process-cta .cta-button {
    border: 3px solid var(--gold) !important;
    background: var(--gold);
}

.process-cta .cta-button:hover {
    border: 3px solid var(--gold-light) !important;
    background: var(--gold-light);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: var(--transition-normal);
}

.project-card:hover {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.project-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 16px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.project-description {
    color: var(--gray-700);
    margin-bottom: 32px;
}

.project-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.result {
    text-align: center;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* Calculator Section */
.calculator {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--black) 100%);
    color: var(--white);
}

.calculator .section-title,
.calculator .section-subtitle {
    color: var(--white);
}

.calculator-box {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid rgba(212, 160, 23, 0.3);
}

.calculator-input-group {
    margin-bottom: 40px;
}

.calculator-input-group label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--gray-700);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(212, 160, 23, 0.6);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold);
    cursor: pointer;
    border: none;
}

.input-value {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-top: 16px;
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 48px 0;
    padding: 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.result-box {
    text-align: center;
}

.result-label {
    font-size: 0.875rem;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.result-main {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 8px;
}

.result-main.gold {
    color: var(--gold);
}

.result-sublabel {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.calculator-cta {
    text-align: center;
}

.calculator-cta p {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 24px;
}

.calculator-cta .cta-button {
    border: 3px solid var(--gold) !important;
    background: var(--gold);
}

.calculator-cta .cta-button:hover {
    border: 3px solid var(--gold-light) !important;
    background: var(--gold-light);
}

/* Differentiators Section */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.diff-card {
    text-align: center;
    padding: 40px 32px;
}

.diff-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.diff-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.diff-card p {
    color: var(--gray-700);
}

/* FAQ Section */
.faq {
    background: var(--gray-100);
}

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

.faq-item {
    background: var(--white);
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--gray-100);
}

.faq-question h3 {
    font-size: 1.125rem;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--gold);
    transition: var(--transition-fast);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

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

.faq-answer p {
    padding: 0 32px 24px;
    color: var(--gray-700);
}

/* Contact Section */
.contact {
    background: var(--black);
    color: var(--white);
    text-align: center;
}

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

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 48px;
}

.calendly-container {
    margin-bottom: 48px;
}

.calendly-note {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--gray-300);
}

.contact-alternative {
    padding-top: 48px;
    border-top: 1px solid var(--gray-700);
}

.contact-alternative p {
    color: var(--gray-300);
    margin-bottom: 16px;
}

.email-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    transition: var(--transition-normal);
}

.email-link:hover {
    color: var(--gold-light);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--gray-300);
    font-size: 0.875rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--gold);
}

.footer-column a {
    display: block;
    padding: 8px 0;
    color: var(--gray-300);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-300);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--gray-300);
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--gold);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        grid-template-columns: 80px 1fr;
        gap: 24px;
    }
    
    .step-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding-top: 200px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .problems-grid,
    .diff-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-box {
        padding: 32px 24px;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .project-results {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .service-card,
    .problem-card,
    .project-card {
        padding: 32px 24px;
    }
    
    .calculator-input-group label {
        font-size: 1rem;
    }
    
    .input-value {
        font-size: 1.5rem;
    }
    
    .result-main {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .nav,
    .mobile-menu,
    .cta-button,
    .footer {
        display: none;
    }
}
