/*
Theme Name: Hello Child
Theme URI: https://example.com/
Description: Thème enfant de Hello Elementor
Author: Ton nom
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-child
*/

/* TEST */

/* Structure globale */
html, body {
  height: 100%;
}

/* Wrapper principal WordPress */
body {
  display: flex;
  flex-direction: column;
  color: #fff;
  background-color: #e7aafa;
}
.site-footer{
  display:none;
}

/*TOUS LES TITRES EN 3D*/

.titres-3d {
    color: white;
    text-shadow:
    0 1px 0 rgba(255,255,255,0.9),
    0 2px 0 rgba(200,200,200,0.8),
    0 4px 6px rgba(0,0,0,0.7);
}

/* RESEAUX SOCIAUX BOUTONS 3D*/
.elementor-icon.elementor-social-icon {
  border-radius: 50%;

  /* couleur d'origine conservée */
  /*background: inherit; */  

  /* relief / lumière */
  box-shadow:
    inset 0 2px 5px rgba(255,255,255,0.3), /* lumière en haut */
    inset 0 -2px 5px rgba(0,0,0,0.3),      /* ombre en bas */
    0 5px 0 rgba(0,0,0,0.4),               /* base du bouton */
    0 10px 15px rgba(0,0,0,0.3);           /* ombre globale */

  transition: all 0.15s ease;
}
.elementor-icon.elementor-social-icon:hover {
  transform: translateY(-2px);

  box-shadow:
    inset 0 3px 6px rgba(255,255,255,0.35),
    inset 0 -3px 6px rgba(0,0,0,0.35),
    0 7px 0 rgba(0,0,0,0.4),
    0 12px 20px rgba(0,0,0,0.35);
}
.elementor-icon.elementor-social-icon:active {
  transform: translateY(5px);

  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.3),
    inset 0 -1px 2px rgba(255,255,255,0.2),
    0 2px 5px rgba(0,0,0,0.3);
}
/* FIN RESEAUX SOCIAUX BOUTONS 3D*/

/* Container Elementor principal */
.elementor-location-single,
.elementor-location-page,
.elementor {
  flex: 1;
  min-height: 100vh;
  flex-direction: column;
}

/* Zone contenu */
.elementor-section-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.elementor-lightbox {
    position: fixed !important;
    z-index: 999999 !important;
}

/* Ton footer = dernière section */
.elementor-section:last-child {
  margin-top: auto;
}

/* Contenu principal */
.site-main {
    flex: 1;
}

.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a,
.site-navigation .current-menu-ancestor > a {
  color: inherit !important;
  text-decoration: none !important;
}
.site-navigation a {
  position: relative;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover */
.site-navigation a:hover {
  color: red;
}

/* Trait animé (base) */
.site-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

/* Hover animation */
.site-navigation a:hover::after {
  width: 100%;
}

/* Active */
.site-navigation a.active {
  color: red;
}

/* Active underline */
.site-navigation a.active::after {
  width: 100%;
}




.contact-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    color: white;
}

.wpcf7 form.sent .wpcf7-response-output {
  background-color: #080;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

[type="submit"]:focus{
	background-color: #1d8400;
}
textarea, input[type="email"], input[type="text"]  {
  font-family: roboto slab;
    padding: 12px;
  border-radius: 10px;
  border: none;
  background: #e0e0e0;

  box-shadow:
    inset 2px 2px 5px rgba(0,0,0,0.3),
    inset -2px -2px 5px rgba(255,255,255,0.8);

  transition: all 0.15s ease;
}

input[type="email"]:focus, input[type="text"]:focus  {
border-color: #333;
  outline: none;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.35), inset -2px -2px 4px rgba(255,255,255,0.7), 0 0 6px rgba(52,152,219,0.5);
}

.wpcf7 form.invalid, .wpcf7-response-output {
  background-color: #ffbc0b;
  color: #b60000;
  text-align: center;
}

