/* Stili specifici della pagina privacy.html */

/* ── Variables & Reset ── */

:root {
      --terracotta:       #B05A36;
      --terracotta-light: #C97A55;
      --terracotta-dark:  #8C4828;
      --cream:            #FEF9EF;
      --sand:             #F3ECDF;
      --dark:             #2A2B2F;
      --muted:            rgba(42,43,47,.75);
      --border:           rgba(42,43,47,.3);
      --font-display: 'Playfair Display', Georgia, serif;
      --font-body:    'Lato', Arial, sans-serif;
      --font-italic:  'Playfair Display', Georgia, serif;
      --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    }

body { font-family: var(--font-body); font-weight: 400; color: #2A2B2F; background: var(--cream); line-height: 1.7; overflow-x: hidden; }

/* ── Navbar ── */

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }

.nav-cta {
      background: var(--terracotta); color: var(--cream) !important;
      padding: 9px 20px; border-radius: 100px; font-size: 13px; font-weight: 600;
      letter-spacing: .03em; white-space: nowrap; transition: background .2s;
    }

.nav-submenu a {
      display: flex; align-items: center; gap: 10px; padding: 10px 14px;
      font-size: 13px; font-weight: 500; color: var(--dark); border-radius: 10px;
      text-decoration: none; white-space: nowrap; transition: background .15s;
      letter-spacing: .01em; text-transform: none;
    }

.nav-submenu-divider { height: 1px; background: var(--border); margin: 6px 8px; opacity: .4; }

/* ── Buttons ── */

.btn-primary {
      background: var(--terracotta); color: var(--cream); padding: 14px 28px;
      border-radius: 100px; font-size: 16px; font-weight: 600; letter-spacing: .04em;
      display: inline-block; transition: background .2s, transform .2s;
    }

.btn-ghost {
      font-size: 16px; font-weight: 500; color: var(--dark);
      display: inline-flex; align-items: center; gap: 6px; transition: opacity .2s, gap .2s;
    }

.btn-ghost:hover { opacity: .6; gap: 10px; }

/* ── Eyebrow ── */

.section-title em { font-family: var(--font-italic); font-style: italic; font-weight: 400; color: var(--terracotta); }

/* ═══════════════════════════════════════
       HERO — due colonne (invariato)
    ═══════════════════════════════════════ */

.hero-left {
      display: flex; flex-direction: column; justify-content: center;
      padding: 120px 56px 72px 48px; gap: 28px;
    }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.hero-tag {
      display: inline-flex; align-items: center; gap: 8px;
      border: 1px solid var(--border); border-radius: 100px;
      padding: 6px 14px 6px 10px; font-size: 14px; font-weight: 500;
      letter-spacing: .06em; color: var(--dark); background: #fff;
    }

.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); flex-shrink: 0; }

.hero-headline {
      font-family: var(--font-display); font-weight: 500;
      font-size: clamp(40px, 4.2vw, 68px); line-height: 1.08; letter-spacing: -.02em; color: var(--dark);
    }

.hero-headline em { font-family: var(--font-italic); font-style: italic; font-weight: 400; color: var(--terracotta); }

