
/* =========================================================
   MON HYPNO PRO
   Feuille de style générale du site
   Identité visuelle : bandeau bleu foncé
   ========================================================= */

/* ---------- 1. BASE ---------- */

:root {
  --blue: #063688;
  --blue-light: #8FBFDE;
  --blue-pale: #C9E0ED;
  --blue-teal: #02667F;
  --text: #363B40;
  --white: #ffffff;
  --panel: rgba(255, 255, 255, 0.68);
  --line: rgba(255, 255, 255, 0.25);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #eaf3f8;
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h2 {
  margin: 80px 0 22px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

h3 {
  margin: 0 0 14px;
  font-size: 1.4rem;
}

p {
  margin: 0 0 18px;
}

address {
  margin: 14px 0;
  font-style: normal;
}

/* ---------- 2. BANDEAU BLEU : EN-TÊTE ---------- */

.site-header {
  width: 100%;
  color: var(--white);
  background: #3979A8;
  padding: 34px 24px 28px;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
}

/* Nom du site et coordonnées */

.site-logo {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0;
  line-height: 1.3;
  text-decoration: none;
}

.site-logo::before {
  content: "Virginie Ardaen";
  display: block;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.3;
}

.site-logo:hover {
  color: var(--white);
  opacity: 0.9;
}

.site-logo::after {
  content: "Praticienne en hypnose à Ganges";
  display: block;
  margin-top: 12px;
  white-space: pre-line;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

/* Navigation */

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 3px;
}

.main-navigation a {
  display: inline-block;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: var(--white);
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.main-navigation a[aria-current="page"] {
  color: var(--white);
  text-decoration: none;
}

/* Bouton du menu mobile */

.menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

/* ---------- 3. CONTENU PRINCIPAL ---------- */

.site-main {
  min-height: 55vh;
}

.section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero {
  padding: 70px 24px 45px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(143, 191, 222, 0.45),
    rgba(201, 224, 237, 0.7)
  );
}

.page-hero .section-inner {
  max-width: 900px;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--blue-teal);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 760px;
  color: #4a5963;
  font-size: 1.1rem;
}

/* ---------- 4. SECTIONS ET PANNEAUX ---------- */

.content-section {
  position: relative;
  padding: 48px 24px 70px;
}

.content-section .section-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.content-panel {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(6, 54, 136, 0.10);
  border-radius: 5px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(6, 54, 136, 0.06);
}

.content-panel > :last-child {
  margin-bottom: 0;
}

.content-panel h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(6, 54, 136, 0.16);
}

/* ---------- 5. IMAGE DE FOND PISSENLIT ---------- */

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: min(100vw, 1400px);
  aspect-ratio: 2048 / 592;
  background-image: url("../images/Pissenlit.webp");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.95;
  pointer-events: none;
}

/* ---------- 6. PAGE ACCUEIL ---------- */

.home-intro {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.home-intro p {
  font-size: 1.08rem;
}

.home-hero {
  padding: 70px 24px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(143, 191, 222, 0.5),
    rgba(201, 224, 237, 0.8)
  );
}

.home-hero .section-inner {
  max-width: 900px;
}

.home-hero h1 {
  margin-bottom: 20px;
}

.home-hero p {
  max-width: 760px;
  margin: 0 auto 20px;
}

/* ---------- 7. CARTE CADEAU ---------- */

.gift-card-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 35px;
}

.gift-card-image {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 4px;
}

.gift-card-price {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.3rem;
}

.gift-card-validity {
  color: #58656d;
  font-size: 0.95rem;
}

/* ---------- 8. BOUTONS ---------- */

.button,
button.button {
  display: inline-block;
  padding: 12px 25px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  color: var(--white);
  background: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.button:hover,
button.button:hover {
  color: var(--blue);
  background: transparent;
}

/* ---------- 9. PAGE QUI SUIS-JE ---------- */

.about-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.5fr);
  align-items: start;
  gap: 30px 42px;
}

.portrait-wrapper {
  text-align: center;
}

.portrait {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: cover;
}

.portrait-name {
  margin: 18px 0 0;
  font-size: 1.5rem;
}

.prose {
  min-width: 0;
}

.prose p {
  margin-bottom: 20px;
}

.certifications {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid rgba(6, 54, 136, 0.16);
}

.certifications ul {
  padding-left: 22px;
}

.certifications li {
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.65) !important;
}

.arche-signature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

.arche-signature img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.arche-signature p {
  margin: 0;
}

/* ---------- 10. PAGE LES SÉANCES ---------- */

.sessions-list {
  padding-left: 24px;
}

.sessions-list li {
  margin-bottom: 12px;
}

.sessions-intro {
  font-size: 1.1rem;
}

.sessions-conclusion {
  margin-top: 30px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  text-align: center;
}

/* ---------- 11. PAGE CONTACTS ET TARIFS ---------- */

