/* Les Petits Tournesols — design du site (OceanWP + Elementor).
   Les couleurs et polices de base sont aussi dans Elementor › Réglages du site :
   tout réglage fait dans Elementor l'emporte sur cette feuille. */

:root {
	--ptt-indigo: #2E1A5E;
	--ptt-indigo-fonce: #1F1142;
	--ptt-jaune: #F7B32B;
	--ptt-orange: #F2762E;
	--ptt-rouge: #D93A2B;
	--ptt-teal: #2BA79B;
	--ptt-creme: #F8EFE7;
	--ptt-texte: #2A2540;
	--ptt-gris: #6E6A80;
	--ptt-titres: 'Fredoka', 'Nunito', sans-serif;
	--ptt-corps: 'Nunito', system-ui, sans-serif;
}

body.ptt-site { font-family: var(--ptt-corps); color: var(--ptt-texte); -webkit-font-smoothing: antialiased; }
.ptt-site .elementor-heading-title a { color: inherit; text-decoration: none; }

/* ---------- En-tête OceanWP ---------- */
.ptt-site #site-header { background: var(--ptt-indigo); border-bottom: 0; }
.ptt-site #site-navigation-wrap .dropdown-menu > li > a { font-family: var(--ptt-corps); font-weight: 700; font-size: 15px; text-transform: none; letter-spacing: 0; }
.ptt-site #site-navigation-wrap .dropdown-menu .sub-menu { border-top: 3px solid var(--ptt-jaune); border-radius: 0 0 16px 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(31, 17, 66, .18); }
.ptt-site #site-navigation-wrap .dropdown-menu .sub-menu a { font-family: var(--ptt-corps); font-weight: 600; text-transform: none; }
.ptt-site li.ptt-menu-cta > a, .ptt-site #site-navigation-wrap .dropdown-menu > li.ptt-menu-cta > a {
	background: var(--ptt-jaune); color: var(--ptt-indigo) !important; border-radius: 999px; padding: 0 24px !important; line-height: 46px !important; height: 46px !important;
	margin: 23px 0 0 12px; display: inline-flex; align-items: center; font-weight: 800 !important; }
