/* Pour s'intégrer dans la structure index.html avec header, main, footer */
body.with-layout main.container {
    padding-top: 0;
    padding-bottom: 0;
}/* Variables globales */
:root {
    --primary-color: #ffcc33;
    --accent-color: #ffcc00;
    --background-color: rgb(23, 74, 103);
    --text-color: #ffcc33;
    --card-bg-color: rgb(23, 74, 103, 0.1)/*#f9f9f9*/;
    --card-border-color: #ffcc33;
    --spacing: 1rem;
    --max-width: 1200px;
}

/* Styles de base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    background-color: var(--background-color);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    
    padding: var(--spacing);
}
/* Variables de couleurs */
    :root {
      --prim-color: #174a67;
      --secondary-color: #ffcc33;
      --nav-bg-color: #343a40;
      --nav-hover-color: #555;
    }
    
    /* Styles de base */
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: rgb(23, 74, 103);
      line-height: 150%;
    }
    
    /* ===== VERSION DESKTOP ===== */
    
    /* Header desktop */
    .desktop-header {
      display: block;
    }
    
    .bandeau-logo {
      background-color: var(--prim-color);
      padding: 0;
      color: var(--secondary-color);
    }
    
    .logo-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: nowrap;
    }
    
    .logo-img {
      flex: 0 0 330px;
    }
    
    /* Cartes d'informations */
    .info-cards {
      display: flex;
      justify-content: space-between;
      gap: 15px;
      flex: 1;
    }
    
    .info-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 10px;
      flex: 1;
      min-width: 150px;
    }
    
    .info-card img {
      margin-bottom: 10px;
    }
    
    /* Navigation desktop */
    .bandeau-navigation {
      background-color: var(--nav-bg-color);
      color: var(--secondary-color);
      padding: 0;
      height: 40px; /* Hauteur fixe comme dans le tableau original */
    }
    
    .nav-links {
      display: flex;
      justify-content: space-between;
      list-style: none;
      padding: 0;
      margin: 0;
      height: 100%;
    }
    
    .nav-links li {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .nav-links a {
      display: block;
      width: 100%;
      height: 100%;
      text-decoration: none;
      color: var(--secondary-color);
      text-align: center;
      transition: background-color 0.3s;
      line-height: 40px; /* Pour centrer verticalement le texte */
    }
    
    .nav-links a:hover {
      background-color: var(--nav-hover-color);
      color: white;
    }
    
    /* ===== VERSION MOBILE  ===== */
    
    /* Header mobile */
    .mobile-header {
      display: none;
      background-color: var(--prim-color);
      color: var(--secondary-color);
      flex-wrap: nowrap;
      justify-content: space-between;
      align-items: center;
      padding: 10px;
    }
    
    .mobile-logo {
      flex: 0 0 auto;
      max-width: 60%;
    }
    
    .mobile-logo img {
      max-width: 100%;
      height: auto;
    }
    
    .header-right {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    
    .phone-numberh {
      display: flex;
      align-items: center;
      gap: 5px;
      color: var(--secondary-color);
      text-decoration: none;
      font-size: 0.8rem;;
    }
    
    .phone-icon {
      width: 12px;
      height: 12px;
    }
    
    /* Menu vertical à trois points */
    .menu-toggle {
      background: none;
      color: var(--secondary-color);
      border: none;
      cursor: pointer;
      /*padding: 10px;*/
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 24px;
    }
    @media screen and (min-width: 700px) {
  .phone-numberh {
    font-size: 1.5rem; /* Police plus grande */
        } }
    
    .dot {
      width: 6px;
      height: 6px;
      background-color: var(--secondary-color);
      border-radius: 50%;
    }
    
    /* Menu déroulant mobile */
    .mobile-nav {
      display: none;
      background-color: var(--nav-bg-color);
      overflow: hidden;
      transition: max-height 0.3s ease-out;
        margin-top: 00px;
          }
    
    .mobile-nav.active {
      display: block;
    }
    
    .mobile-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .mobile-links li {
      border-bottom: 1px solid rgba(255, 204, 51, 0.2);
    }
    
    .mobile-links li:last-child {
      border-bottom: none;
    }
    
    .mobile-links a {
      display: block;
      padding: 15px;
      text-decoration: none;
      color: var(--secondary-color);
      text-align: center;
      transition: background-color 0.3s;
    }
    
    .mobile-links a:hover {
      background-color: var(--nav-hover-color);
    }
      .desktop-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* Assure que le header reste au-dessus du reste */
}
      @media (min-width : 936px) {
.container {
  /*padding: 15px;*/
  margin-top: 220px; 
          } }
      @media (max-width: 935px) {
  main {
    margin-top: 35px; /* hauteur du header mobile */
  }
}
    
    /* ===== MEDIA QUERIES ===== */
    
    /* Ajustements mineurs pour les écrans larges */
    @media (max-width: 1100px) and (min-width: 936px) {
      .bandeau-logo {
        padding: 10px;
      }
      
      .info-card {
        padding: 5px;
      }
    }
    
    /* Basculement entre desktop et mobile */
    @media (max-width: 935px) {
      .desktop-header {
        display: none;
      }
      
      .mobile-header {
        display: flex;
      }
    }
    

/* Section de présentation */
.presentation {
    display: flex;
    flex-direction: column;
}

/* Conteneur d'image avec titre superposé */
.image-container {
    position: relative;
    margin-bottom: var(--spacing);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.header-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    width: 90%;
}

/* Contenu textuel */
.content {
    color: var(--text-color);
    padding: var(--spacing) 0;
}

.content p {
    margin-bottom: var(--spacing);
}

/* Section contact */
.contact-info {
    background-color: rgba(255, 204, 51, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: var(--spacing);
    margin: var(--spacing) 0;
}

.contact-info p {
    margin-bottom: 0.5rem; /* Espace réduit entre les paragraphes dans la section contact */
}

.contact-info p:last-child {
    margin-bottom: 0; /* Pas de marge pour le dernier paragraphe */
}

/* Image animée */
.animation {
    display: flex;
    justify-content: center;
    margin: var(--spacing) 0;
}

.animated-image {
    max-width: 100%;
    height: auto;
}

/* Styles pour la page Psy */
.psy-info {
    width: 100%;
}

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.main-title {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: var(--spacing);
}

.intro-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.professional-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.professional-card {
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: var(--card-bg-color);
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 204, 51, 0.1);
    padding: var(--spacing);
}

.card-header h2 {
    color: var(--accent-color);
    margin-bottom: var(--spacing);
    text-align: center;
}

.card-header.reversed {
    flex-direction: column-reverse;
}

.card-header.reversed h2 {
    margin-bottom: 0;
    margin-top: var(--spacing);
}

.profession-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.card-content {
    padding: var(--spacing);
    color: var(--text-color);
}

.card-content p {
    margin-bottom: 0.75rem;
}

.card-content p:last-child {
    margin-bottom: 0;
}

.note-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 204, 51, 0.1);
    border-radius: 8px;
}

