/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* ----- TYPOGRAPHIE ----------------- */

body, h1, h2, h3, h4, h5, h6, strong, b {
  font-synthesis: none;

}

h1 {
	font-size: 2.6rem !important;
}

.jumbo h1, h1.jumbo {
	font-size: 5rem !important;
}

@media screen and (max-width: 640px) {
	h1 {
		font-size: 2rem !important;
	}
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

p:has(small) {
	line-height: 1.3 !important;
}

.fusion-body, .fusion-text, .fusion-content-tb {
	--awb-text-font-weight: 400 !important;
	font-weight: 400 !important;
}

p {
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
}

.courriel p {
overflow-wrap: anywhere;     /* modern, flexible */
  word-break: break-word; 
}

p:has(a[href^="mailto:"]),
p:has([data-email]),
p.email {
overflow-wrap: anywhere;     /* modern, flexible */
  word-break: break-word;
}

a[href^="mailto:"] {
overflow-wrap: anywhere;     /* modern, flexible */
  word-break: break-word;
}


/* ----- MENU ------------------------ */
.awb-menu_row .menu-text {
    text-align: left !important;
	line-height: 1em;
}

/* ----- ACCUEIL --------------------- */

.btn-icone-bleue.fusion-button i {
    color: #04B4D5;
}

.btn-telechargement {
    margin-right: 15px !important;
    display: inline-flex !important;
}

.comites {
	overflow: visible !important;
}


/* ----- ANIMATIONS CERCLES ---------- */

/* ANIMATIONS CERCLES*/
.circle-bg {
    position: relative;
    overflow: hidden;
    min-height: 550px; 
    display: flex;
    justify-content: center;
    align-items: flex-end; 
}

.circle-bg::before {
    content: "";
    position: absolute;
    width: 90vw;
    max-width: 800px;
    height: auto;
    aspect-ratio: 1 / 1;
    background: url('/wp-content/uploads/2025/03/cercle-bleu.png') no-repeat center center;
    background-size: contain;
    bottom: -280px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    animation: rotateCircle 35s infinite linear;
}

@keyframes rotateCircle {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* 🌐 Petits écrans : Ajuste le cercle */
@media screen and (max-width: 1024px) {
    .circle-bg::before {
        width: 80vw;
        max-width: 600px;
        bottom: -150px; 
    }
}

@media screen and (max-width: 768px) {
    .circle-bg::before {
        width: 75vw;
        max-width: 500px;
        bottom: -120px;
    }
}

@media screen and (max-width: 480px) {
    .circle-bg::before {
        width: 90vw; 
        max-width: 400px;
        bottom: -100px; 
  min-height: auto; 
        justify-content: flex-end;
    }
}

.top{
position: absolute;
z-index:90;
}