.ptt-site li.ptt-menu-cta > a:hover { background: #FFC94D; }
.ptt-site #site-logo #site-logo-inner a img { max-height: 58px; width: auto; }
.ptt-site .oceanwp-mobile-menu-icon a, .ptt-site #site-header .oceanwp-mobile-menu-icon a { color: #fff; }

/* ---------- Pied de page (modèle Elementor dans OceanWP) ---------- */
.ptt-site #footer-widgets { padding: 0; background: var(--ptt-indigo-fonce); }
.ptt-site #footer-widgets .footer-widgets-inner { padding: 0; max-width: none; }
.ptt-site .ptt-liens a, .ptt-site .ptt-pied a { color: #CFC6EA; text-decoration: none; }
.ptt-site .ptt-liens a:hover, .ptt-site .ptt-pied a:hover { color: var(--ptt-jaune); }
.ptt-mot-geant .elementor-heading-title { line-height: .9 !important; letter-spacing: -0.02em; user-select: none; }
.ptt-pied-bas { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px !important; }
.ptt-reseau { display: inline-block; margin: 0 8px 8px 0; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff !important; font-weight: 700; }

/* ---------- Éléments de texte ---------- */
.ptt-eyebrow .elementor-heading-title { letter-spacing: .08em; text-transform: uppercase; }
.ptt-doux { color: #B4AEC4; }
.ptt-hero .ptt-doux, .ptt-bandeau .ptt-doux { color: #B9AEE0; }
.ptt-surligne { color: var(--ptt-jaune); position: relative; white-space: nowrap; }
.ptt-surligne::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: -.08em; height: .14em; border-radius: 999px; background: var(--ptt-orange); opacity: .9; }
.ptt-sous-titre { max-width: 680px; margin-left: auto; margin-right: auto; }
.ptt-petit { font-size: 14px; color: var(--ptt-gris); }
.ptt-a-remplir { background: #FFF4D6; color: #8A5A00; border-radius: 6px; padding: 0 6px; font-weight: 700; }
.ptt-fond-sombre .ptt-a-remplir, .ptt-pied .ptt-a-remplir { background: rgba(247, 179, 43, .18); color: var(--ptt-jaune); }
.ptt-pastille { display: inline-block; padding: 7px 16px; border-radius: 999px; background: var(--ptt-jaune); color: var(--ptt-indigo); font-weight: 800; font-size: 14px; letter-spacing: .02em; }
.ptt-pastille--verre { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.ptt-citation { font-family: var(--ptt-titres); font-weight: 500; line-height: 1.45; color: var(--ptt-indigo); }
.ptt-site .ptt-fil a { color: #CFC6EA; text-decoration: none; }
.ptt-fil span { margin: 0 6px; }
.ptt-gros { font-size: 22px; font-weight: 800; color: var(--ptt-jaune) !important; }
.ptt-prix { font-family: var(--ptt-titres); font-weight: 700; font-size: 54px; line-height: 1; color: var(--ptt-indigo); margin: 0; }
.ptt-prix span { font-size: 22px; font-weight: 600; }
.ptt-numero { width: 46px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--ptt-titres); font-weight: 700; font-size: 20px; margin: 0; }
.ptt-heure { min-width: 92px; }

/* ---------- Bandeau principal ---------- */
.ptt-hero { overflow: hidden; }
.ptt-hero::before, .ptt-hero::after, .ptt-bandeau::before, .ptt-bandeau::after {
	content: "✿"; position: absolute; font-size: 42px; color: var(--ptt-jaune); opacity: .85; pointer-events: none; z-index: 0; }
.ptt-hero::before { top: 18%; left: 7%; transform: rotate(-12deg); }
.ptt-hero::after { top: 34%; right: 8%; color: var(--ptt-teal); font-size: 54px; transform: rotate(18deg); }
.ptt-bandeau::before { top: 28%; left: 9%; font-size: 30px; }
.ptt-bandeau::after { top: 22%; right: 10%; color: var(--ptt-orange); font-size: 36px; }
.ptt-hero-visuel { position: relative; z-index: 2; margin-bottom: -6px; }
.ptt-hero-visuel img { box-shadow: 0 30px 60px rgba(10, 4, 30, .35); }
.ptt-image img { width: 100%; height: auto; display: block; }

/* ---------- Cartes ---------- */
.ptt-carte { transition: transform .25s ease, box-shadow .25s ease; }
.ptt-carte-programme:hover, .ptt-article:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(46, 26, 94, .12); }
.ptt-carte-photo .ptt-image, .ptt-carte-photo .elementor-widget-container { height: 100%; }
.ptt-carte-photo img { height: 100% !important; object-fit: cover; }
.ptt-stat .elementor-counter-title { text-align: left; }
.ptt-stat .elementor-counter-number-wrapper { justify-content: flex-start; }
.ptt-moment img { aspect-ratio: 16 / 9; object-fit: cover; }
.ptt-image-large img { aspect-ratio: 21 / 8; object-fit: cover; }
@media (min-width: 1025px) { .ptt-colle { position: sticky !important; top: 40px; align-self: flex-start; } }
.ptt-cta { position: relative; overflow: hidden; }
.ptt-cta::before { content: "✿"; position: absolute; left: 6%; bottom: 12%; font-size: 120px; color: rgba(255, 255, 255, .12); }
.ptt-cta::after { content: "✿"; position: absolute; right: 7%; top: 10%; font-size: 90px; color: rgba(255, 255, 255, .12); }
.ptt-centre { margin-left: auto !important; margin-right: auto !important; max-width: 900px !important; }

/* ---------- Bande défilante ---------- */
.ptt-defile { overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ptt-defile-piste { display: inline-flex; gap: 34px; align-items: center; animation: ptt-defile 32s linear infinite; font-family: var(--ptt-titres); font-weight: 700; font-size: clamp(26px, 4vw, 46px); color: #fff; }
.ptt-defile-piste i { font-style: normal; color: var(--ptt-jaune); font-size: .8em; }
@keyframes ptt-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ptt-defile-piste { animation: none; } }

/* ---------- Galerie ---------- */
.ptt-filtres { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ptt-filtre { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--ptt-indigo) !important; border: 1.5px solid #E1D6CB; font-weight: 700; text-decoration: none !important; }
.ptt-filtre.is-actif, .ptt-filtre:hover { background: var(--ptt-indigo); color: #fff !important; border-color: var(--ptt-indigo); }
.ptt-galerie .is-cache { display: none !important; }
.ptt-tuile img { aspect-ratio: 1 / 1; object-fit: cover; }

/* ---------- FAQ (widget Accordéon/Toggle) ---------- */
.ptt-faq .elementor-toggle-item { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgba(46, 26, 94, .06); }
.ptt-faq .elementor-tab-title { border: 0 !important; }
.ptt-faq .elementor-tab-content { border: 0 !important; }

/* ---------- Carte Google ---------- */
.ptt-carte-google iframe { border-radius: 28px; }

/* ---------- Formulaires [ptt_formulaire] ---------- */
.ptt-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 8px; }
.ptt-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ptt-texte); margin: 0; }
.ptt-form .ptt-plein { grid-column: 1 / -1; }
.ptt-form input:not([type="checkbox"]), .ptt-form select, .ptt-form textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 12px 16px; border: 1.5px solid #E1D6CB; border-radius: 14px; min-height: 48px; box-sizing: border-box; background: #FFFCF9; color: var(--ptt-texte); width: 100%; }
.ptt-form input:focus, .ptt-form select:focus, .ptt-form textarea:focus { outline: 3px solid rgba(43, 167, 155, .35); border-color: var(--ptt-teal); }
.ptt-form input[type="file"] { border-style: dashed; }
.ptt-form label.ptt-case { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.ptt-form label.ptt-case input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ptt-teal); }
.ptt-form button[type="submit"] { justify-self: start; font-family: var(--ptt-corps) !important; font-weight: 800 !important; font-size: 17px !important; background: var(--ptt-orange) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 16px 34px !important; min-height: 48px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.2 !important; }
.ptt-form button[type="submit"]:hover { background: var(--ptt-indigo) !important; }
.ptt-form .ptt-pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ptt-message { border-radius: 14px; padding: 12px 16px; font-weight: 700; margin: 0 0 12px; }
.ptt-message--ok { background: #DDF3F0; color: #17635B; }
.ptt-message--erreur { background: #FBE3DF; color: #8A1F11; }

/* ---------- Calculateur [ptt_calculateur] ---------- */
.ptt-calc { background: var(--ptt-indigo); color: #fff; border-radius: 36px; padding: clamp(24px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; position: relative; overflow: hidden; }
.ptt-calc::after { content: "✿"; position: absolute; right: -10px; bottom: -40px; font-size: 220px; color: rgba(255, 255, 255, .05); pointer-events: none; }
.ptt-calc-entrees { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.ptt-calc-entrees h2 { margin: 0; color: #fff; font-family: var(--ptt-titres); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.ptt-calc-entrees p { margin: 0; color: #DCD5F0; }
.ptt-calc-entrees .ptt-eyebrow { color: var(--ptt-jaune); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ptt-calc label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.ptt-calc label small { font-weight: 400; font-size: 14px; color: #B9AEE0; }
.ptt-calc input, .ptt-calc select { font-family: var(--ptt-corps); font-weight: 800; font-size: 18px; padding: 12px 16px; border: 0; border-radius: 14px; min-height: 50px; box-sizing: border-box; color: var(--ptt-indigo); background: #fff; width: 100%; }
.ptt-calc-resultats { flex: 999 1 420px; min-width: 0; background: #fff; color: var(--ptt-texte); border-radius: 26px; padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.ptt-calc-tuiles { display: flex; flex-wrap: wrap; gap: 16px; }
.ptt-calc-tuile { flex: 1 1 200px; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 4px; background: var(--ptt-creme); }
.ptt-calc-tuile--net { background: var(--ptt-jaune); }
.ptt-calc-tuile > span:first-child { font-weight: 700; font-size: 15px; color: var(--ptt-gris); }
.ptt-calc-tuile--net > span:first-child { color: var(--ptt-indigo); }
.ptt-calc-tuile strong { font-family: var(--ptt-titres); font-weight: 700; font-size: 44px; line-height: 1.1; color: var(--ptt-gris); }
.ptt-calc-tuile--net strong { color: var(--ptt-indigo); }
.ptt-calc-ecart { margin: 0; font-weight: 800; color: var(--ptt-indigo); }
.ptt-calc dl { margin: 0; }
.ptt-calc dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #EEE6DE; }
.ptt-calc dl div:last-child { border-bottom: 0; }
.ptt-calc dt { font-weight: 400; }
.ptt-calc dd { margin: 0; font-weight: 800; white-space: nowrap; }
.ptt-calc .ptt-credit { color: var(--ptt-teal); }
.ptt-calc .ptt-total dt, .ptt-calc .ptt-total dd { font-weight: 800; color: var(--ptt-indigo); }
.ptt-calc-plafond { margin: 0; font-size: 14px; color: #8A5A00; background: #FFF4D6; border-radius: 12px; padding: 10px 14px; }

/* ---------- Articles (blog OceanWP) ---------- */
.ptt-site .blog-entry-title a, .ptt-site .single-post-title { font-family: var(--ptt-titres); color: var(--ptt-indigo); }
.ptt-site .single .entry-content { font-size: 18px; line-height: 1.7; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.ptt-hero::before, .ptt-hero::after, .ptt-bandeau::before, .ptt-bandeau::after { display: none; }
	.ptt-surligne { white-space: normal; }
	.ptt-calc-tuile strong { font-size: 36px; }
	.ptt-image-large img { aspect-ratio: 4 / 3; }
	.ptt-site li.ptt-menu-cta > a { margin: 12px 0 !important; }
}
.ptt-site .oceanwp-mobile-menu-icon a { background: rgba(255, 255, 255, .12) !important; color: #fff !important; border-radius: 999px; padding: 0 16px; }
