/*
Theme Name: Resilience ProCare Child
Theme URI: https://www.resilienceprocare.com
Description: Thème enfant basé sur Twenty Twenty-Four, intégrant la landing page EMDR Resilience ProCare.
Author: Resilience ProCare
Template: twentytwentyfour
Version: 1.0
*/

/* ===== CSS issu du <style> de index.html ===== */

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

:root {
    --primary-blue: #1A4F7A;
    --secondary-green: #2D9B83;
    --accent-orange: #E07B53;
    --light-gray: #F5F7FA;
    --dark-gray: #2C3E50;
    --white: #FFFFFF;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: #ffffff;
}

a { color: inherit; }

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}


.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-green);
}

.cta-nav {
    background: var(--accent-orange);
    color: var(--white) !important;
    padding: 0.5rem 1.3rem;
    border-radius: 25px;
    transition: transform 0.3s;
}

.cta-nav:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-blue);
}

.hero {
    background: var(--primary-blue);
    color: var(--white);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.7rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero-target {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2.3rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(224, 123, 83, 0.3);
}

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

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.quick-nav {
    background: var(--white);
    padding: 1.5rem 1.5rem 2rem;
}

.quick-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.quick-nav-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.95rem;
}

.quick-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.quick-nav-card strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--primary-blue);
}

main section {
    padding: 4rem 1.5rem;
}

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

.section-title {
    text-align: center;
    font-size: 2.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.data-source {
    font-size: 0.8rem;
    color: #7a8190;
    margin-top: 0.8rem;
}

.stats .data-source {
    max-width: 1100px;
    margin: 0.8rem auto 0;
}

.results .data-source {
    max-width: 1100px;
    margin: 1.2rem auto 0;
    text-align: center;
    color: rgba(255,255,255,0.85);
}

.validations .data-source {
    max-width: 900px;
    margin: 0.8rem auto 0;
    text-align: center;
    font-size: 0.78rem;
}

.stats {
    background: var(--white);
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.stat-card {
    padding: 1.8rem 1.3rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-4px); }

.stat-number {
    font-size: 2.3rem;
    font-weight: bold;
    color: var(--secondary-green);
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 0.7rem;
}

.card p { font-size: 0.98rem; }

.card-icon {
    width: 72px;
    height: 72px;
    background: var(--secondary-green);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background-size: 58%;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-emdr    { background-image: url("icons/icon-emdr.svg"); }
.icon-gtep    { background-image: url("icons/icon-gtep.svg"); }
.icon-roi     { background-image: url("icons/icon-roi.svg"); }

.icon-securite   { background-image: url("icons/icon-securite.svg"); }
.icon-sante      { background-image: url("icons/icon-sante.svg"); }
.icon-transport  { background-image: url("icons/icon-transport.svg"); }
.icon-banque     { background-image: url("icons/icon-banque.svg"); }
.icon-education  { background-image: url("icons/icon-education.svg"); }
.icon-mutuelle   { background-image: url("icons/icon-mutuelle.svg"); }

.validations {
    background: var(--light-gray);
}

.validation-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge {
    background: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--primary-blue);
}

.badge small {
    display: block;
    margin-top: 0.4rem;
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.timeline {
    position: relative;
    padding: 1.5rem 0;
}

.timeline-item {
    display: flex;
    gap: 1.8rem;
    margin-bottom: 2.3rem;
    align-items: flex-start;
}

.timeline-number {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--secondary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 1.3rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

.results {
    background: var(--primary-blue);
    color: var(--white);
}

.results .section-title { color: var(--white); }
.results .section-subtitle { color: rgba(255,255,255,0.9); }

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.result-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    padding: 1.8rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.18);
}

.result-card h3 {
    font-size: 2.2rem;
    color: var(--accent-orange);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-member { text-align: center; }

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    border: 3px solid var(--secondary-green);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 0.3rem;
}

.team-member .role {
    color: var(--secondary-green);
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.team-member p { font-size: 0.95rem; }

.sectors {
    background: var(--light-gray);
}

.cta-section {
    background: var(--accent-orange);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.96;
}

.cta-contact-grid {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cta-contact-card {
    background: rgba(255,255,255,0.2);
    padding: 1.3rem 1.8rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.faq {
    background: #ffffff;
}

.faq-item {
    max-width: 900px;
    margin: 0 auto 1.2rem;
    border-radius: 10px;
    border: 1px solid #e3e6ee;
    padding: 1rem 1.2rem;
}

.faq-item h3 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 0.4rem;
}

.faq-item p { font-size: 0.95rem; }

footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 1.5rem 1.2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.2rem;
}

.footer-section h3 {
    color: var(--secondary-green);
    margin-bottom: 0.8rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
}

.footer-section a:hover { color: var(--secondary-green); }

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
}

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 80px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary-blue);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1500;
}

.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1600;
}

.chatbot-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 340px;
    max-height: 480px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1600;
}

.chatbot-header {
    background: var(--primary-blue);
    color: #fff;
    padding: 0.9rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.chatbot-header-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
}

.chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.chatbot-messages {
    padding: 0.8rem;
    flex: 1;
    overflow-y: auto;
    background: var(--light-gray);
}

.chatbot-message {
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    max-width: 85%;
}

.chatbot-message.bot { text-align: left; }
.chatbot-message.user { text-align: right; margin-left: auto; }

.chatbot-message.bot span {
    display: inline-block;
    background: #ffffff;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border-bottom-left-radius: 2px;
    color: var(--dark-gray);
}

