/*
Theme Name: cemetary
Theme URI: https://www.cimetiere-animaux.fr
Author: cimetiere-animaux
Author URI: https://www.cimetiere-animaux.fr
Description: Thème WordPress sur-mesure.
Version: 1.0.0
License: PV
Text Domain: plf-bespoke
*/

/* ==========================================================================
   1. VARIABLES & DESIGN SYSTEM 
   ========================================================================== */
:root {
  /* Colors */
  --color-background: #FCF9F8;      /* Parchment White */
  --color-primary: #002A15;         /* Deep Pine Green */
  --color-accent: #BB9D63;          /* Gold Accent */
  --color-secondary: #404942;       /* Stone Grey */
  --color-surface-white: #FFFFFF;   /* Pure White */
  --color-border: #E5E2E0;          /* Soft archive grey */
  --color-dark-bg: #01140A;         /* Rich dark pine black */

  /* Fonts */
  --font-display: "Source Serif 4", Georgia, serif;
  --font-sans: "Source Serif 4", Georgia, serif; /* Editorial serif global */

  /* Border Radii */
  --radius-sm: 2px;
  --radius-default: 4px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* Spacings & Grid */
  --spacing-base: 8px;
  --spacing-gutter: 24px;
  --spacing-section: 80px;
  --max-width-container: 1200px;
}

/* ==========================================================================
   2. BOOTSTRAP & RESETS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, opacity 0.3s ease;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 0;
  line-height: 1.2;
}

/* Décalage automatique pour éviter que le Header Sticky de 80px ne masque le haut des sections lors du défilement One-Page */
section[id], footer[id] {
  scroll-margin-top: 80px;
}

/* Common Components & Helpers */
.max-w-container {
  max-width: var(--max-width-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
/*Sin-06*/
.blockstart0 p{
	    margin-block-start:0px!important;
	margin-block-end:0px!important;
}
.bigNbr{
	font-size:2rem;
		color:#faf8f5;
	font-family:'Cormorant Garamond', serif;
}
.hover-card:hover{
	background-color:#3d3730!important;
}
@media (min-width: 768px) {
  .max-w-container {
    padding-left: 48px;
    padding-right: 48px;
  }
}

.text-accent {
  color: var(--color-accent) !important;
}

.text-white {
  color: #FFFFFF !important;
}

.bg-surface {
  background-color: var(--color-surface-white);
}

.border-b {
  border-bottom: 1px solid var(--color-border);
}

.py-20 {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

/* Buttons */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--color-accent);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--color-accent);
}

.btn-pine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--color-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-pine:hover {
  background-color: transparent;
  color: var(--color-primary);
}

/* ==========================================================================
   3. HEADER / NAVIGATION
   ========================================================================== */
.header-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(252, 249, 248, 0.95); /* Semi-opaque parchment white */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  height: 40px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}

.logo-text span {
  color: var(--color-accent);
}

.logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Navigation menu */
.header-nav {
  display: none;
}

@media (min-width: 992px) {
  .header-nav {
    display: block;
  }
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
}

.nav-links a:hover,
.nav-links .current-menu-item a {
  color: var(--color-accent);
}

/* Actions in header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.active-lang {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}

.lang-divider {
  color: var(--color-border);
}

.inactive-lang:hover {
  color: var(--color-accent);
  cursor: pointer;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-secondary);
}

.header-icons .material-symbols-outlined {
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.header-icons .material-symbols-outlined:hover {
  transform: scale(1.1);
  color: var(--color-accent);
}
/*menu mobile */
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: #000;
    margin: 6px 0;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
    }

    .header-nav.is-open {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 20px;
        list-style: none;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
    }
}
/*fin*/
/* ==========================================================================
   4. SECTION HERO
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
  background-color: var(--color-background) !important; /* Force le fond Parchment de prestige face aux surcharges d'éditeurs */
}

