/* =====================================================
   FOODTRIPGO — CANDIDATURA BUSINESS
   CSS locale della pagina candidatura-/business/

   Ordine di caricamento:
   1. base.css
   2. business.css
   3. candidatura-business.css
===================================================== */


/* =====================================================
   ANCORE E NAVIGAZIONE FLOTTANTE
===================================================== */

.ftg-cand-page #candidatura,
.ftg-cand-page #target,
.ftg-cand-page #processo,
.ftg-cand-page #form,
.ftg-cand-page #whatsapp {
  scroll-margin-top: 150px;
}

.ftg-cand-page .business-floating-nav {
  top: 74px;
}

.ftg-cand-page .business-floating-nav-inner {
  padding: 7px 10px;
}

.ftg-cand-page .business-floating-nav a {
  padding: 7px 10px 9px;
  font-size: 0.74rem;
}


/* =====================================================
   HERO
===================================================== */

.ftg-cand-page .ftg-cand-hero .btn-outline {
  background: rgba(0, 0, 0, 0.78) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.ftg-cand-page .ftg-cand-hero .btn-outline:hover,
.ftg-cand-page .ftg-cand-hero .btn-outline:focus-visible {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #ffffff !important;
}


/* =====================================================
   POSIZIONAMENTO
===================================================== */

.ftg-cand-positioning {
  padding: 104px 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(219, 39, 39, 0.055),
      transparent 31%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf7f7 100%
    );
}

.ftg-cand-positioning .section-lead {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}


/* =====================================================
   TARGET
===================================================== */

.ftg-cand-target {
  padding: 92px 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(219, 39, 39, 0.065),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #f1eded 0%,
      #f8f5f5 100%
    );
}

.ftg-cand-target h2 {
  margin-bottom: 42px;
}

.ftg-cand-target .ftg-cand-grid {
  margin-top: 0;
}

.ftg-cand-target .section-lead {
  max-width: 760px;
  margin: 34px auto 0;
}


/* =====================================================
   PROCESSO
===================================================== */

.ftg-cand-process {
  padding: 92px 0;
  background:
    radial-gradient(
      circle at bottom left,
      rgba(219, 39, 39, 0.055),
      transparent 34%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #faf7f7 100%
    );
}

.ftg-cand-process h2 {
  margin-bottom: 46px;
}

.ftg-cand-process .travel-steps-grid {
  margin-top: 0;
}

.ftg-cand-process .travel-step-card {
  border-radius: var(--radius-b2b);
}


/* =====================================================
   SEZIONE MODULO
===================================================== */

.ftg-cand-form-section {
  padding: 86px 0 96px;
  background:
    radial-gradient(
      circle at top right,
      rgba(219, 39, 39, 0.075),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #f2eeee 0%,
      #faf8f8 100%
    );
}

.ftg-cand-form-section .container {
  width: min(94%, 1380px);
}


/* =====================================================
   MODULO + IMMAGINE — VERSIONE RIEQUILIBRATA
===================================================== */

.ftg-cand-form-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    290px;
  gap: 34px;
  align-items: start;
  width: 100%;
}


/* =====================================================
   IMMAGINE LATERALE
===================================================== */

.ftg-cand-side-image {
  display: block;
  width: 290px;
  min-width: 0;
  align-self: start;
}

.ftg-cand-side-image-box {
  position: relative;
  width: 100%;
  height: 500px;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius-b2b);
  background: #111111;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.1),
    0 8px 18px rgba(219, 39, 39, 0.045);
}

/* Accento verticale più discreto */

.ftg-cand-side-image-box::before {
  content: "";
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  z-index: 3;
  width: 3px;
  background:
    linear-gradient(
      180deg,
      #DB2727 0%,
      #9f1717 52%,
      #000000 100%
    );
}

/* Ombreggiatura molto leggera */

.ftg-cand-side-image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 45%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.ftg-cand-side-image-box img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* =====================================================
   STRUTTURA DEL FORM
===================================================== */

.ftg-cand-form {
  display: grid;
  gap: 18px;
}

.ftg-cand-form .form-grid {
  display: grid;
  gap: 18px;
}

.ftg-cand-form .form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ftg-cand-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ftg-cand-form label > span {
  color: #111111;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
}

.ftg-cand-form input,
.ftg-cand-form select,
.ftg-cand-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.13);
  border-radius: var(--radius-b2b);
  outline: none;
  background: #ffffff;
  color: #111111;
  font: inherit;
  line-height: 1.45;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.ftg-cand-form textarea {
  min-height: 140px;
  resize: vertical;
}

.ftg-cand-form input:hover,
.ftg-cand-form select:hover,
.ftg-cand-form textarea:hover {
  border-color: rgba(0, 0, 0, 0.22);
}

.ftg-cand-form input:focus,
.ftg-cand-form select:focus,
.ftg-cand-form textarea:focus {
  border-color: rgba(219, 39, 39, 0.58);
  box-shadow: 0 0 0 4px rgba(219, 39, 39, 0.1);
}

