/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Thème enfant pour Hello Elementor
Author: Elementor
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.0
*/

/* ====== Tes styles personnalisés ici ====== */

/* Masquer le titre et la description du site (Hello Elementor header) */
#site-header .site-title,
#site-header .site-description {
  display: none !important;
}

<!-- CSS ANIMATION GRADIENT AMÉLIORÉ - Contrôle total -->
<!-- À ajouter dans Elementor > Custom CSS ou widget HTML -->


/* Masquer complètement le fond Elementor */
.elementor-element-11d4b32 {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Créer le gradient animé doux avec légère touche de rose en bas à droite */
.elementor-element-11d4b32::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Gradient subtil - dominance bleu/gris avec légère touche de rose */
  background: linear-gradient(135deg, 
    #2d3748 0%,      /* Gris foncé */
    #28516d 20%,     /* Bleu-gris foncé */
    #2682A9 45%,     /* Bleu principal */
    #3d7fa8 65%,     /* Bleu légèrement plus clair */
    #6a7a92 80%,     /* Bleu-gris avec léger mauve */
    #8b6f8a 95%,     /* Légère touche de rose-mauve */
    #9d7088 100%     /* Rose très subtil en fin */
  );
  background-size: 200% 200%;
  /* Animation lente - 22 secondes */
  animation: gradientMoveUltraSmooth 22s ease-in-out infinite;
  opacity: 0.93; /* Légèrement plus visible */
  z-index: 0;
}

/* Animation ultra douce */
@keyframes gradientMoveUltraSmooth {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Overlay avec halos subtils - rose plus visible en bas à droite */
.elementor-element-11d4b32::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(252, 193, 42, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(241, 41, 136, 0.12) 0%, transparent 40%);
  animation: pulseOverlayUltraSmooth 14s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65; /* Un peu plus visibles */
}

/* Animation du pulse subtile */
@keyframes pulseOverlayUltraSmooth {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.015);
  }
}

/* Contenu au-dessus de tout */
.elementor-element-11d4b32 > .elementor-container,
.elementor-element-11d4b32 > .elementor-widget-wrap {
  position: relative;
  z-index: 2;
}

/* ========================================
   FOOTER LA SALLE ROMILLY V2
   CSS Séparé - Fond dégradé élégant
   ======================================== */

/* ===== VARIABLES ===== */
:root {
	--footer-bg-start: #0f1419;
	--footer-bg-mid: #1a2332;
	--footer-bg-end: #1e2d3d;
	--footer-text: rgba(255, 255, 255, 0.85);
	--footer-text-muted: rgba(255, 255, 255, 0.5);
	--footer-accent: #2682A9;
	--footer-accent-hover: #3a97be;
	--footer-border: rgba(255, 255, 255, 0.08);
}

/* ===== FOOTER PRINCIPAL ===== */
.romilly-footer,
footer.romilly-footer {
	background: linear-gradient(135deg, 
		var(--footer-bg-start) 0%, 
		var(--footer-bg-mid) 50%, 
		var(--footer-bg-end) 100%
	) !important;
	color: var(--footer-text) !important;
	position: relative !important;
	overflow: hidden !important;
}

/* Effet de texture subtil */
.romilly-footer::before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background-image: 
		radial-gradient(circle at 20% 30%, rgba(38, 130, 169, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(130, 200, 58, 0.03) 0%, transparent 50%) !important;
	pointer-events: none !important;
}

/* ===== SECTION PRINCIPALE ===== */
.romilly-footer-main {
	position: relative !important;
	z-index: 1 !important;
	padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 60px) !important;
	border-bottom: 1px solid var(--footer-border) !important;
}

.romilly-footer-container {
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 0 clamp(20px, 4vw, 60px) !important;
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
	gap: clamp(40px, 5vw, 60px) !important;
}

/* ===== COLONNES ===== */
.romilly-footer-col {
	display: flex !important;
	flex-direction: column !important;
	gap: 20px !important;
}

/* Colonne brand plus large */
.romilly-footer-brand {
	max-width: 360px !important;
}

/* ===== LOGO ===== */
.romilly-footer-logo,
a.romilly-footer-logo {
	display: inline-block !important;
	margin-bottom: 8px !important;
	transition: transform 0.3s ease, opacity 0.3s ease !important;
}

.romilly-footer-logo:hover {
	transform: scale(1.03) !important;
	opacity: 0.9 !important;
}

.romilly-footer-logo img {
	height: clamp(60px, 7vw, 80px) !important;
	width: auto !important;
}

