/* === VARIABLES === */
:root {
    --color-background: #000000;
    --color-primary: #FFFFFF;
    --color-secondary: #A0A0A0;
    --color-border: #333333;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

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

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

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

/* === GRID BACKGROUND === */
.grid-background {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.grid-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
}

/* === CONTAINER === */
.container {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 4rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 6rem;
    }
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}

.hero-content {
    max-width: 1800px;
    width: 100%;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 3rem;
}

.hero-title .word {
    display: block;
    opacity: 0;
    transform: translateY(100px);
    animation: fadeInUp 0.8s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.3s; }
.hero-title .word:nth-child(2) { animation-delay: 0.45s; }
.hero-title .word:nth-child(3) { animation-delay: 0.6s; }

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

.hero-description {
    max-width: 50rem;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 1.2s;
}

.hero-text {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.hero-subtext {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: var(--color-secondary);
    opacity: 0.6;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 300;
    color: var(--color-primary);
    text-decoration: none;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 1.6s;
    transition: color var(--transition-smooth);
}

.hero-cta:hover {
    color: var(--color-secondary);
}

.hero-cta svg {
    transition: transform var(--transition-smooth);
}

.hero-cta:hover svg {
    transform: translateX(0.5rem);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-secondary);
    opacity: 0;
    animation: fadeInBounce 0.6s ease forwards;
    animation-delay: 2s;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

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

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

/* === ABOUT SECTION === */
.about-section {
    position: relative;
    min-height: 100vh;
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 8rem 0;
    z-index: 1;
}

.about-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.about-header {
    margin-bottom: 6rem;
}

.about-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.about-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    max-width: 60rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 8rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(0, 0, 0, 0.6);
}

.geo-methods {
    margin-bottom: 6rem;
}

.section-subtitle {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 4rem;
}

.methods-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method-item {
    border-left: 4px solid rgba(0, 0, 0, 0.3);
    padding: 1.5rem 0 1.5rem 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    transition: border-color var(--transition-smooth);
}

.method-item:hover {
    border-color: rgba(0, 0, 0, 1);
}

.method-content {
    flex: 1;
}

.method-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.method-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(0, 0, 0, 0.7);
}

.method-impact {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: rgba(0, 0, 0, 0.4);
}

.research-quote {
    background-color: rgba(0, 0, 0, 0.05);
    border-left: 8px solid rgba(0, 0, 0, 0.2);
    padding: 3rem;
    border-radius: 0 1rem 1rem 0;
    margin-bottom: 8rem;
}

.quote-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quote-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.2), transparent);
    margin-bottom: 1rem;
}

.quote-citation {
    font-size: 1.125rem;
    font-style: normal;
    color: rgba(0, 0, 0, 0.6);
}

.success-metrics {
    margin-bottom: 8rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.metric-card {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 0.5rem;
}

.metric-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.metric-description {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
}

.audit-cta {
    text-align: center;
    margin-top: 8rem;
}

.audit-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.audit-description {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: rgba(0, 0, 0, 0.7);
    max-width: 60rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.audit-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: var(--color-background);
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.audit-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.05);
}

.audit-info {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
}

/* === SERVICES SECTION === */
.services-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    z-index: 1;
}

.services-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 800;
    margin-bottom: 6rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    transition: border-color var(--transition-smooth);
}

.service-item:hover {
    border-color: var(--color-primary);
}

.service-number {
    font-size: 1.25rem;
    font-family: 'Courier New', monospace;
    color: var(--color-secondary);
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color var(--transition-smooth);
}

.service-item:hover .service-title {
    color: var(--color-secondary);
}

.service-description {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--color-secondary);
}

/* === CONTACT SECTION === */
.contact-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.contact-title {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.contact-description {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--color-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 2px solid var(--color-primary);
    transition: all var(--transition-smooth);
}

.contact-link:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    color: var(--color-primary);
    font-size: 1.125rem;
    font-family: var(--font-primary);
    transition: all var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-secondary);
    opacity: 0.5;
}

.form-group select option {
    background-color: var(--color-background);
}

.submit-button {
    padding: 1.25rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-background);
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.submit-button:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.form-message.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    max-width: 40rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-spring);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color var(--transition-smooth);
}

.modal-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.modal-close svg {
    color: var(--color-background);
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 0.5rem;
}

.modal-description {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
}

.audit-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.audit-form label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-background);
}

.audit-form .required {
    color: #ff0000;
}

.audit-form .optional {
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.audit-form input,
.audit-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    color: var(--color-background);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all var(--transition-smooth);
}

.audit-form input:focus,
.audit-form select:focus {
    outline: none;
    border-color: var(--color-background);
    background-color: rgba(0, 0, 0, 0.08);
}

.audit-form input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.audit-form select option {
    background-color: var(--color-primary);
}

.modal-submit {
    padding: 1rem 2rem;
    background-color: var(--color-background);
    color: var(--color-primary);
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.modal-submit:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-info {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* === FOOTER === */
.footer {
    position: relative;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-smooth);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-secondary);
    font-size: 0.875rem;
}

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

/* === UTILITIES === */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards;
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .about-title,
    .services-title,
    .contact-title {
        font-size: 3rem;
    }
    
    .section-subtitle {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}
/* ============================================
   NAVIGATION - Pages de contenu
   ============================================ */
.content-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.content-nav .nav-brand {
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.25rem;
    transition: opacity 0.3s ease;
}

.content-nav .nav-brand:hover {
    opacity: 0.8;
}

.content-nav .nav-links {
    display: flex;
    gap: 2rem;
}

.content-nav .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.content-nav .nav-links a:hover {
    color: white;
}

/* Article Styles */
.article-container {
    position: relative;
    z-index: 1;
    padding-top: 8rem;
}

.article-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

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

.article-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.article-meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.answer-capsule {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid rgba(255, 255, 255, 0.3);
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.answer-capsule p {
    font-size: 1.25rem;
    line-height: 1.7;
    font-weight: 300;
}

.article-section {
    margin-bottom: 4rem;
}

.article-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.article-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.article-section p {
    line-height: 1.8;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}
