﻿/* Reset et base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background: #e8f5e9;
    --foreground: #1a2e1a;
    --card: #ffffff;
    --card-foreground: #2d3748;
    --primary: #2e5090;
    --primary-foreground: #ffffff;
    --secondary: #f5f7fa;
    --secondary-foreground: #2d3748;
    --muted: #f0f4f8;
    --muted-foreground: #718096;
    --accent: #22a566;
    --accent-foreground: #ffffff;
    --border: #e2e8f0;
    --input: #edf2f7;
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn .icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: #243f73;
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background-color: #e8edf3;
}

.btn-outline {
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background-color: var(--muted);
}

.btn-full {
    width: 100%;
}

/* Icons */
.icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.icon.check {
    color: var(--accent);
}

/* Bandeau navigation */
.top-banner {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    min-height: 62px;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 24px rgba(26, 46, 26, 0.12);
    backdrop-filter: blur(12px);
}


.top-banner-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
    transform: scale(1.35);
    transform-origin: left center;
}
.top-banner-brand {
    display: inline-flex;
    flex-direction: column;
    margin-left: 1.4rem;
    color: var(--foreground);
    text-decoration: none;
    font-weight: 900;
    line-height: 1;
}

.top-banner-brand > span {
    font-size: 0.95rem;
}

.top-banner-brand .accent {
    color: var(--accent);
}

.top-banner-brand small {
    margin-top: 0;
    color: #000000;
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
}


.top-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.top-banner-return {
    color: #000000;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
}

.top-banner-return:hover,
.top-banner-return:focus {
    text-decoration: underline;
    outline: none;
}
.top-banner-menu {
    position: relative;
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #39ff14;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 46, 26, 0.08);
}

.menu-toggle:hover {
    background: #2fe012;
}

.menu-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--foreground);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    width: min(280px, calc(100vw - 2rem));
    padding: 0.55rem;
    border: 1px solid rgba(34, 165, 102, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 42px rgba(26, 46, 26, 0.2);
    display: none;
    z-index: 1001;
    backdrop-filter: blur(12px);
}

.dropdown-menu.is-open {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    color: var(--foreground);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.dropdown-menu a + a {
    margin-top: 0.15rem;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
    background: #39ff14;
    color: #000000;
    outline: none;
    transform: translateX(-3px);
}
/* Header */
.header {
    position: relative;
    padding: 2.25rem 1.25rem 4rem;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: relative;
    z-index: 10;
}

.header-subtitle {
    display: inline-block;
    margin-bottom: 0.4rem;
}

.header-subtitle span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 300;
    opacity: 0.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 0.25rem;
}

.header-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.header-title-top {
    display: block;
    font-weight: 300;
    font-size: clamp(1.25rem, 4vw, 2rem);
    margin-bottom: 0.5rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.header-title-main {
    display: block;
}

.header-title-main .accent {
    color: #39ff14;
}

.header-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

.header-location .line {
    width: 3rem;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.header-tagline {
    margin-top: 0.75rem;
    font-size: clamp(1rem, 3vw, 1.25rem);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-description {
    margin-top: 0.6rem;
    font-size: 1.125rem;
    font-weight: 600;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-wrap: balance;
}

.header-buttons {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
/* Sections */
.section {
    margin: 2.5rem 0;
}

/* Cards */
.card {
    background-color: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.card-text {
    color: var(--muted-foreground);
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.card-text:last-of-type {
    margin-bottom: 1.5rem;
}

/* Features list */
.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li .icon {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Gallery */
.gallery-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.gallery-subtitle:first-of-type {
    margin-top: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-grid:last-child {
    margin-bottom: 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Form */
.contact-form {
    margin-top: 0.75rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

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

.form-group .required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--input);
    color: var(--foreground);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 80, 144, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted-foreground);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Footer */
.footer {
    background-color: var(--card);
    text-align: center;
    padding: 2rem 1.25rem;
    margin-top: 2.5rem;
}

.footer-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-copy {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn svg {
    width: 1.75rem;
    height: 1.75rem;
}

/* Responsive */
@media (max-width: 640px) {
    .header {
        padding: 3rem 1rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .header-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .header-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

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

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
