/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--warm-800);
    line-height: 1.6;
}

/* Color variables */
:root {
    /* Couleurs chaleureuses inspirées de la terre et des légumes */
    --terra-100: #fef3e2;
    --terra-200: #fde8c5;
    --terra-300: #fbd38d;
    --terra-400: #f6ad55;
    --terra-500: #ed8936;
    --terra-600: #dd6b20;
    --terra-700: #c05621;
    
    /* Verts naturels inspirés des légumes */
    --nature-100: #f0f8f0;
    --nature-200: #d9edd9;
    --nature-300: #b3d9b3;
    --nature-400: #8cc58c;
    --nature-500: #66b266;
    --nature-600: #366e36;
    --nature-700: #336633;
    --nature-800: #1a4d1a;
    
    /* Tons neutres chauds */
    --warm-50: #fefaf8;
    --warm-100: #fdf4f0;
    --warm-200: #f9e8e0;
    --warm-300: #f3d5c7;
    --warm-400: #e6b19a;
    --warm-500: #d4926e;
    --warm-600: #b8804a;
    --warm-700: #8b5e3c;
    --warm-800: #6b4423;
    --warm-900: #4a2c1a;
}

/* Utility classes */
.container {
    margin: 0 auto;
    max-width: 1152px; /* max-w-6xl */
    padding: 0 1rem;
}

/* Header styles */
.header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--slate-100);
}

.header-content {
    margin: 0 auto;
    max-width: 1152px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.app-icon {
    width: 2rem;
    height: 2rem;
}

.logo-text {
    color: var(--warm-800);
    font-weight: 600;
}

.nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}

@media (min-width: 640px) {
    .nav {
        display: flex;
    }
}

.nav a {
    text-decoration: none;
    color: inherit;
    transition: color 0.15s ease-in-out;
}

.nav a:hover {
    color: var(--nature-600);
}

.banner {
    width: 100%;
    min-height: 30rem;
    text-align: center;
    padding: 4rem 1rem;
    background-image: linear-gradient(rgba(22, 163, 74, 0.7), rgba(237, 137, 54, 0.2)), 
                        url('https://images.unsplash.com/photo-1655929299728-93ee15ed7967?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    font-size: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner .logo {
    gap: 1rem;
}



.banner .logo-icon {
        /* min-height: 40rem; */
        width: 100%;
    }

@media screen and (min-width: 640px) {
    .banner .logo-icon {
    height: auto;
    width: 60%;
    max-height: 50rem;
}
}
.banner .logo-text {
    color: white;
    font-size: 5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--nature-600);
    color: white;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: var(--nature-700);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--nature-500);
}

.btn-secondary {
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    border: 1px solid var(--warm-400);
    background-color: white;
    color: var(--warm-700);
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--warm-500);
    background-color: var(--warm-50);
}

.btn-large {
    padding: 0.75rem 1.25rem;
    font-weight: 600;
}

/* Hero section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    margin: 0 auto;
    max-width: 1152px;
    padding: 4rem 1rem;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        padding: 6rem 1rem;
        grid-template-columns: 1fr 1fr;
    }
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--slate-900);
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

.hero-title .highlight {
    color: var(--terra-500);
}

.hero-description {
    margin-top: 1rem;
    font-size: 1.125rem;
    color: var(--slate-600);
}

.hero-description a {
    color: inherit;
    text-decoration: none;
}

.features-list {
    margin-top: 1.5rem;
    list-style: none;
    color: var(--slate-600);
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.features-list span:first-child {
    margin-top: 0.25rem;
}

.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
}

.cta-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--slate-500);
}

.hero-image {
    position: relative;
    width: auto;
}

.image-container {
    aspect-ratio: 4/3;
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    display: none;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

@media (min-width: 768px) {
    .image-overlay {
        display: block;
    }
}

.image-overlay p {
    font-size: 0.875rem;
    color: var(--slate-600);
}

.image-overlay a {
    color: inherit;
    text-decoration: none;
}

/* Circuit Court section */
.circuit-court {
    background-color: var(--warm-50);
    padding: 4rem 0;
}

.circuit-court-content {
    margin: 0 auto;
    max-width: 1152px;
    padding: 0 1rem;
}

.circuit-court-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .circuit-court-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.circuit-court-item {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circuit-court-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
}

.circuit-court-image {
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.circuit-court-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circuit-court-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-800);
    margin-bottom: 1rem;
}

.circuit-court-item p {
    color: var(--warm-600);
    line-height: 1.6;
}

/* Offers section */
.offers {
    /* background-color: var(--warm-50); */
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)), url('../assets/images/background_legumes.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 4rem 0;
    position: relative;
}

.offers-content {
    margin: 0 auto;
    max-width: 1152px;
    padding: 4rem 1rem;
}

.offers-notice {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 0;
    left: 0;
    background-color: rgba(253, 244, 240, 0.4);
    border: 1px solid var(--warm-200);
    border-radius: 0.5rem;
    padding: 1rem;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
}

