/* ================= Reset simple ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background: #fff;
    color: #333;
}

:root {
    --primary-color: #cc6600;   /* orange  */
    --secondary-color: #007744; /* vert texte */
    --tertiary-color: #e6d6e6;  /* mauve doux */
}

/* ================= Couleurs utilitaires custom ================= */

.text-brand {
    color: var(--primary-color) !important;
}

.text-vert {
    color: var(--secondary-color) !important;
}

.bg-brand {
    background-color: var(--primary-color);
    color: #fff;
}

.border-brand {
    border-color: var(--primary-color);
}

.bg-mauve {
    background-color: var(--tertiary-color) !important;
}

.bg-vert {
    background-color: var(--secondary-color) !important;
    color: #fff;
}

/* ================= Containers ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}
/* ================= Navbar ================= */

.navbar {
    background-color: var(--primary-color);
}

.navbar a {
    color: #fff;
}

.navbar a:hover {
    opacity: 0.85;
}

/* ================== Logo ============ */
.logo {
    position: absolute;
    width: 80px;
    opacity: 0.15;
}

.top-left { top: 20px; left: 20px; }
.top-right { top: 20px; right: 20px; }
.bottom-left { bottom: 20px; left: 20px; }
.bottom-right { bottom: 20px; right: 20px; }

/* ================= Hero ================= */
.hero {
    background: #ffece0;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 2rem;
}

.hero-services {
    background: #fff4e6;
}

/* ================= Portrait accueil ================= */

.portrait-section {
    padding: 2rem 1rem; /* plus léger que les autres sections */
    display: flex;
    justify-content: center;
}

.portrait-img {
    max-width: 300px;
    border-radius: 30px;
    border: 4px solid var(--tertiary-color); /* mauve */
}

/* ================= Bouton Doctolib ================= */
.btn-rdv {
    cursor: pointer;
    display: inline-block;
    padding: 1rem 2rem;
    background: #cc6600;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    /*transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;*/
    /*transform-origin: center;*/
    position: relative;
    border: none;
}

.btn-rdv:hover {
    background: #e03e00;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.btn-rdv::after {
    content: "";
    position: absolute;
    inset: -8px; /* agrandit la zone de clic invisible */
}

/* ================= Sections ================= */

h1 {
    color: var(--primary-color);
}

