/* Couleurs personnalisées */
:root {
    --navy: #0c1b33;
    --cream: #f9f7f4;
    --gold: #d4af37;
    --gold-light: #f2d272;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f2d272 100%);
    --light-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --medium-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    --soft-white: #f5f5f5;
}

/* Styles de base */
body {
    font-family: 'Lora', serif;
    background-color: var(--cream);
    color: var(--navy);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

.font-lora {
    font-family: 'Lora', serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.text-navy {
    color: var(--navy);
}

.text-gold {
    color: var(--gold);
}

.bg-navy {
    background-color: var(--navy);
}

.bg-cream {
    background-color: var(--cream);
}

.bg-gold {
    background: var(--gold-gradient);
}

.border-gold {
    border-color: var(--gold);
}

/* Arc doré animation */
.golden-arc path {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: drawArc 3s forwards;
}

@keyframes drawArc {
    to {
        stroke-dashoffset: 0;
    }
}

/* Parallaxe sections */
.parallax-section {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.parallax-section > div:first-child {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Animation pour les statistiques */
.stat-bar {
    width: 0;
    transition: width 2s ease-in-out;
    height: 8px;
    border-radius: 4px;
    background: var(--gold-gradient);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Carte d'activité */
.activity-card {
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--light-shadow);
}

.activity-card:hover {
    transform: scale(1.05);
    box-shadow: var(--medium-shadow);
    border-color: rgba(212, 175, 55, 0.5);
}

.activity-card::after {
    content: "✨";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-card:hover::after {
    opacity: 1;
}

/* Carte de témoignage avec effet flip */
.flip-card {
    perspective: 1000px;
    height: 280px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: var(--light-shadow);
    border-radius: 0.5rem;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.5rem;
    padding: 2rem;
    box-sizing: border-box;
}

.flip-card-front {
    z-index: 2;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    border-left: 4px solid var(--gold);
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(to bottom, #f8f8f8, #ececec);
    border-left: 4px solid var(--navy);
}

/* Animations pour apparition des éléments */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Menu déroulant des langues */
#languageSelector:hover + #languageMenu,
#languageMenu:hover {
    display: block;
}

/* Support pour l'arabe (RTL) */
[dir="rtl"] {
    text-align: right;
    font-family: 'Tajawal', 'Lora', serif;
}

/* Media queries pour responsive */
@media (max-width: 768px) {
    .flip-card {
        height: 320px;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #accueil h1 {
        font-size: 2.5rem !important;
        padding: 0 1rem;
    }
    
    #accueil p {
        font-size: 1.125rem;
    }
}

/* Animation pour faire apparaître les éléments au défilement */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation du bouton */
button[type="submit"],
a.bg-gold,
a.bg-navy {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

button[type="submit"]:hover,
a.bg-gold:hover,
a.bg-navy:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

button[type="submit"]::after,
a.bg-gold::after,
a.bg-navy::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

button[type="submit"]:hover::after,
a.bg-gold:hover::after,
a.bg-navy:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Navigation sticky avec transparence */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(12, 27, 51, 0.95) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Animation de chargement de la page */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-transition.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Effet hover sur les liens du menu */
nav a {
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Effet de survol sur les cartes */
.bg-white.bg-opacity-90 {
    transition: all 0.3s ease;
    border-width: 1px;
    box-shadow: var(--light-shadow);
}

.bg-white.bg-opacity-90:hover {
    border-color: var(--gold);
    border-width: 2px;
    box-shadow: var(--medium-shadow);
}

/* Stylisation des sélecteurs de formulaire */
input, textarea {
    transition: all 0.3s ease;
    border: 2px solid transparent !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

input:focus, textarea:focus {
    border-color: var(--gold) !important;
    outline: none;
    background-color: white !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15) !important;
}

/* Améliorations pour sections */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    opacity: 0.7;
}

/* Amélioration des titres */
h2, h3 {
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40%;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

/* Background design elements */
.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4af37' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

/* Animation d'écriture pour le titre principal */
.text-focus-in {
    animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}

@keyframes text-focus-in {
    0% {
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}

/* Animation pour les champs de formulaire invalides */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* Section accueil et bannière */
#accueil h1 {
    text-align: center;
    margin: 0 auto;
    max-width: 1000px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

#accueil h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 1rem auto;
    border-radius: 2px;
}

#accueil p {
    font-size: 1.25rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Style pour les cartes de service */
#accueil .grid > div {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 0.375rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

#accueil .grid > div:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#accueil .grid h3 {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

#accueil .grid p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Style des boutons */
#accueil a.rounded {
    border-radius: 0.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

#accueil a.bg-gold {
    background-color: var(--gold);
    color: #000;
}

#accueil a.bg-gold:hover {
    background-color: var(--gold-light);
}

#accueil blockquote {
    font-style: italic;
    padding-left: 1rem;
    border-left: 2px solid var(--gold);
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem 0;
    max-width: 36rem;
}

/* Styles pour le carrousel SwiperJS */
.testimonial-carousel-container {
    /* Le bg-gray-100 et py-16/20 sont appliqués via Tailwind directement dans le HTML */
}

.testimonial-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px; /* Réduit pour moins de hauteur globale */
    padding-bottom: 50px; /* Espace pour la pagination, légèrement réduit */
}

.testimonial-swiper .swiper-pagination-bullet {
    background-color: var(--gold); /* Couleur gold */
    opacity: 0.5;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.8);
}

.testimonial-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
    background-color: var(--gold); /* S'assurer que la couleur active est bien gold */
}

