/*
 * Style « Soleil » : inspiré de 3615chm.com (jaune soleil, vert sapin, frise géométrique).
 * Activé dans Annonces › Réglages › Style graphique. Tout est préfixé par .style-soleil.
 */
body.style-soleil {
	--yellow: #ffec1a;
	--green: #0a5c33;
	--red: #0a5c33;
	--red-dark: #07432a;
	--ink: #0a5c33;
	--text: #0a5c33;
	--muted: rgba(10, 92, 51, .72);
	--line: rgba(10, 92, 51, .22);
	--gray: #fff3a0;
	--black: #0a5c33;
	--white: #ffec1a;
	--shadow: 0 6px 0 rgba(10, 92, 51, .18);
	--font-body: "Gabarito", system-ui, sans-serif;
	--font-title: "Lilita One", "Gabarito", system-ui, sans-serif;
	--font-logo: "Lilita One", "Gabarito", system-ui, sans-serif;
	--font-sub: "Barlow Semi Condensed", "Gabarito", system-ui, sans-serif;
	background: var(--yellow);
	color: var(--green);
}

/* Titres façon affiche */
.style-soleil h1, .style-soleil h2 { font-weight: 400; letter-spacing: .01em; text-transform: uppercase; }
.style-soleil h1 { font-size: clamp(34px, 6vw, 60px); }
.style-soleil h2 { font-size: clamp(26px, 4.4vw, 40px); }
.style-soleil h3 { font-family: var(--font-sub); font-weight: 600; }
.style-soleil .logo { font-size: 34px; letter-spacing: .02em; }
.style-soleil .logo small { color: var(--green); }

/* Frise sous l'en-tête et au-dessus du pied de page */
.style-soleil .site-header { background: var(--yellow); border-bottom: 0 !important; }
.style-soleil .site-header::after {
	content: ""; display: block; height: 26px; margin: 0 auto; max-width: var(--wrap);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cpath fill='%230a5c33' d='M0 0h52v6H44v6h-8V6H16v6H8V6H0z M20 10h12v6h8v4h12v6H0v-6h12v-4h8z'/%3E%3C/svg%3E") repeat-x left center / 52px 26px;
}
.style-soleil .site-header.scrolled::after { height: 10px; background-size: 20px 10px; transition: height .2s; }