.note-section h2 {
    color: var(--accent-color);
    margin-bottom: var(--spacing);
}

.important-note {
    font-size: 1.1rem;
}

.important-note p {
    margin-bottom: 0.75rem;
}

.underline {
    text-decoration: underline;
}

/* Media queries pour l'affichage responsive */
@media screen and (min-width: 768px) {
    .presentation {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .image-container {
        flex: 1;
    }
    
    .content {
        flex: 1;
    }
    
    .professional-card {
        display: flex;
        flex-direction: row;
    }
    
    .card-header {
        width: 30%;
        justify-content: center;
    }
    
    .card-content {
        width: 70%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .professional-card:nth-child(even) {
        flex-direction: row-reverse;
    }
}

/* Styles pour la page Méthodes */
.methods-info {
    width: 100%;
}

.methods-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 2rem 0;
}

.method-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    border: 1px solid var(--card-border-color);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.method-media {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: var(--spacing);
    background-color: rgba(255, 204, 51, 0.1);
}

.method-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    max-height: 300px;
    object-fit: cover;
}

.method-content {
    padding: var(--spacing) var(--spacing) calc(var(--spacing) * 1.5);
    color: var(--text-color);
}

.method-title {
    color: var(--accent-color);
    margin-bottom: var(--spacing);
    text-align: center;
    font-size: 1.5rem;
}

