@charset "UTF-8";
/* ========================================
   OPC WALLONIE - STYLES PRINCIPAUX
   Version 3.0 - Janvier 2026
   ======================================== */

/* === VARIABLES CSS === */
:root {
    --color-primary: #292d80;      /* Mauve principal */
    --color-secondary: #CAC8D8;    /* Mauve clair */
    --color-accent: #cf681d;       /* Orange */
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #fff;
    --color-background: #f7f7f7;
    --font-main: Arial, sans-serif;
    --font-elegant: 'Cormorant Garamond', Georgia, serif;
}

/* === RESET & BASE === */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === HOMEPAGE HERO SECTION === */
.homepage-hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-container {
    display: flex;
    flex-direction: column;
    max-width: 1100px;
    width: 100%;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Logo section - centré en haut */
.hero-logo-section {
    display: flex;
    justify-content: center;
    padding: 30px 40px 20px;
    background: var(--color-white);
}

.hero-logo {
    max-width: 220px;
    height: auto;
}

/* Deux colonnes */
.hero-columns {
    display: flex;
    align-items: stretch;
    background: var(--color-white);
}

/* Colonne image */
.hero-image {
    flex: 0 0 45%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--color-white);
    padding: 0;
    overflow: hidden;
}

.hero-person {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: top center;
}

/* Colonne contenu */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 50px 40px;
    text-align: center;
}

/* Slogan orange */
.hero-slogan {
    max-width: 320px;
    height: auto;
    margin-bottom: 30px;
}

/* Titre principal - Style Optima Bold Italic */
.hero-title {
    font-family: var(--font-elegant);
    font-size: 1.8em;
    font-weight: 700;
    font-style: italic;
    color: var(--color-primary);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Sous-titre - Style Optima Italic */
.hero-subtitle {
    font-family: var(--font-elegant);
    font-size: 1.25em;
    font-weight: 400;
    font-style: italic;
    color: var(--color-primary);
    margin: 0 0 25px 0;
    line-height: 1.4;
    padding: 0;
}

/* Texte explicatif */
.hero-text {
    text-align: center;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0 0 15px 0;
    padding: 0;
}

.hero-text p:last-child {
    margin-bottom: 0;
}

/* Bouton CTA principal */
.hero-cta {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1em;
    font-weight: 600;
    color: var(--color-white);
    background-color: var(--color-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary);
}

.hero-cta:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(41, 45, 128, 0.25);
}

/* === BOUTONS GÉNÉRAUX === */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-primary);
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

/* === FOOTER === */
footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    gap: 20px;
}

/* Copyright */
.footer-copyright {
    flex: 0 0 auto;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-light);
    padding: 0;
}

/* Partenaires */
.footer-partners {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
}

.partners-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partners-logos a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.partners-logos a:hover {
    opacity: 0.7;
}

.partner-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navigation footer */
.footer-nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-nav a {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.footer-nav a:hover {
    background-color: var(--color-secondary);
}

.footer-separator {
    color: #ccc;
    font-size: 13px;
}

/* === POPUP CONTACT === */
.popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.4s;
}

.popup.show {
    display: block;
    opacity: 1;
}

.popup-content {
    background-color: var(--color-white);
    margin: 2% auto;
    padding: 40px;
    border-radius: 16px;
    width: calc(100% - 40px);
    max-width: 800px;
    max-height: 94vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
    transform: translateY(-30px);
    transition: transform 0.4s;
    box-sizing: border-box;
}

.popup.show .popup-content {
    transform: translateY(0);
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--color-primary);
}

/* === POPUP HEADER === */
.popup-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-secondary);
}

.popup-header h2 {
    font-family: var(--font-elegant);
    font-size: 2em;
    font-weight: 600;
    font-style: italic;
    color: var(--color-primary);
    margin: 0 0 5px 0;
}

.popup-header .popup-subtitle {
    font-size: 1.1em;
    color: var(--color-text-light);
    margin: 0;
}

/* === POPUP SECTIONS === */
.popup-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
}

