/* Compléments au thème : formulaire de contact, page 404, e-mail protégé, bandeau cookies */

/* Formulaire de contact */
.field-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { color: #b02a37; font-size: 0.9em; font-weight: 600; margin: 0.3em 0 0.8em; }
.is-invalid { border-color: #b02a37 !important; }
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form input[type="tel"], #contact-form textarea { width: 100%; box-sizing: border-box; }
.message-box.success { background: #eef6dc; border: 1px solid #8c9560; color: #4d6e06; padding: 15px 20px; }
.message-box.error { background: #fbeaea; border: 1px solid #b02a37; color: #b02a37; padding: 15px 20px; }
.contact-carte { border: 0; width: 100%; height: 300px; display: block; }
.mentions-formulaire { font-size: 12px; line-height: 1.5; margin-top: 20px; }

/* Pied de page */
#footer-bottom .links-gauche { float: left; }
#footer-bottom .links-droite { float: right; }
@media only screen and (max-width: 767px) { #footer-bottom .links-droite { float: none; } }

/* Page 404 */
.erreur-404 { padding: 20px 0 60px; }
.erreur-404 .caps { text-transform: uppercase; letter-spacing: 1px; color: #8c9560; font-weight: 700; }
.liste-services { list-style: none; padding: 0; margin: 2em 0 0; }
.liste-services li { display: inline-block; margin: 0 1.5em 0.5em 0; }
.liste-services a { font-weight: 700; }

/* Mentions légales */
#mentions h2 { font-size: 1.3em; margin: 1.5em 0 0.5em; }

/* Pied de page : lien « Gestion des cookies » */
.lien-cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.lien-cookies:hover { color: #FF950E; }

/* Bandeau cookies */
.bandeau-cookies { position: fixed; left: auto; right: 1em; bottom: 1em; z-index: 1050; display: flex; justify-content: flex-end; max-width: calc(100% - 2em); }
.bandeau-cookies[hidden] { display: none; }
.bandeau-cookies-inner { max-width: 420px; background: #222; color: #FFF; padding: 1.5em; box-shadow: 0 4px 18px rgba(0,0,0,0.3); font-size: 0.9em; }
.bandeau-cookies-inner a { color: #FFF; text-decoration: underline; }
.bandeau-cookies-titre { font-weight: 700; font-size: 1.2em; margin-bottom: 0.5em; }
.bandeau-cookies-actions .button { margin: 0 1em 0.5em 0; }

/* ---------- Lisibilité : texte plus grand et plus contrasté ----------
   Le thème d'origine affiche le texte en 12px gris clair (#777) ; on passe à 15px gris foncé. */
body { font-size: 15px; line-height: 1.65; color: #444; }
p, li, .fa-icon-list li, .quick-links li, label, td, th { font-size: 15px; line-height: 1.65; }
p { margin-bottom: 15px; }
p strong, li strong { color: #333; }
a { text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* Titres un peu plus présents */
h1 { font-size: 38px; line-height: 1.2; }
h3 { line-height: 1.35; }
h4 { font-size: 18px; line-height: 1.4; }
h6, .portfolio-item-preview .item-description h6 { font-size: 15px; line-height: 1.45; }

/* Menu principal */
#primary-nav > ul > li > a { font-size: 15px; }

/* Listes, menus latéraux et encadrés */
.arrow-list li, .side-menu li, .info-box p, .info-box li { font-size: 15px; line-height: 1.6; }
.middle-font-size, .middle-font-size > * { font-size: 16px; line-height: 1.6; }
.large-font-size, .large-font-size > * { font-size: 19px; line-height: 1.5; }
.side-menu.middle-font-size a { color: #6f7a55; }

/* Légendes des photos (portes de garage) */
.item-label { font-size: 13px; line-height: 1.4; }

/* Formulaire de contact */
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form input[type="tel"], #contact-form textarea { font-size: 16px; line-height: 1.5; padding: 8px 10px; color: #333; }
.contact-info, .contact-info p, .contact-info div { font-size: 15px; line-height: 1.6; }
.mentions-formulaire { font-size: 13px; color: #666; }

/* Boutons */
.button { font-size: 15px; }
.button.large { font-size: 17px; }

/* Pied de page */
#footer-bottom .links, #footer-bottom .links * { font-size: 13px; line-height: 1.6; }
#footer-bottom .footer-nav a { font-size: 14px; }

/* Mentions légales */
#mentions p { max-width: 820px; }

/* Titres SEO gardant l'apparence d'origine du thème */
h2.comme-h3, h3.comme-h3 { font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 23px; line-height: 1.35; font-weight: 400; color: #444; margin-bottom: 15px; }
h2.comme-h4 { font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 18px; line-height: 1.4; font-weight: 600; color: #444; }
h3.comme-h2 { font-family: "Roboto Condensed", "Franklin Gothic Medium", Tahoma, sans-serif; font-size: 32px; line-height: 1.2; font-weight: 300; color: #444; margin-bottom: 15px; }

/* Champ téléphone : le thème (2014) ne stylait que text / password / email */
input[type="tel"] {
	display: block; max-width: 100%;
	background-color: #fff; border: 1px solid #c7cfc3; border-radius: 2px;
	font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif; color: #666;
	margin: 0 0 12px; padding: 6px; outline: none; box-shadow: none;
	-webkit-appearance: none; appearance: none;
}
input[type="tel"]:focus { box-shadow: 0 0 3px rgba(0, 0, 0, 0.1); }
.form input[type="tel"].error { border-color: #ffaaaa; }