.hero-sub { font-size: 22px; color: #2A2B2F; line-height: 1.6; max-width: 520px; }

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-img-fill { position: absolute; inset: 0; overflow: hidden; }

.hero-img-fill img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ═══════════════════════════════════════
       A1 — INTRO a due colonne con foto grande
    ═══════════════════════════════════════ */

.intro-split {
      display: grid; grid-template-columns: 1fr 1fr;
      background: #fff;
    }

/* foto a sinistra, testo a destra */

.intro-img-col  { order: 1; }

.intro-text-col { order: 2; }

.intro-text-col {
      padding: 125px 80px 125px 72px;
      display: flex; flex-direction: column; justify-content: center;
    }

.intro-body {
      font-size: 19px; line-height: 1.9; color: #2A2B2F; margin-top: 24px;
    }

.intro-body p + p { margin-top: 22px; }

.intro-body strong { font-weight: 700; }

.intro-stats {
      display: flex; gap: 48px; margin-top: 0;
      padding-top: 48px;
    }

.intro-stat-num {
      font-family: var(--font-display); font-size: 52px; font-weight: 500;
      line-height: 1; color: var(--terracotta); letter-spacing: -.02em;
    }

.intro-stat-label { font-size: 16px; color: var(--muted); margin-top: 6px; line-height: 1.4; max-width: 100px; }

/* foto: non più fill assoluto ma immagine con padding e bordi arrotondati */

.intro-img-col {
      display: flex; align-items: center; justify-content: center;
      padding: 48px 40px 48px 56px;
      background: #fff;
    }

.intro-img-col img {
      width: 100%; height: 100%;
      max-height: 680px;
      object-fit: cover; object-position: center;
      border-radius: 28px;
    }

/* ═══════════════════════════════════════
       A2 — FRASE FORTE su sfondo scuro
    ═══════════════════════════════════════ */

.pullquote-dark {
      background: var(--dark);
      padding: 120px 80px;
      display: flex; flex-direction: column; align-items: center;
      text-align: center; gap: 0;
    }

.pullquote-text {
      font-family: var(--font-italic); font-style: italic;
      font-size: clamp(28px, 3.5vw, 52px);
      line-height: 1.25; letter-spacing: -.025em;
      color: var(--cream); max-width: 860px;
      margin-bottom: 40px;
    }

.pullquote-author {
      font-size: 15px; font-weight: 600; letter-spacing: .12em;
      text-transform: uppercase; color: var(--terracotta-light);
    }

/* ═══════════════════════════════════════
       A3 — TIMELINE + IMMAGINE STICKY
    ═══════════════════════════════════════ */

.timeline-img-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--sand);
      align-items: stretch;
    }

/* Colonna sinistra — timeline scrollabile */

.timeline-col {
      padding: 100px 80px 100px 80px;
    }

.timeline-inner { }

.timeline-header {
      display: flex; flex-direction: column;
      gap: 20px; margin-bottom: 72px;
    }

.timeline-header-desc {
      font-size: 18px; line-height: 1.8; color: #2A2B2F;
    }

.timeline {
      display: flex; flex-direction: column; gap: 0;
    }

.timeline-item {
      display: grid;
      grid-template-columns: 80px 1px 1fr;
      gap: 0 32px;
      align-items: start;
    }

.timeline-year {
      font-family: var(--font-display);
      font-size: 30px; font-weight: 500;
      color: var(--terracotta);
      letter-spacing: -.02em;
      padding-top: 4px;
      text-align: right;
    }

.timeline-line-col {
      display: flex; flex-direction: column; align-items: center;
    }

.timeline-dot {
      width: 12px; height: 12px; border-radius: 50%;
      background: var(--terracotta);
      flex-shrink: 0; margin-top: 8px; z-index: 1;
    }

.timeline-connector {
      flex: 1; width: 1px;
      background: rgba(176,90,54,.25);
      min-height: 60px;
    }

.timeline-item:last-child .timeline-connector { display: none; }

.timeline-content { padding: 0 0 56px 0; }

.timeline-tag {
      display: inline-block;
      font-size: 12px; font-weight: 700; letter-spacing: .12em;
      text-transform: uppercase; color: var(--terracotta);
      background: rgba(176,90,54,.1);
      border-radius: 100px; padding: 3px 10px;
      margin-bottom: 10px;
    }

.timeline-title {
      font-family: var(--font-display);
      font-size: 24px; font-weight: 500;
      line-height: 1.2; letter-spacing: -.02em;
      color: var(--dark); margin-bottom: 10px;
    }

.timeline-desc {
      font-size: 18px; line-height: 1.75; color: #2A2B2F;
    }

/* Colonna destra — immagine sticky */

.timeline-img-col {
      position: sticky;
      top: 0;
      height: 100vh;
      overflow: hidden;
      align-self: start;
    }

.timeline-img-sticky {
      width: 100%; height: 100%;
      padding: 125px 80px 125px 32px;
      display: flex; align-items: center; justify-content: center;
    }

.timeline-img-sticky img {
      width: 100%; height: 100%;
      max-height: 680px;
      object-fit: cover; object-position: center;
      border-radius: 28px;
    }

/* ═══════════════════════════════════════
       VALORI — stile card aree home
    ═══════════════════════════════════════ */