.chatbot-message.user span {
    display: inline-block;
    background: var(--secondary-green);
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border-bottom-right-radius: 2px;
    color: #ffffff;
}

.chatbot-footer {
    border-top: 1px solid #e2e4ea;
    background: #fff;
    padding: 0.6rem 0.8rem;
}

.chatbot-form {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    resize: none;
    border-radius: 10px;
    border: 1px solid #d1d4de;
    padding: 0.45rem 0.6rem;
    font-size: 0.9rem;
    font-family: inherit;
    max-height: 70px;
}

.chatbot-send {
    background: var(--primary-blue);
    color: #fff;
    border-radius: 10px;
    border: none;
    padding: 0.4rem 0.7rem;
    font-size: 0.9rem;
    cursor: pointer;
    flex-shrink: 0;
}

.chatbot-note {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #7a8190;
}

@media (max-width: 900px) {
    .nav-menu {
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--white);
        flex-direction: column;
        width: 220px;
        padding: 1rem 1.2rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        display: none;
    }

    .nav-menu.open { display: flex; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 2.1rem; }
    .section-title { font-size: 1.7rem; }
}

@media (max-width: 600px) {
    .timeline-item { flex-direction: column; }
    .timeline-number { margin-bottom: 0.3rem; }

    .chatbot-window {
        right: 10px;
        left: 10px;
        width: auto;
    }

    #back-to-top {
        right: 70px;
    }
}
/* === Ajustements fins typo === */

/* Police globale plus cohérente */
body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    color: var(--dark-gray);
}

/* H1 du hero : plus lisible, vraiment “titre principal” */
.hero h1 {
    font-size: 2.6rem;
    font-weight: 600;
}

/* Titres de sections harmonisés */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* Sous-titres un peu plus doux */
.section-subtitle {
    font-size: 1.02rem;
    color: #455065;
}

/* Petits titres (h3) des cartes */
.card h3,
.timeline-content h3,
.team-member h3,
.faq-item h3 {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Chiffres clés bien marqués */
.stat-number,
.result-card h3 {
    font-weight: 700;
}

/* Texte du footer légèrement plus petit et régulier */
.footer-section p,
.footer-section a {
    font-size: 0.9rem;
}
/* === Harmonisation des couleurs === */

/* Liens dans le contenu principal */
main a {
    color: var(--primary-blue);
    text-decoration: underline;
}

main a:hover {
    color: var(--secondary-green);
}

/* Boutons primaires bien orange */
.btn-primary {
    background: var(--accent-orange);
    color: #ffffff;
}

/* Boutons secondaires bordés bleu (si tu veux un peu plus de contraste) */
.btn-secondary {
    background: #ffffff;
    color: var(--primary-blue);
    border: 1px solid var(--primary-blue);
}

/* CTA orange : tout en blanc dessus */
.cta-section h2,
.cta-section p,
.cta-section strong {
    color: #ffffff;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.section-title,
.hero h1,
.card h3,
.timeline-content h3,
.team-member h3,
.faq-item h3 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
}
/* Correction Titre Hero */
.hero {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
}

.hero h1 {
    font-weight: 700 !important;
    font-size: 2.6rem !important;
    line-height: 1.2;
    color: #ffffff !important;
}
/* Logo site – Resilience ProCare */
.wp-block-site-logo img,
.custom-logo-link img,
.custom-logo {
    height: 80px;
    width: auto;
}
/* Correction bouton secondaire Hero */
.hero,
.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero .hero-tagline {
    color: #ffffff;
}
    color: var(--primary-blue) !important;
    font-weight: 600 !important;
    border: none !important;
}

.hero .btn-secondary:hover {
    background-color: #e6e6e6 !important;
    color: var(--primary-blue) !important;
}
/* Correction bouton "Comprendre notre protocole EMDR" dans le hero */
.hero .btn-secondary {
    background-color: #ffffff !important;
    color: var(--primary-blue) !important;
    font-weight: 600;
    border: none;
}

.hero .btn-secondary:hover {
    background-color: #f1f1f1 !important;
    color: var(--primary-blue) !important;
}
.team-social {
    margin-top: 1rem;
}

.team-social img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.team-social img:hover {
    transform: scale(1.1);
.team-member .team-social {
    text-align: center;
}
/* Icônes LinkedIn sous les profils */
.team-social {
    margin-top: 1rem;
    text-align: center;
}

.linkedin-icon {
    width: 28px;
    height: 28px;
    display: inline-block;
    transition: transform 0.2s ease;
}

.linkedin-icon:hover {
    transform: scale(1.1);
}

/* Icône LinkedIn dans le footer */
.footer-social {
    margin-top: 0.8rem;
    text-align: left; /* ou center selon ton design */
}

.linkedin-footer-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1); /* rend l’icône blanche sur fond sombre */
    transition: opacity 0.2s ease;
}

.linkedin-footer-icon:hover {
    opacity: 0.8;
}
/* Icône LinkedIn dans le footer */
.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    display: inline-block;
}

.linkedin-footer-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1); /* rend l’icône blanche sur fond sombre */
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.linkedin-footer-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}
.site-footer {
    background: #1A1A1A; /* ou la couleur que tu veux */
    padding: 2rem 0;
    text-align: center;
}

.footer-social img.linkedin-footer-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1); /* blanc */
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.footer-social img.linkedin-footer-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}
/* Footer global */
.site-footer {
    background: #1A1A1A;
    color: #fff;
    padding-top: 2rem;
}

/* Colonnes du footer */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Ligne du bas */
.footer-bottom {
    margin-top: 2rem;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
}
