/* ==========================================
   ANELA & VOUS - CSS STYLES
   Design élégant avec palette bleu marine et doré
   ========================================== */

/* === VARIABLES CSS === */
:root {
    /* Couleurs principales du logo */
    --primary-navy: #1e3a5f;        /* Bleu marine profond */
    --primary-gold: #d4af37;        /* Doré élégant */
    --secondary-navy: #2c4f73;      /* Bleu marine plus clair */
    --light-gold: #f4e4a6;          /* Doré clair */
    --pale-gold: #faf6e8;           /* Doré très pâle */
    
    /* Couleurs complémentaires */
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --border-light: #e2e8f0;
    
    /* Dégradés */
    --gradient-navy: linear-gradient(135deg, #1e3a5f, #2c4f73);
    --gradient-gold: linear-gradient(135deg, #d4af37, #f4e4a6);
    --gradient-navy-gold: linear-gradient(135deg, #1e3a5f, #d4af37);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 16px;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-navy);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-navy);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === BUTTONS === */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-navy-gold);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* === MOBILE UTILITIES === */
.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

/* === LOGO === */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image,
.logo-img {
    height: 80px;
    max-width: 240px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 0.2rem;
}

.logo-text .tagline {
    font-size: 0.9rem;
    color: var(--primary-gold);
    font-weight: 500;
}

/* === AVAILABILITY BADGE === */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--primary-navy);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.availability-badge i {
    font-size: 0.8rem;
}

/* === KEY POINTS === */
.key-points {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.key-point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary-navy);
    font-weight: 500;
}

.key-point i {
    color: var(--primary-gold);
    font-size: 0.8rem;
}

/* === SERVICE HIGHLIGHTS === */
.service-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.service-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 25px;
    color: var(--primary-navy);
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-highlight i {
    color: var(--primary-gold);
    font-size: 0.8rem;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === MOBILE NAV === */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
}

.mobile-nav-list {
    list-style: none;
    text-align: center;
}

.mobile-nav-list li {
    margin-bottom: 2rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: var(--primary-navy);
    font-size: 1.3rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-nav-link:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

/* === FLOATING CALL BUTTON === */
.floating-call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    text-align: center;
}

.call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    color: var(--primary-navy);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

.call-btn span {
    display: none;
}

.availability-text {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: var(--primary-gold);
    font-weight: 600;
    background: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* === MOBILE CALL BUTTON IN HEADER === */
.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    color: var(--primary-navy);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Version desktop avec texte */
.btn-call.desktop-only {
    width: auto;
    height: auto;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    gap: 0.5rem;
}

.btn-call.desktop-only span {
    font-weight: 600;
    white-space: nowrap;
}

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

/* === HERO === */
.hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--pale-gold) 0%, var(--light-bg) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image-placeholder {
    aspect-ratio: 1;
    background: var(--gradient-navy-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.2);
}

.hero-image-placeholder i {
    font-size: 4rem;
    color: white;
}

.hero-image-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.2);
    object-fit: cover;
    max-width: 400px;
}

/* Symbole de maison chaleureuse */
.hero-home-symbol {
    max-width: 400px;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c4f73 25%, #d4af37 75%, #f4e4a6 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.home-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-home-symbol .fas.fa-home {
    font-size: 8rem;
    color: var(--primary-navy);
    filter: drop-shadow(0 4px 8px rgba(30, 58, 95, 0.2));
}

.heart-accent {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--accent-gold);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    animation: heartbeat 2s ease-in-out infinite;
}

.heart-accent .fas.fa-heart {
    font-size: 1.2rem;
    color: white;
}

@keyframes heartbeat {
    0%, 50%, 100% { 
        transform: scale(1); 
    }
    25% { 
        transform: scale(1.1); 
    }
}

/* Effet de particules flottantes pour l'ambiance chaleureuse */
.hero-home-symbol::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 4s ease-in-out infinite;
}

.hero-home-symbol::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 20%;
    width: 6px;
    height: 6px;
    background: var(--primary-navy);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 3s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 0.9;
    }
}

/* === SERVICES === */
.services {
    padding: 6rem 0;
    background: white;
}

.section-header {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 320px); /* Hauteur fixe pour chaque ligne */
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    cursor: pointer;
    height: 100%; /* Prend toute la hauteur de la cellule de grille */
    width: 100%; /* Prend toute la largeur de la cellule de grille */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    background: var(--gradient-navy-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    color: var(--primary-navy);
    line-height: 1.15;
    flex-shrink: 0; /* Empêche le titre de rétrécir */
    min-height: 2.2rem; /* Hauteur minimum pour 2 lignes */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0.8rem;
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 0;
    line-height: 1.3;
    font-size: 0.85rem;
    flex: 1; /* Prend l'espace disponible */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 0.8rem; /* Padding pour éviter que le texte touche les bords */
    overflow: hidden; /* Cache le texte qui dépasse */
    max-height: 4rem; /* Limite la hauteur pour éviter le débordement */
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

/* === WHY CHOOSE US === */
.why-choose-us {
    padding: 6rem 0;
    background: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.advantage {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.08);
    transition: all 0.3s ease;
}

.advantage:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.12);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-navy-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 1.8rem;
    color: white;
}

.advantage h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.advantage p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* === ABOUT === */
.about {
    padding: 6rem 0;
    background: var(--pale-gold);
}

.founders {
    margin: 3rem 0;
}

.founder {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.08);
}

.founder-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-navy-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.founder-avatar i {
    font-size: 1.5rem;
    color: white;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.founder-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--primary-navy);
}

