/*
 Theme Name:   ariadnaorga
 Theme URI:    https://ariadna.orga.cat
 Description:  Thème enfant "ariadnaorga-child" basé sur Twenty Twenty-Five
 Author:       Ton Nom
 Author URI:   https://shihab.fr
 Template:     twentytwentyfive
 Version:      1.0
*/

/* Ajoute ici ton CSS personnalisé */

body {
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.etoile {
	right: -215px;
	position: absolute;
	z-index: 8;
	
}
html, body {
  overflow-x: hidden;
}


/*  Empêcher Flexbox de réduire le logo */
.wp-block-site-logo {
	flex-shrink: 0 !important;
}

/*  Forcer la vraie taille de l’image */
.wp-block-site-logo img {
	display: block !important;
	width: auto !important;
	height: auto !important;

	max-width: none !important;
}



/*menu*/
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
  outline-offset:4px;
  height: 200px;
  display: flex;
  align-items: center;
}

.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content:hover {
	background-color: #5EAA7B;
	color: #fff;
}

.wp-site-blocks *:focus,
.wp-site-blocks *:focus-visible {
	outline: none !important;
	box-shadow: none !important;
}

/* Bouton Back to Top flottant */

.topbtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 999;
      display: flex;
    align-items: center;   
    justify-content: center; 
    
    background-color: rgba(142, 172, 148, 0.8); 
    color: #ffffff;
    
    /*  taille du bouton */
    min-width: 120px; 
    height: 40px;
    padding: 0 15px; 
    
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    transition: background 0.3s;
}

/* Hover */
.topbtn:hover {
    background-color: rgba(142, 172, 148, 1);
}








/* Smooth scroll sans JS */
html {
    scroll-behavior: smooth;
}




/* Centrer le formulaire avec largeur maximale */
.wpcf7 form {
    display: flex;
    flex-direction: column;
    align-items: center;      /* centre horizontalement les champs */
    max-width: 690px;         /* largeur maximale du formulaire */
    width: 90%;               /* largeur responsive pour mobile */
    margin: 0 auto;           /* centre le formulaire dans la page */
}

/* Champs input et textarea */
.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s;
}

/* Focus sur les champs */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #000;
    outline: none;
}

/* Hauteur minimale pour textarea */
.wpcf7 textarea {
    min-height: 120px;
}

/* Bouton submit */
.wpcf7 input[type="submit"] {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: poin
}

@media (max-width: 768px) {
	.wp-block-site-logo img {
		max-height: 60px;
	}
}

@media (max-width: 660px) {

	.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	/* outline-offset: 4px; */
	height:20px; 
	/* display: inline-table; */
	align-items: center;
	font-size: 1rem;
	/* width: 100%; */
	/* background: green; */
	line-height: 1.2rem;
	text-align: left !important;
}
	
}

