/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Futura';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/Futura-Bold.ttf') format('truetype');
    font-display: swap;
}

:root {
    /* Couleurs principales du logo */
    --primary-color: #44BE16;
    --primary-dark: #0B6925;
    --primary-light: #49C70D;
    --secondary-color: #06FFFF;
    /* Gradients du logo */
    --gradient-green: linear-gradient(135deg, #0B6925 0%, #49C70D 100%);
    --gradient-cyan: linear-gradient(135deg, #004846 0%, #004744 50%, #007F71 100%);
    /* Dark Mode - Backgrounds */
    --dark-bg: #1D1D1D;
    --darker-bg: #0f0f0f;
    --light-bg: #2a2a2a;
    --card-bg: #333333;
    --text-dark: #e0e0e0;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --border-color: #404040;
    --success-color: #44BE16;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
    --font-title: 'Futura', 'Poppins', 'Montserrat', 'Trebuchet MS', 'Arial Black', sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--darker-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--dark-bg);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    min-height: 80px;
}

.nav-brand a {
    display: inline-block;
    transition: opacity 0.3s;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-brand .logo {
    height: 80px;
    max-width: 300px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.0rem;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient-cyan);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* évite un scroll horizontal sur grands écrans */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--dark-bg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background-color: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid var(--border-color);
}

/* Centrer la dernière carte si elle est seule sur sa ligne (1 carte sur la dernière ligne) */
.features-grid .feature-card:nth-child(3n+1):last-child {
    grid-column: 2;
}

/* Centrer les deux dernières cartes si elles sont seules sur la dernière ligne (2 cartes sur la dernière ligne) */
.features-grid .feature-card:nth-child(3n+1):nth-last-child(2) {
    grid-column: 2;
}

.features-grid .feature-card:nth-child(3n+2):nth-last-child(1) {
    grid-column: 3;
}

/* Cas alternatif : deux dernières cartes aux positions 3n+2 et 3n+3 */
.features-grid .feature-card:nth-child(3n+2):nth-last-child(2) {
    grid-column: 2;
}

.features-grid .feature-card:nth-child(3n+3):nth-last-child(1) {
    grid-column: 3;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: bold;
}

.feature-card p {
    color: var(--text-muted);
}

/* Use Cases Section */
.use-cases-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.use-case-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.use-case-item.reverse {
    direction: rtl;
}

.use-case-item.reverse > * {
    direction: ltr;
}

.use-case-content h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: bold;
}

.use-case-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.use-case-benefits {
    list-style: none;
}

.use-case-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.use-case-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.use-case-visual {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.visual-placeholder {
    font-size: 2rem;
    color: var(--text-muted);
}

.use-case-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    object-fit: contain;
}

/* Page Header */
.page-header {
    background: var(--gradient-green);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Pricing Section */
.pricing {
    background-color: var(--dark-bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    text-align: center;
    border: 1px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 3px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: bold;
}

.pricing-price {
    margin-bottom: 2rem;
}

.pricing-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-options {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.options-title {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.options-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.option-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.option-checkbox-label:hover {
    background-color: var(--light-bg);
}

.option-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.option-checkbox-label span {
    flex: 1;
}

.price-display {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.final-price {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
}

.final-price strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* Quote Form Section */
.quote-form-section {
    padding: 80px 0;
}

.quote-form {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.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 select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    background-color: var(--dark-bg);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input,
.radio-label input {
    width: auto;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.quote-result {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 3rem auto 0;
    border: 1px solid var(--border-color);
}

.quote-result h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.quote-details {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.quote-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.form-success {
    background: var(--success-color);
    color: white;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

.form-error {
    background: #ff6b6b;
    color: white;
    padding: 1.5rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
}

.form-error a {
    color: white;
    text-decoration: underline;
}

.form-error a:hover {
    color: var(--secondary-color);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: bold;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
}

.contact-item p {
    color: var(--text-muted);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: bold;
}

.map-section {
    padding: 60px 0;
    background-color: var(--dark-bg);
}

.map-placeholder {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.map-placeholder p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0.5rem 0;
}

/* Realisations Section */
.realisations {
    padding: 80px 0;
}

.realisations-intro {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.realisation-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.realisation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.realisation-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.realisation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
}

.placeholder-icon {
    font-size: 4rem;
    opacity: 0.7;
}

.realisation-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.realisation-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.realisation-content h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: bold;
}

.realisation-content > p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.realisation-details {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.detail-item {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.detail-item strong {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.realisations-cta {
    background: var(--gradient-green);
    color: var(--text-light);
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 4rem;
}

.realisations-cta h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.realisations-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Section */
.cta {
    background: var(--gradient-green);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 80px;
    max-width: 200px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-family: var(--font-title);
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .use-case-item {
        grid-template-columns: 1fr;
    }

    .use-case-item.reverse {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-group,
    .radio-group {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    section {
        padding: 60px 0;
    }

    .quote-form,
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .realisations-grid {
        grid-template-columns: 1fr;
    }

    .realisations-cta {
        padding: 2rem 1.5rem;
    }

    .realisations-cta h3 {
        font-size: 1.5rem;
    }
}

/* Vagues dans la hero-section */
.hero-waves {
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 100vw; /* pleine largeur de fenêtre */
    height: 120px;
    transform: translateX(-50%);
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.waves-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100px;
    max-height: 160px;
}

