/* ===================================
   INFOS PRATIQUES - MOBILE FIRST CSS
   =================================== */

/* Variables CSS */
:root {
    /* --primary-color: #a8e6a3; */
    --primary-color: #2e7d32;
    --primary-dark: #2e7d32;
    --primary-light: #e7f1ff;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition: all 0.3s ease;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; */
    font-family: "Figtree", Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    /* color: var(--dark-color); */
    /* font-family: "Montserrat", Tahoma, Geneva, Verdana, sans-serif; */
    font-family: "Montserrat", Verdana, sans-serif;
}

.text-primary {
    color: var(--primary-color) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 300px;
    /* background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--primary-dark) 100%
    ); */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* .hero-gradient {
    width: 100%;
    padding: 3rem 1rem;
    background: rgba(0, 0, 0, 0.2);
} */

.hero-content h1 {
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation rapide */
.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Cartes de tarifs */
.tarif-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    position: relative;
}

.tarif-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tarif-featured {
    border-color: var(--primary-color);
    background: linear-gradient(
        to bottom,
        var(--primary-light) 0%,
        var(--white) 100%
    );
}

.badge-popular {
    position: absolute;
    top: -12px;
    right: 20px;
}

.badge-popular .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.tarif-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.tarif-price h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.tarif-features ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tarif-features ul li:last-child {
    border-bottom: none;
}

.tarif-footer .btn {
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
}

/* Info Box */
.info-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border-left: 5px solid var(--primary-color);
}

.info-box h4 {
    color: var(--text-dark);
    font-size: 1.25rem;
}

.info-box ul li {
    padding: 0.5rem 0;
}

/* Gratuité Box */
.gratuite-box {
    background: linear-gradient(135deg, #d4edda 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border: 2px solid var(--success-color);
}

.gratuite-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gratuite-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Practical Info Cards */
.practical-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.practical-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* Media Benefits */
.media-benefits {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.benefit-item {
    text-align: center;
    padding: 1rem;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0 auto;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Eligibility Box */
.eligibility-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border: 2px dashed var(--primary-color);
}

.criteria-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.criteria-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Form Container */
.form-container {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 5px solid var(--primary-color);
}

.form-section {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    position: relative;
    padding-left: 15px;
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Partner Benefit Cards */
.partner-benefit-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    height: 100%;
}

.partner-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.partner-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* Partnership Cards */
.partnership-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.partnership-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.partnership-badge {
    padding: 1rem;
}

.partnership-badge i {
    font-size: 3rem;
    color: var(--primary-color);
}

.partnership-badge h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Expectation Box */
.expectation-box {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    border: 2px solid var(--primary-color);
}

.expectation-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.expectation-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Contact Info Cards */
.contact-info-card {
    padding: 1rem;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: scale(1.05);
}

.contact-info-card a {
    transition: var(--transition);
}

.contact-info-card a:hover {
    opacity: 0.8;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-secondary {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE - TABLET (768px+)
   =================================== */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }

    .tarif-card {
        padding: 2rem;
    }

    .tarif-icon {
        font-size: 3rem;
    }

    .info-box,
    .gratuite-box,
    .eligibility-box,
    .expectation-box {
        padding: 2.5rem 2rem;
    }

    .form-container {
        padding: 3rem 2.5rem;
    }

    .partnership-badge i {
        font-size: 3.5rem;
    }
}

/* ===================================
   RESPONSIVE - DESKTOP (992px+)
   =================================== */
@media (min-width: 992px) {
    .hero-section {
        min-height: 400px;
    }

    .hero-gradient {
        padding: 4rem 2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .tarif-card {
        padding: 2.5rem;
    }

    .benefit-item,
    .partner-benefit-card {
        text-align: left;
    }

    .benefit-icon {
        margin: 0;
    }

    .form-container {
        padding: 3.5rem 3rem;
    }
}

/* ===================================
   RESPONSIVE - LARGE DESKTOP (1200px+)
   =================================== */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .tarif-price h2 {
        font-size: 3rem;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navbar,
    .hero-section,
    footer,
    .btn {
        display: none;
    }

    .tarif-card,
    .form-container {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }
}

/* Accessibility */
.form-control:focus,
.form-select:focus,
.btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error states */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