.suspension-notice {
    display: flex;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-800);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    gap: 16px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-800);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 1.875rem;
    }
}

.section-description {
    margin-top: 0.5rem;
    color: var(--warm-600);
}

.offers-grid {
    margin-top: 2rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    width: 100%;
}

@media (min-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.offer-card {
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    position: relative;
}

.offer-card.popular {
    border: 2px solid var(--warm-300);
}

.popular-badge {
    position: absolute;
    top: -0.75rem;
    left: 1.5rem;
    border-radius: 9999px;
    background-color: var(--terra-600);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.offer-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.offer-image {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

.offer-card:hover .offer-image img {
    transform: scale(1.05);
}

.offer-price {
    margin-top: 0.25rem;
    font-size: 1.875rem;
    font-weight: 800;
}

.offer-price-unit {
    font-size: 1rem;
}
.offer-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.offer-features {
    margin-top: 1rem;
    list-style: none;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.offer-features li {
    margin-bottom: 0.5rem;
}

.offer-button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.625rem 1rem;
}

.offers-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--slate-500);
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    width: auto;
    border-radius: 5px;
    padding: .3rem;
    display: inline-block;
}

/* Gallery section */
.gallery-content {
    margin: 0 auto;
    max-width: 1152px;
    padding: 4rem 1rem;
}

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

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

.gallery-image {
    border-radius: 0.75rem;
    object-fit: cover;
    aspect-ratio: 1;
    width: 100%;
}

/* FAQ section */
.faq {
    background-color: var(--warm-50);
}

.faq-content {
    margin: 0 auto;
    max-width: 1152px;
    padding: 4rem 1rem;
}

.faq-grid {
    margin-top: 1.5rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-item h3 {
    font-weight: 600;
}

.faq-item p {
    color: var(--slate-600);
    margin-top: 0.25rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--slate-100);
}

.footer-content {
    margin: 0 auto;
    max-width: 1152px;
    padding: 2.5rem 1rem;
    font-size: 0.875rem;
    color: var(--slate-500);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

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

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

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

/* Responsive utilities */
@media (max-width: 639px) {
    .hidden-mobile {
        display: none;
    }
}

@media (min-width: 640px) {
    .show-mobile {
        display: none;
    }
}

/* Thank you page styles */
.thank-you-hero {
    background: linear-gradient(135deg, var(--nature-100) 0%, var(--terra-100) 100%);
    padding: 4rem 0;
}

.thank-you-header {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--warm-800);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .thank-you-title {
        font-size: 3rem;
    }
}

.thank-you-subtitle {
    font-size: 1.25rem;
    color: var(--warm-600);
    line-height: 1.6;
}

/* Next steps section */
.next-steps {
    padding: 4rem 0;
    background-color: white;
}

.steps-grid {
    margin-top: 2rem;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

.step-card {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--warm-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.15);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--nature-600);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-800);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--warm-600);
    line-height: 1.6;
}

/* Info section */
.info-section {
    padding: 4rem 0;
    background-color: var(--warm-50);
}

.info-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

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

.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--warm-200);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--warm-800);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--warm-600);
    line-height: 1.6;
}

.info-card a {
    color: var(--nature-600);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    color: var(--nature-700);
    text-decoration: underline;
}

/* Farmer section */
.farmer-section {
    padding: 4rem 0;
    background-color: white;
}

.farmer-message {
    display: grid;
    gap: 2rem;
    align-items: center;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .farmer-message {
        grid-template-columns: auto 1fr;
        gap: 3rem;
    }
}

.farmer-avatar {
    font-size: 4rem;
    text-align: center;
}

@media (min-width: 768px) {
    .farmer-avatar {
        font-size: 5rem;
    }
}

.farmer-content {
    text-align: center;
}

@media (min-width: 768px) {
    .farmer-content {
        text-align: left;
    }
}

.farmer-quote {
    font-size: 1.125rem;
    color: var(--warm-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.farmer-signature {
    color: var(--warm-700);
    font-weight: 600;
}

/* Engagement section */
.engagement-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--nature-600) 0%, var(--terra-600) 100%);
    color: white;
}

.engagement-content {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.engagement-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.engagement-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.back-home {
    margin-top: 2rem;
}

.engagement-section .btn-primary {
    background-color: white;
    color: var(--nature-700);
    font-weight: 600;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.engagement-section .btn-primary:hover {
    background-color: var(--warm-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.2);
}

/* Next delivery banner */
.next-delivery-banner {
    position: fixed;
    top: 80px; /* Position sous le header */
    right: 1rem;
    z-index: 50;
    max-width: 320px;
    background: linear-gradient(135deg, var(--nature-600) 0%, var(--terra-600) 100%);
    color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.next-delivery-content {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.delivery-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.delivery-text {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

.close-banner {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.close-banner:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .next-delivery-banner {
        right: 0.5rem;
        left: 0.5rem;
        max-width: none;
        top: 70px;
    }
    
    .delivery-text {
        font-size: 0.8rem;
    }
}

