/*
Theme Name: Astra Child
Theme URI: https://site-internet-net.fr/
Description: Astra Child Theme
Author: Site Internet by Point Net
Author URL: https://site-internet-net.fr/
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URL: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astrachild
*/
/* Placer votre CSS ci-dessous */
body {
	padding: 0 0.5rem;
}
h2,
.elementor-widget-heading h2,
.elementor-heading-title h2 {
  font-family: "Great Vibes", cursive !important;
}
@media (min-width: 769px) {
  .flip-card:hover .flip-inner {
    transform: rotateY(180deg);
  }
}
/* =========================
   GRID
========================= */
.flip-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 25px !important;
  width: 100% !important;
}
/* enfants grid */
.flip-grid > * {
  display: block !important;
  width: 100% !important;
}
/* mobile */
@media (max-width: 1024px) {
  .flip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .flip-grid {
    grid-template-columns: 1fr !important;
  }
}
/* =========================
   FLIP CARD CONTAINER
========================= */
.flip-card {
  position: relative;
  perspective: 1000px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid #D7B473;
}
/* =========================
   INNER FLIP
========================= */
.flip-inner {
  position: relative;
  width: 100%;
  min-height: 420px;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  will-change: transform;
  transform: translateZ(0);
}
/* =========================
   FACES
========================= */
.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 20px;
/*   border: 1px solid #D7B473; */
}

/* back face */
.flip-back {
  transform: rotateY(180deg);
  overflow-y: auto;
}
/* =========================
   FRONT CONTENT STYLE
========================= */
.flip-front img {
  width: 100%;
  max-width: 120px !important;
  display: block;
  margin: 0 auto 15px;
}
.flip-front h2 {
  text-align: center;
  color: #fff !important;
  font-family: 'Roboto', sans-serif !important;
}
.flip-front p {
  text-align: center;
  color: #fff !important;
}
/* =========================
   BACK CONTENT STYLE
========================= */
.flip-back p {
  text-align: center;
  color: #fff !important;
}
.flip-back a {
  display: block;
  text-align: center;
  font-weight: 600;
  margin-top: 10px;
  color: #D7B473 !important;
}
/* =========================
   FLIP STATE
========================= */
.flip-card.is-flipped .flip-inner {
  transform: rotateY(180deg);
}
/* img qui suis je  */
.qui-suis-je img {
  border-radius: 50% !important;
  padding: 8px;
  background: linear-gradient(145deg, rgba(215,180,115,0.25), rgba(255,255,255,0.05));
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.qui-suis-je img {
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}
/* sticky */
@media (min-width: 1025px) {
    .elementor-element-c13f4cd {
        position: fixed !important;
/*         top: 2rem !important; */
        left: 0;
        width: 100%;
        z-index: 99999 !important;
        padding: 1rem 0;
        background: transparent;
        transition: all 0.3s ease;
    }
    /* état scroll */
    .elementor-element-c13f4cd.scrolled {
        background: #D7B473;
/*         box-shadow: 0 2px 10px rgba(0,0,0,0.08); */
/* 		border-bottom: 1px solid rgba(0,0,0,0.08); */
		position: fixed;
    }
	.elementor-element-c13f4cd.scrolled::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.08), transparent);
    pointer-events: none;
}
    /* liens */
    .elementor-element-c13f4cd a {
        color: #fff;
        transition: color 0.3s ease;
    }
    /* underline */
    .elementor-element-c13f4cd.scrolled .elementor-item:after {
        background-color: #fff !important;
    }
}
@media (max-width: 1024px) {
    .elementor-element-c13f4cd {
        position: relative !important;
        top: auto !important;
        background: transparent !important;
        box-shadow: none !important;
    }
}
/* modales */
/* grille boutons */
.pass-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
/* tablette */
@media (max-width: 1024px) {
    .pass-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
/* mobile */
@media (max-width: 767px) {
    .pass-grid {
        grid-template-columns: 1fr;
    }
    .open-modal {
        min-height: auto;
        padding: 1.2rem;
        font-size: 18px;
    }
    .custom-modal-content {
        padding: 2rem;
		max-height: 85vh;
    }
    .custom-modal-content h2 {
        font-size: 18px !important;
    }
    .custom-modal-content p {
        font-size: 14px !important;
    }
	.custom-modal-content li {
	font-size: 14px;
}

}
.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.custom-modal-content {
    background: #192B32;
    padding: 3rem;
/*     border-radius: 24px; */
    max-width: 500px;
    width: 100%;
    position: relative;
	border: 1px solid #D7B473;
}
.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
	color: #D7B473;
}
.custom-modal-content h2 {
	font-size: 35px;
	color: #D7B473 !important;
	font-family: "Roboto", sans-serif !important;
}
.custom-modal-content p {
	font-size: 20px;
	color: #fff !important;
}
.custom-modal-content ul {
	font-size: 20px;
	color: #fff !important;
}
.modal-info {
    line-height: 1.6;
    font-style: italic;
}
.custom-modal-content p.modal-info {
    font-size: 16px !important;
}
.modal-price {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    color: #D7B473;
}
.modal-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 14px 26px;
    background: #D7B473;
    color: #fff;
	font-size: 20px;
    text-decoration: none !important;
    transition: all 0.3s ease;
	width: 100%;
	text-align: center;
}