/* Bouton téléphone */
.contact-btn.phone {
  background: linear-gradient(to bottom, #2aff00, #108b00);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  cursor: pointer;

  box-shadow: 
    inset 0 2px 5px rgba(255,255,255,0.3), /* lumière interne */
    0 6px 0 #006118,
    0 10px 20px rgba(0,0,0,0.3);

  transition: all 0.1s ease;

    color: #cbcbcb;

  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 2px 2px rgba(0,0,0,0.4),
    0 -1px 1px rgba(0,0,0,0.7);
}

.contact-btn.phone:hover {
background: linear-gradient(to bottom, #4eff2b, #129e00);
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.4), 0 7px 0 #005900, 0 12px 25px rgba(0,0,0,0.35);
}

/* Bouton mail */
.contact-btn.mail {
  background: linear-gradient(to bottom, #6ec1ff, #1c6cd5);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  cursor: pointer;

  box-shadow: 
    inset 0 2px 5px rgba(255,255,255,0.3), /* lumière interne */
    0 6px 0 #154a91,
    0 10px 20px rgba(0,0,0,0.3);

  transition: all 0.1s ease;

    color: #cbcbcb;

  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 2px 2px rgba(0,0,0,0.4),
    0 -1px 1px rgba(0,0,0,0.7);
}


/* Hover */
.contact-btn.mail:hover {
  background: linear-gradient(to bottom, #80caff, #2a7be0);

  box-shadow: 
    inset 0 2px 8px rgba(255,255,255,0.4),
    0 7px 0 #154a91,
    0 12px 25px rgba(0,0,0,0.35);
}

/* Active*/
.contact-btn:active {
    transform: translateY(6px);

  box-shadow: 
    inset 0 1px 3px rgba(0,0,0,0.3),
    0 2px 5px rgba(0,0,0,0.3);
}

/*cacher titres des pages*/
.page-id-114 .entry-title {
    display: none;
}

/* Affiche le titre/légende sous chaque image du diaporama Elementor Free */
.elementor-image-carousel .swiper-slide .elementor-carousel-image img {
    display: block;
    margin-bottom: 5px;
}

.elementor-image-carousel .swiper-slide .elementor-carousel-image img::after {
    content: attr(title); /* récupère le titre de l’image */
    display: block;
    text-align: center;
    font-size: 14px;
    color: #333;
    margin-top: 5px;
}
/* Masquer le titre sous les images dans la galerie WordPress */
.gallery .gallery-item .gallery-caption {
    display: none;
}


/* ===== STRUCTURE GLOBALE ===== */
.e-n-accordion-item {
    margin-bottom: 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    transition: all 0.25s ease;
}

/* HOVER DESKTOP UNIQUEMENT */
@media (hover: hover) {
    .e-n-accordion-item:hover {
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transform: translateY(-2px);
    }
}

/* ===== HEADER ===== */
.e-n-accordion-item-title {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 15px;
}

/* ===== TEXTE ===== */
.e-n-accordion-item-title-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== CONTENU ===== */
.e-n-accordion-item-content {
    padding: 0 22px;
    background: #fafafa;
    font-size: 15px;
    line-height: 1.6;
}

/* ESPACE QUAND OUVERT */
.e-n-accordion-item[open] .e-n-accordion-item-content {
    padding: 16px 22px 22px;
}

/* ===== FLÈCHE CUSTOM ===== */
.e-n-accordion-item-title-icon {
    display: none;
}

.e-n-accordion-item-title::after {
    /* Flèche stylisée */
    content: "➤";
    font-size: 30px;
    color: #000000; /* black */
    font-weight: bold;
}


/* ROTATION */
.e-n-accordion-item[open] .e-n-accordion-item-title::after {
    transform: rotate(90deg);
    transition: transform 0.25s ease;
}

/* ===== STYLE ACTIF ===== */
.e-n-accordion-item[open] {
    border-color: #ddd;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

/* ===== MOBILE OPTIMISATION ===== */
@media (max-width: 767px) {

.e-n-accordion-item-title {
        position: relative;
        padding-right: 30px; /* espace pour la flèche */
    }


    .e-n-accordion-item-title-text {
        font-size: 14px;
    }

    .e-n-accordion-item-content {
        font-size: 14px;
        padding: 0 16px;
    }

    .e-n-accordion-item[open] .e-n-accordion-item-content {
        padding: 14px 16px 18px;
    }

    .e-n-accordion-item-title::after {
    content: "➤"; /* tu peux changer pour → › ▼ etc */
    font-size: 28px; /* taille souhaitée */
    color: #333; /* couleur de la flèche */
    position: absolute;
    right: 16px; /* espace depuis le bord */
    transition: transform 0.25s ease;
    }
}


/* === Suppression totale des espaces pour les deux lignes rouges === */
#ligne-rouge-1,
#ligne-rouge-2 {
    padding: 0 !important;       /* supprime le padding interne */
    margin: 0 !important;        /* supprime le margin externe */
    min-height: 0 !important;    /* supprime toute hauteur minimale */
}

/* === Desktop et tablette === */
@media (min-width: 768px) {
    #ligne-rouge-1,
    #ligne-rouge-2 {
        display: block;            /* garde le layout normal */
    }
}

/* === Mobile === */
@media (max-width: 767px) {
    #ligne-rouge-1,
    #ligne-rouge-2 {
        display: block;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        min-height: 0 !important;
    }
}

/* tableau rouge article1 */
.elementor-211 .elementor-element.elementor-element-588c3cf .elementor-heading-title {
  padding: 15px;
}

/* Corrige l'affichage des images dans la lightbox */
.elementor-lightbox .swiper,
.elementor-lightbox .swiper-wrapper,
.elementor-lightbox .swiper-slide {
    height: 100% !important;
}

/* Assure que les images sont visibles */
.elementor-lightbox img {
    max-height: 90vh !important;
    width: auto !important;
    display: block !important;
    margin: auto;
}

.elementor-lightbox .swiper-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.elementor-lightbox .swiper-wrapper {
    display: flex !important;
}

.elementor-lightbox .swiper-slide {
    flex-shrink: 0 !important;
}
label {
    line-height: 2;
    font-family: "Aclonica", Sans-serif;
    font-style: italic;
}

.wpcf7-submit {
    display: block;
    margin: 0 auto;
}

 .page-header .entry-title{
    text-align: center;
 }

 .entry-title{
    font-weight: bold;
 }

 .site-navigation ul.menu li a{
    font-weight: bold;
    font-size: large;
    color: #fff !important;
 }

 .wpcf7 form {
    max-width: 600px;   /* largeur du formulaire */
    margin: 0 auto;     /* centrage horizontal */
}

 [type="submit"] {
background: linear-gradient(to bottom, #6ec1ff, #1c6cd5);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  cursor: pointer;

  box-shadow: 
    inset 0 2px 5px rgba(255,255,255,0.3), /* lumière interne */
    0 6px 0 #154a91,
    0 10px 20px rgba(0,0,0,0.3);

  transition: all 0.1s ease;

    color: #cbcbcb;

  text-shadow:
    0 1px 0 rgba(255,255,255,0.5),
    0 2px 2px rgba(0,0,0,0.4),
    0 -1px 1px rgba(0,0,0,0.7);
 }

[type="submit"]:hover {
  background: linear-gradient(to bottom, #80caff, #2a7be0);

  box-shadow: 
    inset 0 2px 8px rgba(255,255,255,0.4),
    0 7px 0 #154a91,
    0 12px 25px rgba(0,0,0,0.35);
}

[type="submit"]:active {
transform: translateY(6px);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3), 0 2px 5px rgba(0,0,0,0.3);
}

textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #e0e0e0;
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.3), inset -2px -2px 5px rgba(255,255,255,0.8);
  transition: all 0.15s ease;
}

