/*
Theme Name: Réseau de Formateurs
Theme URI: https://reseaudeformateurs.com/
Description: Sous-thème de Twenty Twenty-Five pour le Réseau de Formateurs. Charte AIR Consulting Services (marine, bleu, corail), titres Fraunces, texte Inter. Toutes les sections sont des blocs natifs modifiables dans l’éditeur.
Author: AIR Consulting Services
Template: twentytwentyfive
Version: 1.8.3
Requires at least: 6.6
Text Domain: rdf
*/

/* Le gras du texte courant (balises strong et b) reste en gras. */
strong, b { font-weight: 700; }

/* Les sections de l'accueil se suivent sans espace : chacune porte ses propres marges. */
.rdf-sections > * { margin-block-start: 0; margin-block-end: 0; }

/* ---------------------------------------------------------------- En-tête */
.rdf-entete .wp-block-site-title a { color: inherit; text-decoration: none; }
.rdf-entete .wp-block-navigation a:hover { color: var(--wp--preset--color--blanc); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--wp--preset--color--corail); }

/* ------------------------------------------------- Style « Bandeau photo » */
.wp-block-image.is-style-rdf-bandeau { margin: 0; }
.wp-block-image.is-style-rdf-bandeau img { width: 100%; height: 620px; object-fit: cover; display: block; }
@media (max-width: 781px) {
	.wp-block-image.is-style-rdf-bandeau img { height: 360px; }
}

/* ---------------------------------- Style « Panneau qui chevauche l'image » */
.wp-block-group.is-style-rdf-panneau { position: relative; max-width: 760px; margin-top: -180px !important; border-radius: 4px; }
@media (max-width: 781px) {
	.wp-block-group.is-style-rdf-panneau { margin-top: -64px !important; }
}

/* -------------------------------------------------------- Style « Pastille » */
.wp-block-button.is-style-rdf-pastille .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--blanc);
	border: 1px solid #4A5D85;
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 500;
}
.wp-block-button.is-style-rdf-pastille .wp-block-button__link:hover { border-color: var(--wp--preset--color--corail); background: transparent; }

/* --------------------------------------------------------- Style « Contour » */
.wp-block-button.is-style-rdf-contour .wp-block-button__link {
	background: var(--wp--preset--color--blanc);
	color: var(--wp--preset--color--marine);
	border: 1px solid #C9D3E3;
}
.wp-block-button.is-style-rdf-contour .wp-block-button__link:hover { border-color: var(--wp--preset--color--marine); background: var(--wp--preset--color--blanc); color: var(--wp--preset--color--marine); }

/* ------------------------------------------- Style « Carte (lien en bas) » */
.wp-block-group.is-style-rdf-carte { display: flex; flex-direction: column; height: 100%; }
.wp-block-group.is-style-rdf-carte > :last-child { margin-top: auto !important; padding-top: 8px; }

/* -------------------------------------------------------------- Recherche */
.rdf-recherche .wp-block-search__input { min-height: 52px; border: 0; border-radius: 8px; padding: 0 18px; font-size: 16px; color: var(--wp--preset--color--texte); }
.rdf-recherche .wp-block-search__inside-wrapper { gap: 10px; border: 0; padding: 0; flex-wrap: wrap; }
.rdf-recherche .wp-block-search__button { min-height: 52px; margin: 0; border-radius: 8px; padding: 0 24px; background: var(--wp--preset--color--corail-profond); color: var(--wp--preset--color--blanc); font-weight: 600; border: 0; }
.rdf-recherche .wp-block-search__input { flex: 1 1 260px; }

/* ----------------------------------------------------------------- Divers */
.rdf-portrait img { width: 96px; height: 96px; object-fit: cover; }
:where(.rdf-sections) a:where(:not(.wp-element-button)) { text-underline-offset: 3px; }

/* ------------------------------------------------- Prise de rendez-vous */
.rdf-rdv { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; background: var(--wp--preset--color--blanc); border-radius: 16px; }
.rdf-rdv__status { margin: 0; color: var(--wp--preset--color--texte-doux); }

/* ------------------------------------------------ Formulaire de contact */
.wpcf7 form { display: flex; flex-direction: column; gap: 4px; }
.wpcf7 label { display: block; font-weight: 600; color: var(--wp--preset--color--marine); font-size: 15px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--wp--preset--color--texte);
	background: var(--wp--preset--color--blanc); border: 1px solid #C9D3E3; border-radius: 8px;
}
.wpcf7 textarea { min-height: 160px; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 2px solid var(--wp--preset--color--bleu-profond); outline-offset: 1px; }
.wpcf7 input[type="submit"] {
	align-self: flex-start; cursor: pointer; border: 0; border-radius: 999px; padding: 14px 26px; font: inherit; font-weight: 600;
	background: var(--wp--preset--color--corail-profond); color: var(--wp--preset--color--blanc);
}
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--marine); }