section {
    padding: 2rem 2rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* ================= Bannière top ================= */

.top-banner {
    width: 100%;
    max-height: 300px;      /* hauteur max de la bannière */
    overflow: hidden;       /* empêche le scroll */
    text-align: center;
    position: relative;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* l'image remplit le conteneur sans déformer */
    display: block;
}
/* ================= Services Cards ================= */
.cards {
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
        cursor: pointer;
    background: #fff4e6;
    border: 2px solid #cc6600;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(20px);
}

.card h2 {
    color: #cc6600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.95rem;
    color: #333;
}

.card.appear {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Carte cliquable */
.card-link {
    text-decoration: none; /* enlever soulignement */
}

.card-link .card {
    cursor: pointer; /* main quand on survole */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-link .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* ================= Accompagnements ================= */

.accompagnement-cards .accompagnement-card {
    cursor: pointer;
    border-radius: 30px;              
    border: 4px solid var(--primary-color);
    background-color: #fff4e6;        /* carte claire */
    padding: 2rem;
    min-height: 220px;          /* 👈 cards plus longues */
    display: flex;
    flex-direction: column;
    justify-content: center;    /* contenu bien centré verticalement */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.accompagnement-card {
    cursor: pointer;
}

/* Cartes paires (fond couleur principale) */
.accompagnement-cards .accompagnement-card:nth-child(even) {
    background-color: var(--primary-color);
    border-color: #fff4e6;            /* bordure couleur carte claire */
}

/* Texte blanc sur cartes paires */
.accompagnement-cards .accompagnement-card:nth-child(even) h2,
.accompagnement-cards .accompagnement-card:nth-child(even) p {
    color: #fff;
}

/* Hover subtil */
.accompagnement-cards .accompagnement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.accompagnement-card h2 {
    text-transform: uppercase; /* force toutes les lettres en majuscules */
}

.card-brand {
    border-radius: 30px !important;
    border: 4px solid var(--primary-color) !important;
    overflow: visible; /* 👈 IMPORTANT */
    box-shadow: 0 10px 30px rgba(204, 102, 0, 0.15);
}

.card-brand .card-body {
    border-radius: 26px;
}

.page-renaissance h2 {
    color: var(--secondary-color);
}

/* ================= Modal (animation douce) ================= */
/* ================= Modal overlay ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6); /* voile derrière */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ================= Modal content ================= */
.modal-content {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, #b47eb3 100%);
    /* dégradé mauve plus marqué */
    color: var(--secondary-color); /* texte principal vert */
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    border-radius: 20px;
    text-align: center;
    position: relative;

    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* ================= Close button ================= */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff; /* toujours visible sur le fond */
}

/* ================= Titre modal ================= */
#modalTitle {
    color: var(--primary-color); /* reste orange */
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 1.8rem;
}

/* ================= Description modal ================= */
#modalContent {
    color: var(--secondary-color); /* texte vert pour bien ressortir */
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ================= Image modal ================= */
.modal-image {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    display: none; /* si pas d'image */
}

/* ================= Boutique ================= */

.shop-page .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

/* Carte boutique */
.shop-page .shop-card {
    background: #fff;
    border: 2px solid var(--tertiary-color);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;

    display: flex;
    flex-direction: column;
    height: 100%;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-page .shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* Titre produit */
.shop-page .shop-card h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Image → ON GARDE TA TAILLE */
.shop-page .shop-card img.product-image {
    max-width: 180px;
    margin: 1rem auto 1.5rem auto;
}

/* Description */
.shop-page .shop-card .description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
}

/* Prix */
.shop-page .shop-card .price {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Bouton toujours en bas */
.shop-page .shop-card .btn-rdv {
    margin-top: auto;
    align-self: center;
}


/* ================= Services page spécifique ================= */
.services-page h1 {
    text-align: center;
    color: #ff7f50;
    margin-bottom: 1rem;
}

.services-page p {
    text-align: center;
    margin-bottom: 2rem;
    color: #555;
}

.services-page .btn-rdv,
.cards + .btn-rdv {
    display: block;
    width: fit-content;
    margin: 2rem auto 2rem auto; /* mt-3 + mb-3 */
}

/* Fade-in page service */
.service-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-content.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ================= FAQ ================= */
.faq-item {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1rem 0;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding-left: 1rem;
    color: #555;
}

.faq-item.open .faq-answer {
    max-height: 500px; /* suffisamment pour le texte */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.faq-item.open .faq-arrow {
    transform: rotate(90deg);
    color: var(--primary-color);
}

/* ================= Countdown ================= */

/* ----------Coutndown-- 2 -------- */
.countdown {
    position: sticky;
    top: 0;
    z-index: 900;
    background: linear-gradient(135deg, #7b5ea7, #a98bd6);
    color: #fff;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.countdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.countdown-timer span {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    min-width: 60px;
}

.countdown-timer strong {
    font-size: 1.4rem;
    display: block;
}

/* ----------Coutndown-- 1 -------- */
.countdown-card {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2.5rem 2rem;
     background: #f4e9ff; /*mauve doux */
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.countdown-eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7b4ca0;
    margin-bottom: 0.5rem;
}

.countdown-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #3d1d5d;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    font-size: 1.2rem;
}

.countdown-timer span strong {
    font-size: 2rem;
    display: block;
    color: #3d1d5d;
}

/* ------coutdown---3----------  */
.countdown-ritual {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f3e6ff, #e9d8ff);
    text-align: center;
    border-radius: 40px;
    max-width: 900px;
    margin: 4rem auto;
}

.ritual-text {
    font-size: 1.4rem;
    color: #4b266b;
    margin-bottom: 2rem;
}

.ritual-timer span strong {
    font-size: 2.2rem;
}

/* ================= Footer ================= */
.footer {
    text-align: center;
    padding: 2rem 1rem;
}

footer {
    background-color: var(--primary-color);
    color: #fff;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ================= Responsive ================= */
@media(max-width:768px){
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background: #ff7f50;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        padding: 1rem;
    }

    .nav-links.show {
        display: flex;
    }

    .burger {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}



/* ===== Contact info ===== */

.contact-info {
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
    color: #555;
}

.contact-icons ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 0;
}

.contact-icons li a {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-icons li a:hover {
    color: #ff4500;
}

.contact-icons i {
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}
.contact-icons li {
    width: 100%;
    max-width: 400px;
}