.valori-section {
      background: #fef9f0;
      padding: 120px 80px;
    }

.valori-header {
      display: flex; flex-direction: column; align-items: center;
      text-align: center; margin-bottom: 80px;
    }

.valori-grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

.valore-item {
      display: flex; flex-direction: column; justify-content: space-between;
      padding: 45px; min-height: 260px;
      background: var(--sand); border-radius: 20px;
    }

.valore-icon {
      width: 62px; height: 62px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: var(--terracotta); font-size: 30px;
      background: var(--sand);
      mix-blend-mode: multiply;
    }

.valore-body { margin-top: auto; padding-top: 32px; }

.valore-title {
      font-family: var(--font-display);
      font-size: 22px; font-weight: 500; line-height: 1.2;
      letter-spacing: -.01em; color: var(--dark); margin-bottom: 10px;
    }

.valore-desc { font-size: 16px; line-height: 1.65; color: #2A2B2F; }

/* ── Footer ── */

.site-footer { background: var(--dark); color: var(--cream); margin-top: 0; }

.footer-top {
      display: grid; grid-template-columns: 1fr 1fr;
      border-bottom: 1px solid rgba(254,249,239,.08);
    }

.footer-top-title em { font-family: var(--font-italic); font-style: italic; font-weight: 400; color: var(--terracotta-light); }

.footer-nl-input {
      flex: 1; min-width: 160px; padding: 12px 16px;
      background: rgba(254,249,239,.07); border: 1px solid rgba(254,249,239,.12);
      border-radius: 10px; font-family: var(--font-body); font-size: 18px;
      color: var(--cream); outline: none; transition: border-color .2s;
    }

.footer-resources-title em { font-family: var(--font-italic); font-style: italic; font-weight: 400; color: var(--terracotta-light); }

.footer-resources-cta {
      display: inline-flex; align-items: center; gap: 8px; font-size: 18px;
      font-weight: 600; color: var(--terracotta-light); text-decoration: none; transition: gap .2s;
    }

.footer-main {
      display: grid; grid-template-columns: 1fr 1fr; padding: 64px;
      border-bottom: 1px solid rgba(254,249,239,.08);
    }

.footer-address a { font-size: 16px; color: rgba(254,249,239,.55); text-decoration: none; transition: color .2s; }

/* Tooltip icone social */

.footer-socials-row { display: flex; gap: 10px; }

.footer-social-circle {
      width: 38px; height: 38px; border-radius: 50%; background: rgba(254,249,239,.07);
      display: flex; align-items: center; justify-content: center;
      color: rgba(254,249,239,.5); font-size: 20px; text-decoration: none;
      transition: background .2s, color .2s;
    }

.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-left: 64px; align-content: start; }

.footer-col-title { font-size: 22px; font-weight: 700; color: rgba(254,249,239,.28); margin-bottom: 16px; }

.footer-col ul { display: flex; flex-direction: column; gap: 11px; }

.footer-col a { font-size: 14px; color: rgba(254,249,239,.55); text-decoration: none; transition: color .2s; }

.footer-legal-row a { font-size: 14px; color: rgba(254,249,239,.55); text-decoration: none; transition: color .2s; }

/* ── Reveal ── */

.reveal { opacity: 1; transform: translateY(0); }

.reveal-delay-1.will-animate.visible { animation-delay: .1s; }

.reveal-delay-2.will-animate.visible { animation-delay: .2s; }

.reveal-delay-3.will-animate.visible { animation-delay: .3s; }

/* ── Responsive ── */