/* Courbe d'arrière-plan vectorielle dorée Heritage gérée en CSS pur pour éviter d'être altérée par l'éditeur */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600'%3E%3Cpath d='M0,450 C200,400 400,550 600,450 S1000,200 1200,300' fill='none' stroke='%23BB9D63' stroke-width='2' opacity='0.25'/%3E%3Ccircle cx='100' cy='450' fill='%23BB9D63' r='4'/%3E%3Ccircle cx='600' cy='450' fill='%23BB9D63' r='6'/%3E%3Ccircle cx='1150' cy='300' fill='%23BB9D63' r='8'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.hero-text-block {
  max-width: 800px;
}

.hero-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
  }
}

.title-bg-line {
  color: var(--color-primary);
  opacity: 0.25;
  display: block;
}

.title-accent-line {
  color: var(--color-accent);
  display: block;
  margin-top: -0.1em;
}

.hero-badge-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 600px) {
  .hero-badge-row {
    flex-direction: row;
    align-items: center;
  }
}

.badge-black-box {
  background-color: var(--color-primary);
  padding: 24px;
  width: 130px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-accent);
}

.badge-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.hero-baseline {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 480px;
  color: var(--color-secondary);
  margin: 0;
}

/* ==========================================================================
   5. SECTION ABOUT / A PROPOS
   ========================================================================== */
.about-section {
  background-color: var(--color-surface-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 4fr 8fr;
    gap: 64px;
  }
}

.about-left-col {
  display: flex;
  flex-direction: column;
}

.about-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: block;
}

.about-title-large {
  font-size: 28px;
  line-height: 1.3;
  color: var(--color-primary);
  margin: 0;
}

@media (min-width: 768px) {
  .about-title-large {
    font-size: 36px;
  }
}

.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-intro {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-primary);
}

.about-text {
  font-size: 16px;
  color: var(--color-secondary);
  margin: 0;
}

/* ==========================================================================
   6. SECTION ADN / GRILLE DE VALEURS (3 CARTES)
   ========================================================================== */
.adn-section {
  background-color: var(--color-background);
}

.adn-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .adn-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

.adn-card {
  border-left: 1px solid var(--color-border);
  padding-left: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.adn-card:hover {
  border-left-color: var(--color-accent);
}

.adn-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-border);
  display: block;
  margin-bottom: 16px;
  transition: color 0.4s ease;
  line-height: 1;
}

.adn-card:hover .adn-num {
  color: var(--color-accent);
}

.adn-card-title {
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.adn-card-desc {
  font-size: 15px;
  color: var(--color-secondary);
  margin: 0;
}



/* ==========================================================================
   12. FOOTER / PIED DE PAGE
   ========================================================================== */
.footer-wrapper {
  background-color: #2a2622; /* Super deep rich black pine tone */
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }
}

.footer-logo-block {
  display: flex;
  flex-direction: column;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.footer-logo-text span {
  color: var(--color-accent);
}

.copyright-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin: 0;
}

.accent-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-link.highlight-link {
  color: var(--color-accent);
  font-weight: 600;
}

.contact-link.highlight-link:hover {
  text-decoration: underline;
}

.footer-social-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.social-circle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-circle:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #000000;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 16px;
}

@media (min-width: 768px) {
  .footer-legal-links {
    margin-top: 0;
    justify-content: flex-end;
  }
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

.footer-legal-links span {
  color: rgba(255, 255, 255, 0.15);
}
/* --- Animation pour le bloc qui vient de GAUCHE --- */
#mvleft {
    opacity: 0;
    /* Déplace le bloc de 100px vers la gauche avant le départ */
    transform: translateX(-100px); 
    /* Nom de l'animation, durée (1s), et transition fluide */
    animation: glisserGauche 2s ease-out forwards;
}

@keyframes glisserGauche {
    to {
        opacity: 1;
        /* Ramène le bloc à sa position d'origine (0) */
        transform: translateX(0);
    }
}

/* --- Animation pour le bloc qui vient de DROITE --- */
#mvright {
    opacity: 0;
    /* Déplace le bloc de 100px vers la droite avant le départ */
    transform: translateX(100px); 
    /* Nom de l'animation, durée (1s), et transition fluide */
    animation: glisserDroite 2s ease-out forwards;
}