.method-description p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.faq-item {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: rgba(255, 204, 51, 0.05);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.faq-question {
    display: flex;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.faq-question::before {
    content: "?";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.faq-answer {
    font-style: italic;
    line-height: 1.6;
}

@media screen and (min-width: 768px) {
    .method-card {
        flex-direction: row;
        align-items: stretch;
    }
    
    .method-media {
        width: 40%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .method-media.right {
        order: 2;
    }
    
    .method-content {
        width: 60%;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .method-card:nth-child(even) .method-media {
        order: 2;
    }
    
    .method-card:nth-child(even) .method-content {
        order: 1;
    }
}
.photo-caption {
    color: var(--text-color);
    font-style: italic;
    text-align: center;
}

/* Media queries pour l'affichage responsive */
@media screen and (min-width: 768px) {
    .contact-layout {
        flex-direction: row;
        align-items: stretch;
    }
    
    .contact-details {
        width: 50%;
    }
    
    .map-container {
        width: 50%;
        height: auto;
    }
    
    .cabinet-photos {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .photo-item {
        width: 32%;
    }
}
/* Styles pour la page Tarifs */
.tarifs-page {
    width: 100%;
}

.reimbursement-info {
    margin: 2rem 0;
}

.reimbursement-info h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-box {
    background-color: rgba(255, 204, 51, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.info-box p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.tarifs-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.tarif-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tarif-header {
    background-color: rgba(255, 204, 51, 0.2);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tarif-title {
    color: var(--text-color);
    font-size: 1.3rem;
    margin: 0;
}

.tarif-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    background-color: white;
    border-radius: 50px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tarif-content {
    padding: 1.5rem;
}

.tarif-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.tarif-content p:last-child {
    margin-bottom: 0;
}

.section-title {
    color: var(--accent-color);
    margin: 2rem 0 1.5rem;
    font-size: 1.5rem;
}

.evaluations-section {
    margin: 3rem 0;
}

.evaluation-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.evaluation-header {
    background-color: rgba(255, 204, 51, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evaluation-title {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0;
}

.evaluation-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
}

.evaluation-content {
    padding: 1.5rem;
}

.evaluation-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.evaluation-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.evaluation-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.payment-section {
    margin: 3rem 0;
}

.payment-info {
    background-color: var(--card-bg-color);
    border: 1px solid var(--card-border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.payment-highlight {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.disclaimer {
    background-color: rgba(255, 204, 51, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-color);
    /*color: #555;*/
}

.disclaimer p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

/* Media queries pour l'affichage responsive */
@media screen and (min-width: 768px) {
    .tarifs-grid {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .tarif-card {
        width: 48%;
    }
    
    .evaluation-card {
        display: flex;
        flex-direction: column;
    }
}
/* Styles pour la page Contact */
.contact-page {
    width: 100%;
}

.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    border: 1px solid var(--card-border-color);
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-card h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card.highlight {
    background-color: rgba(255, 204, 51, 0.1);
    border-left: 4px solid var(--primary-color);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 1rem 0;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 100%;
    border: none;
}

.access-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    border: 1px solid var(--card-border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.access-info h2 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.cabinet-photos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cabinet-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.photo-caption {
    color: var(--text-color);
    font-style: italic;
    text-align: center;
}

/* Media queries pour l'affichage responsive */
@media screen and (min-width: 768px) {
    .contact-layout {
        flex-direction: row;
        align-items: stretch;
    }
    
    .contact-details {
        width: 50%;
    }
    
    .map-container {
        width: 50%;
        height: auto;
    }
    
    .cabinet-photos {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .photo-item {
        width: 32%;
    }
}
/* Styles spécifiques à cette page */
        .credentials-section {
            position: relative;
        }
        
        /* Styles pour les notes de bas de page */
        .footnote-ref {
            font-weight: bold;
            color: var(--accent-color);
            text-decoration: none;
            vertical-align: super;
            font-size: smaller;
            margin-left: 2px;
        }
        
        .footnote-backref {
            text-decoration: none;
            color: var(--accent-color);
            font-weight: bold;
        }
        
        .footnotes {
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
        }
        
        .footnote {
            margin-bottom: 1rem;
            font-size: 0.9em;
            line-height: 1.5;
        }
        
        .profile-container {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .profile-photo {
            text-align: center;
            margin-bottom: 1rem;
        }
        
        .profile-photo img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .credentials-section {
            background-color: var(--card-bg-color);
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .credentials-title {
            color: var(--accent-color);
            margin-bottom: 1rem;
            text-align: center;
        }
        
        .official-info {
            margin-top: 2rem;
            padding: 1rem;
            background-color: rgba(255, 204, 51, 0.1);
            border-left: 4px solid var(--primary-color);
            border-radius: 0 4px 4px 0;
        }
        
        @media screen and (min-width: 768px) {
            .profile-container {
                flex-direction: row;
                align-items: flex-start;
            }
            
            .profile-photo {
                width: 30%;
                margin-bottom: 0;
            }
            
            .credentials-section {
                width: 70%;
            }
        }