.testimonial-swiper .testimonial-pagination {
    bottom: 10px !important; /* Remonté un peu plus la pagination */
    position: absolute;
    width: 100%;
    left: 0;
}

.testimonial-swiper .testimonial-button-prev,
.testimonial-swiper .testimonial-button-next {
    color: var(--gold); /* Couleur gold */
    transition: opacity 0.3s ease, transform 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; /* Taille explicite pour le clic */
    height: 44px; /* Taille explicite pour le clic */
    /* background-color: rgba(0,0,0,0.1); /* Optionnel: léger fond pour meilleure visibilité */
    /* border-radius: 50%; */
}

.testimonial-swiper .testimonial-button-prev:hover,
.testimonial-swiper .testimonial-button-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    /* background-color: rgba(0,0,0,0.2); */
}

.testimonial-swiper .testimonial-button-prev {
    left: 20px; /* Ajustement pour le padding de la section */
}

.testimonial-swiper .testimonial-button-next {
    right: 20px; /* Ajustement pour le padding de la section */
}

.testimonial-swiper .testimonial-button-next::after,
.testimonial-swiper .testimonial-button-prev::after {
    font-size: 1.5rem; /* Réduit un peu la taille des flèches */
    font-weight: bold;
}

/* Styles pour Tailwind aspect-ratio (si non inclus par défaut avec la version de Tailwind) */
.aspect-w-16 { position: relative; padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%); }
.aspect-w-16 > * { position: absolute; height: 100%; width: 100%; top: 0; right: 0; bottom: 0; left: 0; }
.aspect-h-9 { --tw-aspect-h: 9; }

/* Styles pour la section orientation */
.orientation-section-macro {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f9f7f4 0%, #f5f3f0 100%);
    position: relative;
}

.orientation-section-macro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(12, 27, 51, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.orientation-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.orientation-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: var(--navy);
}

.orientation-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.orientation-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.orientation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.orientation-card:hover::before {
    transform: translateX(0);
}

.orientation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.orientation-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.orientation-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.orientation-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.orientation-results {
    background: rgba(12, 27, 51, 0.95);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.orientation-results h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive pour la section orientation */
@media (max-width: 768px) {
    .orientation-section-macro {
        padding: 2.5rem 0;
    }
    
    .orientation-services {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .orientation-card {
        padding: 1.5rem;
    }
    
    .orientation-icon {
        font-size: 2.5rem;
    }
    
    .orientation-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .orientation-results {
        padding: 2rem;
    }
}

/* Style pour les liens secondaires "En savoir plus" */
.details-link {
    display: block;
    text-align: center;
    color: var(--navy);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    margin-top: 0.75rem;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.details-link::after {
    content: '→';
    margin-left: 0.25rem;
    transition: transform 0.3s ease;
}

.details-link:hover {
    color: var(--gold);
}

.details-link:hover::after {
    transform: translateX(3px);
}

/* Styles pour les sections détails des services */
.details-section-macro {
    padding: 4rem 0;
    background-color: var(--cream);
    position: relative;
}

.details-section-macro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
    opacity: 0.7;
}

.details-content {
    max-width: 1200px;
    margin: 0 auto;
}

.details-section-macro .section-title-macro {
    text-align: center;
    color: var(--navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.details-section-macro .section-title-macro .highlight-word {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.details-section-macro .section-title-macro::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
}

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

.detail-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--light-shadow);
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.detail-card:hover::before {
    transform: translateX(0);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--medium-shadow);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 1);
}

.detail-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-card h3::before {
    content: attr(data-icon);
    font-size: 1.5rem;
    color: var(--gold);
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3));
}

