/* CoeurAstral - Page d'accueil statique */
/* Reproduction identique de la page Thrive Architect */

/* ========== POLICES (hébergées en local) ========== */

@font-face {
    font-family: 'Fjalla One';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/ca-assets/fonts/fjalla-one-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url('/ca-assets/fonts/montserrat-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito';
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
    src: url('/ca-assets/fonts/nunito-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('/ca-assets/fonts/source-sans-pro-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url('/ca-assets/fonts/source-sans-pro-600.woff2') format('woff2');
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Nunito', Arial, Helvetica, sans-serif;
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
    background-color: #0a1628;
    background-image: url('https://coeurastral.com/wp-content/uploads/fond-vague-bleu.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========== NAVIGATION ========== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    position: relative;
    z-index: 100;
}

.navbar-logo img {
    width: 200px;
    height: auto;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-link {
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.navbar-link:hover {
    opacity: 0.8;
}

.btn-connexion {
    display: inline-block;
    background: #7605a0;
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 11px 18px 10px;
    border-radius: 10px;
    min-height: 38px;
    transition: background 0.3s;
}

.btn-connexion:hover {
    background: #9b2dd0;
}

/* ========== HERO ========== */
.hero {
    text-align: center;
    padding: 60px 40px 50px;
}

.hero-badge {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #0c1115;
    background: #fee32d;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 72px;
    font-weight: 700;
    color: #f8e909;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text {
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.hero-text .marque {
    font-weight: 900;
}

/* ========== BOUTONS CTA ========== */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #fee32d;
    color: #0c1115;
    font-size: 20px;
    font-weight: 700;
    padding: 14px 14px 14px 24px;
    border-radius: 20px;
    border: 1px solid #ffd09e;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
}

.btn-cta:hover {
    border-color: #0c1115;
    background-color: #ffe94d;
}

.btn-cta .btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fee32d;
    border-radius: 50%;
    border: 1px solid #ffd09e;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-cta:hover .btn-icon {
    background: #fff;
}

.hero-connexion {
    margin-top: 15px;
}

.hero-connexion a {
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 400;
}

.hero-connexion a strong {
    font-weight: 500;
}

.hero-connexion a:hover {
    opacity: 0.8;
}

/* ========== SECTION DESCRIPTION ========== */
.section-description {
    padding: 60px 40px;
}

.section-description .container {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    overflow: visible;
}

.description-texte {
    flex: 1;
}

.description-guillemet {
    font-family: Georgia, serif;
    font-size: 120px;
    font-weight: 700;
    color: #7605a0;
    line-height: 0.55;
    margin-top: -55px;
    margin-bottom: 10px;
}

.description-texte p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #0c1115;
    line-height: 1.9;
    margin-bottom: 20px;
}

.description-texte p strong {
    font-weight: 600;
}

.description-image {
    flex: 0 0 400px;
}

.description-image img {
    width: 100%;
    border-radius: 8px;
}

.description-cta {
    text-align: center;
    margin-top: 30px;
}

.description-connexion {
    text-align: center;
    margin-top: 15px;
}

.description-connexion a {
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.description-connexion a strong {
    font-weight: 500;
}

/* ========== TEMOIGNAGES ========== */
.section-temoignages {
    padding: 60px 40px;
}

.temoignages-grid {
    display: flex;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.temoignage-carte {
    flex: 1;
    background: #f8f8f8;
    border: 1px solid #0c1115;
    padding: 40px 20px 15px;
    overflow: visible;
}

.temoignage-guillemet {
    font-family: Georgia, serif;
    font-size: 120px;
    font-weight: 700;
    color: #7605a0;
    line-height: 0.55;
    margin-top: -55px;
    margin-bottom: 10px;
}

.temoignage-texte {
    font-family: Georgia, serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    color: #0c1115;
    line-height: 1.5;
}

/* ========== SECTION TEXTE LONG ========== */
.section-amesoeur {
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.section-amesoeur p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    line-height: 1.9;
    margin-bottom: 25px;
}

.section-amesoeur p strong {
    font-weight: 600;
}

.section-amesoeur .cta-center {
    text-align: center;
    margin-top: 30px;
}

/* ========== SECTION CTA FINALE ========== */
.section-finale {
    text-align: center;
    padding: 60px 40px;
}

.section-finale .logo-finale {
    width: 240px;
    margin-bottom: 25px;
}

.section-finale p {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    line-height: 1.35;
    max-width: 700px;
    margin: 0 auto 30px;
}

.section-finale p strong {
    font-weight: 900;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 30px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright {
    font-family: 'Fjalla One', sans-serif;
    font-size: 12px;
    color: #ffe32e;
    margin-bottom: 8px;
}

.footer-liens {
    font-family: 'Fjalla One', sans-serif;
    font-size: 12px;
}

.footer-liens a {
    color: rgba(248, 233, 9, 0.8);
    transition: color 0.3s;
}

.footer-liens a:hover {
    color: #f8e909;
}

.footer-liens .sep {
    color: rgba(248, 233, 9, 0.5);
    margin: 0 5px;
}

.footer-row {
    margin-bottom: 5px;
}

/* ========== POPUP INSCRIPTION ========== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-content {
    background: #fff;
    border-radius: 6px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
    color: #0c1115;
}

.popup-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 28px;
    height: 28px;
    background: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    line-height: 1;
}

.popup-close:hover {
    transform: scale(1.15);
}

.popup-title {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #0c1115;
    margin-bottom: 25px;
}

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

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    border-color: #7605a0;
}

.form-consent-label {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.form-gdpr {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.form-gdpr input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-gdpr label {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    cursor: pointer;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: #7605a0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #9b2dd0;
}

.btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.popup-note {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 12px;
}

.popup-important {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
}

.popup-important .rouge {
    color: #c60808;
    font-weight: 700;
}

.msg-erreur {
    display: none;
    background: #fce4e4;
    color: #c60808;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 12px;
    text-align: center;
}

/* ========== PAGE CONTACT ========== */
.section-contact {
    padding: 60px 40px;
    display: flex;
    justify-content: center;
}

.contact-box {
    background: #fff;
    border-radius: 8px;
    padding: 40px 50px;
    width: 100%;
    max-width: 620px;
    color: #0c1115;
}

.contact-box h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a4e;
    text-align: center;
    margin-bottom: 30px;
}

.contact-box .form-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.contact-box .form-group input[type="text"],
.contact-box .form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.contact-box .form-group input:focus,
.contact-box .form-group textarea:focus {
    border-color: #7605a0;
}

.contact-box .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    font-family: 'Nunito', sans-serif;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
    resize: vertical;
    min-height: 150px;
}

.contact-box .form-gdpr {
    margin-bottom: 20px;
}

.contact-box .form-gdpr label a {
    color: #7605a0;
    text-decoration: underline;
}

.contact-box .form-gdpr label a:hover {
    color: #9b2dd0;
}

.msg-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
}

/* Honeypot : hors écran (pas display:none pour tromper les bots avancés) */
.form-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ========== BANDEAU COOKIES ========== */
.bandeau-cookies {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    color: #333;
    border-radius: 8px;
    padding: 20px 25px;
    max-width: 380px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 99998;
    font-size: 14px;
    line-height: 1.5;
}

.bandeau-cookies-titre {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 10px;
    color: #0c1115;
}

.bandeau-cookies-texte {
    margin-bottom: 15px;
    color: #555;
}

.bandeau-cookies-btns {
    display: flex;
    gap: 10px;
}

.btn-cookies-accepter {
    flex: 1;
    padding: 10px;
    background: #7605a0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cookies-accepter:hover {
    background: #9b2dd0;
}

.btn-cookies-refuser {
    flex: 1;
    padding: 10px;
    background: #eee;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cookies-refuser:hover {
    background: #ddd;
}

/* ========== RESPONSIVE TABLETTE ========== */
@media (max-width: 1023px) {
    .hero h1 {
        font-size: 52px;
    }

    .hero-text {
        font-size: 20px;
    }

    .section-description .container {
        flex-direction: column;
    }

    .description-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .temoignages-grid {
        flex-direction: column;
    }

    .description-texte p {
        font-size: 20px;
    }

    .contact-box {
        padding: 30px 35px;
    }
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: 10px 20px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-logo img {
        width: 120px;
    }

    .navbar-link {
        display: none;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-text {
        font-size: 18px;
    }

    .btn-cta {
        font-size: 16px;
        padding: 12px 12px 12px 20px;
    }

    .section-description {
        padding: 40px 20px;
    }

    .description-texte p {
        font-size: 16px;
        line-height: 1.5;
    }

    .section-temoignages {
        padding: 40px 20px;
    }

    .temoignage-guillemet {
        font-size: 80px;
    }

    .temoignage-texte {
        font-size: 18px;
    }

    .section-amesoeur {
        padding: 40px 20px;
    }

    .section-amesoeur p {
        font-size: 16px;
        line-height: 1.5;
    }

    .section-finale {
        padding: 40px 20px;
    }

    .section-finale p {
        font-size: 22px;
    }

    .footer {
        padding: 20px;
    }

    .bandeau-cookies {
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .popup-content {
        padding: 20px;
    }

    .section-contact {
        padding: 40px 20px;
    }

    .contact-box {
        padding: 25px 20px;
    }

    .contact-box h1 {
        font-size: 22px;
    }
}