/* ===== TAGLINE ===== */
.romilly-footer-tagline {
	font-size: 15px !important;
	line-height: 1.7 !important;
	color: var(--footer-text-muted) !important;
	margin: 0 !important;
}

/* ===== RÉSEAUX SOCIAUX ===== */
.romilly-footer-social {
	display: flex !important;
	gap: 12px !important;
	margin-top: 8px !important;
}

.romilly-footer-social a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 44px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	border-radius: 12px !important;
	color: var(--footer-text) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.romilly-footer-social a:hover {
	background: var(--footer-accent) !important;
	color: white !important;
	transform: translateY(-3px) !important;
	border-color: var(--footer-accent) !important;
	box-shadow: 0 8px 20px rgba(38, 130, 169, 0.3) !important;
}

.romilly-footer-social svg {
	width: 20px !important;
	height: 20px !important;
}

/* ===== TITRES ===== */
.romilly-footer-title {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: white !important;
	margin: 0 0 4px 0 !important;
	letter-spacing: 0.3px !important;
	text-transform: uppercase !important;
}

/* ===== LIENS ===== */
.romilly-footer-links,
ul.romilly-footer-links {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 14px !important;
}

.romilly-footer-links li {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: var(--footer-text-muted) !important;
}

.romilly-footer-links li svg {
	width: 18px !important;
	height: 18px !important;
	flex-shrink: 0 !important;
	margin-top: 2px !important;
	color: var(--footer-accent) !important;
}

.romilly-footer-links a {
	color: var(--footer-text-muted) !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	display: inline-block !important;
}

.romilly-footer-links a:hover {
	color: var(--footer-accent) !important;
	transform: translateX(4px) !important;
}

/* ===== BOTTOM BAR ===== */
.romilly-footer-bottom {
	position: relative !important;
	z-index: 1 !important;
	padding: clamp(24px, 3vw, 32px) 0 !important;
	background: rgba(0, 0, 0, 0.2) !important;
}

.romilly-footer-bottom .romilly-footer-container {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: space-between !important;
	align-items: center !important;
	gap: 20px !important;
}

.romilly-footer-copyright p {
	margin: 0 !important;
	font-size: 14px !important;
	color: var(--footer-text-muted) !important;
}

.romilly-footer-legal {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	flex-wrap: wrap !important;
}

.romilly-footer-legal a {
	font-size: 14px !important;
	color: var(--footer-text-muted) !important;
	text-decoration: none !important;
	transition: color 0.3s ease !important;
}

.romilly-footer-legal a:hover {
	color: var(--footer-accent) !important;
}

.romilly-footer-legal .separator {
	color: rgba(255, 255, 255, 0.2) !important;
	font-size: 12px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
	.romilly-footer-container {
		grid-template-columns: 1fr !important;
		gap: 40px !important;
	}
	
	.romilly-footer-brand {
		max-width: 100% !important;
	}
	
	.romilly-footer-bottom .romilly-footer-container {
		flex-direction: column !important;
		text-align: center !important;
	}
	
	.romilly-footer-legal {
		justify-content: center !important;
	}
}

@media (max-width: 480px) {
	.romilly-footer-main {
		padding: 50px 0 40px !important;
	}
	
	.romilly-footer-social {
		justify-content: center !important;
	}
	
	.romilly-footer-legal {
		flex-direction: column !important;
		gap: 12px !important;
	}
	
	.romilly-footer-legal .separator {
		display: none !important;
	}
}

/* ===== ACCESSIBILITÉ ===== */
.romilly-footer a:focus-visible {
	outline: 2px solid var(--footer-accent) !important;
	outline-offset: 4px !important;
	border-radius: 4px !important;
}

/* ===== OPTIMISATION GPU ===== */
.romilly-footer {
	will-change: transform, opacity;
	transform: translateZ(0);
}



/* ========================================================
   STYLE ARTICLES — St Joseph La Salle Vannes
   À ajouter dans :
     • Apparence → Personnaliser → CSS additionnel
     OU
     • Coller le contenu de ce fichier à la fin de
       global-framer-style-stjo.css (déjà chargé par functions.php)
   Scopé sur la catégorie "Actualités" (slug actualit-s) uniquement.
   Les articles dans "Actualités e" ou toute autre catégorie restent
   en pleine largeur Elementor classique.
   ======================================================== */

