@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-200.ttf") format("truetype");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-300.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Josefin Sans";
  src: url("/assets/fonts/josefin-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-300.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("/assets/fonts/lato-900.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-300.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/assets/fonts/poppins-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Dancing Script";
  src: url("/assets/fonts/dancing-script-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

:root {
  --blue: #004d78;
  --blue-light: #1d70b7;
  --orange: #e15124;
  --text: #54595f;
  --container: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Lato", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only,
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  background: #fff;
  color: #000;
  padding: 10px 14px;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  color: #fff;
  background: var(--blue);
}

.topbar {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid #0368a0;
  background: var(--blue);
}

.topbar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
}

.topbar__items > * {
  padding-inline: 11px;
  line-height: 16px;
  text-decoration: none;
}

.topbar__items > * + * {
  border-left: 1px solid rgba(255, 255, 255, 0.9);
}

.mainbar {
  height: 94px;
  background: var(--blue);
}

.mainbar__inner {
  position: relative;
  width: min(var(--container), calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.elba-logo {
  width: 92px;
  justify-self: start;
}

.elba-logo img {
  width: 100%;
}

.navigation {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 39px;
  height: 100%;
}

.navigation a {
  display: flex;
  align-items: center;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 180ms ease;
}

.navigation a:hover,
.navigation a:focus-visible {
  opacity: 0.68;
}

.contact-trigger {
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.contact-trigger--desktop {
  width: 180px;
  min-height: 40px;
  justify-self: end;
}

.contact-trigger--mobile,
.menu-toggle {
  display: none;
}

.home-hero {
  position: relative;
  box-sizing: content-box;
  min-height: 80vh;
  height: auto;
  margin-top: -95px;
  padding-bottom: 50px;
  color: #fff;
  background: url("/assets/images/bastia-hero.jpg") center center / cover no-repeat;
}

.home-hero__overlay,
.aldilonda-banner__overlay,
.ownership-section__overlay,
.legacy-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero__overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.36) 86%);
  mix-blend-mode: multiply;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.home-hero h1 {
  max-width: 1080px;
  margin: 0;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 80px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero p {
  margin: 22px 0 0;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 25px;
  font-weight: 200;
  text-transform: uppercase;
}

.program-section,
.prestations-section {
  display: grid;
  align-items: center;
}

.program-section {
  grid-template-columns: 70fr 30fr;
  padding-block: 100px;
}

.program-visual img,
.prestations-visual img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center right;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.program-copy {
  position: relative;
  z-index: 1;
  padding: 30px 0 30px 50px;
  background: #fff;
}

.program-copy h2,
.prestations-copy h2 {
  margin: 0;
  color: #000;
  font-family: "Josefin Sans", sans-serif;
  font-size: 35px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.program-copy h2 span,
.prestations-copy h2 span {
  display: block;
}

.program-copy p {
  margin: 15px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  text-align: justify;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 10px 24px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: var(--blue);
  font-family: "Josefin Sans", sans-serif;
  font-size: 15px;
  text-decoration: none;
}

.prestations-section {
  grid-template-columns: 30fr 70fr;
  padding-bottom: 100px;
}

.prestations-copy {
  position: relative;
  z-index: 1;
  padding: 30px 50px 30px 0;
  background: #fff;
}

.prestations-copy ul,
.surroundings-copy ul {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.prestations-copy li,
.surroundings-copy li {
  padding: 14px 0;
  border-bottom: 1px solid #ccc;
  color: #000;
  font-weight: 300;
}

.prestations-copy li:last-child,
.surroundings-copy li:last-child {
  border-bottom: 0;
}

.aldilonda-banner {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  background: url("/assets/images/aldilonda.jpg") center center / cover no-repeat;
}

.aldilonda-banner__overlay {
  background: rgba(0, 0, 0, 0.4);
  mix-blend-mode: multiply;
}

.aldilonda-banner h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: "Dancing Script", cursive;
  font-size: 80px;
  font-weight: 500;
  letter-spacing: 1px;
  text-align: center;
}

.surroundings-heading {
  min-height: 68px;
  display: flex;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 40px;
}

.surroundings-heading h2 {
  margin: 0;
  color: #000;
  font-family: "Josefin Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.surroundings-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding-bottom: 70px;
}

.surroundings-copy {
  padding: 20px 20px 20px 10px;
}

.surroundings-copy img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

.surroundings-copy ul {
  margin-top: 20px;
}

.surroundings-copy li {
  padding: 16px 0;
}

.map-wrap {
  overflow: hidden;
  border-radius: 10px;
  min-height: 620px;
}

.map-wrap iframe {
  width: 100%;
  height: 620px;
  border: 0;
}

.ownership-section {
  position: relative;
  color: #fff;
  background-color: var(--blue-light);
  background-image: url("/assets/images/primo-accedants.jpg");
  background-position: 0 0;
  background-repeat: repeat;
  background-size: auto;
}

.ownership-section__overlay {
  background: rgba(0, 77, 120, 0.5);
}

.ownership-section__content {
  position: relative;
  z-index: 1;
  padding: 100px 0 130px;
}

.ownership-section h2 {
  margin: 0;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.ownership-subtitle {
  margin: 22px 0 0;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.advantages {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 27px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.advantages li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 300;
}

.advantages svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.lots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px 0;
  margin-top: 100px;
}

.lot {
  min-width: 0;
  padding: 20px;
  border-left: 3px solid #fff;
}

.lot h3 {
  margin: 0;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lot__monthly {
  margin: 5px 0 0;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lot__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 35px;
  margin-top: 25px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.lot__meta a {
  color: #fff;
  text-decoration: none;
}

.lot__meta a:hover,
.lot__meta a:focus-visible {
  text-decoration: underline;
}

.financing-note {
  max-width: 1090px;
  margin: 80px 0 0;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.site-footer {
  min-height: 304px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 20px 28px;
  background: #fff;
}

.footer-logo {
  width: 200px;
}

.social-links {
  display: flex;
  gap: 6px;
  margin-top: 20px;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  transition: transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-4px);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.copyright {
  margin: 48px 0 0;
  color: #3d4459;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.legal-links {
  display: flex;
  gap: 22px;
  margin-top: 22px;
}

.legal-links a {
  color: #7a7a7a;
  font-family: "Poppins", sans-serif;
  font-size: 10px;
  font-weight: 300;
  text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: var(--blue);
}

.contact-modal {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 250ms ease, visibility 250ms ease;
}

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(48, 48, 48, 0.8);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: 70vw;
  height: 80vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  color: #fff;
  background: var(--blue-light);
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
  transform: scale(0.92);
  transition: transform 300ms ease;
}

.contact-modal.is-open .contact-modal__dialog {
  transform: scale(1);
}

.contact-modal__form-panel {
  position: relative;
  overflow-y: auto;
  padding: 72px 50px 35px;
  background: var(--blue-light);
}

.contact-modal__image {
  background: #e9e9e9 url("/assets/images/interieur-elba.jpg") center center / cover no-repeat;
}

.contact-modal__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(0, 77, 120, 0.65);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.netlify-form--modal {
  display: grid;
  gap: 10px;
}

.netlify-form--modal > input,
.netlify-form--modal > textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 16px;
  border: 0;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.netlify-form--modal > textarea {
  min-height: 90px;
  resize: vertical;
}

.netlify-form--modal > input::placeholder,
.netlify-form--modal > textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.netlify-form--modal > input:focus,
.netlify-form--modal > textarea:focus {
  border-bottom-width: 2px;
}

.acceptance {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 5px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.acceptance input {
  flex: 0 0 auto;
  margin: 4px 0 0;
}

.form-submit {
  border: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.form-submit--light {
  width: max-content;
  min-width: 119px;
  min-height: 40px;
  margin-top: 2px;
  padding: 10px 24px;
  color: #000;
  background: #fff;
  font-family: "Lato", sans-serif;
  font-size: 14px;
}

.contact-modal h2,
.contact-modal h3 {
  margin: 18px 0 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
}

.contact-modal h2 {
  max-width: 340px;
  margin-top: 70px;
  font-size: 30px;
}

.contact-modal h3 {
  margin-top: 38px;
  font-size: 20px;
}

.contact-details {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-details svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  fill: #fff;
}

.form-status {
  margin: 4px 0 0;
  font-size: 13px;
}

.cookie-panel {
  position: fixed;
  z-index: 9500;
  left: 10px;
  bottom: 10px;
  width: min(526px, calc(100% - 20px));
  padding: 20px;
  color: #202020;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
}

.cookie-panel[hidden] {
  display: none;
}

.cookie-panel > p {
  margin: 0 0 10px;
  font-size: 12px;
}

.cookie-panel > a {
  display: block;
  width: max-content;
  margin: 15px auto 0;
  color: #333;
  font-size: 12px;
}

.cookie-preferences {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
}

.cookie-preferences[hidden] {
  display: none;
}

.cookie-row {
  min-height: 45px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  background: #f3f3f3;
  font-size: 14px;
}

.cookie-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-always {
  color: green;
  font-size: 12px;
}

.cookie-switch {
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #ff7130;
}

.cookie-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transition: transform 160ms ease;
}

.cookie-row input:checked + .cookie-switch::after {
  transform: translateX(12px);
}

.cookie-chevron {
  font-size: 20px;
  line-height: 1;
}

.cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cookie-actions button {
  min-height: 45px;
  padding: 8px 10px;
  border: 0;
  color: #0e729e;
  background: #f3f3f3;
  cursor: pointer;
}

.cookie-actions button:first-child {
  color: #fff;
  background: #257fa7;
}

.cookie-actions .cookie-preferences-button,
.cookie-actions .cookie-save-button {
  border: 1px solid #257fa7;
  background: #fff;
}

.cookie-actions .cookie-save-button {
  grid-column: span 1;
}

.manage-consent {
  position: fixed;
  z-index: 8000;
  left: 40px;
  bottom: 40px;
  padding: 16px;
  border: 0;
  background: #fff;
  color: #222;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.manage-consent[hidden] {
  display: none;
}

.reveal {
  opacity: 0;
  transition:
    opacity 700ms ease var(--reveal-delay, 0ms),
    transform 700ms ease var(--reveal-delay, 0ms);
}

.reveal--up {
  transform: translateY(48px);
}

.reveal--down {
  transform: translateY(-48px);
}

.reveal--left {
  transform: translateX(-48px);
}

.reveal--bounce {
  transform: translateY(65px) scale(0.96);
  transition-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.legal-page {
  min-height: 520px;
  padding-top: 10px;
  padding-bottom: 50px;
}

.legal-page > h1 {
  margin: 0 0 14px;
  color: #373737;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

.legal-content {
  color: #373737;
  font-size: 16px;
  line-height: 1.45;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content a {
  color: #ed2459;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
  color: #222;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
}

.legal-content td,
.legal-content th {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.legal-content .cmplz-category,
.legal-content .cmplz-service-header {
  margin-top: 18px;
  padding: 12px;
  background: #f5f5f5;
}

.legacy-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: #b8b8b8;
}

.legacy-hero__overlay {
  background: rgba(0, 0, 0, 0.03);
}

.legacy-hero .container {
  position: relative;
  z-index: 1;
}

.legacy-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 60px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.05;
  text-transform: uppercase;
}

.legacy-hero--contact h1 {
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.legacy-script {
  margin: 0;
  color: #fff;
  font-family: "Dancing Script", cursive;
  font-size: 25px;
}

.legacy-accent {
  width: 28px;
  height: 2px;
  display: block;
  margin: 30px 0 22px;
  background: var(--orange);
}

.realizations-section {
  padding: 150px 0 50px;
  background: #fbfbfb;
}

.realizations-title {
  margin: 0;
  color: #000;
  font-size: 50px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 0.95;
  text-transform: uppercase;
}

.legacy-programs {
  margin-top: 30px;
}

.legacy-program {
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 30px 0 20px;
}

.legacy-program__copy h2 {
  margin: 0;
  color: #444;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legacy-program__copy h3 {
  margin: 8px 0 0;
  color: var(--orange);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legacy-program__copy p {
  max-width: 520px;
  margin: 20px 0 0;
  color: #000;
  font-size: 12px;
  line-height: 1.5;
  text-align: justify;
}

.brandizi-callout {
  min-height: 600px;
  padding: 150px 0 100px;
}

.brandizi-card {
  width: 380px;
  padding: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.brandizi-card h2 {
  margin: 0;
  padding: 15px 0 15px 20px;
  border-left: 3px solid var(--orange);
  color: #000;
  font-size: 35px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 0.95;
  text-transform: uppercase;
}

.brandizi-card h2 strong {
  font-weight: 500;
}

.brandizi-card a {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 10px;
  margin-top: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #000;
  color: #000;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-page-section {
  padding-block: 100px;
}

.contact-page-section > h2 {
  margin: 0;
  padding: 15px 0 15px 15px;
  border-left: 5px solid var(--orange);
  color: #000;
  font-size: 35px;
  font-weight: 400;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 62fr 38fr;
  gap: 70px;
  align-items: center;
  margin-top: 25px;
}

.netlify-form--page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.netlify-form--page input,
.netlify-form--page textarea {
  width: 100%;
  padding: 10px 15px;
  border: 0;
  border-bottom: 1px solid #6e7480;
  border-radius: 0;
  color: #000;
  background: #fff;
  font-size: 15px;
  font-weight: 300;
  outline: none;
}

.netlify-form--page input:focus,
.netlify-form--page textarea:focus {
  border-color: var(--orange);
}

.contact-page-message {
  grid-column: 1 / -1;
}

.netlify-form--page button {
  grid-column: 2;
  min-height: 46px;
  padding: 15px 45px;
  border: 0;
  color: #fff;
  background: #000;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.netlify-form--page button:hover,
.netlify-form--page button:focus-visible {
  background: var(--orange);
}

.netlify-form--page .form-status {
  grid-column: 1 / -1;
}

.contact-card {
  padding: 40px 30px;
  color: #fff;
  background: var(--orange);
}

.contact-card__phone-icon {
  color: #fff;
  font-size: 60px;
  line-height: 0.8;
  text-align: center;
}

.contact-card h3 {
  margin: 20px 0 35px;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  text-align: center;
}

.contact-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 15px;
  font-weight: 200;
  line-height: 1.2;
}

.contact-card p strong {
  color: #fff;
}

.thanks-page {
  min-height: 520px;
  padding-block: 110px;
}

.thanks-page h1 {
  margin: 0;
  color: #000;
  font-family: "Josefin Sans", sans-serif;
  font-size: 50px;
  text-transform: uppercase;
}

.thanks-page p {
  max-width: 600px;
}

@media (max-width: 1024px) {
  .home-hero h1 {
    font-size: 50px;
  }

  .program-section,
  .prestations-section {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .program-visual,
  .prestations-visual {
    padding-block: 150px;
  }

  .program-copy,
  .prestations-copy {
    padding: 70px;
  }

  .contact-modal__dialog {
    width: 86vw;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 20px);
  }

  .topbar {
    display: none;
  }

  .mainbar {
    height: 75px;
  }

  .mainbar__inner {
    width: 100%;
    grid-template-columns: 1fr auto 1fr;
    padding-inline: 20px;
  }

  .elba-logo {
    width: 78px;
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 3px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 23px;
    height: 3px;
    display: block;
    border-radius: 2px;
    background: #0d0d0d;
    transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span {
    background: #e74b20;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .navigation {
    position: absolute;
    z-index: 1;
    top: 75px;
    left: 0;
    right: 0;
    height: auto;
    display: grid;
    gap: 0;
    overflow: hidden;
    background: #f2f2f2;
    max-height: 0;
    visibility: hidden;
    transition: max-height 220ms ease, visibility 220ms ease;
  }

  .navigation.is-open {
    max-height: 150px;
    visibility: visible;
  }

  .navigation a {
    min-height: 40px;
    justify-content: center;
    color: #000;
    font-size: 14px;
  }

  .contact-trigger--desktop {
    display: none;
  }

  .contact-trigger--mobile {
    min-width: 127px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-self: end;
  }

  .contact-trigger--mobile svg {
    width: 12px;
    height: 12px;
    fill: #fff;
  }

  .home-hero {
    min-height: 60vh;
    height: auto;
    margin-top: -82px;
    padding-bottom: 50px;
    background-position: center center;
  }

  .home-hero__content {
    width: calc(100% - 20px);
    min-height: 60vh;
    padding-bottom: 0;
  }

  .home-hero h1 {
    font-size: 28px;
  }

  .home-hero p {
    margin-top: 22px;
    font-size: 17px;
  }

  .program-section,
  .prestations-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 50px 0;
  }

  .program-copy,
  .prestations-copy {
    width: 100%;
    order: 1;
    padding: 25px;
  }

  .program-visual,
  .prestations-visual {
    width: 100%;
    order: 2;
    padding: 10px;
  }

  .program-copy h2,
  .prestations-copy h2 {
    font-size: 25px;
  }

  .program-copy p {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.45;
  }

  .primary-button {
    margin-top: 20px;
  }

  .program-visual img {
    height: 250px;
  }

  .prestations-section {
    padding-top: 0;
  }

  .prestations-copy ul {
    margin-top: 20px;
  }

  .prestations-copy li {
    padding: 16px 0;
  }

  .prestations-visual img {
    height: 300px;
  }

  .aldilonda-banner {
    min-height: 480px;
  }

  .aldilonda-banner h2 {
    font-size: 25px;
  }

  .surroundings-heading {
    min-height: 0;
    margin: 0;
    padding: 80px 0 40px;
  }

  .surroundings-heading h2 {
    font-size: 25px;
    white-space: nowrap;
  }

  .surroundings-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 70px;
  }

  .surroundings-copy {
    padding: 0 10px 40px;
  }

  .surroundings-copy li {
    padding: 16px 0;
  }

  .surroundings-copy ul {
    margin-top: 0;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 300px;
    height: 300px;
  }

  .ownership-section__content {
    width: 100%;
    padding: 100px 10px 70px;
  }

  .ownership-section h2 {
    font-size: 25px;
  }

  .ownership-subtitle {
    font-size: 20px;
  }

  .advantages {
    display: grid;
    gap: 4px;
  }

  .advantages li {
    gap: 12px;
  }

  .lots-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 100px;
  }

  .lot {
    margin-bottom: 20px;
    padding: 20px;
  }

  .lot h3 {
    font-size: 25px;
  }

  .lot__monthly {
    font-size: 20px;
  }

  .lot__meta {
    gap: 7px 35px;
    margin-top: 25px;
  }

  .financing-note {
    margin-top: 70px;
    padding-inline: 10px;
    font-size: 20px;
    line-height: 1.35;
  }

  .site-footer {
    min-height: 0;
    padding: 60px 20px 8px;
  }

  .footer-logo {
    width: 210px;
  }

  .social-links {
    margin-top: 20px;
  }

  .copyright {
    margin-top: 52px;
  }

  .legal-links {
    gap: 17px;
    margin-top: 24px;
  }

  .legal-links a {
    font-size: 10px;
  }

  .contact-modal__dialog {
    width: 70vw;
    height: 80vh;
    display: block;
    overflow-y: auto;
  }

  .contact-modal__image {
    display: none;
  }

  .contact-modal__form-panel {
    min-height: 100%;
    overflow: visible;
    padding: 35px 20px 20px;
  }

  .contact-modal__close {
    display: none;
  }

  .contact-modal h2 {
    max-width: 240px;
    margin-top: 70px;
    font-size: 20px;
  }

  .contact-modal h3 {
    margin-top: 24px;
    font-size: 20px;
  }

  .contact-details {
    font-size: 14px;
  }

  .cookie-panel {
    left: 10px;
    bottom: 10px;
    padding: 15px;
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions .cookie-preferences-button,
  .cookie-actions .cookie-save-button {
    grid-column: 1 / -1;
  }

  .manage-consent {
    left: 15px;
    bottom: 15px;
  }

  .legal-page {
    padding-top: 22px;
  }

  .legal-page > h1 {
    font-size: 34px;
  }

  .legal-content {
    font-size: 15px;
  }

  .legacy-hero {
    min-height: 400px;
  }

  .legacy-hero h1 {
    font-size: 33px;
  }

  .legacy-hero--contact h1 {
    font-size: 50px;
  }

  .legacy-script {
    font-size: 18px;
  }

  .realizations-section {
    padding-top: 50px;
  }

  .realizations-title {
    font-size: 33px;
  }

  .legacy-program {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 40px;
  }

  .legacy-program__image {
    display: none;
  }

  .brandizi-callout {
    min-height: 450px;
    padding-block: 80px;
  }

  .brandizi-card {
    width: 100%;
    max-width: 380px;
    padding: 40px;
  }

  .brandizi-card h2 {
    font-size: 25px;
  }

  .contact-page-section {
    padding: 50px 10px;
  }

  .contact-page-section > h2 {
    font-size: 35px;
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .netlify-form--page {
    grid-template-columns: 1fr;
  }

  .contact-page-message,
  .netlify-form--page button {
    grid-column: 1;
  }

  .netlify-form--page button {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
