/*
Theme Name: Twenty Twenty-Four Child
Template: twentytwentyfour
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
 
/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

.featured-label {
  background: #eb7f1d;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 12px !important;
  font-weight: bold;
  border-radius: 5px;
  padding: 2px !important;
  display: inline-block !important; /* ajoute !important */
  width: auto !important;           /* évite le 100% */
  max-width: fit-content;           /* adapte à la taille du texte */
}
.no-gap {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Appliquer un style global aux wrappers */
.wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 1rem; /* espace entre les champs */
}

/* Inputs textuels + email + tel + url + password */
.wpcf7-form-control[type="text"],
.wpcf7-form-control[type="email"],
.wpcf7-form-control[type="tel"],
.wpcf7-form-control[type="url"],
.wpcf7-form-control[type="password"],
textarea.wpcf7-form-control,
select.wpcf7-form-control {
  width: 80%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* Focus avec effet visuel */
.wpcf7-form-control[type="text"]:focus,
.wpcf7-form-control[type="email"]:focus,
.wpcf7-form-control[type="tel"]:focus,
.wpcf7-form-control[type="url"]:focus,
.wpcf7-form-control[type="password"]:focus,
textarea.wpcf7-form-control:focus,
select.wpcf7-form-control:focus {
  border-color: #eb7f1d;
  box-shadow: 0 0 0 3px rgba(0,115,230,0.2);
  outline: none;
}

/* Placeholder plus doux */
.wpcf7-form-control::placeholder {
  color: #888;
  font-style: italic;
}

/* Container de la checkbox */ .offer-checkbox { align-items: center; gap: 3px; background: #f5f5f5; /* gris clair */ border-radius: 10px; border: 2px solid #eb7f1d; cursor: pointer; transition: all 0.3s ease; } /* Texte à côté */ .offer-checkbox label { font-size: 16px; font-weight: 500; color: #333; cursor: pointer; } /* Style de la vraie checkbox (masquée) */ .offer-checkbox input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid #ccc; border-radius: 4px; background: #fff; cursor: pointer; transition: all 0.3s ease; position: relative; } /* Quand cochée */ .offer-checkbox input[type="checkbox"]:checked { border-color: #eb7f1d; background: #eb7f1d; } /* Ajout d’un petit check blanc */ .offer-checkbox input[type="checkbox"]:checked::after { content: "✔"; font-size: 14px; color: #fff; position: absolute; top: 1px; left: 3px; }

/* Hover effet */
.offer-checkbox:hover {
  background: #fafafa;
  border-color: #d96f15;
}
.offer-input {
  background: #ffffff;
  border: 2px solid #ccc;
  border-radius: 5px;
  padding: 2%;
  margin: 1%;
  content: center;
  
}
/* Style global pour tous les <mark> */
.offer-mark {
  background-color: #f4bb85; /* fond orange */
  color: #000000;               /* texte blanc */
  padding: 0.2em 0.4em;      /* léger padding autour du texte */
  border-radius: 4px;        /* coins légèrement arrondis */
  font-weight: 600;           /* texte un peu plus gras */
}
.wpcf7-buttons-wrapper {
  display: flex;               /* active flexbox */
  justify-content: flex-end;   /* aligne à droite */
  align-items: center;         /* centre verticalement */
  gap: 20px;                   /* espace entre boutons */
  flex-wrap: nowrap;           /* empêche l’empilement */
}

.wpcf7-response-output {
  display: none;
}
/* S'assure que les boutons restent flex items */
.wpcf7-buttons-wrapper .cf7-btn-previous,
.wpcf7-buttons-wrapper .cf7-btn-submit {
  display: inline-flex;       /* nécessaire pour que le gap fonctionne correctement */
}