/* ==========================================================================
   Justine Delespaul - Ostéopathe D.O. — Feuille de style partagée
   Charte graphique conservée à l'identique du site d'origine.
   ========================================================================== */

/* --- VARIABLES DE LA CHARTE GRAPHIQUE --- */
:root {
    --blue-light: #5B92E5;       /* Bleu d'Eau Doux */
    --blue-deep: #1D3557;        /* Bleu Saphir Profond */
    --blue-slate: #4A5D6E;       /* Bleu-Gris Ardoise */
    --copper: #D4A373;           /* Cuivré */
    --bg-cream: #FAF7F2;         /* Crème de Lin */
    --white: #FFFFFF;

    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--blue-slate);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-title);
    color: var(--blue-deep);
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* --- BOUTONS --- */
.btn-copper {
    background-color: var(--copper);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.2);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-copper:hover {
    background-color: #c59262;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--blue-deep);
    padding: 11px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 1.5px solid var(--blue-light);
    cursor: pointer;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--blue-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* --- HEADER / NAVIGATION & LOGO --- */
header {
    background-color: rgba(250, 247, 242, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(74, 93, 110, 0.1);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.9rem;
    color: var(--blue-deep);
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.nav-cta-main {
    background-color: var(--copper);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.2);
    white-space: nowrap;
}

.nav-cta-main:hover {
    background-color: #c59262;
}

.nav-cta-sub {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--blue-slate);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-cta-sub i {
    color: var(--copper);
}

.nav-cta-sub:hover {
    color: var(--blue-light);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 25px;
}

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-firstname {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--blue-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.logo-lastname {
    font-family: var(--font-title);
    font-size: 2.1rem;
    color: var(--blue-deep);
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-job {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--copper);
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-menu a:not(.btn-copper) {
    color: var(--blue-deep);
    font-weight: 500;
    font-size: 0.92rem;
    white-space: nowrap;
}

.nav-menu a:not(.btn-copper):hover,
.nav-menu a.active:not(.btn-copper) {
    color: var(--blue-light);
}

/* --- HERO SECTION (page d'accueil) --- */
.hero {
    padding: 130px 0 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(212, 163, 115, 0.16) 0%, rgba(212, 163, 115, 0) 45%),
        radial-gradient(circle at 88% 12%, rgba(91, 146, 229, 0.28) 0%, rgba(91, 146, 229, 0) 50%),
        radial-gradient(circle at 50% 105%, rgba(91, 146, 229, 0.18) 0%, rgba(91, 146, 229, 0) 55%),
        linear-gradient(180deg, #F0F4FA 0%, #FAF7F2 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 100' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C250,10 400,90 650,50 C900,10 1050,90 1300,45 C1450,20 1550,50 1600,40 L1600,100 L0,100 Z' fill='%23FAF7F2'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    color: var(--blue-deep);
    text-shadow: none;
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 45px auto;
    color: var(--blue-slate);
    text-shadow: none;
}

/* --- HERO DE PAGE INTERNE (Adulte / Enfant / Sportif / Détente) --- */
.page-hero {
    padding: 80px 0 70px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(91, 146, 229, 0.06) 0%, rgba(250, 247, 242, 0) 100%);
}

.page-hero .breadcrumb {
    font-size: 0.85rem;
    color: var(--blue-slate);
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.page-hero .breadcrumb a {
    color: var(--blue-light);
}

.page-hero h1 {
    font-size: 2.6rem;
    max-width: 780px;
    margin: 0 auto 20px auto;
    line-height: 1.25;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto;
    color: var(--blue-slate);
}

/* --- STYLES DES SECTIONS --- */
.section-padding {
    padding: 90px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bg-white-card {
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.03);
}

.section-title {
    font-size: 2.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--blue-light);
    border-radius: 2px;
}

.section-title.centered {
    display: inline-block;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 50px;
}

.pool-section {
    background-color: #EBF2FA;
    border-radius: 30px;
    padding: 60px;
}

.map-embed-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.06);
    min-height: 340px;
    height: 100%;
}

.google-reviews-card {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.04);
    border: 1px solid rgba(74, 93, 110, 0.06);
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.google-reviews-card .google-logo {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.google-reviews-card .stars {
    color: #F5B400;
    font-size: 1.4rem;
    letter-spacing: 4px;
    margin-bottom: 14px;
}

.google-reviews-card p {
    color: var(--blue-slate);
    margin-bottom: 24px;
}

/* --- FAQ ACCORDEON --- */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    background: var(--white);
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 6px 20px rgba(29, 53, 87, 0.03);
    overflow: hidden;
    border: 1px solid rgba(74, 93, 110, 0.06);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--blue-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-question i {
    color: var(--copper);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 20px 24px;
    color: var(--blue-slate);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* --- CARTES DE PROFIL (page d'accueil : 4 parcours patients) --- */
.profile-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.profile-cards-grid.blog-grid {
    grid-template-columns: repeat(3, 1fr);
}

.profile-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 28px;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.03);
    border: 1px solid rgba(74, 93, 110, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(29, 53, 87, 0.08);
}

.profile-card .price-icon-wrapper {
    margin-bottom: 22px;
}

.profile-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.profile-card p {
    font-size: 0.92rem;
    color: var(--blue-slate);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* --- SECTION TARIFS (Icônes Professionnelles) --- */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.price-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.02);
    border: 1px solid rgba(74, 93, 110, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(29, 53, 87, 0.04);
}

.price-icon-wrapper {
    margin-bottom: 25px;
    color: var(--blue-light);
    font-size: 3rem;
    background-color: rgba(91, 146, 229, 0.08);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.price-card h3 {
    font-size: 1.15rem;
    color: var(--blue-deep);
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(91, 146, 229, 0.1);
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.price-card h3 span {
    font-size: 0.85rem;
    text-transform: none;
    color: var(--blue-slate);
    font-weight: normal;
}

.price-list {
    width: 100%;
}

.price-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    text-align: left;
}

.price-item:last-child {
    margin-bottom: 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-weight: 500;
}

.price-name {
    color: var(--blue-deep);
    font-weight: 600;
    font-size: 1rem;
}

.price-value {
    color: var(--copper);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.35rem;
    white-space: nowrap;
    margin-left: 15px;
}

.price-desc {
    font-size: 0.88rem;
    color: var(--blue-slate);
    margin-top: 4px;
    font-style: italic;
}

/* --- BLOC "EXPERTISE / DIFFERENCIATION" (ex: page Sportif) --- */
.expertise-block {
    background-color: #EBF2FA;
    border-radius: 30px;
    padding: 55px 60px;
    margin: 60px 0;
}

.expertise-block h2 {
    margin-bottom: 20px;
}

.expertise-block p {
    color: var(--blue-slate);
}

/* --- LISTE A PUCES STYLISEE --- */
.styled-list {
    list-style: none;
    margin: 20px 0;
}

.styled-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    color: var(--blue-slate);
}

.styled-list li::before {
    content: '\ea4e'; /* remix icon check */
    font-family: 'remixicon';
    position: absolute;
    left: 0;
    color: var(--blue-light);
    font-weight: 700;
}

/* --- INTEGRATION CALENDLY : ONGLETS --- */
#prendre-rdv {
    background-color: var(--white);
    border-top: 1px solid rgba(74, 93, 110, 0.1);
}

.calendly-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.calendly-tab-btn {
    background-color: rgba(91, 146, 229, 0.08);
    color: var(--blue-deep);
    border: 1.5px solid transparent;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.calendly-tab-btn:hover {
    background-color: rgba(91, 146, 229, 0.18);
}

.calendly-tab-btn.active {
    background-color: var(--blue-deep);
    color: var(--white);
}

.calendly-tab-price {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 2px;
}

.calendly-panel {
    display: none;
}

.calendly-panel.active {
    display: block;
}

.calendly-placeholder {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    background-color: var(--white);
}

.acompte-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--blue-slate);
    font-style: italic;
    margin-top: 20px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--blue-deep);
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 30px 0;
    font-size: 1rem;
}