.founder-info p:first-of-type {
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.founder-info p:last-of-type {
    color: var(--text-medium);
    font-size: 0.95rem;
}

.values h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-navy);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.08);
    text-align: center;
}

.value i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.value span {
    font-weight: 500;
    color: var(--primary-navy);
    text-align: center;
    line-height: 1.3;
    font-size: 0.95rem;
}

/* === APPOINTMENT === */
.appointment {
    padding: 6rem 0;
    background: white;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.appointment-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.appointment-info .section-subtitle {
    text-align: left;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--pale-gold);
    border-radius: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-navy-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: white;
    font-size: 1.2rem;
}

.contact-info h4 {
    margin-bottom: 0.3rem;
    color: var(--primary-navy);
}

.contact-info p {
    margin-bottom: 0.2rem;
    color: var(--primary-navy);
    font-weight: 500;
}

.contact-info small {
    color: var(--text-medium);
}

/* === FORM === */
.contact-form {
    background: var(--pale-gold);
    padding: 2.5rem;
    border-radius: 20px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

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

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

/* === CONTACT === */
.contact {
    padding: 6rem 0;
    background: var(--pale-gold);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.08);
}

.contact-detail i {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-detail h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.contact-detail p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* === FOOTER === */
.footer {
    background: var(--primary-navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--light-gold);
    line-height: 1.6;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: var(--primary-gold);
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--secondary-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-navy);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-gold);
}

/* === FINANCIAL AIDS PAGE === */
.financial-aid-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-navy-gold);
    text-align: center;
    color: white;
}

.financial-aid-hero .hero-title {
    color: white;
    margin-bottom: 1.5rem;
}

.financial-aid-hero .hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.financial-aids {
    padding: 6rem 0;
    background: white;
}

.aids-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.aid-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.aid-card.featured {
    border: 2px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
}

.aid-card.featured::before {
    content: 'POPULAIRE';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.aid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.12);
}

.aid-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-navy-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aid-icon i {
    font-size: 1.8rem;
    color: white;
}

.aid-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    text-align: center;
}

.aid-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.aid-details h4 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    white-space: nowrap;
}

.aid-details p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.aid-list {
    list-style: none;
    padding: 0;
}

.aid-list li {
    padding: 0.3rem 0;
    color: var(--text-medium);
    position: relative;
    padding-left: 1.2rem;
}

.aid-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.aid-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.8rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-gold);
    margin-top: 1rem;
}

.aid-highlight i {
    color: var(--primary-gold);
}

.aid-highlight span {
    color: var(--primary-navy);
    font-weight: 500;
}

.useful-contacts {
    padding: 6rem 0;
    background: var(--light-bg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 58, 95, 0.12);
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: var(--gradient-navy-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card .contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-medium);
}

.financial-aid-cta {
    padding: 6rem 0;
    background: var(--pale-gold);
    text-align: center;
}

.cta-content h2 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === RESPONSIVE === */
/* Tablet responsive - 3 columns for services */
@media (max-width: 1024px) and (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, 280px); /* Hauteur fixe adaptée pour tablette */
    }
    
    /* Financial aids grid responsive - tablet: 2 columns */
    .aids-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contacts grid responsive - tablet: 2 columns */
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === RESPONSIVE DISPLAY CLASSES === */
.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .mobile-only {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 1rem;
    }
    
    .key-points {
        justify-content: center;
        gap: 1rem;
    }
    
    .key-point {
        font-size: 0.85rem;
    }
    
    .service-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .services, .about, .appointment, .contact {
        padding: 4rem 0;
    }
    
    .founder {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-image-placeholder {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .service-card {
        margin-bottom: 1rem;
        padding: 2rem 1.5rem; /* Padding ajusté pour mobile */
        height: 280px; /* Hauteur fixe sur mobile */
    }
    
    /* Services grid responsive - mobile: 1 column */
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 280px); /* 10 lignes de hauteur fixe pour mobile */
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Financial aids grid responsive - mobile: 1 column */
    .aids-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contacts grid responsive - mobile: 1 column */
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-actions .btn-large {
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .availability-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .key-points {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .floating-call-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .call-btn {
        width: 55px;
        height: 55px;
    }
    
    .service-highlights {
        gap: 0.5rem;
    }
    
    .service-highlight {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-outline {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.founder,
.contact-detail,
.value {
    animation: fadeInUp 0.6s ease-out;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn-primary:focus,
.btn-outline:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* === RECRUITMENT STYLES === */
.recruitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.recruitment-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.recruitment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
}

.recruitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

.recruitment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-navy-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recruitment-icon i {
    font-size: 2rem;
    color: white;
}

.recruitment-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.recruitment-description {
    text-align: left;
    margin-bottom: 2rem;
}

.recruitment-description p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.recruitment-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.recruitment-benefits li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.recruitment-benefits i {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.recruitment-description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recruitment-pitch {
    font-style: italic;
    color: var(--primary-navy);
    font-weight: 500;
    margin-top: 1rem;
}

.student-pitch {
    margin-top: 2.5rem;
}

.recruitment-btn {
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
}

.recruitment-form-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.08);
    border: 1px solid var(--border-light);
}

.recruitment-form-container h3 {
    color: var(--primary-navy);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.recruitment-form-container h3 i {
    color: var(--accent-gold);
}

.recruitment-form .form-group {
    margin-bottom: 1.5rem;
}

.recruitment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .recruitment-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .recruitment-card {
        padding: 2rem 1.5rem;
    }
    
    .recruitment-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .recruitment-form-container {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-image-placeholder,
    .service-icon,
    .contact-icon,
    .founder-avatar {
        border: 2px solid currentColor;
    }
}