/* --- VARIABLES --- */
:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --primary-orange: #ff8c00;
    --secondary-gold: #e5b76b;
    --card-bg: rgba(22, 27, 34, 0.4);
}

/* --- BASE --- */
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    background: radial-gradient(circle at top center, #1a1a2e 0%, #050505 100%);
}

/* --- ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HEADER --- */
header {
    text-align: center;
    padding: 40px 20px 20px 20px;
    animation: fadeInDown 1s ease-out;
}
.logo-container img {
    max-width: 150px;
    border-radius: 20px;
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.logo-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 140, 0, 0.4);
}
.brand-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-top: 15px;
    background: linear-gradient(90deg, #fff, var(--primary-orange));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 20px 20px 60px 20px;
}
.hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 1px;
    font-weight: 800;
}
.hero h2 {
    font-size: 1.8rem;
    color: var(--secondary-gold);
    margin-top: 0;
    font-weight: 300;
}

/* --- SERVICES (CARTES) --- */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-10px);
    border-top: 1px solid var(--primary-orange);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.15);
    background: rgba(22, 27, 34, 0.6);
}
.card h3 {
    color: var(--secondary-gold);
    font-size: 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-top: 0;
}
.card ul { list-style-type: none; padding: 0; margin: 0; }
.card ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    font-weight: 300;
}
.card ul li::before {
    content: '✦';
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* --- FORMULAIRE CONTACT --- */
.contact-section {
    text-align: center;
    padding: 80px 20px 60px 20px;
    max-width: 650px;
    margin: 0 auto;
}
.contact-section h2 {
    color: var(--secondary-gold);
    margin-bottom: 15px;
    font-size: 2.2rem;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.2);
}
.btn {
    background: linear-gradient(135deg, var(--primary-orange), #d4af37);
    color: #000;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}
.btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(255, 140, 0, 0.5);
}

/* --- MESSAGES PHP --- */
.success-msg {
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}
.error-msg {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}
/* --- SECTION POURQUOI L'IA --- */
.ai-features-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.ai-features-section h2 {
    color: var(--secondary-gold);
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.ai-features-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 50px;
}
.ai-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.ai-feature-box {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary-orange); /* Ligne d'accentuation moderne à gauche */
    border-radius: 15px;
    padding: 30px;
    flex: 1 1 450px; /* S'adapte pour afficher 2 blocs par ligne sur grand écran */
    max-width: 550px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.ai-feature-box:hover {
    transform: translateX(5px); /* Léger glissement vers la droite au survol */
    background: rgba(22, 27, 34, 0.6);
    box-shadow: 0 10px 35px rgba(255, 140, 0, 0.1);
}
.ai-feature-box h3 {
    color: var(--text-main);
    margin-top: 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
.ai-feature-box h3 span {
    font-size: 1.4rem;
}
.ai-feature-box p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 300;
    line-height: 1.6;
}
/* --- SECTION TARIFS --- */
.pricing-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.pricing-section h2 {
    color: var(--secondary-gold);
    font-size: 2.2rem;
    margin-bottom: 10px;
}
.pricing-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 50px;
}
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.price-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.price-card:hover {
    transform: translateY(-10px);
    border-top: 1px solid var(--secondary-gold);
    box-shadow: 0 15px 40px rgba(229, 183, 107, 0.15);
}
/* Carte mise en avant (Populaire) */
.price-card.popular {
    border-top: 2px solid var(--primary-orange);
    transform: scale(1.05);
    background: rgba(26, 32, 44, 0.7);
}
.price-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}
.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-orange), #d4af37);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}
.price-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 15px;
}
.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 10px;
}
.price-card .price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: #888;
}
.price-card .desc {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}
.price-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}
.price-card ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}
.price-card ul li::before {
    content: '✦';
    color: var(--secondary-gold);
    position: absolute;
    left: 0;
}
.price-card.popular ul li::before {
    color: var(--primary-orange);
}
.btn-price {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.price-card:hover .btn-price {
    background: rgba(255, 255, 255, 0.1);
}
.price-card.popular .btn-price {
    background: linear-gradient(135deg, var(--primary-orange), #d4af37);
    color: #000;
    border: none;
}
.price-card.popular:hover .btn-price {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.4);
}
/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    background-color: #020305;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: #666;
}
footer span { color: var(--primary-orange); font-weight: 600; }