@media (max-width: 1100px) {
      .navbar { padding: 0 20px; width: calc(100% - 32px); }
      .nav-links { display: none; } .nav-login { display: none; }
      .nav-hamburger { display: flex; }
      .hero { grid-template-columns: 1fr; min-height: auto; }
      .hero-left { padding: 100px 24px 56px; }
      .hero-right { min-height: 440px; border-bottom-left-radius: 0; }
      .intro-split { grid-template-columns: 1fr; }
      .intro-img-col { order: 1; padding: 32px 24px 0; }
      .intro-img-col img { max-height: 400px; border-radius: 20px; }
      .intro-text-col { order: 2; padding: 48px 24px 64px; }
      .pullquote-dark { padding: 72px 24px; }
      .discipline-header-row { padding: 72px 24px 40px; flex-direction: column; }
      .disc-row { grid-template-columns: 1fr; min-height: auto; }
      .disc-row--flip .disc-img { order: 0; } .disc-row--flip .disc-text { order: 0; }
      .disc-img { min-height: 300px; }
      .disc-text { padding: 56px 24px; }
      .disc-row--flip .disc-text { padding: 56px 24px; }
      .timeline-img-wrap { grid-template-columns: 1fr; }
      .timeline-col { padding: 72px 24px; }
      .timeline-img-col { position: static; height: auto; }
      .timeline-img-sticky { padding: 0 24px 48px; height: 360px; }
      .timeline-img-sticky img { max-height: 360px; }
      .timeline-item { grid-template-columns: 60px 1px 1fr; gap: 0 20px; }
      .timeline-year { font-size: 16px; }
      .valori-form-section { grid-template-columns: 1fr; padding: 72px 24px; }
      .cta-img-section { width: calc(100% - 32px); border-radius: 24px; }
      .cta-img-content { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
      .cta-img-actions { align-items: flex-start; }
      .cta-img-sub { text-align: left; }
      .footer-top { grid-template-columns: 1fr; }
      .footer-top-left { border-right: none; border-bottom: 1px solid rgba(254,249,239,.08); }
      .footer-main { grid-template-columns: 1fr; padding: 48px 24px; }
      .footer-brand { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(254,249,239,.08); padding-bottom: 48px; }
      .footer-links-grid { padding-left: 0; grid-template-columns: 1fr 1fr; }
      .footer-bottom-bar { padding: 24px; }
    }

/* ── MOBILE FIX globale ── */

@media (max-width: 1100px) {
      .process-twocol { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px; }
      .ptc-right { position: static; padding: 0 0 24px; }
      .proc-c-step { grid-template-columns: 1fr; gap: 8px; padding: 36px 0; }
      .proc-c-num { text-align: left; font-size: 64px; }
      .blog-social-section { grid-template-columns: 1fr; }
      .bss-social, .bss-news { padding: 72px 24px; }
      .bss-social { border-radius: 0 0 40px 40px; }
      .valori-section { padding: 72px 24px; }
      .valori-grid { grid-template-columns: 1fr 1fr; }
      .hero-img-section { width: calc(100% - 32px); border-radius: 28px; min-height: 70vh; margin: 16px auto 64px; }
      .hi-content { padding: 48px 24px; }
      .footer-main { grid-template-columns: 1fr; padding: 48px 24px; }
      .footer-brand { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(254,249,239,.08); padding-bottom: 48px; }
      .footer-links-grid { padding-left: 0; grid-template-columns: 1fr 1fr; }
    }

@media (max-width: 600px) {
      .navbar { padding: 0 14px; }
      .nav-logo img { height: 42px !important; }
      .nav-right { gap: 8px; }
      .nav-cta { padding: 8px 14px; }
      .footer-top-left, .footer-top-right { padding: 56px 24px 48px; }
      .footer-nl-input { min-width: 0; }
      .valori-grid { grid-template-columns: 1fr; }
      .valore-item { padding: 32px; min-height: 0; }
      .bss-news .blog-b-item { grid-template-columns: 1fr; }
      .footer-links-grid { grid-template-columns: 1fr; }
    }

/* ── MOBILE FIX globale 2 ── */

@media (max-width: 1100px) {
      .footer-top { grid-template-columns: 1fr; }
      .footer-top-left { border-right: none; border-bottom: 1px solid rgba(254,249,239,.08); }
      .process-twocol > *, .intro-split > *, .footer-top > *, .blog-social-section > * { min-width: 0; }
    }

@media (max-width: 600px) {
      .carousel-author { flex-wrap: wrap; }
      .intro-stats { flex-wrap: wrap; gap: 24px 32px; }
    }

/* ── VERSIONE TAMPONE ── */

@media (min-width: 1101px) and (max-width: 1200px) { .nav-links { gap: 14px; } .nav-links a { font-size: 12.5px; } .navbar { padding-left: 18px; } }

.footer-col a { font-size: 16px; }

@media (min-width: 1101px) { .footer-links-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── MENU MOBILE ── */

/* ── PAGINE LEGALI ── */

.legal-hero { padding: 168px 24px 56px; text-align: center; background: var(--cream); }

.legal-hero .section-title { margin-top: 10px; }

.legal-hero-sub { max-width: 680px; margin: 20px auto 0; font-size: 18px; line-height: 1.8; color: #2A2B2F; }

.legal-updated { margin-top: 14px; font-size: 14px; color: var(--muted); }

.legal-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px 120px; }

.legal-card { background: #fff; border: 1px solid rgba(42,43,47,.12); border-radius: 28px; padding: 56px 64px; }

.legal-toc { background: var(--sand); border-radius: 20px; padding: 28px 32px; margin-bottom: 48px; }

.legal-toc-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px; }

.legal-toc ol { list-style: decimal; padding-left: 20px; columns: 2; column-gap: 32px; }

.legal-toc li { font-size: 16px; line-height: 1.9; break-inside: avoid; }

.legal-toc a:hover { color: var(--terracotta); }

.legal-section { padding: 36px 0; border-top: 1px solid rgba(42,43,47,.1); scroll-margin-top: 110px; }

.legal-section:first-of-type { border-top: none; padding-top: 0; }

.legal-section h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.25; color: var(--dark); margin-bottom: 16px; }

.legal-section h2 span { color: var(--terracotta); font-style: italic; margin-right: 6px; }

.legal-section h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin: 24px 0 8px; }