footer h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

footer a {
    color: var(--white);
}

footer a:hover {
    color: var(--blue-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 50px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* --- PAGE "QUI SUIS-JE" --- */
.about-photo-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 25px;
    margin: 50px 0;
}

.about-photo-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.06);
    position: relative;
}

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

.about-photo-card img.full-photo {
    object-fit: contain;
    background-color: var(--bg-cream);
}

.about-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(29,53,87,0) 0%, rgba(29,53,87,0.75) 100%);
    color: var(--white);
    padding: 30px 20px 16px 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.credential-badge {
    background: var(--white);
    border-radius: 18px;
    padding: 32px 22px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(29, 53, 87, 0.03);
    border: 1px solid rgba(74, 93, 110, 0.05);
}

.credential-badge i {
    font-size: 2.2rem;
    color: var(--blue-light);
    margin-bottom: 14px;
    display: block;
}

.credential-badge h4 {
    font-family: var(--font-title);
    color: var(--blue-deep);
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.credential-badge p {
    font-size: 0.85rem;
    color: var(--blue-slate);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .grid-2 { gap: 40px; }
    .profile-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Le header (logo + téléphone + 6 liens + bouton) est trop dense pour tenir sur
   une ligne dès qu'on quitte les très grands écrans : on bascule en menu burger
   plus tôt que le reste de la mise en page, pour éviter tout retour à la ligne disgracieux. */
@media (max-width: 1140px) {
    .nav-toggle { display: block; }
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-cream);
        padding: 26px 24px 30px 24px;
        box-shadow: 0 20px 35px rgba(29, 53, 87, 0.12);
        border-top: 1px solid rgba(74, 93, 110, 0.08);
        border-radius: 0 0 16px 16px;
        z-index: 999;
    }
    .nav-menu.nav-menu--active {
        display: flex;
    }
    .nav-menu .nav-cta {
        margin-top: 4px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .page-hero h1 { font-size: 2rem; }
    .hero { padding: 90px 0 100px 0; }
    .grid-2, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .prices-grid {
        grid-template-columns: 1fr;
    }
    .profile-cards-grid {
        grid-template-columns: 1fr;
    }
    .expertise-block {
        padding: 40px 28px;
    }
    .logo-link { gap: 15px; }
    .logo-img { width: 70px; }
    .calendly-placeholder { height: 700px; }
    .about-photo-grid { grid-template-columns: 1fr; }
    .about-photo-card { height: 320px; }
    .credentials-grid { grid-template-columns: 1fr; }
    .map-embed-wrapper { min-height: 260px; }
}
