/* 1. IMPORTATION DES POLICES GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* 2. VARIABLES CSS - HARMONIE TERRACOTTA CHAUX */
:root {
    --bg-page: #fbf9f7;          /* Fond global effet chaux très doux / beige poudré */
    --bg-card: #ffffff;          /* Fond pur pour les cartes */
    --header-bg: #f4ece6;        /* Fond chaleureux de l'en-tête */
    --primary-color: #7b4b32;    /* Terracotta profond (textes principaux, menu, footer) */
    --accent-color: #b86f52;     /* Terracotta moyen (boutons, éléments interactifs) */
    --accent-hover: #9a573d;     /* Terracotta foncé au survol des boutons */
    --text-main: #423530;        /* Couleur de texte chaleureuse et douce pour les yeux */
    --text-muted: #846f65;       /* Texte secondaire / sous-titres */
    --border-color: #eadcd3;     /* Bordures douces et poudrées */
    
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* 3. STYLES GÉNÉRAUX */
body {
    font-family: var(--font-body);
    background-color: var(--bg-page);
    color: var(--text-main);
    margin: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Titres élégants avec la police Serif */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 0;
}

/* 4. ENTÊTE ET NAVIGATION */
header {
    background-color: var(--header-bg);
    padding: 3.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.4rem;
}

header p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: var(--primary-color);
    padding: 14px 20px;
    box-shadow: 0 4px 10px rgba(123, 75, 50, 0.08);
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: #ffd8cc; /* Teinte lumineuse au survol ou sur la page active */
    border-bottom: 2px solid #ffd8cc;
}

/* 5. CONTENEURS ET CARTE DES SO



/* --- STYLES DU MENU DÉROULANT --- */
nav {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 210px;
    box-shadow: 0 8px 16px rgba(123, 75, 50, 0.15);
    z-index: 1;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: var(--accent-hover);
    color: #ffd8cc;
}

/* Affichage du menu au survol de la souris */
.dropdown:hover .dropdown-content {
    display: block;
}


/* --- STYLES DÉDIÉS À LA PAGE À PROPOS --- */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 35px;
    align-items: start;
    margin-top: 25px;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(123, 75, 50, 0.12);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

/* Adaptation pour smartphones et tablettes */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-container {
        max-width: 260px;
        margin: 0 auto 20px auto;
    }
}


/* --- STYLE DU BOUTON "AGENDA EN LIGNE" --- */
.btn-optamed {
    display: inline-block;
    background-color: var(--primary-color); /* Utilise votre terracotta profond */
    color: #ffffff;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 12px; /* Coins arrondis similaires à l'image */
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 10px rgba(123, 75, 50, 0.15);
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.btn-optamed:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* --- CENTRAGE DE LA PAGE RENDEZ-VOUS --- */
.rdv-center-container {
    max-width: 700px !important;
    margin: 50px auto !important;
    text-align: center !important;
}

.rdv-center-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.rdv-center-container p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 35px;
}

.rdv-btn-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}


/* --- ALIGNEMENT DU LOGO ET TITRE DANS L'EN-TÊTE --- */
.logo-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.site-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    border-radius: 50%; /* Arrondi discret adapté au logo */
}

.header-text {
    text-align: left;
}

.header-text h1 {
    margin: 0;
}

.header-text p {
    margin: 0;
}

/* --- HARMONISATION DE LA TAILLE DU TEXTE --- */
.standard-text-size p,
.standard-text-size li {
    font-size: 1rem !important;
    color: var(--text-main) !important;
}

/* Adaptation écran mobile */
@media (max-width: 600px) {
    .logo-title-container {
        flex-direction: column;
        text-align: center;
    }
    .header-text {
        text-align: center;
    }
}


/* --- COMPORTEMENT DU MENU DÉROULANT SANS PAGE GÉNÉRALE --- */
.dropbtn {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: default; /* Curseur normal pour indiquer qu'il n'y a pas de clic principal */
    display: inline-block;
    padding: 0;
}

.dropdown:hover .dropbtn {
    color: #ffd8cc; /* S'illumine légèrement au survol si on le souhaite */
}




/* --- MISE EN PAGE EN DEUX COLONNES (POUR INDEX ET CONTACT) --- */
.two-columns-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes égales à 50% */
    gap: 30px;
    margin-top: 25px;
}

/* Sur les petits écrans (smartphones), les colonnes s'empilent pour rester lisibles */
@media (max-width: 768px) {
    .two-columns-layout {
        grid-template-columns: 1fr;
    }
}