.contact-location {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.location-image img {
  width: 100%;
  border-radius: 4px;
}

.location-details {
  padding: 10px;
}

.small-note {
  color: #65717a;
  font-size: 0.9rem;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tariff-card {
  padding: 24px;
  border: 1px solid rgba(6, 54, 136, 0.14);
  border-radius: 4px;
  background: rgba(201, 224, 237, 0.25);
}

.tariff-card h3 {
  font-size: 1.3rem;
}

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

.tariff-price {
  margin: 0;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
}

.tariff-price-secondary {
  margin: 15px 0 0;
  color: var(--blue-teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.tariff-notes {
  margin-top: 25px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--blue);
  font-size: 0.95rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #b8cbd7;
  border-radius: 3px;
  color: var(--text);
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(2, 102, 127, 0.2);
  border-color: var(--blue-teal);
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-privacy,
.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: #65717a;
  font-size: 0.88rem;
}

.contact-email {
  margin-top: 25px;
}

/* ---------- 12. PAGE CHARTE ---------- */

.charter-panel {
  max-width: 950px;
  margin: 0 auto;
}

.charter-intro {
  margin-bottom: 35px;
  font-size: 1.08rem;
}

.charter-article {
  padding: 24px 0;
  border-bottom: 1px solid rgba(6, 54, 136, 0.15);
}

.charter-article:first-of-type {
  padding-top: 0;
}

.charter-article h2 {
  margin-bottom: 15px;
  padding: 0;
  border: 0;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

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

.charter-source {
  margin-top: 35px;
  color: #65717a;
  font-size: 0.9rem;
  text-align: center;
}

/* ---------- 13. BANDEAU DE PIED DE PAGE ---------- */

.site-footer {
  width: 100%;
  padding: 25px 24px;
  color: var(--white);
  background: #3979A8;
}

.footer-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px 30px;
}

.footer-copyright {
  margin: 0;
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.footer-navigation {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-navigation a {
  color: var(--white);
  font-family: Arial, sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 14. ACCESSIBILITÉ ---------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-teal);
  outline-offset: 3px;
}

/* ---------- 15. TABLETTES ---------- */

@media (max-width: 900px) {
  .header-inner {
    align-items: flex-start;
    gap: 20px;
  }

  .main-navigation {
    gap: 10px 15px;
  }

  .main-navigation a {
    font-size: 12px;
  }

  .about-panel {
    grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
    gap: 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-navigation {
    justify-content: flex-start;
  }
}

/* ---------- 16. MOBILES ---------- */

@media (max-width: 700px) {
  .site-header {
    padding: 22px 20px;
  }

  .header-inner {
    position: relative;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-logo {
    font-size: 0;
  }

  .site-logo::before {
    font-size: 24px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
    margin-top: 3px;
  }

  .main-navigation {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 15px 0 0;
    border-top: 1px solid var(--line);
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .page-hero {
    padding: 48px 20px 35px;
  }

  .content-section {
    padding: 30px 16px 45px;
  }

  .content-panel {
    padding: 24px 20px;
  }

  .about-panel {
    display: flex;
    flex-direction: column;
  }

  .portrait-wrapper {
    width: 100%;
  }

  .portrait {
    max-width: 280px;
  }

  .certifications {
    width: 100%;
  }

  .gift-card-section,
  .contact-location {
    grid-template-columns: 1fr;
  }

  .tariffs-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field-full,
  .form-privacy,
  .form-note {
    grid-column: auto;
  }

  .footer-inner {
    gap: 15px;
  }

  .footer-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 15px;
  }

  .arche-signature {
    align-items: flex-start;
  }

  body::after {
    width: 100vw;
    opacity: 0.45;
  }
}

/* ---------- 17. PETITS ÉCRANS ---------- */

@media (max-width: 380px) {
  .site-logo {
    font-size: 0;
  }

  .site-logo::before {
    font-size: 21px;
  }

  .content-panel {
    padding: 20px 16px;
  }

  .footer-navigation {
    grid-template-columns: 1fr;
  }
}


/* Correction de l'affichage des certifications sur mobile */

* {
    box-sizing: border-box;
}

.certification {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.certifications-container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
}

@media screen and (max-width: 768px) {
    .certification {
        width: 100%;
        padding: 20px 15px;
        font-size: 15px;
        line-height: 1.6;
    }

    .certifications-container {
        padding: 0 12px;
    }
}



/* ---------- CORRECTION CERTIFICATIONS : RETOUR À LA LIGNE ---------- */

.certifications {
  min-width: 0;
  max-width: 100%;
}

.certifications ul {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.certifications li {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  white-space: normal !important;
  overflow-wrap: break-word;
  word-wrap: break-word;
  line-height: 1.6;
}

.certifications li strong,
.certifications li em {
  white-space: normal;
}

@media (max-width: 700px) {
  .certifications {
    width: 100%;
    padding: 22px 14px !important;
  }

  .certifications li {
    padding: 14px 12px !important;
    font-size: 0.9rem !important;
  }
}