/* ===== TYPOGRAPHIE & SPACING ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content,
.single-post.category-actualit-s .elementor-widget-text-editor {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    font-size: 17px;
    line-height: 1.75;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content > div > p,
.single-post.category-actualit-s .elementor-widget-text-editor p {
    margin: 0 0 1.4em;
    color: #334155;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content > div > p:first-of-type,
.single-post.category-actualit-s .elementor-widget-text-editor p:first-of-type {
    font-size: 1.18em;
    line-height: 1.65;
    color: #0f172a;
    font-weight: 500;
}

/* ===== TITRES H2 / H3 / H4 dans le contenu ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content h2,
.single-post.category-actualit-s .elementor-widget-theme-post-content h3,
.single-post.category-actualit-s .elementor-widget-theme-post-content h4 {
    font-family: inherit;
    color: #0f172a;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content h2 {
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    margin: 2.4em 0 0.8em;
    padding-bottom: 0.4em;
    border-bottom: 2px solid #1969AF;
    display: inline-block;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin: 2em 0 0.6em;
    color: #1969AF;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content h4 {
    font-size: 1.15rem;
    margin: 1.6em 0 0.5em;
    color: #475569;
}

/* ===== STRONG / EM ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content strong {
    color: #0f172a;
    font-weight: 700;
}
.single-post.category-actualit-s .elementor-widget-theme-post-content em { color: #475569; }

/* ===== IMAGES & FIGURES dans le contenu ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content figure,
.single-post.category-actualit-s .elementor-widget-theme-post-content .wp-block-image,
.single-post.category-actualit-s .elementor-widget-theme-post-content img {
    margin: 2em 0;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    max-width: 100%;
    height: auto;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content figure img,
.single-post.category-actualit-s .elementor-widget-theme-post-content .wp-block-image img {
    border-radius: 20px !important;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    box-shadow: none;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content figcaption {
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    font-style: italic;
    margin-top: 8px;
    padding: 0 8px;
}

/* ===== IMAGE À LA UNE (au-dessus du contenu) ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-featured-image img,
.single-post.category-actualit-s .wp-post-image {
    border-radius: 24px !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ===== LISTES ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content ul,
.single-post.category-actualit-s .elementor-widget-theme-post-content ol {
    margin: 1.2em 0 1.6em 1.2em;
    padding-left: 1em;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content li {
    margin-bottom: 0.6em;
    line-height: 1.7;
    color: #334155;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content ul li::marker { color: #1969AF; }
.single-post.category-actualit-s .elementor-widget-theme-post-content ol li::marker { color: #1969AF; font-weight: 700; }

/* ===== CITATIONS ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content blockquote,
.single-post.category-actualit-s .elementor-widget-theme-post-content .wp-block-quote {
    margin: 2em 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(25, 105, 175, 0.05), rgba(25, 105, 175, 0.02));
    border-left: 4px solid #1969AF;
    border-radius: 0 16px 16px 0;
    font-size: 1.08em;
    font-style: italic;
    color: #1e293b;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content blockquote p { margin-bottom: 0.6em; }
.single-post.category-actualit-s .elementor-widget-theme-post-content blockquote cite,
.single-post.category-actualit-s .elementor-widget-theme-post-content blockquote .wp-block-quote__citation {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    font-style: normal;
    color: #64748b;
    font-weight: 600;
}

/* ===== LIENS ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content a {
    color: #1969AF;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s ease;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content a:hover {
    color: #0f4d80;
    text-decoration-thickness: 2px;
}

/* ===== GALERIES BLOC GUTENBERG ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content .wp-block-gallery {
    margin: 2em 0;
}

.single-post.category-actualit-s .elementor-widget-theme-post-content .wp-block-gallery img {
    border-radius: 14px !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

/* ===== EMBED VIDÉO ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content .wp-block-embed,
.single-post.category-actualit-s .elementor-widget-theme-post-content iframe {
    margin: 2em 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

/* ===== TITRE ARTICLE (H1) ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-title h1.elementor-heading-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(2rem, 4vw, 3.2rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
    color: #0f172a !important;
    margin-bottom: 0.5em !important;
}

/* ===== ESPACEMENT GLOBAL DU CONTENU ===== */
.single-post.category-actualit-s .elementor-widget-theme-post-content > div {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
    .single-post.category-actualit-s .elementor-widget-theme-post-content,
    .single-post.category-actualit-s .elementor-widget-text-editor {
        font-size: 16px;
    }
    .single-post.category-actualit-s .elementor-widget-theme-post-content figure,
    .single-post.category-actualit-s .elementor-widget-theme-post-content .wp-block-image,
    .single-post.category-actualit-s .elementor-widget-theme-post-content img {
        margin: 1.5em 0;
        border-radius: 14px !important;
    }
    .single-post.category-actualit-s .elementor-widget-theme-post-content blockquote {
        padding: 18px 20px;
        margin: 1.5em 0;
    }
}