.legal-section p, .legal-section li { font-size: 17px; line-height: 1.85; color: #2A2B2F; }

.legal-section p + p { margin-top: 14px; }

.legal-section ul { list-style: none; margin-top: 12px; }

.legal-section ul + p { margin-top: 25px; }

.legal-section ul li { position: relative; padding-left: 22px; margin-top: 8px; }

.legal-section ul li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }

.legal-section a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

.legal-box { background: var(--cream); border-left: 3px solid var(--terracotta); border-radius: 0 16px 16px 0; padding: 20px 24px; margin-top: 18px; }

.legal-data { margin: 12px 0 20px; }

.legal-data div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(42,43,47,.15); font-size: 17px; line-height: 1.7; }

.legal-data dt { font-weight: 700; }

.legal-data dd { margin: 0; }

@media (max-width: 1100px) { .legal-hero { padding: 130px 24px 40px; } }

@media (max-width: 700px) {
      .legal-card { padding: 32px 22px; border-radius: 20px; }
      .legal-toc { padding: 22px 22px; } .legal-toc ol { columns: 1; }
      .legal-section h2 { font-size: 23px; }
      .legal-section p, .legal-section li { font-size: 16px; }
      .legal-data div { grid-template-columns: 1fr; gap: 2px; }
      .legal-wrap { padding: 0 16px 80px; }
    }

/* ── RESPONSIVE FIX 3 ── */

@media (max-width: 1100px) { .hero-left { padding-top: 112px; } }

@media (max-width: 600px) { .hero-tags { display: none; } }

/* ── HEADER MOBILE: Contattami accanto all'hamburger ── */

/* ── HEADER SCHERMI STRETTI ── */

@media (max-width: 400px) {
      .navbar { padding: 0 12px; }
      .nav-logo img { height: 32px !important; }
      .nav-cta { padding: 7px 12px; font-size: 12px; }
      .nav-hamburger { margin-left: 8px; }
    }

@media (max-width: 340px) { .nav-logo img { height: 28px !important; } }

/* Pagina di cancellazione dalla newsletter */
.disiscrizione-form .form-msg { margin: 0 0 18px; }
.disiscrizione-form .btn-primary { margin-top: 26px; border: 0; cursor: pointer; font-family: inherit; }
.disiscrizione-form .btn-primary:disabled { opacity: .7; cursor: default; }
.disiscrizione-form .btn-primary[hidden] { display: none; }
.disiscrizione-annulla { margin-top: 18px !important; font-size: 15px !important; }
.disiscrizione-annulla a { color: var(--terracotta); text-decoration: underline; }

.disiscrizione-form { text-align: center; }
.disiscrizione-form .form-msg { text-align: left; }