@keyframes glisserDroite {
    to {
        opacity: 1;
        /* Ramène le bloc à sa position d'origine (0) */
        transform: translateX(0);
    }
}
.social_ico{
	color: #bb9d63;
    display: inline-block;
    font-size: 30px;
    line-height: 1;
    text-align: center;
    transition: all .3s;
}
.social_ico svg {
    display: block;
    height: 1em;
    position: relative;
    width: 1em;
	fill: currentColor;
}
.fb_ico{
	color: #3b5998;
}
.hover-high, .hover-green, .hover-brown {
  transition: background-color 0.4s ease, transform 0.4s ease;
}

/* État initial du h2 à l'intérieur de la div */
.hover-high h2 {
  transition: color 0.4s ease;
}

/* --- EFFETS AU SURVOL (HOVER) --- */

/* Au survol : la div s'éclaircit et s'agrandit légèrement */
.hover-high:hover {
  background-color: #ffffff; 
  transform: scale(1.03);
  cursor: pointer; /* Optionnel : transforme le curseur en main */
}

/* Au survol de la div : le h2 s'éclaircit aussi */
.hover-high:hover h2 {
	color: #7D7461; 
}
.hover-green:hover{
background-color: #3f5545!important; 
  transform: scale(1.03); 
  cursor: pointer;
}
.hover-brown:hover{
background-color: #3d3730!important; 
  transform: scale(1.03); 
  cursor: pointer;
}
.hover-green:hover .mini-txt, .hover-brown .mini-txt{
	color:#ffffff;
}
.mini-txt{
	font-size:0.8em;
	color:#7A7A7A;
}
/* --- Conteneur Principal du Formulaire --- */
.wpcf7 {
  max-width: 650px;
  margin: 40px auto;
  padding: 48px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(125, 116, 97, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-family: 'Inter', -apple-system, sans-serif;
  box-sizing: border-box;
}

/* --- Titre H2 --- */
.wpcf7-form h2 {
  font-family: 'Playfair Display', serif;
  color: #2a2622;
  /*font-size: 1em;*/
  font-weight: 600;
  /*line-height: 1.3;*/
  margin-top: 0;
  margin-bottom: 32px;
  text-align: center; 
}

/* --- Grille Responsive (Nom & E-mail) --- */
.cf7-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .cf7-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Structure des Labels --- */
.wpcf7-form label {
  display: block;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #665e4c; /* Correspond à text-secondary */
}

/* --- Envelopper les inputs --- */
.wpcf7-form-control-wrap {
  display: block;
 
}

/* --- Champs de Saisie épurés (Style Maquette) --- */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #1b1c19;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(125, 116, 97, 0.3); /* border-stone-warm/30 */
  border-radius: 0;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

/* Ajustement spécifique pour le message */
.wpcf7-form textarea {
  height: 110px;
  resize: vertical;
}

/* --- Effet Focus (Sélection d'un champ) --- */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-bottom-color: #1B3022; /* focus:border-forest-deep */
  box-shadow: none;
}

/* --- Bouton Envoyer --- */
.wpcf7-form input[type="submit"].cf7-submit {
  width: 100%;
  padding: 16px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  background-color: #2a2622; /* forest-deep */
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  margin-top: 8px;
}

/* Effet au survol du bouton */
.wpcf7-form input[type="submit"].cf7-submit:hover {
  background-color: rgba(42, 38, 34, 0.9);
}

/* --- Validation & Messages de statut --- */
.wpcf7-not-valid-tip {
  color: #ba1a1a;
  font-size: 13px;
  margin-top: 6px;
  display: block;
  text-transform: none;
  letter-spacing: normal;
}

.wpcf7-response-output {
  margin: 24px 0 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 4px !important;
  font-size: 14px;
  border: 1px solid transparent !important;
}

.wpcf7-form.sent .wpcf7-response-output {
  background-color: #f0fdf4;
  border-color: #bbf7d0 !important;
  color: #166534;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
  background-color: #fff5f5;
  border-color: #ffdad6 !important;
  color: #ba1a1a;
}

/* --- Responsive sur Mobile --- */
@media (max-width: 480px) {
  .wpcf7 {
    padding: 24px;
    margin: 20px 10px;
  }
  .wpcf7-form h2 {
    font-size: 28px;
  }
}
/*perso*/
.faceblock a:hover{
	color:#b0b1fb;
}