.detail-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.cta-details {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.btn-cta-macro {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--light-shadow);
}

.btn-cta-macro:hover {
    transform: translateY(-2px);
    box-shadow: var(--medium-shadow);
}

/* Responsive pour les sections détails */
@media (max-width: 768px) {
    .details-section-macro {
        padding: 2.5rem 0;
    }
    
    .details-section-macro .section-title-macro {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    .detail-card h3 {
        font-size: 1.1rem;
    }
}

/* Styles pour la section banner résultats */
.results-banner-macro {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2b4a 100%);
    position: relative;
    overflow: hidden;
}

.results-banner-macro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.results-banner-title {
    text-align: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.results-banner-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.banner-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.banner-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

.banner-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.banner-stat-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.3;
}

.results-banner-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.btn-results-hero {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

/* Responsive pour la section banner résultats */
@media (max-width: 768px) {
    .results-banner-macro {
        padding: 3rem 0;
    }
    
    .results-banner-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .results-banner-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .banner-stat {
        padding: 1.2rem;
    }
    
    .banner-stat-number {
        font-size: 2.5rem;
    }
    
    .btn-results-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Styles pour les pages de services individuelles */
.service-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.service-intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.service-details-extended {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(249, 247, 244, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.service-details-extended h2 {
    color: var(--navy);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.extended-content {
    display: grid;
    gap: 2rem;
}

.benefit-section {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    box-shadow: var(--light-shadow);
}

.benefit-section h3 {
    color: var(--navy);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-section p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Styles pour la section SAT */
.sat-results-section {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2b4a 100%);
    border-radius: 16px;
    text-align: center;
}

.sat-results-section h2 {
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.sat-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.sat-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.sat-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 175, 55, 0.5);
}

.sat-score {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.sat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Styles pour le calendrier des stages */
.stage-calendar {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(249, 247, 244, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stage-calendar h2 {
    color: var(--navy);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

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

.calendar-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--light-shadow);
}

.calendar-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--medium-shadow);
    border-color: rgba(212, 175, 55, 0.5);
}

.calendar-item h4 {
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.calendar-item p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.available {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Styles pour les témoignages dans les pages de service */
.testimonial-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(12, 27, 51, 0.05);
    border-radius: 12px;
    text-align: center;
}

.testimonial-section h2 {
    color: var(--navy);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.testimonial-section blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin: 0;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--light-shadow);
}

.testimonial-section cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--navy);
    font-style: normal;
}

/* Responsive pour les nouvelles pages */
@media (max-width: 768px) {
    .service-intro p {
        font-size: 1.1rem;
    }
    
    .service-details-extended {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .service-details-extended h2 {
        font-size: 1.6rem;
    }
    
    .benefit-section {
        padding: 1.2rem;
    }
    
    .sat-results-section {
        padding: 2rem;
        margin: 2rem 0;
    }
    
    .sat-results-section h2 {
        font-size: 1.6rem;
    }
    
    .sat-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sat-score {
        font-size: 2rem;
    }
    
    .stage-calendar {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .stage-calendar h2 {
        font-size: 1.6rem;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calendar-item {
        padding: 1.2rem;
    }
    
    .testimonial-section {
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .testimonial-section h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-section blockquote {
        font-size: 1rem;
        padding: 1.2rem;
    }
}

/* Styles pour la section Superprof mise en évidence */
.superprof-highlight-section {
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, #1a2b4a 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.superprof-highlight-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.superprof-highlight-section h2 {
    color: white;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.superprof-card-large {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.superprof-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.ambassador-badge {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.ambassador-text {
    color: var(--navy);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.superprof-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.superprof-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(249, 247, 244, 0.8);
    border-radius: 12px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.superprof-stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-number-superprof {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label-superprof {
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.3;
}

.stars-superprof {
    margin-top: 0.5rem;
}

.stars-superprof .star {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 0 1px;
}

.superprof-testimonial {
    margin: 2.5rem 0;
    text-align: center;
}

.superprof-testimonial blockquote {
    background: rgba(12, 27, 51, 0.05);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 2rem;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--navy);
    margin: 0;
    max-width: 700px;
    margin: 0 auto;
}

.superprof-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-superprof-large {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
}

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

.superprof-note {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 1rem auto 0;
    max-width: 500px;
}

/* Responsive pour la section Superprof */
@media (max-width: 768px) {
    .superprof-highlight-section {
        margin: 2rem 0;
        padding: 2rem 1.5rem;
    }
    
    .superprof-highlight-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .superprof-card-large {
        padding: 2rem;
    }
    
    .superprof-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .superprof-stat-item {
        padding: 1.2rem;
    }
    
    .stat-number-superprof {
        font-size: 2rem;
    }
    
    .superprof-testimonial blockquote {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .btn-superprof-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .ambassador-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Styles pour les résultats exceptionnels SAT */
.sat-exceptional-results {
    margin: 3rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, #1e3a5f 0%, #2a4a6b 100%);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sat-exceptional-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.sat-exceptional-results h2 {
    color: #FFD700;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.exceptional-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.exceptional-stat {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.exceptional-stat.highlight-stat {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
}

.exceptional-stat:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.exceptional-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.highlight-stat .exceptional-number {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.exceptional-label {
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

.exceptional-note {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #FFD700;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.exceptional-note p {
    color: var(--navy);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.5;
}

/* Styles pour les options de préparation SAT */
.sat-preparation-options {
    margin: 4rem 0;
    padding: 2rem 0;
}

.sat-preparation-options h2 {
    text-align: center;
    color: var(--navy);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.preparation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.preparation-option {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.preparation-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.preparation-option.featured {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 1) 50%);
    transform: scale(1.02);
}

.preparation-option.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.option-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.option-header h3 {
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.score-target {
    color: var(--gold);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.most-popular {
    background: #FFD700;
    color: #000;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    top: -10px;
    right: -10px;
    transform: rotate(15deg);
}

.option-content {
    text-align: left;
}

.option-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.option-features li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.option-features li::before {
    content: "";
    margin-right: 0.5rem;
}

.option-highlight {
    background: rgba(212, 175, 55, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--gold);
    font-size: 0.9rem;
    color: var(--navy);
}

/* Couleurs spécifiques par option */
.math-only {
    border-left: 4px solid #4CAF50;
}

.math-only .option-icon {
    color: #4CAF50;
}

.english-only {
    border-left: 4px solid #2196F3;
}

.english-only .option-icon {
    color: #2196F3;
}

.complete-prep {
    border-left: 4px solid #FFD700;
}

.complete-prep .option-icon {
    color: #FFD700;
}

/* Responsive pour les nouvelles sections SAT */
@media (max-width: 768px) {
    .sat-exceptional-results {
        margin: 2rem 0;
        padding: 2rem;
    }
    
    .sat-exceptional-results h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .exceptional-stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .exceptional-stat {
        padding: 1.5rem;
    }
    
    .exceptional-stat.highlight-stat {
        transform: none;
    }
    
    .exceptional-number {
        font-size: 2.2rem;
    }
    
    .sat-preparation-options h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .preparation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .preparation-option {
        padding: 1.5rem;
    }
    
    .preparation-option.featured {
        transform: none;
    }
    
    .preparation-option.featured:hover {
        transform: translateY(-5px);
    }
    
    .option-icon {
        font-size: 2.5rem;
    }
    
    .most-popular {
        position: static;
        transform: none;
        display: inline-block;
        margin-top: 0.5rem;
    }
}

/* ===== OPTIMISATIONS MOBILE SUPPLÉMENTAIRES POUR TOUTES LES PAGES ===== */

/* Optimisations générales pour tablettes */
@media (max-width: 1024px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .orientation-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .preparation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .exceptional-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Optimisations pour smartphones */
@media (max-width: 480px) {
    /* Navigation et header */
    nav {
        padding: 0.5rem 1rem;
    }
    
    .container {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    
    /* Titres et textes */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.6rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    .parallax-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    /* Grilles responsive */
    .details-grid,
    .orientation-services,
    .preparation-grid,
    .exceptional-stats-grid,
    .superprof-stats-grid,
    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Cartes */
    .detail-card,
    .orientation-card,
    .preparation-option,
    .exceptional-stat,
    .superprof-stat-item,
    .calendar-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Flip cards mobile */
    .flip-card {
        height: 250px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 1.5rem;
    }
    
    /* Statistiques */
    .stat-number,
    .banner-stat-number,
    .exceptional-number,
    .stat-number-superprof {
        font-size: 2rem;
    }
    
    .sat-score {
        font-size: 1.8rem;
    }
    
    /* Boutons */
    .btn-cta-macro,
    .btn-results-hero,
    .btn-superprof-large,
    button[type="submit"] {
        width: 100%;
        padding: 1rem;
        font-size: 1.1rem;
        margin: 0.5rem 0;
        min-height: 44px;
    }
    
    /* Liens détails */
    .details-link {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Badges et étiquettes */
    .most-popular,
    .ambassador-badge,
    .superprof-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    /* Formulaires */
    input,
    textarea,
    select {
        font-size: 16px; /* Évite le zoom sur iOS */
        padding: 0.8rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Témoignages */
    .testimonial-section blockquote,
    .superprof-testimonial blockquote {
        font-size: 0.95rem;
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    /* Calendrier des stages */
    .stage-calendar {
        padding: 1.5rem;
    }
    
    .calendar-item {
        text-align: center;
    }
    
    .calendar-item h4 {
        font-size: 1.1rem;
    }
    
    .calendar-item p {
        font-size: 0.9rem;
    }
    
    /* Sections spéciales */
    .orientation-section-macro,
    .details-section-macro,
    .results-banner-macro,
    .superprof-highlight-section,
    .sat-exceptional-results {
        padding: 2rem 0;
    }
    
    /* Amélioration des touches tactiles */
    a, button, .clickable {
        -webkit-tap-highlight-color: rgba(212, 175, 55, 0.3);
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Optimisation des images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Espacement des éléments */
    .service-intro,
    .service-details-extended,
    .benefit-section {
        margin-bottom: 2rem;
    }
    
    /* Amélioration de la lisibilité */
    .service-intro p,
    .benefit-section p,
    .extended-content p {
        text-align: left;
        line-height: 1.7;
    }
}

/* Optimisations pour très petits écrans */
@media (max-width: 360px) {
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .detail-card,
    .orientation-card,
    .preparation-option {
        padding: 1rem;
    }
    
    .flip-card {
        height: 220px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 1rem;
    }
    
    .stat-number,
    .exceptional-number {
        font-size: 1.8rem;
    }
    
    .testimonial-section blockquote {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

/* Optimisations pour l'orientation paysage sur mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .parallax-section {
        min-height: 80vh;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .flip-card {
        height: 200px;
    }
    
    .details-grid,
    .orientation-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Amélioration des performances sur mobile */
@media (max-width: 768px) {
    .parallax-section > div:first-child {
        background-attachment: scroll; /* Meilleure performance sur mobile */
    }
    
    .activity-card,
    .detail-card,
    .orientation-card {
        will-change: transform;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Réduction des animations coûteuses */
    .flip-card:hover .flip-card-inner {
        transform: none; /* Désactive le flip sur mobile */
    }
    
    .flip-card-back {
        display: none; /* Cache le dos des cartes sur mobile */
    }
}

/* Optimisation pour les écrans haute densité */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .bg-pattern {
        background-size: contain;
    }
    
    .golden-arc {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Amélioration de l'accessibilité mobile */
@media (max-width: 768px) {
    /* Focus visible pour la navigation au clavier */
    a:focus,
    button:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 2px solid var(--gold);
        outline-offset: 2px;
    }
    
    /* Amélioration du contraste pour la lisibilité */
    .text-navy {
        color: #0a1529; /* Couleur plus foncée pour meilleur contraste */
    }
    
    /* Espacement amélioré pour les éléments interactifs */
    .btn-cta-macro,
    .btn-results-hero,
    .details-link {
        margin: 0.8rem 0;
    }
} 