/* DUDU Website - Styles Globaux */

:root {
    --primary-green: #0f4c3a;
    --dark-green: #094d2a;
    --light-green: #1a7f5f;
    --accent-green: #10b981;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
}

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

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

section {
    overflow-x: hidden !important;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    width: 100% !important;
    max-width: 100vw !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100% !important;
    max-width: 100vw !important;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-x: hidden !important;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow-x: hidden !important;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 76, 58, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
}

.btn-large {
    font-size: 1.25rem;
    padding: 1rem 2rem;
}

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
    color: white;
    padding-top: 80px;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow-x: hidden !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Sections */
section {
    padding: 5rem 2rem;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow-x: hidden !important;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
}

/* Screenshots Section */
.screenshots-section {
    padding: 5rem 2rem;
    background: white;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
}

.screenshots-grid img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshots-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: 3rem;
    text-align: center;
    width: 100%;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-green);
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Menu Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Responsive - Tablette */
@media (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 1rem;
        width: 100%;
    }
    
    .logo {
        font-size: 24px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        max-width: 100vw;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .hero {
        min-height: auto;
        padding: 90px 0 40px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-content {
        width: 100%;
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-image img {
        max-width: 200px !important;
        height: auto !important;
    }
    
    section {
        padding: 2.5rem 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .feature-card h3 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 0.9rem;
    }
    
    .screenshots-section {
        padding: 3rem 1rem;
        overflow-x: hidden;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
    }
    
    .screenshots-grid img {
        width: 100%;
        height: auto;
        border-radius: 12px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        width: 100%;
    }
    
    footer {
        padding: 2rem 1rem 1rem;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .cta-section {
        padding: 3rem 1rem;
        width: 100%;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .btn-large {
        font-size: 1.1rem;
        padding: 0.875rem 1.5rem;
        width: 100%;
        text-align: center;
    }
}

/* Responsive - Petit Mobile */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.875rem 0.75rem;
        width: 100%;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo img {
        height: 28px !important;
    }
    
    .hero {
        padding: 80px 0 30px;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-container {
        gap: 1rem;
        padding: 0.5rem;
        width: 100%;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        padding: 0 0.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        box-sizing: border-box;
    }
    
    .hero-image {
        display: none !important;
    }
    
    section {
        padding: 2rem 0.75rem;
        width: 100%;
    }
    
    .container {
        padding: 0 0.75rem;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .feature-card {
        padding: 1.25rem;
        width: 100%;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    .stat-item {
        padding: 1.25rem 1rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
    
    .stat-item p {
        font-size: 0.85rem;
    }
    
    .screenshots-section {
        padding: 2.5rem 0.75rem;
        width: 100%;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
        width: 100%;
        padding: 0;
    }
    
    .screenshots-grid img {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
    }
    
    .cta-section {
        padding: 2.5rem 0.75rem;
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .cta-buttons .btn-large {
        width: 100%;
        font-size: 1rem;
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .footer-container {
        padding: 0 0.75rem;
        gap: 1.5rem;
    }
    
    footer {
        padding: 2rem 0.75rem 1rem;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}
