/* --- 1. SUPPRIMER L'ESPACE BLANC DU THÈME --- */
.site-content, 
#content, 
#main, 
.site-main,
.entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Enlever la marge par défaut du body si elle existe */
body {
    margin: 0 !important;
    padding: 0 !important;
}
/* 1. Reset et Fondamentaux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    /* Suppression du display flex ici pour laisser les sections s'empiler naturellement */
}

/* 2. Hero Section */
/* 2. Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px; 
    background-image: url('/wp-content/uploads/2026/02/sercive.png'); 
    background-size: cover;   
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    
    /* AJOUTEZ CECI : Ajustez le chiffre (ex: -30px, -50px, -80px) selon la taille de l'espace blanc */
    margin-top: -120px;
    
}

@keyframes fadeInUpSp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* 3. Container de Tarification */
.pricing-container {
    max-width: 1100px;
    margin: 50px auto; /* Centre le container avec de l'espace en haut et en bas */
    padding: 0 20px;
    text-align: center;
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    animation: fadeInUpSp 0.8s ease-out both;
}

/* 4. Grille de prix (Le cadre bleu) */
.pricing-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
    border-radius: 4px;
}

/* 5. Cartes */
.card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column; /* Permet d'organiser le contenu verticalement */
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    animation: fadeInUpSp 0.8s ease-out both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.3s; }
.card:nth-child(3) { animation-delay: 0.5s; }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #b8860b; /* Bordure Or au survol */
}

.icon-top {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e8f4ff;
    color: #3182ce;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px; /* Un peu plus carré comme sur l'image */
    font-size: 14px;
    transition: all 0.4s ease;
}

.card:hover .icon-top {
    background-color: #b8860b;
    color: #fff;
    transform: scale(1.1) rotate(10deg);
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.price span {
    font-size: 18px;
    color: #555;
    font-weight: 400;
}

.features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1; /* Pousse le bouton vers le bas pour que tous les boutons soient alignés */
}

.features li {
    font-size: 14px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    color: #333;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* 6. Boutons */
.btn {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #b8860b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.4);
}

/* 7. Logos et Footer */
.payment-methods {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.payment-methods img {
    height: 30px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.payment-methods img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.footer-text {
    margin-top: 20px;
    font-size: 12px;
    color: #777;
}

/* 8. Responsivité */
@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
        border: none; /* On enlève la bordure bleue sur mobile pour plus de clarté */
    }
    .card {
        width: 100%;
        max-width: 100%;
    }
}


/* Section d'information Experts */
.info-section {
    display: flex;
    align-items: center; /* Centre verticalement le texte et l'image */
    justify-content: space-between;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
    gap: 60px; /* Espace entre le texte et l'image */
}

/* Côté texte */
.info-content {
    flex: 1;
    text-align: left;
}

.info-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
}

.info-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.info-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

/* Côté image */
.info-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.expert-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    /* Arrondi spécifique style bulle/ovale comme sur l'image */
    border-radius: 100px; 
    object-fit: cover;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column; /* Empile l'image et le texte sur mobile */
        text-align: center;
        gap: 40px;
    }
    
    .info-content {
        text-align: left; /* Garder le texte aligné à gauche même sur mobile si voulu */
    }

    .expert-image {
        border-radius: 40px; /* Arrondi plus léger sur petit écran */
    }
}


/**********************************************/

.expert-page-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    color: #333;
    font-family: Arial, sans-serif; /* Proche de l'image */
}

.main-expert-title {
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #000;
}

/* Style commun pour les textes */
.full-width-text p, .text-side p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.full-width-text h3, .text-side h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 25px 0 10px 0;
    color: #111;
}

/* 1ère partie */
.full-width-text {
    margin-bottom: 60px;
}

/* 2ème partie (Split) */
.split-content {
    display: flex;
    align-items: center; /* Aligne l'image verticalement au centre du texte */
    gap: 40px;
}

.text-side {
    flex: 1;
}

.image-side {
    flex: 1;
}

.image-side img {
    width: 100%;
    height: auto;
    /* Arrondi "ovale" caractéristique de l'image */
    border-radius: 120px; 
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    animation: floatImage 6s ease-in-out infinite;
}

.image-side img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    animation-play-state: paused;
}

/* Mobile */
@media (max-width: 768px) {
    .split-content {
        flex-direction: column;
    }
    .image-side {
        order: -1; /* Image au dessus sur téléphone */
        margin-bottom: 30px;
    }
    .image-side img {
        border-radius: 50px;
    }
}

/***************************************************************/

.newsletter-section {
    background-color: #4a4a4a;
    padding: 60px 5%; /* Utilise des pourcentages pour s'adapter à l'écran */
    width: 100%;
    box-sizing: border-box;
}

.newsletter-container {
    width: 100%;
    display: grid;
    /* La colonne de gauche prend tout l'espace libre, celle de droite s'adapte au contenu */
    grid-template-columns: 1fr auto; 
    align-items: center;
    gap: 20px;
}

.newsletter-left {
    text-align: left;
}

.newsletter-title {
    color: #ffffff;
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.1;
    max-width: 600px; /* Évite que le titre ne touche les inputs sur les grands écrans */
}

.newsletter-right {
    min-width: 350px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Style des champs */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group .icon-mail {
    position: absolute;
    left: 20px;
    color: #888;
}

.newsletter-form input, 
.btn-submit {
    width: 100%;
    padding: 18px 25px;
    border-radius: 50px;
    border: none;
    font-family: 'Georgia', serif;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
}

.newsletter-form input {
    padding-left: 55px;
    background-color: #ffffff;
}

.btn-submit {
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #f2f2f2;
    transform: translateY(-2px); /* Petit effet de levée au survol */
}

/* Version Mobile / Tablette */
@media (max-width: 900px) {
    .newsletter-container {
        grid-template-columns: 1fr; /* On repasse sur une seule colonne */
        text-align: center;
    }
    
    .newsletter-left {
        text-align: center;
    }
    
    .newsletter-title {
        max-width: 100%;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .newsletter-right {
        width: 100%;
        min-width: 100%;
    }
}