/* floway.coach – stili di base del tema (gli stili delle singole sezioni sono in floway-classi.css) */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #F7F7F4; color: #22313F; font-family: 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
a { color: #4E8C88; }
a:hover { color: #3F7471; }
:focus-visible { outline: 2px solid #4E8C88; outline-offset: 3px; }
::selection { background: #DDE3E6; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Struttura pagina: niente margini automatici tra i blocchi, ogni sezione gestisce i propri spazi */
.wp-site-blocks { padding: 0 !important; display: flex; flex-direction: column; min-height: 100vh; }
.wp-site-blocks > * { margin-block: 0 !important; }
.wp-site-blocks > main, .fw-page { flex: 1 0 auto; }
.fw-page > * { margin-block: 0; }
.fw-page :where(p, h1, h2, h3, h4, h5, h6, figure, blockquote, dl, dd, ol, ul) { margin-block: 0; }
.fw-page :where(.wp-block-group, .wp-block-buttons) { margin-block: 0; }
.fw-page img { max-width: 100%; height: auto; }
floway-onda { display: block; width: 100%; height: 100%; }

/* Pulsanti come nel progetto: la riga di pulsanti segue il contenitore */
.fw-btnrow { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button__link { white-space: nowrap; }

/* Link di testo isolati */
.fw-linkpar { margin: 0; }

/* Domande frequenti (blocco Dettagli) */
.fw-faq { border-bottom: 1px solid rgba(34, 49, 63, 0.15); }
.fw-faq > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; color: #22313F; }
.fw-faq > summary::-webkit-details-marker { display: none; }
.fw-faq > summary::after { content: '+'; flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; border: 1.5px solid #A07C3E; display: flex; align-items: center; justify-content: center; font-family: 'DM Sans', sans-serif; font-size: 18px; line-height: 1; color: #A07C3E; }
.fw-faq[open] > summary::after { content: '\2212'; }
.fw-faq > p { padding: 0 52px 24px 0 !important; }

/* Messaggio di conferma dei moduli */
[data-floway-sent][hidden] { display: none !important; }

/* ---------- Intestazione ---------- */
.fh { position: sticky; top: 0; z-index: 50; background: rgba(247, 247, 244, 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid #DDE3E6; font-family: 'DM Sans', sans-serif; }
.admin-bar .fh { top: 32px; }
@media (max-width: 782px) { .admin-bar .fh { top: 46px; } }
.fh-bar { max-width: 1160px; margin: 0 auto; padding: 16px clamp(20px, 5vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fh-logo { display: flex; flex-shrink: 0; padding-top: 4px; }
.fh-logo img { height: clamp(72px, 8vw, 92px); width: auto; display: block; }
.fh-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: flex-end; }
.fh-link { color: #22313F; text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; background-image: linear-gradient(#4E8C88, #4E8C88); background-repeat: no-repeat; background-position: 0 calc(100% - 2px); background-size: 0% 1px; transition: background-size .35s ease, color .2s ease; }
.fh-link:hover { color: #4E8C88; background-size: 100% 1px; }
.fh-link[aria-current], .fh-parent.is-branch > .fh-link { border-bottom-color: #C8A46A; }
.fh-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: #A07C3E; color: #F7F7F4; text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s ease, transform .2s ease; }
.fh-btn:hover { background: #8A6A33; color: #F7F7F4; transform: translateY(-2px); }
.fh-btn-sm { padding: 0 18px; }
.fh-parent { position: relative; display: flex; align-items: center; gap: 4px; }
.fh-subtoggle { width: 28px; height: 28px; border: none; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #22313F; }
.fh-sub { position: absolute; top: 100%; left: -20px; padding-top: 10px; z-index: 60; opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.fh-parent.is-open .fh-sub { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.fh-subbox { background: #F7F7F4; border: 1px solid #DDE3E6; border-radius: 16px; box-shadow: 0 12px 32px rgba(34, 49, 63, 0.10); padding: 8px; min-width: 240px; display: flex; flex-direction: column; }
.fh-subbox a { display: block; padding: 12px 14px; border-radius: 10px; color: #22313F; text-decoration: none; font-size: 15px; }
.fh-subbox a:hover, .fh-subbox a[aria-current] { background: #DDE3E6; color: #22313F; }
.fh-mob { display: none; align-items: center; gap: 10px; }
.fh-burger { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #22313F; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; padding: 0; }
.fh-burger span { display: block; width: 18px; height: 2px; background: #22313F; border-radius: 2px; }
.fh-panel { display: none; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.fh-panel-in { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility .35s; }
.fh.is-open .fh-panel { grid-template-rows: 1fr; }
.fh.is-open .fh-panel-in { visibility: visible; }
.fh-panel nav { border-top: 1px solid #DDE3E6; padding: 8px clamp(20px, 5vw, 48px) 20px; display: flex; flex-direction: column; }
.fh-panel nav a { color: #22313F; text-decoration: none; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; padding: 10px 0; border-bottom: 1px solid #DDE3E6; }
.fh-panel nav a.fh-child { display: flex; align-items: center; gap: 12px; font-style: italic; font-size: 23px; padding-left: 20px; }
.fh-panel nav a.fh-child span { width: 14px; height: 1px; background: #C8A46A; display: block; }
@media (max-width: 959px) {
	.fh-nav { display: none; }
	.fh-mob { display: flex; }
	.fh-panel { display: grid; }
}

/* Segnaposto (foto, video, testi da completare) */
.fw-segnaposto { outline: 1px dashed rgba(34, 49, 63, 0.25); }

/* I pulsanti del progetto definiscono da sé colori e forme: azzera lo stile predefinito dei pulsanti WordPress */
.fw-btnrow .wp-block-button__link { background: transparent; color: inherit; padding: 0; border-radius: 0; font-size: inherit; font-weight: inherit; border: none; }

/* Linee decorative (blocco Separatore) */
.fw-sep.wp-block-separator { border: none; margin: 0; opacity: 1; }

/* Segnaposto foto: si sostituisce con un blocco Immagine */
.fw-segnaposto-foto > p { margin: 0; }

/* Testi aggiunti in WordPress senza stile del progetto: interlinea comoda */
:where(.fw-page) :where(p, li) { line-height: 1.7; }


/* ---------- 1.0.9 · Foto di Carmen al posto dei segnaposto ---------- */
.fw-pagina-home .fw-cac2206.fw-segnaposto-foto { background: #DDE3E6 url(../img/carmen-home.webp) center 25% / cover no-repeat; }
.fw-pagina-chi-sono .fw-2e708b6.fw-segnaposto-foto { background: #DDE3E6 url(../img/carmen-chi-sono.webp) center / cover no-repeat; }
.fw-pagina-crescita-del-coach .fw-2e708b6.fw-segnaposto-foto { background: #DDE3E6 url(../img/carmen-crescita.webp) center / cover no-repeat; }
.fw-pagina-corso-gratuito .fw-387451d.fw-segnaposto-foto { background: #DDE3E6 url(../img/carmen-corso.webp) center / cover no-repeat; }
.fw-pagina-home .fw-cac2206.fw-segnaposto-foto > p,
.fw-pagina-chi-sono .fw-2e708b6.fw-segnaposto-foto > p,
.fw-pagina-crescita-del-coach .fw-2e708b6.fw-segnaposto-foto > p,
.fw-pagina-corso-gratuito .fw-387451d.fw-segnaposto-foto > p { display: none; }
.fw-pagina-home .fw-cac2206.fw-segnaposto-foto { min-height: 520px; }

/* ---------- 1.0.9 · Modello "Pagina di testo" (privacy, cookie, condizioni) ---------- */
.fw-testo { max-width: 760px; margin: 0 auto; padding: 72px 24px 104px; box-sizing: content-box; }
.fw-testo .fw-testo-titolo { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; color: #22313F; margin: 0 0 32px; }
.fw-testo .fw-testo-corpo > * + * { margin-top: 1.1em; }
.fw-testo .fw-testo-corpo h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(26px, 3.2vw, 32px); line-height: 1.2; color: #22313F; margin-top: 2em; }
.fw-testo .fw-testo-corpo h3 { font-size: 19px; margin-top: 1.6em; }
.fw-testo .fw-testo-corpo ul, .fw-testo .fw-testo-corpo ol { padding-left: 1.3em; }
.fw-testo .fw-testo-corpo li + li { margin-top: .4em; }
.fw-testo .fw-testo-corpo a { color: #22313F; text-decoration: underline; text-underline-offset: 3px; }
.fw-testo .fw-testo-corpo strong { color: #22313F; }
.fw-testo .fw-testo-corpo .wp-block-table { overflow-x: auto; }
.fw-testo .fw-testo-corpo table { width: 100%; border-collapse: collapse; font-size: 15px; }
.fw-testo .fw-testo-corpo th, .fw-testo .fw-testo-corpo td { border: 1px solid #DDE3E6; padding: 10px 12px; text-align: left; vertical-align: top; }
.fw-testo .fw-testo-corpo th { background: #EFE7DC; font-weight: 600; }
@media (max-width: 600px) { .fw-testo { padding: 48px 16px 72px; } }


/* ---------- 1.0.9 · Scheda prezzo del salotto ---------- */
.fw-prezzo-sez { padding: 0 0 clamp(72px, 10vw, 128px); }
.fw-prezzo { max-width: 1064px; margin: 0 auto; box-sizing: border-box; width: calc(100% - 2 * clamp(20px, 5vw, 48px)); background: #22313F; color: #F7F7F4; border-radius: 22px; padding: clamp(32px, 5vw, 52px) clamp(24px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center; }
.fw-prezzo .fw-prezzo-tag { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: #C8A46A; }
.fw-prezzo .fw-prezzo-cifre { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1; margin: 16px 0 12px; display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.fw-prezzo .fw-prezzo-cifre s { font-size: clamp(34px, 4vw, 46px); color: #9AA6B0; text-decoration-thickness: 2px; }
.fw-prezzo .fw-prezzo-cifre strong { font-size: clamp(60px, 7vw, 80px); font-weight: 500; color: #F7F7F4; }
.fw-prezzo .fw-prezzo-sub { font-size: 16px; color: #DDE3E6; }
.fw-prezzo .fw-prezzo-lista { list-style: none; padding: 0; margin: 0; font-size: 17px; line-height: 1.5; }
.fw-prezzo .fw-prezzo-lista li { position: relative; padding-left: 30px; margin: 10px 0; }
.fw-prezzo .fw-prezzo-lista li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #4E8C88; }
.fw-prezzo .fw-prezzo-ferma { font-size: 16px; line-height: 1.6; margin: 20px 0 20px; padding-top: 18px; border-top: 1px solid #3A4A59; }
.fw-prezzo .fw-prezzo-ferma strong { color: #C8A46A; font-weight: 600; }
.fw-prezzo .fw-prezzo-btn > .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border-radius: 999px; background: #C8A46A; color: #22313F; font-weight: 600; font-size: 16px; text-decoration: none; transition: background-color .2s, transform .2s; }
.fw-prezzo .fw-prezzo-btn > .wp-block-button__link:hover { background: #D6B67F; transform: translateY(-2px); }
.fw-prezzo .fw-prezzo-link { margin-top: 18px; font-size: 15px; }
.fw-prezzo .fw-prezzo-link a { color: #DDE3E6; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #C8A46A; }
