/*
Theme Name: Essai Virtuel IA
Description: Thème sur mesure complet avec Tailwind CSS et blocs Gutenberg ACF.
Author: Gemini
Version: 1.1
Text Domain: essai-virtuel
*/
/* Style des messages de succès/erreur CF7 */
@charset "UTF-8";

:root {
    --woocommerce: #720eec;
    --wc-green: #008a20;
    --wc-red: #a00;
    --wc-orange: #ffba00;
    --wc-blue: #2ea2cc;
    --wc-primary: #720eec;
    --wc-primary-text: #fcfbfe;
    --wc-secondary: #e9e6ed;
    --wc-secondary-text: #515151;
    --wc-highlight: #958e09;
    --wc-highligh-text: white;
    --wc-content-bg: #fff;
    --wc-subtext: #767676;
    --wc-form-border-color: #003366;
    --wc-form-border-radius: 10px;
    --wc-form-border-width: 1px
}

.wpcf7 form .wpcf7-response-output {
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid #ea580c !important;
    /* Couleur orange de votre charte */
    background: #1e293b;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #22c55e !important;
    /* Vert si succès */
}

nav img {
    width: 30px !important;
    height: 30px !important;
}

#top-logo {
    display: flex;
    gap: 20px;
}

#top-logo a {
    font-size: 50px;
    font-weight: bold;
}

.page-template-try-plugin {
    height: 80vh;
    overflow: hidden;
    scroll-behavior: unset;
}

.wps-modale {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.wps-modale-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    position: relative;
}

.wps-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.form-group {
    margin: 20px 0;
}

.btn-submit {
    background-color: #e75716;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    width: 100%;
}

input#popinQty {
    width: 100px;
    margin-bottom: 20px;
    border: solid 1px orange;
    border-radius: 15px;
    padding: 5px;
    text-align: center;
}

h2 {
    color: rgb(0 51 102 / var(--tw-text-opacity, 1));
    font-size: 2.25rem !important;
    line-height: 2.5rem;
    font-weight: 700 !important;
}

/* --- CHARTE GRAPHIQUE ESSAI VIRTUEL --- */

/* 1. Conteneur principal de la page */
.page-default {
    max-width: 1100px;
    margin: 40px auto;
    padding: 60px 40px;
    background: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1d1d1f;
}

/* 2. Style du titre principal (H1) - Inspiré du Hero */
.entry-header {
    text-align: center;
    margin-bottom: 60px;
}

.entry-title {
    font-size: 42px;
    font-weight: 800;
    color: #0b3d66;
    /* Bleu foncé de la charte */
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.entry-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff6b00;
    /* Orange vif des boutons */
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 3. Style des sous-titres (H2) - Inspiré des sections FAQ */
.wp-block-heading {
    color: #0b3d66;
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* 4. Paragraphs et listes */
.entry-content p,
.entry-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
}

/* 5. Blocs de contenu (Listes d'infos) */
.wp-block-list {
    background: #f8fbff;
    /* Bleu très pâle pour rappel du fond */
    border: 1px solid #e1e8f0;
    border-left: 5px solid #ff6b00;
    /* Rappel orange */
    padding: 25px 25px 25px 40px !important;
    border-radius: 12px;
    list-style: none !important;
}

.wp-block-list li {
    margin-bottom: 12px !important;
}

.wp-block-list li strong {
    color: #0b3d66;
    display: inline-block;
    min-width: 150px;
}

/* 6. Séparateurs */
.wp-block-separator {
    border: none;
    border-top: 1px solid #e1e8f0;
    margin: 40px 0;
    opacity: 1 !important;
}

/* 7. Liens hypertexte */
.entry-content a {
    color: #ff6b00;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.entry-content a:hover {
    color: #0b3d66;
    text-decoration: underline;
}

#primary .container {
    margin: auto;
}

.wc-block-cart__main .wc-block-cart-items {
    background-color: white !important;
}

table.wc-block-cart-items th {
    --tw-bg-opacity: 1 !important;
    background: rgb(0 51 102 / var(--tw-bg-opacity, 1)) !important;
    --tw-text-opacity: 1 !important;
    color: rgb(255 255 255 / var(--tw-text-opacity, 1)) !important;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product,
body table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product {
    visibility: visible !important;
}

.wc-block-components-form.wc-block-checkout__form input {
    padding-top: 25px !important;
}

.wc-block-components-form.wc-block-checkout__form select {
    padding-top: 15px !important;
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .page-default {
        padding: 30px 20px;
    }

    .entry-title {
        font-size: 32px;
    }

    .wp-block-list li strong {
        display: block;
        margin-bottom: 2px;
    }
}