.popup-section h3 {
    font-family: var(--font-elegant);
    font-size: 1.4em;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0 0 15px 0;
}

.popup-section p {
    margin: 10px 0;
    line-height: 1.6;
}

.popup-section ul {
    margin: 15px 0;
    padding-left: 0;
    list-style: none;
}

.popup-section ul li {
    position: relative;
    padding: 12px 15px 12px 30px;
    margin: 8px 0;
    background: var(--color-white);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    line-height: 1.5;
}

.popup-section ul li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Highlight pour le taux de remboursement */
.popup-highlight {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 20px 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.popup-highlight .highlight-number {
    font-family: var(--font-elegant);
    font-size: 2.5em;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.popup-highlight .highlight-text {
    font-size: 1em;
    opacity: 0.9;
}

/* Notes importantes */
.popup-notes {
    background: #fff8e6;
    border-left: 4px solid #f0ad4e;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.popup-notes h4 {
    color: #8a6d3b;
    font-size: 1em;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.popup-notes ol {
    margin: 0;
    padding-left: 20px;
}

.popup-notes ol li {
    margin: 10px 0;
    line-height: 1.5;
    color: #5a4a2a;
}

/* Lien vers avantages */
.popup-cta-link {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    background: var(--color-secondary);
    border-radius: 8px;
}

.popup-cta-link a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.popup-cta-link a:hover {
    text-decoration: underline;
}

/* Titre formulaire */
.popup-form-title {
    font-family: var(--font-elegant);
    font-size: 1.5em;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    margin: 30px 0 20px;
    padding-top: 25px;
    border-top: 2px solid var(--color-secondary);
}

/* === FORMULAIRES === */
form {
    text-align: left;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
    color: #444;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(41, 45, 128, 0.1);
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Styles pour le formulaire de contact dans popup */
.popup-content .contact-form {
    text-align: left;
    margin: 0 auto;
}

.contact-form {
    max-width: 100%;
    margin: 20px auto;
    padding: 0;
}

/* === SPLASH CONTAINER (pages secondaires) === */
.splash-container {
    margin: 20px auto;
    max-width: 900px;
    text-align: center;
    background: var(--color-white);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.splash-container .logo {
    width: 180px;
    margin-bottom: 20px;
}

.splash-container h1 {
    font-size: 2.2em;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.splash-container p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0 10%;
}

.splash-container ul {
    text-align: left;
    padding-left: 25%;
    padding-right: 15%;
}

.NotaBene {
    padding: 0 5%;
    font-size: 0.85em;
    margin-bottom: 10px;
    text-align: justify;
}

/* === EMAIL GRID === */
.email-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.email-grid a {
    text-align: center;
    padding: 12px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.2s;
}

.email-grid a:hover {
    background-color: var(--color-secondary);
    border-color: var(--color-primary);
}

/* === ICÔNES DE VALIDATION === */
.validation-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
    font-weight: bold;
    pointer-events: none;
}

.validation-icon.success {
    color: #28a745;
}

.validation-icon.error {
    color: #dc3545;
}

.input-wrapper {
    position: relative;
    display: block;
}

/* === RESPONSIVE === */

/* Tablettes */
@media (max-width: 992px) {
    .hero-columns {
        flex-direction: column;
    }
    
    .hero-logo-section {
        padding: 25px 30px 15px;
    }
    
    .hero-logo {
        max-width: 180px;
    }
    
    .hero-image {
        flex: 0 0 auto;
        max-height: 350px;
        padding: 0;
        align-items: flex-start;
    }
    
    .hero-person {
        max-height: 330px;
    }
    
    .hero-content {
        padding: 25px 40px 35px;
    }
    
    .hero-slogan {
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 1.6em;
    }
    
    .hero-subtitle {
        font-size: 1.15em;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-partners {
        flex-direction: column;
        gap: 10px;
    }
    
    .partners-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .homepage-hero {
        padding: 15px;
    }
    
    .hero-container {
        border-radius: 15px;
    }
    
    .hero-logo-section {
        padding: 20px 20px 10px;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .hero-image {
        max-height: 280px;
        padding: 0;
    }
    
    .hero-person {
        max-height: 260px;
    }
    
    .hero-content {
        padding: 20px 25px 30px;
    }
    
    .hero-slogan {
        max-width: 250px;
        margin-bottom: 20px;
    }
    
    .hero-title {
        font-size: 1.4em;
    }
    
    .hero-subtitle {
        font-size: 1.05em;
    }
    
    .hero-text p {
        font-size: 0.9em;
    }
    
    .hero-cta {
        padding: 12px 30px;
        font-size: 0.95em;
    }
    
    /* Footer mobile */
    .footer-content {
        padding: 0 20px;
    }
    
    .partner-logo {
        height: 35px;
    }
    
    .footer-nav a {
        font-size: 12px;
        padding: 5px 6px;
    }
    
    .footer-separator {
        display: none;
    }
    
    .footer-nav {
        gap: 0;
    }
    
    /* Splash container mobile */
    .splash-container {
        padding: 30px 20px;
        margin: 15px;
        border-radius: 10px;
    }
    
    .splash-container p {
        padding: 0;
        font-size: 1em;
    }
    
    .splash-container ul {
        padding-left: 10%;
        padding-right: 5%;
    }
    
    .email-grid {
        grid-template-columns: 1fr;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .hero-logo-section {
        padding: 15px 15px 10px;
    }
    
    .hero-logo {
        max-width: 120px;
    }
    
    .hero-image {
        max-height: 220px;
    }
    
    .hero-person {
        max-height: 200px;
    }
    
    .hero-content {
        padding: 15px 20px 25px;
    }
    
    .hero-slogan {
        max-width: 200px;
    }
    
    .hero-title {
        font-size: 1.25em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .partners-label {
        font-size: 11px;
    }
    
    .partner-logo {
        height: 30px;
    }
    
    .footer-nav a {
        font-size: 11px;
    }
}

/* === ANCIENS STYLES (compatibilité) === */
.top-banner {
    display: none !important;
}

/* Form row pour formulaires en colonnes */
.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
}

.form-column {
    flex: 0 0 48%;
}

@media (max-width: 600px) {
    .form-column {
        flex: 0 0 100%;
    }
}

/* ========================================
   POPUP RESPONSIVE
   ======================================== */

/* Tablette */
@media (max-width: 992px) {
    .popup-content {
        max-width: 90%;
        padding: 30px;
    }
    
    .popup-highlight .highlight-number {
        font-size: 2em;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .popup-content {
        width: calc(100% - 30px);
        margin: 15px auto;
        padding: 25px 20px;
        max-height: calc(100vh - 30px);
        border-radius: 12px;
    }
    
    .popup-header h2 {
        font-size: 1.6em;
    }
    
    .popup-header .popup-subtitle {
        font-size: 1em;
    }
    
    .popup-highlight {
        padding: 15px 20px;
        margin: 20px 0;
    }
    
    .popup-highlight .highlight-number {
        font-size: 2em;
    }
    
    .popup-highlight .highlight-text {
        font-size: 0.9em;
    }
    
    .popup-section {
        padding: 15px 18px;
        margin: 15px 0;
    }
    
    .popup-section h3 {
        font-size: 1.2em;
    }
    
    .popup-section ul li {
        padding: 10px 12px 10px 28px;
        font-size: 0.95em;
    }
    
    .popup-notes {
        padding: 15px;
    }
    
    .popup-notes ol li {
        font-size: 0.9em;
    }
    
    .popup-form-title {
        font-size: 1.3em;
        margin: 25px 0 15px;
        padding-top: 20px;
    }
}

/* Petit mobile */
@media (max-width: 480px) {
    .popup-content {
        width: calc(100% - 20px);
        margin: 10px auto;
        padding: 20px 15px;
    }
    
    .popup-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .popup-header h2 {
        font-size: 1.4em;
    }
    
    .popup-section ul li::before {
        left: 8px;
        width: 6px;
        height: 6px;
    }
    
    .popup-section ul li {
        padding-left: 24px;
    }
}
