/*
   ENSEIGNEMENT.CSS – Domaine Équestre du Rival - VERSION AMÉLIORÉE UX
   Styles spécifiques à la page enseignement.html uniquement
   (En plus de common.css)
   
   Couleurs du site:
   Couleurs Turquoise : #20B2AA;
   Couleur Bleu : #1E3A8A;
   Couleur sable : #F5F2E8;
*/

/* ==========================================================================
   NOUVEAUX STYLES UX - BADGES ET PRIX
   ========================================================================== */

/* Badge "POPULAIRE" supprimé - pas nécessaire */

/* Badge "IDÉAL PREMIÈRE FOIS" sur balade poney - REPOSITIONNÉ */
.first-time-badge {
    background: linear-gradient(135deg, #4ADE80, #22C55E);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin: 0 auto 15px auto;
    text-align: center;
}

/* Prix mis en évidence - MODIFIÉ pour balade poney */
.formula-price-highlight {
    font-size: 2.5rem !important;
    color: #1E3A8A !important;
    font-weight: bold;
    margin: 10px auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 15px;
    border-radius: 25px;
    display: inline-block;
    border: 2px solid #20B2AA;
    text-align: center;
    max-width: fit-content;
}

.formula-price-highlight span {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
}

/* ==========================================================================
   NOUVEAUX STYLES UX - DESCRIPTIONS ET DÉTAILS
   ========================================================================== */

/* Description courte visible par défaut */
.formula-description-short {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Détails masqués par défaut */
.formula-details {
    margin-top: 15px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bouton "En savoir plus" - LARGEUR AJUSTÉE */
.see-more-btn {
    background: transparent;
    border: 2px solid #20B2AA;
    color: #20B2AA;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px auto;
    display: block;
    max-width: 200px;
    width: auto;
}

.see-more-btn:hover {
    background: #20B2AA;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

/* ==========================================================================
   NOUVEAUX STYLES UX - BOUTONS CTA
   ========================================================================== */

/* Section CTA sous chaque carte */
.formula-cta {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

/* Style de base des boutons CTA */
.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    color: white;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Couleurs spécifiques par formule */
.loisirs-btn {
    background: linear-gradient(135deg, #4ADE80, #22C55E);
}

.loisirs-btn:hover {
    background: linear-gradient(135deg, #22C55E, #16A34A);
}

.competition-btn {
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

.competition-btn:hover {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.pony-btn {
    background: linear-gradient(135deg, #F59E0B, #EAB308);
}

.pony-btn:hover {
    background: linear-gradient(135deg, #EAB308, #CA8A04);
}

/* ==========================================================================
   AMÉLIORATIONS CARDS EXISTANTES
   ========================================================================== */

/* Position relative pour les badges */
.annual-card,
.pony-ride-info {
    position: relative;
    transition: all 0.3s ease;
}

.annual-card:hover,
.pony-ride-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
}

/* Flexbox pour les cartes avec CTA */
.annual-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.annual-content {
    flex: 1;
}

/* ==========================================================================
   SECTION FORMULES ANNUELLES - AMÉLIORÉE
   ========================================================================== */
   
.annual-formulas {
    margin-top: 2.2rem;
    margin-bottom: 2.5rem;
}

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

.annual-card {
    background: #edfffe;
    border-radius: 13px;
    box-shadow: 0 4px 15px 0 rgba(180,140,50,0.07);
    overflow: hidden;
    border: 1.5px solid #5984ff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.annual-header {
    background: #d2f7f5;
    padding: 1.1rem 1.3rem 1rem 1.3rem;
    border-bottom: 1px solid #ffe7b8;
    color: #1E3A8A;
    font-size: 1.21rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.annual-icon {
    font-size: 2.5rem;
    margin-right: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.annual-info h3 {
    font-size: 1.22rem;
    color: #000000;
    margin-bottom: 0.15rem;
}

.annual-subtitle {
    font-size: 1.01rem;
    color: #000000;
}

.annual-price {
    font-size: 1.6rem;
    color: #1E3A8A;
    font-weight: bold;
    margin-top: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.annual-image img {
    width: 100%;
    height: auto; 
    max-height: 300px; 
    object-fit: contain; 
    object-position: center;
    border-radius: 0; 
    background-color: #f8f9fa;
}

.annual-content {
    padding: 1.2rem 1.3rem 1.1rem 1.3rem;
    flex: 1;
}

.annual-description {
    font-size: 1.07rem;
    margin-bottom: 0.7rem;
}

.annual-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.1rem;
}

.annual-features li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 0.43em;
}

.annual-features li:before {
    content: "✔";
    color: #20B2AA;
    position: absolute;
    left: 0;
    top: 0.08em;
}

/* ==========================================================================
   SECTION PRESTATIONS PONCTUELLES (balades, stages, etc.)
   ========================================================================== */

.occasional-services {
    margin-bottom: 2.7rem;
}

.services-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem;
}

.pricing-card {
    background: #edfffe;
    padding: 1.3rem;
    border-radius: 11px;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(160,130,50,0.07);
    transition: all 0.3s ease;
    border: 1px solid rgba(32, 178, 170, 0.2);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.pricing-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.price {
    color: #1E3A8A;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Style pour les paragraphes dans price (deuxième ligne) */
.price p {
    color: #1E3A8A;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

/* ==========================================================================
   SECTION STAGES ET ACTIVITÉS VACANCES
   ========================================================================== */
        
.stages-section {
    margin-bottom: 2.7rem;
}

.stages-content-new {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stages-text-complete {
    max-width: 100%;
}

.stages-text-complete h3 {
    color: #1e3a8a;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.stages-text-complete p {
    font-size: 1.07rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.stages-highlight {
    background: #f7f1df;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
}

.stages-highlight h4 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.stages-highlight ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.stages-highlight li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

.stages-highlight li:before {
    content: "✔";
    color: #20B2AA;
    position: absolute;
    left: 0;
    top: 0.08em;
    font-weight: bold;
}

/* ==========================================================================
   SECTION STAGES ET ACTIVITÉS VACANCES - CARDS
   ========================================================================== */

.stages-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-top: 0;
}

.stage-card {
    background: #edfffe;
    border-radius: 10px;
    padding: 1rem 0.8rem;
    text-align: center;
    box-shadow: 0 3px 10px 0 rgba(180,140,50,0.06);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid rgba(32, 178, 170, 0.2);
}

.stage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.15);
}

.stage-card h4 {
    color: #0a0a0a;
    font-size: 0.95rem;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.stage-card .stage-price {
    color: #1E3A8A;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 0.3rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style pour les paragraphes dans stage-price (deuxième ligne de prix) */
.stage-card .stage-price p {
    color: #1E3A8A !important;
    font-weight: bold !important;
    font-size: 1.3rem !important;
    margin: 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    line-height: 1.2 !important;
}

.stage-card p {
    color: #0a0a0a;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.3;
}

.stage-card.special {
    background: #f0fcfc;
    border-color: #20B2AA;
}

/* ==========================================================================
   SECTION BALADE À PONEY - AMÉLIORÉE
   ========================================================================== */

.pony-ride-section {
    margin-bottom: 2.7rem;
}

.pony-ride-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.pony-ride-info {
    background: #edfffe;
    border-radius: 13px;
    box-shadow: 0 4px 15px 0 rgba(180,140,50,0.07);
    overflow: hidden;
    border: 1.5px solid #5984ff;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.pony-price-banner {
    background: #d2f7f5;
    padding: 1.1rem 1.3rem 1rem 1.3rem;
    border-bottom: 1px solid #ffe7b8;
    color: #1E3A8A;
    font-size: 1.21rem;
    font-weight: bold;
    text-align: center;
}

/* Conteneur pour le badge centré */
.badge-container {
    text-align: center;
    padding: 10px 1.3rem 0 1.3rem;
}

/* Conteneur pour le prix centré */
.price-container {
    text-align: center;
    padding: 0 1.3rem;
}

.pony-price-banner h3 {
    color: #000000;
    margin: 0;
    font-size: 1.21rem;
}

.price-simple {
    color: #1E3A8A;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin: 10px 0 8px 0;
    padding: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.experience-text {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 1.3rem;
    line-height: 1.6;
}

.pony-ride-info h3,
.pony-ride-info p,
.pony-features,
.pony-cta {
    padding: 0 1.3rem;
    margin-bottom: 1rem;
}

.pony-ride-info h3:first-of-type {
    padding-top: 1.2rem;
}

.pony-cta {
    padding-bottom: 1.2rem;
}

.pony-features {
    background: #f0fcfc;
    border-radius: 8px;
    padding: 1rem 1.3rem;
    margin: 1rem 1.3rem 10px 1.3rem;
}

.pony-features ul {
    list-style: none;
    padding-left: 0;
}

.pony-features li {
    padding-left: 1.2em;
    position: relative;
    margin-bottom: 0.43em;
}

.pony-features li:before {
    content: "✔";
    color: #20B2AA;
    position: absolute;
    left: 0;
    top: 0.08em;
}

.reservation-text {
    text-align: center;
    margin-bottom: 8px;
    margin-top: 0px;
    color: #1E3A8A;
    font-weight: 600;
}

.pony-cta {
    padding: 12px 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin: 0px auto 15px auto;
    max-width: 500px;
}

.pony-cta p {
    color: white;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: center;
}

.pony-cta-button {
    background: linear-gradient(135deg, #1E3A8A 0%, #20B2AA 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.pony-cta-button:hover {
    background: linear-gradient(135deg, #1E3A8A 0%, #20B2AA 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   SECTION DISCIPLINES ENSEIGNÉES
   ========================================================================== */

.disciplines-section {
    margin-bottom: 2.7rem;
}

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.3rem;
}

.discipline-card {
    background: #fff9ee;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f2d097;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.discipline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
}

.discipline-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.discipline-content {
    padding: 1.1rem;
    flex: 1;
}

.discipline-content h3 {
    color: #1e3a8a;
    font-size: 1.12rem;
    text-align: center;
}

.discipline-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0.5rem;
}

.discipline-content li {
    position: relative;
    padding-left: 1.15em;
    margin-bottom: 0.24em;
}

.discipline-content li:before {
    content: "—";
    color: #20B2AA;
    position: absolute;
    left: 0;
}

/* ==========================================================================
   SECTION INFOS PRATIQUES ENSEIGNEMENT
   ========================================================================== */

.practical-info {
    margin-bottom: 2.7rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.3rem;
}

.info-card {
    background: #edfffe;
    border-radius: 13px;
    padding: 1.2rem 1.1rem;
    box-shadow: 0 4px 15px 0 rgba(180,140,50,0.07);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.info-card h3 {
    color: #1E3A8A;
    text-align: center;
    margin-bottom: 1rem;
}

.info-section-header {
    font-weight: 600;
    color: #1E3A8A;
    background: #f8fafc;
    padding: 0.5rem 0;
    margin: 0.8rem 0 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.info-item:hover {
    background: #f8fafc;
}

.info-label {
    color: #374151;
    font-weight: 500;
}

.info-value {
    color: #6b7280;
    font-weight: 500;
}

.info-separator {
    height: 1px;
    background: #e5e7eb;
    margin: 1rem 0;
}

/* ==========================================================================
   STYLES POUR LES HORAIRES DE COURS
   ========================================================================== */

.schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-day {
    background: #f0fcfc;
    border-radius: 8px;
    padding: 0.8rem;
    border-left: 4px solid #20B2AA;
}

.day-name {
    font-weight: bold;
    color: #1E3A8A;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #20B2AA;
    padding-bottom: 0.3rem;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(32, 178, 170, 0.2);
}

.course-item:last-child {
    border-bottom: none;
}

.course-name {
    color: #333;
    font-weight: 500;
}

.course-time {
    color: #1E3A8A;
    font-weight: bold;
    background: rgba(30, 58, 138, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #1E3A8A;
    font-weight: 700;
}

.page-intro {
    padding: 80px 0 60px 0;
    background: linear-gradient(135deg, #F5F2E8 0%, #E8F4F8 100%);
    position: relative;
    z-index: 2;
}

.page-intro h1 {
    color: #1E3A8A;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN - ADAPTATION MOBILE
   ========================================================================== */

@media (max-width: 1200px) {
    /* Formules annuelles sur tablette */
    .annual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Prix responsive */
    .formula-price-highlight {
        font-size: 2rem !important;
        padding: 6px 12px;
    }
    
    /* Badges responsive */
    .first-time-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

@media (max-width: 1000px) {
    .stages-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 800px) {
    /* Formules annuelles sur mobile */
    .annual-grid {
        grid-template-columns: 1fr;
    }
    
    .stages-content,
    .pony-ride-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stages-content {
        grid-template-columns: 1fr;
    }
    
    .stages-pricing {
        order: -1;
    }
    
    /* Prix mobile */
    .formula-price-highlight {
        font-size: 1.8rem !important;
        padding: 5px 10px;
    }
    
    /* Boutons CTA mobile */
    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
        width: 100%;
    }
    
    /* Badges mobile */
    .first-time-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

@media (max-width: 600px) {
    .stages-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .stages-content-new {
        gap: 1.5rem;
    }
    
    /* Section titles mobile */
    .section-title {
        font-size: 2rem;
    }
    
    .page-intro h1 {
        font-size: 2rem;
    }
}

@media (max-width: 800px) {
    .annual-grid, 
    .disciplines-grid, 
    .info-grid, 
    .services-pricing-grid {
        grid-template-columns: 1fr;
    }
}