.ftg-cand-form input:invalid:not(:placeholder-shown),
.ftg-cand-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(219, 39, 39, 0.42);
}


/* =====================================================
   CONSENSO
===================================================== */

.ftg-cand-form .ftg-form-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-b2b);
  background: rgba(219, 39, 39, 0.035);
  border: 1px solid rgba(219, 39, 39, 0.14);
}

.ftg-cand-form .ftg-form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: var(--red);
}

.ftg-cand-form .ftg-form-consent > span {
  display: block;
  color: rgba(17, 17, 17, 0.82);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
}

.ftg-cand-form .ftg-form-consent a {
  color: var(--red);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* =====================================================
   INVIO E MESSAGGI
===================================================== */

.ftg-cand-form .ftg-form-submit {
  padding-top: 10px;
}

.ftg-cand-form .ftg-cand-form-note {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.ftg-cand-form .ftg-cand-form-timing,
.ftg-cand-form .ftg-form-submit > p:last-child {
  max-width: 700px;
  margin: 18px auto 0;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.9rem;
  line-height: 1.65;
}


/* =====================================================
   IMMAGINE LATERALE
===================================================== */

.ftg-cand-side-image {
  display: block;
  width: 100%;
  min-width: 0;
  align-self: stretch;
}

.ftg-cand-side-image-box {
  position: sticky;
  top: 122px;
  height: min(680px, calc(100vh - 150px));
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-b2b);
  background: #111111;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.13),
    0 10px 24px rgba(219, 39, 39, 0.07);
}

.ftg-cand-side-image-box::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  z-index: 3;
  width: 4px;
  background:
    linear-gradient(
      180deg,
      #DB2727 0%,
      #9f1717 48%,
      #000000 100%
    );
}

.ftg-cand-side-image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.01) 30%,
      rgba(0, 0, 0, 0.25) 100%
    );
}

.ftg-cand-side-image-box img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}


/* =====================================================
   CTA FINALE
===================================================== */

.ftg-cand-page .ftg-business-final-cta {
  padding: 86px 0;
}

.ftg-cand-page .ftg-business-final-cta-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.ftg-cand-page .ftg-business-final-cta h3 {
  margin: 0 0 26px;
  color: #ffffff;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.05;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1120px) {
  .ftg-cand-form-layout {
    grid-template-columns:
      minmax(0, 1fr)
      250px;
    gap: 26px;
  }

  .ftg-cand-form-wrap {
    padding: 32px 30px 38px;
  }

  .ftg-cand-side-image {
    width: 250px;
  }

  .ftg-cand-side-image-box {
    height: 440px;
  }
}


/* =====================================================
   TABLET VERTICALE / MOBILE GRANDE
===================================================== */

@media (max-width: 900px) {
  .ftg-cand-form-section .container {
    width: min(92%, 760px);
  }

  .ftg-cand-form-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .ftg-cand-side-image {
    width: 100%;
    order: -1;
  }

  .ftg-cand-side-image-box {
    width: 100%;
    height: 280px;
  }

  .ftg-cand-side-image-box img {
    object-position: center 52%;
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 760px) {
  .ftg-cand-positioning,
  .ftg-cand-target,
  .ftg-cand-process {
    padding: 68px 0;
  }

  .ftg-cand-form-section {
    padding: 64px 0 72px;
  }

  .ftg-cand-page .business-floating-nav {
    display: none;
  }

  .ftg-cand-form-wrap {
    padding: 28px 22px 32px;
  }

  .ftg-cand-form-wrap h2 {
    margin-bottom: 26px;
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .ftg-cand-form .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .ftg-cand-side-image-box {
    height: 330px;
  }

  .ftg-cand-form .ftg-form-consent {
    padding: 14px;
  }
}


/* =====================================================
   MOBILE PICCOLO
===================================================== */

@media (max-width: 480px) {
  .ftg-cand-form-section .container {
    width: min(94%, 460px);
  }

  .ftg-cand-form-wrap {
    padding: 25px 17px 28px;
  }

  .ftg-cand-form input,
  .ftg-cand-form select,
  .ftg-cand-form textarea {
    padding: 13px 14px;
  }

  .ftg-cand-side-image-box {
    height: 270px;
  }

  .ftg-cand-form .ftg-form-consent {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
  }

  .ftg-cand-form .ftg-form-consent > span {
    font-size: 0.82rem;
  }
}


/* =====================================================
   ACCESSIBILITÀ — RIDUZIONE MOVIMENTO
===================================================== */

@media (prefers-reduced-motion: reduce) {
  .ftg-cand-form input,
  .ftg-cand-form select,
  .ftg-cand-form textarea {
    transition: none;
  }
}

/* Nasconde sempre il campo antispam */
.ftg-cand-form input[hidden],
.ftg-cand-form input[name="honeypot"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}