.modal-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}
/* RESET complet bouton Elementor */
.open-modal {
    all: unset;
    display: block;
    font-size: 20px;
    cursor: pointer;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #D7B473;
    color: #fff;
    background: #D7B473;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}
/* hover clean */
.open-modal:hover {
    background: transparent;
    color: #fff;
    border-color: #D7B473;
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
}
/* style hover tout les btn */
.elementor-button {
    all: unset;
    display: block;
    cursor: pointer;
    padding: 14px 26px;
    text-align: center;
    border: 1px solid #D7B473;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
}
/* hover identique modales */
.elementor-button:hover {
    background-color: transparent !important;
    color: #fff;
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.elementor-button span {
    transition: none !important;
}
.elementor-button::before,
.elementor-button::after {
    display: none !important;
}
/* fix important des champs formulaire & btn */
.elementor-9 .elementor-element.elementor-element-2cc0dc63 .elementor-field-group .elementor-field {
	background-color:#192B32 !important; 
}
/* bouton formulaire uniquement */
.elementor-form .elementor-button:hover {
    background-color: transparent;
    color: #fff !important;
    border: 1px solid #D7B473 !important;
    opacity: 0.9;
}
/* ajustement text avis */
.ti-rating-text span {
	color: #fff !important;
}
.ti-rating-text span strong{
	color: #fff !important;
}
/* ajustement footer */
/* FOOTER - texte blanc */
.elementor-element-21e95142,
.elementor-element-21e95142 p {
    color: #fff !important;
}

/* liens texte (mentions, CGV, crédit site) */
.elementor-element-21e95142 a {
    color: #D7B473 !important;
    transition: color 0.3s ease;
}

/* hover liens */
.elementor-element-21e95142 a:hover {
    color: #fff !important;
}
/* parallax */
.parallax-section {
    position: relative;
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 767px) {
    .parallax-section {
        background-attachment: scroll;
    }
}
/* styles articles */
/* === GLOBAL ARTICLE STYLE === */
.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content li {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
}

/* Titre article */
.single-post h1.entry-title {
    font-family: "Great Vibes", cursive;
    color: #D7B473;
    text-align: center;
    font-size: 40px !important;
}

/* FOND GLOBAL PAGE ARTICLE */
body.single-post {
    background-color: #192B32 !important;
}

/* container Astra (sécurité) */
.single-post .ast-container {
    background: transparent !important;
}

/* zone article */
.single-post .site-content {
    background: transparent !important;
}

/* article lui-même */
.single-post article {
    background: transparent !important;
}

/* Images */
.single-post .wp-block-image img {
    border-radius: 12px;
    width: 100% !important;
	object-fit: cover;
    height: 25rem !important;
}

/* Espacement contenu */
.single-post .entry-content p {
    margin-bottom: 18px;
}

/* Navigation articles */
.single-post .post-navigation {
    color: #fff;
}
body.single-post {
    background-color: #192B32 !important;
}
.ast-single-related-posts-container {
    background-color: #192B32 !important;
	border: 1px solid #D7B473 !important;
}
.ast-related-posts-title {
	color: #fff;
	font-size: 40px;
}
.single-post h3.ast-related-post-title a {
    color: #D7B473 !important;
    font-size: 30px !important;
    font-family: "Great Vibes", cursive !important;
}
.single-post .post-navigation a {
    color: #D7B473 !important;
    text-decoration: none;
}