/* Police globale du site */
body {
  font-family: "Montserrat Alternates", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}
/* ===========================
   HEADER + MENU - VERSION PROPRE
   =========================== */

/* Fond du header avec ton image recadrée */
.site-header {
  background: #ffffff url('images/header-bg.png') no-repeat center top;
  background-size: 100% auto;        /* largeur de l'image = largeur du header */
  padding-top: 40px;                 /* espace au-dessus du logo */
  padding-bottom: 80px;              /* espace entre logo et menu */
  position: relative;
  overflow: hidden;
}

/* Contenu centré */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Logo au centre, texte caché */
.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 340px;
  height: 340px;
  object-fit: contain;
}

.logo-text {
  display: none;
}

/* Bouton "Prendre rendez-vous" en haut à droite */
.header-cta {
  position: absolute;
  top: 10px;     /* remonte le bouton */
  right: 00px;   /* rapproche du bord droit */
  background: #7c242b;
  box-shadow: 0 6px 15px rgba(124, 36, 43, 0.35);
}

/* MENU SOUS LE HEADER */

.main-nav {
  margin-top: 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 0.7rem 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.nav-list a,
.nav-link-dropdown {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
}
/* Même style pour tous les liens du menu (y compris Prestations) */
.nav-list a,
.nav-link-dropdown {
  font-family: "Montserrat Alternates", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: none;
  color: #7c242b;
}

/* Soulignement léger sur le lien actif / au survol */
.nav-list a::after,
.nav-link-dropdown::after {
  height: 2px;
  background: #7c242b;
}
/* Remonter légèrement le logo */
.logo-wrap {
  margin-top: -30px;
}
/* MENU BLANC, COLLÉ AU HEADER */

/* Barre de menu */
.site-navigation,
.nav-bar,
.main-nav {
  background: #ffffff !important;     /* menu blanc */
  margin-top: -27px !important;            /* coller au header */
  padding: 0px 0 !important;          /* espace vertical élégant */
  border-top: 1px solid #f3e8e4;       /* fine ligne rose-beige (optionnel) */
  border-bottom: 1px solid #f3e8e4;    /* ligne en bas aussi */
}

/* Centrage du contenu et écartement des liens */
.nav-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

/* Style des liens */
.nav-list a,
.nav-link-dropdown {
  color: #7c242b !important;           /* couleur du texte */
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* Discret soulignement au survol */
.nav-list a:hover,
.nav-link-dropdown:hover {
  color: #7c242b !important;
  text-decoration: underline;
}
/* Réduire l'espace entre header et menu */
.site-header {
  padding-bottom: 05px !important;   /* au lieu de 80px, par exemple */
}

.main-nav {
  margin-top: 0 !important;          /* s'assure qu'il n'y a pas de marge en plus */
  padding-top: 0px !important;       /* petit ajustement si besoin */
}
/* Pas de soulignement par défaut sur les liens du menu */
.nav-list a,
.nav-link-dropdown,
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a {
  text-decoration: none !important;
}

/* Soulignement uniquement AU SURVOL */
.nav-list a:hover,
.nav-link-dropdown:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Supprime TOUT espace sous le header */
.site-header,
header,
.header,
.header-wrapper,
.header-inner {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Supprime la marge du conteneur qui contient le menu */
.main-nav,
.navigation,
.navbar,
#site-navigation {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Supprime la marge du bloc en dessous (souvent ajouté par themes) */
.site-content,
#content,
main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Faire remonter le menu pour coller au header */
.main-nav {
  margin-top: -27px !important;  /* remonte le menu */
  padding-top: 0 !important;
}
/* Centrer verticalement le texte dans le menu */
.nav-list a,
.nav-link-dropdown {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 8px;
  line-height: 1.4;
}
/* S'assurer que le menu déroulant passe au premier plan */
.main-nav {
  position: relative;
  z-index: 30;
}

.dropdown {
  position: absolute;
  z-index: 40;
}
/* Le menu ne doit PAS couper ce qui dépasse */
.main-nav,
.site-header,
header,
.header-inner {
  overflow: visible !important;
}
/* Fond blanc pour le menu déroulant */
.dropdown {
  background-color: #ffffff !important;
}
/* Forcer le menu à remonter sous le header (sans espace blanc) */
.site-header {
  padding-bottom: 0px !important;   /* très peu d'espace sous le logo */
}

.main-nav {
  margin-top: -37px !important;      /* chevauche légèrement le header */
  padding-top: 0 !important;
}
/* --- Arrière-plan global du site --- */
body {
    background: url('/wp-content/themes/nos-instants-tendresse-theme/images/background-site.webp')
                center top / cover no-repeat fixed;
    background-color: #fbeee7; /* couleur de fond si l'image ne charge pas */
}
/* --------- PAGES INTERNES (comme "À propos") --------- */

.page-hero {
  padding: 4rem 0 2rem;
}

.page-title {
  font-family: "Montserrat Alternates", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c242b;
  margin: 0;
}

.page-body {
  padding: 0 0 4rem;
}

.page-body .container {
  max-width: 900px;
}

.page-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #5c3832;
}

.page-content p {
  margin-bottom: 1rem;
}
/* --------- BLOB PHOTO BLOC PRÉSENTATION --------- */

/* Conteneur blob */
.blob-frame {
  /* Taille à adapter selon ton design */
  width: 320px;
  aspect-ratio: 3 / 4;

  position: relative;
  margin: 0 auto;

  /* Couleur de fond (halo derrière la photo) */
  background: radial-gradient(circle, #fbe7c5 0%, #b08955 100%);

  /* Forme organique avec border-radius */
  border-radius: 60% 40% 35% 65% / 55% 45% 55% 45%;

  /* Pour que la photo soit coupée dans la forme */
  overflow: hidden;

  /* Effet doux */
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Image à l'intérieur du blob */
.blob-frame img {
  width: 120%;
  height: 120%;
  object-fit: cover;
  display: block;
}

/* Optionnel : léger contour intérieur façon cadre */
.blob-frame::before {
  content: "";
  position: absolute;
  inset: 10px; /* épaisseur du cadre intérieur */
  border-radius: inherit;
  border: 2px solid rgba(255, 245, 230, 0.7);
  pointer-events: none;
}
/* --- Bloc présentation Déborah : couleurs + lien + espacement --- */

.intro-section {
  margin-top: 2.5rem;
}

.intro-text-card {
  color: #72131b;
}

.intro-text-card h2 {
  color: #72131b;
}

.intro-text-card .intro-link {
  display: block;
  margin-top: 1rem;
  text-align: right;
  color: #edac43;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
/* Centrer le titre Déborah Bouchenot */
.intro-text-card h2 {
    text-align: center;
    width: 100%;
    display: block;
    margin-bottom: 1.2rem; /* espace sous le titre, ajustable */
}
/* Conteneur du lien aligné à droite */
.intro-text-card .more-link {
    display: block;         /* Prend toute la largeur */
    text-align: right;      /* Envoie le lien à droite */
    margin-top: 1rem;
}

/* Style du lien */
.intro-text-card .more-link a {
    color: #ffffff;         /* blanc */
    font-weight: 600;
}
/* Conteneur aligné à droite */
.more-link {
    text-align: right;
    margin-top: 2rem;
}

/* Bouton arrondi */
.btn-more {
    display: inline-block;
    padding: 10px 22px;
    background-color: #ffb07a;
    color: white;
    border-radius: 30px; /* arrondi */
    font-weight: 600;
    text-decoration: none;

    /* Effet élégant */
    transition: all 0.25s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Effet hover : plus clair et léger zoom */
.btn-more:hover {
    background-color: #ff9c32;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
/* === BLOC PRESTATIONS : cartes + blobs === */

/* Grille des 4 cartes */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

/* Carte individuelle */
.service-card {
  background: rgba(255, 255, 255, 0.92); /* blanc légèrement transparent */
  border-radius: 30px;
  padding: 2rem 1.8rem 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  text-align: center;
  color: #72131b; /* même couleur que le texte principal */
}

/* Titre de la carte */
.service-card h3 {
  margin: 1.1rem 0 0.6rem;
  font-size: 1.1rem;
}

/* Texte de la carte */
.service-card p {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Lien "En savoir plus" dans les cartes prestations */
.service-card .more-link {
  text-align: center;
  margin-top: 1rem;
}

/* Petit bouton pour les cartes prestations */
.btn-more.btn-small {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-more.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

/* --- BLOBS pour les images de prestations --- */

.service-blob {
  width: 180px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
  overflow: hidden;

  background: radial-gradient(circle, #fbe7c5 0%, #b08955 90%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.service-blob img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Petit cadre intérieur */
.service-blob::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 2px solid rgba(255, 245, 230, 0.8);
  pointer-events: none;
}

/* Variantes de formes pour chaque carte */
.service-blob-1 {
  border-radius: 60% 40% 45% 55% / 55% 45% 55% 45%;
}

.service-blob-2 {
  border-radius: 40% 60% 60% 40% / 45% 60% 40% 55%;
}

.service-blob-3 {
  border-radius: 55% 45% 60% 40% / 50% 55% 45% 55%;
}

.service-blob-4 {
  border-radius: 48% 52% 42% 58% / 55% 50% 60% 45%;
}

/* Responsive : une seule colonne en mobile */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.7rem 1.4rem 1.4rem;
  }
}
/* Animation douce des cartes prestations */
.service-card {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}
/* === BLOC TÉMOIGNAGES === */

.testimonials-section {
  margin: 3.5rem 0;
}

.testi-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 32px;
  padding: 2.3rem 2.1rem 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
  color: #72131b;
  position: relative;
  overflow: hidden;
}

/* Petit bandeau "Témoignages" */
.testi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testi-tag {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #b55b57;
  background: #fde3d9;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

/* Grande guillemet décorative */
.testi-quote {
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(245, 180, 150, 0.55);
  font-family: "Times New Roman", serif;
  transform: translateY(-8px);
}

/* Texte du témoignage */
.testi-text {
  margin: 1.4rem 0 1.2rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* Zone bas : auteur + bouton */
.testi-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.testi-author {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.testi-author strong {
  font-weight: 700;
}

.testi-author span {
  font-size: 0.9rem;
  color: #b55b57;
}

/* Bouton déjà défini : .btn-more.btn-small */
.testimonials-section .more-link {
  margin-top: 0;
  text-align: right;
}

@media (max-width: 800px) {
  .testi-card {
    padding: 1.8rem 1.5rem 1.6rem;
  }

  .testi-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonials-section .more-link {
    text-align: left;
  }
}
/* === BLOC INFO & CONTACT === */

.info-contact-section {
  margin: 3.5rem 0 4rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 32px;
  padding: 2.3rem 2.1rem 2.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
  color: #72131b;
}

.info-card h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  text-align: left;
}

.info-card p {
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* On réutilise la structure contact-details existante */
.info-card .contact-details {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.info-card .phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.info-card .phone-icon {
  font-size: 1.3rem;
}

/* Bouton contact */
.info-card .more-link {
  margin-top: 0;
  text-align: right;
}

@media (max-width: 800px) {
  .info-card {
    padding: 1.9rem 1.5rem 1.8rem;
  }

  .info-card .contact-details {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-card .more-link {
    text-align: left;
  }
}
/* Colonne gauche du bloc contact : téléphone + Instagram */
.info-card .contact-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Lien Instagram */
.contact-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #72131b;
  text-decoration: none;
}

.contact-instagram:hover {
  color: #e87b11;
}

/* On réutilise la bulle ronde pour l'icône */
.contact-instagram .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e87b11;
}

/* Taille et couleur du pictogramme */
.contact-instagram .insta-icon {
  width: 18px;
  height: 18px;
  
}
.contact-instagram:hover .social-icon {
  background: #e87b11;
  color: #ffffff;
}
/* --- Bloc Témoignages --- */
.testimonials-section {
  margin-top: 80px;
  margin-bottom: 80px;
  display: flex;
  justify-content: center;
}

.testimonials-card {
  background: rgba(255, 255, 255, 0.85);
  padding: 40px 50px;
  border-radius: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  width: 100%;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #72131b;
  margin-bottom: 30px;
  text-align: left; /* même style que Info & contact */
}

/* Guillemets décoratifs */
.testimonial-text {
  position: relative;
  font-size: 18px;
  line-height: 1.7;
  text-align: justify;
  color: #4a2c2c;
  padding: 20px 20px 10px 20px;
}

.testimonial-text::before,
.testimonial-text::after {
  font-family: serif;
  font-size: 42px;
  color: #e0b9a5;   /* beige rosé très doux */
  position: absolute;
  opacity: 0.4;
}

.testimonial-text::before {
  content: "“";
  top: -10px;
  left: -5px;
}

.testimonial-text::after {
  content: "”";
  bottom: -20px;
  right: -5px;
}

.testimonial-author {
  text-align: right;
  font-weight: 600;
  color: #72131b;
  margin-top: 5px;
  margin-bottom: 25px;
}

.btn-more.small {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background: #e87b11;
  color: #fff;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s ease;
}

.btn-more.small:hover {
  background: #c86a0d;
}
/* --- Fade-in premium pour les blocs --- */

/* État initial : caché, légèrement vers le bas */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
  will-change: opacity, transform;
}

/* Quand l'élément devient visible à l'écran */
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.services-grid .service-card.reveal-on-scroll {
  transition-delay: 0.2s;
}

.services-grid .service-card.reveal-on-scroll:nth-child(2) {
  transition-delay: 0.4s;
}
.services-grid .service-card.reveal-on-scroll:nth-child(3) {
  transition-delay: 0.6s;
}
.services-grid .service-card.reveal-on-scroll:nth-child(4) {
  transition-delay: 0.8s;
}
/* === BLOC TÉMOIGNAGES – STYLE UNIFIÉ === */
.testimonials-section {
  display: flex;
  justify-content: center;
  margin: 60px 0;
}

.testimonials-container {
  width: 80%;     /* même largeur que Info & Contact */
  max-width: 1200px;
  background: #fff7f3 ; /* même beige que le bloc Déborah */
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* Titre */
.testimonials-container .section-title {
  font-size: 28px;
  font-weight: 700;
  color: #7c242b;
  text-align: left;
  margin-bottom: 30px;
}

/* Témoignages */
.testimonial {
  margin-bottom: 35px;
}

/* Guillemets décoratifs */
.quote {
  font-size: 18px;
  color: #7c242b;
  line-height: 1.6;
  position: relative;
  padding-left: 30px;
}

.quote::before {
  content: "“";
  font-size: 45px;
  color: #e8c6a3;
  position: absolute;
  top: -15px;
  left: -5px;
}

.quote::after {
  content: "”";
  font-size: 45px;
  color: #e8c6a3;
  position: absolute;
  bottom: -25px;
  right: -5px;
}

.author {
  text-align: right;
  font-weight: 600;
  color: #7c242b;
  margin-top: 8px;
}

/* Bouton */
.btn-more {
  display: inline-block;
  margin-top: 20px;
  background: #e87b11;
  color: white;
  padding: 12px 28px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s ease;
}

.btn-more:hover {
  background: #c96a0d;
}