textarea:focus {
  border-color: #333;
  outline: none;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.35), inset -2px -2px 4px rgba(255,255,255,0.7), 0 0 6px rgba(52,152,219,0.5);
}

.elementor-social-icon:hover {
    transition: transform 1s ease; /* Durée et fluidité de la rotation */
    transform: rotate(360deg);
}

.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon span > svg {
	fill: #00a86b !important; /* vert un peu plus stylé */
}

/* Ombres des box de article3 photos de chiens */
.elementor-215 .elementor-element.elementor-element-2c80300.elementor-element,
.elementor-215 .elementor-element.elementor-element-2ef2ab9.elementor-element,
.elementor-215 .elementor-element.elementor-element-1c5ce6a.elementor-element {
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

/* TABLEAU JAUNE DE LA PAGE ARTICLE 3 */
/* SECTION JAUNE */
.section-valorisation {
  background-color: #0147FA;
  padding: 60px 20px;
  border-radius: 10px;
}

/* CONTENEUR CENTRÉ */
.conteneur-valorisation {
  max-width: 1000px;
  margin: 0 auto;
}

/* BLOC FLEX (Icône + texte) */
.bloc-valorisation {
  display: flex;
  flex-wrap: wrap; /* pour mobile */
  align-items: center;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ICONE ELEMENTOR */
.icone-valorisation {
  flex: 0 0 80px;
  margin-right: 20px;
  text-align: center;
}
.icone-valorisation i {
  font-size: 60px; /* taille icône */
  color: #FF4C4C;  /* couleur icône */
}

/* TEXTE */
.texte-valorisation {
  flex: 1;
}
.texte-valorisation h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color:#000;
  font-weight: bold;
}
.texte-valorisation p {
  font-size: 16px;
  margin-bottom: 20px;
  color:#000;
}

/* BOUTON */
.btn-valorisation {
  display: inline-block;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}
.btn-valorisation:hover {
  background-color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .bloc-valorisation {
    flex-direction: column;
    text-align: center;
  }
  .icone-valorisation {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .texte-valorisation h2 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
.elementor-7 .elementor-element.elementor-element-7941605 {
  --display: unset;
}
}

.site-navigation a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

.site-navigation a.active {
  color: red;
  text-decoration: underline;
}

.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a,
.site-navigation .current-menu-ancestor > a {
  color: inherit !important;
  text-decoration: none !important;
}

html {
  scroll-behavior: smooth;
}

.site-navigation-toggle-holder .site-navigation-toggle {
  color: #fff;
}

.site-navigation-dropdown ul.menu li.current-menu-item a:hover {
  color:#360035;
}

.site-navigation-dropdown ul.menu li.current-menu-item a:active {
  color:#360035;
}

/* ---------- Desktop : parallax ---------- */
.parallax-image {
  background-size: cover;
  background-position: center center;
}

/* ---------- Mobile : rendu propre ---------- */
@media (max-width: 768px) {

  /* Désactive mouvement parallax */
  .parallax-image .smartparallax {
    transform: none !important;
  }

  /* Section s’adapte au contenu */
  .parallax-image {
    height: auto !important;
    padding: 30px 20px !important;
    background-position: center top !important;
  }

  /* Colonne texte centrée */
  .parallax-image .elementor-column {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Texte responsive */
  .parallax-image .elementor-widget-heading,
  .parallax-image .elementor-widget-text-editor {
    font-size: 22px !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }
}

  @media (max-width: 767px) {
 body:not(.rtl) .elementor-215 .elementor-element.elementor-element-aa74e76 {
   left: 93px;
    font-size: 63px;
  }
}

/* Bouton retour en haut */
/* Bouton scroll premium */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #000, #555);
  border-radius: 50%;
  cursor: pointer;

  z-index: 9999;

  opacity: 0;
  transform: translateY(30px) scale(0.8);
  pointer-events: none;

  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Icône couleur */
.scroll-top-btn i {
  color: #fff;
  font-size: 22px;
}

/* Apparition */
.scroll-top-btn.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Hover premium */
.scroll-top-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Effet pulse discret */
.scroll-top-btn.show::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { opacity: 0; }
}

/* Scroll fluide */
html {
  scroll-behavior: smooth;
}

/* Menu burger */
.elementor-menu-toggle .elementor-menu-toggle__icon,
.elementor-menu-toggle .elementor-menu-toggle__icon span {
    display: block;
    height: 4px;       /* épaisseur des lignes */
    background-color: #000; /* couleur des lignes */
    margin: 5px 0;     /* espace entre les lignes */
    border-radius: 2px; /* optionnel : arrondir les extrémités */
}

.site-navigation-toggle {
  position: relative;
  padding-bottom: 14px; /* espace pour le texte */
}

.site-navigation-toggle::after {
content: "MENU";
  position: absolute;
  left: 49%;
  transform: translateX(-50%);
  font-size: 14px;
  top: 23px;
}

/* Effet parallax uniquement pour ce titre */
.parallax-title {
  position: relative;
  transition: transform 0.3s ease-out;
}


/* ==============================
   1️⃣ Sticky Header
   ============================== */
.site-header {
    position: fixed;  /* ou fixed si tu veux qu'il reste tout le temps visible */
    top: 0;
    width: 100%;       /* important pour qu'il reste sur toute la largeur */
    z-index: 9999;     /* pour rester au-dessus du contenu */
    background-color: #360035 !important; /* obligatoire si ton header est transparent */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optionnel pour style flottant */
}
@media (min-width: 1200px) {
  .site-header .header-inner {
    max-width: 1220px;
  }
}
.elementor-menu-anchor {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}
/* ==============================
   2️⃣ Header mobile : titre + burger alignés
   ============================== */
@media (max-width: 768px) {
    .elementor-header .elementor-container {
        display: flex;
        align-items: center;           /* centre verticalement le contenu */
        justify-content: space-between; /* titre à gauche, burger à droite */
        padding: 0 16px;
    }

    .elementor-site-title {
        margin: 0;
        font-size: 1.5rem;
    }

    .elementor-menu-toggle {
        display: block;
        position: relative;
        top: -3px; /* remonte légèrement le burger pour aligner avec le texte */
        font-size: 1.8rem;
        cursor: pointer;
    }
}

/* ==============================
   3️⃣ Épaissir les lignes du menu burger
   ============================== */
.elementor-menu-toggle .elementor-menu-toggle__icon span {
    display: block;
    height: 4px;           /* épaisseur des lignes */
    background-color: #000; /* couleur des lignes */
    margin: 5px 0;         /* espace entre les lignes */
    border-radius: 2px;    /* arrondi pour un look moderne */
}

/* Responsive mobile */
@media (max-width: 768px) {
    .elementor-menu-toggle .elementor-menu-toggle__icon span {
        height: 4px;
        margin: 5px 0;
    }
    div#n2-ss-2 .n2-font-e574031456a9717d228a6fccff0dd351-hover {
	font-size: 150% !important;
}

.elementor-211 .elementor-element.elementor-element-588c3cf .elementor-heading-title {
    font-size: 29px;
    margin-top: 23px;
}

 .elementor-213 .elementor-element.elementor-element-30459c6{
        --e-con-grid-template-rows: unset !important;
 }

  .elementor-215 .elementor-element.elementor-element-4f7871f {
--e-con-grid-template-rows: unset !important;
  }
  .elementor-7 .elementor-element.elementor-element-7b0e49b,  .elementor-7 .elementor-element.elementor-element-f25776e {
    --e-con-grid-template-rows: unset !important;
  }

  .elementor-7 .elementor-element.elementor-element-1fc4048 {
    --e-con-grid-template-rows: repeat(2, 0.5fr) !important;
  }
}


@media (max-width: 412px) {
    .n2-ss-slider .n2-ss-item-image-content {
	    margin-left: 30px;
}
.n2-ss-slider .n2-ss-item-image-content img {
  height: 45px;
}
.parallax-image parallax-05 {
    background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.site-header .header-inner .site-branding .site-logo img {
  max-width: 88%;
}

/* Hamburger à droite du titre */
.site-navigation-toggle-holder .site-navigation-toggle {
  position: absolute !important;
  top: 50%;                /* centré verticalement dans le header */
  right: 20px !important;  /* distance du bord droit */
  transform: translateY(-50%); /* centrage vertical parfait */
  z-index: 9999;
  margin: 0 !important;    /* supprimer margin-left qui crée un décalage instable */
}

  .parallax-bg {
    background-attachment: scroll !important; /* évite fixed */
    transform: translateY(0);                /* garde l’image visible */
    will-change: transform;
    background-size: cover;
    background-position: center;
  }

  .elementor-215 .elementor-element.elementor-element-b0ae8e0:not(.elementor-motion-effects-element-type-background){
  background-image: url('https://template1.sitessanssoucis.fr/wp-content/uploads/2026/03/Lanyonm.jpg') !important;
  background-size: cover;
  background-position: center;
}
}