/* ============================================
   ÉTOILE DE DESTINÉE - STYLE UNIFIÉ
   Version épurée et moderne
   ============================================ */

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8f5f0;
    background: linear-gradient(160deg, #f8f5f0 0%, #ede8e0 40%, #e5ded5 100%);
    background-attachment: fixed;
    color: #2d2a24;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Typographie --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
}

/* --- Boutons --- */
.btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: #8a7a5c;
    color: #fff;
}

.btn-primary:hover {
    background: #7a6a4e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 122, 92, 0.3);
}

.btn-outline {
    background: transparent;
    color: #5a5044;
    border: 2px solid #c5b8a5;
}

.btn-outline:hover {
    background: rgba(138, 122, 92, 0.08);
    border-color: #8a7a5c;
}

.btn-hero {
    background: linear-gradient(135deg, #8a7a5c, #6a5a44);
    color: #fff;
    padding: 0.9rem 2.8rem;
    font-size: 1.05rem;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(138, 122, 92, 0.3);
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(180, 160, 130, 0.12);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 1.15rem;
    color: #2d2a24;
}

.nav-logo .icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #5a5044;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.4rem 0;
}

.nav-links a:hover {
    color: #2d2a24;
}

/* --- Hero --- */
.hero {
    padding: 3rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(210, 185, 135, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background: rgba(138, 122, 92, 0.1);
    color: #6a5a44;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #2d2a24;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #8a7a5c, #5a4a3a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: #5a5044;
    max-width: 90%;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-info {
    color: #8a7a5c;
    font-size: 0.9rem;
}

.hero-features {
    display: flex;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5a5044;
    font-size: 0.9rem;
}

/* --- Hero Image --- */
.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    background: rgba(255, 252, 248, 0.92);
    backdrop-filter: blur(12px);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(180, 160, 130, 0.15);
    margin-top: -1.5rem;
    margin-left: 2rem;
    max-width: 85%;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat .number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d2a24;
}

.hero-stats .stat .label {
    font-size: 0.75rem;
    color: #8a7a5c;
}

/* --- Sections --- */
section {
    padding: 3.5rem 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2d2a24;
}

.section-title .light {
    font-weight: 300;
}

/* --- Cartes Présentation --- */
.pres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pres-card {
    background: rgba(255, 252, 248, 0.6);
    border-radius: 16px;
    padding: 1.8rem;
    border: 1px solid rgba(180, 160, 130, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.pres-card:hover {
    transform: translateY(-5px);
    border-color: rgba(180, 160, 130, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.pres-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pres-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2d2a24;
}

.pres-card p {
    color: #5a5044;
    font-size: 0.95rem;
}

/* --- Timeline --- */
.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(180, 160, 130, 0.06);
}

.timeline-num {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8a7a5c;
    min-width: 45px;
    font-family: 'Playfair Display', serif;
}

.timeline-content h4 {
    font-size: 1.05rem;
    color: #2d2a24;
}

.timeline-content p {
    color: #5a5044;
    font-size: 0.9rem;
}

.timeline-content .duration {
    display: inline-block;
    font-size: 0.75rem;
    color: #8a7a5c;
    margin-top: 0.3rem;
}

/* --- FAQ --- */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(180, 160, 130, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 1.2rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: #2d2a24;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #6a5a44;
}

.faq-question .icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    color: #8a7a5c;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #5a5044;
    padding: 0 1rem;
}

.faq-answer p {
    padding-bottom: 1.2rem;
}

/* --- Footer --- */
footer {
    background: rgba(255, 252, 248, 0.5);
    border-top: 1px solid rgba(180, 160, 130, 0.06);
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2d2a24;
}

.footer-brand span {
    font-weight: 400;
    font-size: 0.85rem;
    color: #8a7a5c;
}

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

.footer-links a {
    color: #8a7a5c;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2d2a24;
}

.footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(180, 160, 130, 0.06);
    font-size: 0.8rem;
    color: #b0a898;
}

/* --- Formulaires --- */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a4035;
    margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(255, 252, 248, 0.8);
    border: 1.5px solid rgba(180, 160, 130, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    color: #2d2a24;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8a7a5c;
}

.form-group input::placeholder {
    color: #b0a898;
}

/* --- Cards (pour inscription/connexion) --- */
.auth-card {
    max-width: 500px;
    margin: 2rem auto;
    background: rgba(255, 252, 248, 0.85);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(180, 160, 130, 0.12);
    padding: 2.5rem;
}

.auth-card h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: #2d2a24;
}

.auth-card .subtitle {
    color: #8a7a5c;
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}

.auth-card .btn {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
}

.auth-card .links {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #5a5044;
}

.auth-card .links a {
    color: #8a7a5c;
    font-weight: 500;
}

.auth-card .links a:hover {
    color: #6a5a44;
}

/* --- Alertes --- */
.alert {
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.alert-error {
    background: rgba(200, 50, 50, 0.06);
    border: 1px solid rgba(200, 50, 50, 0.15);
    color: #b33;
}

.alert-success {
    background: rgba(50, 180, 80, 0.06);
    border: 1px solid rgba(50, 180, 80, 0.15);
    color: #2a7a3a;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero p {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-features {
        justify-content: center;
    }
    .hero-stats {
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    .pres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .pres-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1.2rem;
    }
    .auth-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}