/* Navigation */
.style-soleil .main-nav { gap: 18px; }
.style-soleil .main-nav a:not(.btn) { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; font-size: 16px; letter-spacing: .01em; }
@media (min-width: 1081px) and (max-width: 1240px) { .style-soleil .main-nav { gap: 12px; } .style-soleil .main-nav a:not(.btn) { font-size: 14px; } .style-soleil .main-nav .btn { padding: 10px 12px; font-size: 13px; } .style-soleil .logo { font-size: 28px; } }
.style-soleil .main-nav a.current, .style-soleil .main-nav a:hover { color: var(--green); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
@media (max-width: 1080px) { .style-soleil .main-nav { background: var(--yellow); border-bottom: 2px solid var(--green); } }
.style-soleil .lang-switch a.active { background: var(--green); color: var(--yellow); }

/* Boutons : vert, texte jaune, majuscules */
.style-soleil .btn { font-family: var(--font-title); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: 15px; border-radius: 8px; }
.style-soleil .btn-dark, .style-soleil .btn-red { background: var(--green); color: var(--yellow); box-shadow: none; }
.style-soleil .btn-dark:hover, .style-soleil .btn-red:hover { background: var(--red-dark); }
.style-soleil .btn-light { background: transparent; color: var(--green); border: 2px solid var(--green); }
.style-soleil .btn-outline { background: transparent; border: 2px solid var(--green); color: var(--green); }
.style-soleil .btn-danger { background: transparent; }
.style-soleil .main-nav .btn { color: var(--yellow); }

/* Cadres : trait vert épais, fond jaune */
.style-soleil .cat-card .cat-img, .style-soleil .ad-card .ad-thumb, .style-soleil .gallery-main,
.style-soleil .meteo, .style-soleil .agenda-box, .style-soleil .radio, .style-soleil .box, .style-soleil .alert-box, .style-soleil .search-bar {
	border: 2px solid var(--green);
	background-color: var(--yellow);
	box-shadow: none;
}
.style-soleil .cat-img[style], .style-soleil .ad-thumb[style], .style-soleil .gallery-main[style] { background: #fff3a0 !important; }
.style-soleil .cat-card h3 { font-family: var(--font-title); font-weight: 400; color: var(--green); font-size: 20px; }
.style-soleil .cat-card p { font-family: var(--font-sub); font-weight: 500; color: var(--green); }
.style-soleil .ad-card .ad-cat { color: var(--muted); }
.style-soleil .ad-card .ad-price, .style-soleil .ad-price-lg { color: var(--green); }
.style-soleil .ribbon { background: var(--green); color: var(--yellow); }
.style-soleil .meteo-card + .meteo-card { border-color: var(--line); }

/* Formulaires */
.style-soleil .form input[type="text"], .style-soleil .form input[type="email"], .style-soleil .form input[type="tel"],
.style-soleil .form input[type="number"], .style-soleil .form select, .style-soleil .form textarea,
.style-soleil .recap-form input, .style-soleil .field-event, .style-soleil .photo-drop {
	background: #fffbd6; border: 2px solid var(--green); color: var(--green);
}
.style-soleil .search-bar select { border-left-color: var(--line); }
.style-soleil input::placeholder, .style-soleil textarea::placeholder { color: rgba(10, 92, 51, .5); }
.style-soleil .cat-pills a { border: 2px solid var(--green); font-weight: 600; }
.style-soleil .cat-pills a.active { background: var(--green); color: var(--yellow); }

/* Radio, partage, favoris */
.style-soleil .radio-btn { background: var(--green); color: var(--yellow); }
.style-soleil .radio-live i { background: var(--green); }
.style-soleil .share-btn { background: transparent; border: 2px solid var(--green); color: var(--green); }
.style-soleil .share-native { background: var(--green); color: var(--yellow); }
.style-soleil .fav-btn { background: #fffbd6; color: var(--green); border: 2px solid var(--green); box-shadow: none; }
.style-soleil .fav-count { background: var(--green); color: var(--yellow); }

/* Récap du dimanche et pied de page en vert */
.style-soleil .recap-box { background: var(--green); color: var(--yellow); }
.style-soleil .recap-form .btn { background: var(--yellow); color: var(--green); }
.style-soleil .site-footer { background: var(--green); color: var(--yellow); position: relative; margin-top: 90px; }
.style-soleil .site-footer::before {
	content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='26' viewBox='0 0 52 26'%3E%3Cpath fill='%230a5c33' d='M0 26h52v-6H44v-6h-8v6H16v-6H8v6H0z M20 16h12v-6h8V6h12V0H0v6h12v4h8z'/%3E%3C/svg%3E") repeat-x left bottom / 52px 26px;
}
.style-soleil .site-footer a, .style-soleil .site-footer .logo, .style-soleil .site-footer .logo small { color: var(--yellow); }
.style-soleil .footer-bottom { border-top-color: rgba(255, 236, 26, .35); }

/* Soleil au-dessus du titre de l'accueil */
.style-soleil .intro h1::before {
	content: ""; display: block; width: 120px; height: 66px; margin-bottom: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 66'%3E%3Cg fill='%230a5c33'%3E%3Cpath d='M30 66a30 30 0 0 1 60 0h-12a18 18 0 0 0-36 0z'/%3E%3Crect x='55' y='0' width='10' height='22' rx='5'/%3E%3Crect x='55' y='0' width='10' height='22' rx='5' transform='rotate(-35 60 66)'/%3E%3Crect x='55' y='0' width='10' height='22' rx='5' transform='rotate(35 60 66)'/%3E%3Crect x='55' y='4' width='10' height='20' rx='5' transform='rotate(-68 60 66)'/%3E%3Crect x='55' y='4' width='10' height='20' rx='5' transform='rotate(68 60 66)'/%3E%3C/g%3E%3C/svg%3E") no-repeat left bottom / contain;
}

/* Messages */
.style-soleil .notice-ok { background: #fffbd6; color: var(--green); border: 2px solid var(--green); }
.style-soleil .done-banner { background: #fffbd6; border: 2px solid var(--green); color: var(--green); }
.style-soleil .alert-link { color: var(--green); border-bottom-color: var(--green); }
.style-soleil .link-more { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.style-soleil .entry-content a, .style-soleil .translate-note a { color: var(--green); }
.style-soleil .status-publish { background: var(--green); color: var(--yellow); }
