/* Atelier Barleduc
   Palette e caratteri presi dalla copertina dell'atelier:
   cerchio bordeaux con anello nude, nome in graziato ad alto contrasto,
   slogan in bastoni geometrico.

   Due sole famiglie di caratteri:
   - Yeseva One per il nome e i titoli;
   - Josefin Sans per tutto il resto (testo, menù, pulsanti, etichette).
   Gli stili di testo sono quattro: titolo, testo, etichetta in maiuscolo
   spaziato, nota piccola. */

:root {
  --bordeaux: #5b1b32;
  --bordeaux-deep: #3f1022;
  --nude: #b5957f;
  --nude-light: #dccabb;
  --ivory: #faf5ec;
  --cream: #f1e7d6;
  --white: #fffdfa;
  --ink: #2e1c22;
  --ink-soft: #5c474d;

  --font-display: "Yeseva One", Georgia, "Times New Roman", serif;
  --font-body: "Josefin Sans", "Century Gothic", "Avenir Next", Arial, sans-serif;

  --text-size: 1.1875rem;
  --label-size: 0.84rem;
  --small-size: 1rem;

  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-size);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bordeaux);
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--bordeaux);
  color: var(--white);
}

.skip-link:focus {
  left: 0;
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}

/* Titoli: Yeseva One, il carattere del nome sulla copertina */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--bordeaux);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.6rem;
  line-height: 1.2;
}

/* Etichetta: l'unico stile in maiuscolo spaziato, uguale ovunque
   (menù, pulsanti, occhielli, firme, voci dei contatti) */
.eyebrow,
.site-nav a,
.call-button,
.btn,
.rating,
.medallion,
.review footer,
.hours-note,
.contact-label,
.footer-lines {
  font-family: var(--font-body);
  font-size: var(--label-size);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: block;
  color: var(--bordeaux);
}

/* Filetto con il rombo: riprende il puntino a rombo della "i" nel logo */
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.rule::before,
.rule::after {
  content: "";
  width: 72px;
  height: 1px;
  background: var(--nude);
}

.rule span {
  width: 9px;
  height: 9px;
  background: var(--bordeaux);
  transform: rotate(45deg);
}

/* Pulsanti */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0.9rem 1.7rem 0.75rem;
  border: 1.5px solid var(--bordeaux);
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: -0.2rem;
  fill: currentColor;
}

.btn-primary {
  background: var(--bordeaux);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--bordeaux-deep);
  border-color: var(--bordeaux-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--bordeaux);
}

.btn-ghost:hover {
  background: var(--bordeaux);
  color: var(--white);
}

.btn-light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--bordeaux);
}

.btn-light:hover {
  background: var(--nude-light);
  border-color: var(--nude-light);
}

/* Testata */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--nude-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--bordeaux);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  padding: 0.55rem 0 0.3rem;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--bordeaux);
  border-bottom-color: var(--nude);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--bordeaux);
}

.icon-link:hover {
  background: var(--cream);
}

.icon-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.call-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-left: 0.35rem;
  padding: 0.6rem 1.1rem 0.45rem;
  border-radius: 999px;
  background: var(--bordeaux);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.call-button:hover {
  background: var(--bordeaux-deep);
}

.call-button svg {
  width: 17px;
  height: 17px;
  margin-top: -0.2rem;
  fill: currentColor;
}

/* Apertura */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 6rem;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 4.5rem;
}

.hero-title {
  display: block;
  margin-top: 1.1rem;
  font-size: clamp(2.7rem, 5.6vw, 4.5rem);
  line-height: 1.04;
}

.lead {
  max-width: 31rem;
  margin-top: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1.2rem;
  color: var(--ink-soft);
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.6rem;
  color: var(--bordeaux);
}

.rating-center {
  justify-content: center;
  margin-top: 1.2rem;
}

.stars {
  display: inline-flex;
  gap: 2px;
  margin-top: -0.25rem;
}

.stars svg {
  width: 18px;
  height: 18px;
  fill: var(--nude);
}

.hero-figure {
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 420px);
}

/* Grande anello nude dietro la foto, come quello attorno al cerchio del logo */
.hero-figure::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 150%;
  aspect-ratio: 1;
  border: 1px solid var(--nude-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Foto dentro un arco, con il doppio filo del logo */
.arch {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: 999px 999px 10px 10px;
}

.arch::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1.5px solid var(--nude);
  border-radius: 999px 999px 18px 18px;
  pointer-events: none;
}

.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 20%;
  border-radius: inherit;
}

/* Medaglione bordeaux con anello nude: il segno della copertina */
.medallion {
  position: absolute;
  left: -70px;
  bottom: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 180px;
  height: 180px;
  padding: 0.6rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--bordeaux);
  box-shadow: 0 0 0 7px var(--nude);
  color: var(--white);
  text-align: center;
  white-space: nowrap;
}

.medallion-diamond {
  width: 8px;
  height: 8px;
  margin-bottom: 0.6rem;
  background: var(--nude-light);
  transform: rotate(45deg);
}

.medallion-second {
  color: var(--nude-light);
}

/* Sezioni */
.section {
  padding: 5.5rem 0;
  scroll-margin-top: var(--header-height);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-head h2 {
  margin-top: 0.7rem;
}

/* L'atelier */
.atelier {
  background: var(--cream);
}

.atelier-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 4.5rem;
}

.oval-figure {
  justify-self: center;
  width: min(100%, 360px);
}

.oval {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 50%;
}

.oval::before {
  content: "";
  position: absolute;
  inset: -13px;
  border: 1.5px solid var(--nude);
  border-radius: 50%;
  pointer-events: none;
}

.oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
  border-radius: 50%;
}

.atelier-text h2 {
  margin: 0.7rem 0 1.5rem;
}

.atelier-text p + p {
  margin-top: 1rem;
}

/* Capitoli: sposa, su misura, cerimonia */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 5rem;
}

.chapter + .chapter {
  margin-top: 5.5rem;
}

.chapter-flip .chapter-media {
  order: 2;
}

.chapter-media {
  justify-self: center;
  width: min(100%, 470px);
}

/* Cornice con filo spostato */
.frame {
  position: relative;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--nude);
  border-radius: 6px;
  transform: translate(14px, 14px);
  pointer-events: none;
}

.frame img {
  position: relative;
  width: 100%;
  border-radius: 6px;
}

.frame-tall {
  width: min(100%, 390px);
  margin-inline: auto;
}

.chapter-flip .frame::before {
  transform: translate(-14px, 14px);
}

.chapter-media-pair {
  position: relative;
  padding-bottom: 5.5rem;
}

.pair-inset {
  position: absolute;
  left: -22px;
  bottom: 0;
  width: 44%;
  border: 6px solid var(--ivory);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(63, 16, 34, 0.16);
}

.pair-inset img {
  width: 100%;
  border-radius: 3px;
}

.chapter-text {
  position: relative;
  max-width: 30rem;
}

.numeral {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--nude);
}

.chapter-text h3 {
  margin: 0.5rem 0 1.1rem;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.chapter-text p + p {
  margin-top: 0.9rem;
}

.pull-quote {
  margin-top: 1.6rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--nude);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--bordeaux);
}

.pull-quote footer {
  margin-top: 0.5rem;
  font-size: var(--small-size);
  color: var(--ink-soft);
}

/* Costumi storici */
.costumes {
  position: relative;
  max-width: 46rem;
  margin: 5.5rem auto 0;
  padding: 2.8rem 2.5rem 2.6rem;
  border: 1.5px solid var(--nude);
  border-radius: 6px;
  background: var(--white);
  text-align: center;
}

.costumes::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--nude-light);
  border-radius: 3px;
  pointer-events: none;
}

.costumes-diamond {
  position: absolute;
  left: 50%;
  top: -7px;
  width: 13px;
  height: 13px;
  background: var(--bordeaux);
  transform: translateX(-50%) rotate(45deg);
}

.costumes h3 {
  margin-bottom: 0.8rem;
}

.costumes a {
  white-space: nowrap;
}

/* La prova: fascia bordeaux con il bordo a smerlo, come un pizzo */
.prova {
  position: relative;
  margin: 15px 0;
  background: var(--bordeaux);
  color: var(--ivory);
}

.prova::before,
.prova::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background-size: 28px 14px;
  background-repeat: repeat-x;
  background-position: center top;
}

.prova::before {
  top: -13px;
  background-image: radial-gradient(circle at 14px 14px, var(--bordeaux) 13px, transparent 13.6px);
}

.prova::after {
  bottom: -13px;
  background-image: radial-gradient(circle at 14px 0, var(--bordeaux) 13px, transparent 13.6px);
}

.prova .eyebrow {
  color: var(--nude-light);
}

.prova h2,
.prova h3 {
  color: var(--white);
}

.prova .rule span {
  background: var(--nude-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}

.steps li {
  text-align: center;
}

.step-number {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.3rem;
  padding-bottom: 0.1rem;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--bordeaux), 0 0 0 6.5px var(--nude);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--white);
}

.steps h3 {
  margin-bottom: 0.7rem;
}

.prova-action {
  margin-top: 3.2rem;
  text-align: center;
}

/* Galleria */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--cream);
}

.tile-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--ink-soft);
}

/* Recensioni */
.reviews {
  background: var(--cream);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 3.4rem 2rem 1.8rem;
  border: 1px solid var(--nude-light);
  border-radius: 6px;
  background: var(--white);
}

.review::before {
  content: "\201C";
  position: absolute;
  left: 1.7rem;
  top: 1rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--nude);
}

.review footer {
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--bordeaux);
}

.reviews-more {
  margin-top: 2.2rem;
  text-align: center;
}

/* Orari e contatti */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.6rem;
}

.hours-card,
.contact-card {
  padding: 2.4rem 2.2rem;
  border-radius: 6px;
}

.hours-card {
  background: var(--bordeaux);
  color: var(--ivory);
}

.hours-card h3 {
  color: var(--white);
}

.contact-card {
  border: 1.5px solid var(--nude);
  background: var(--white);
}

.hours {
  width: 100%;
  margin-top: 1.2rem;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 0.72rem 0 0.5rem;
  border-bottom: 1px solid rgba(220, 202, 187, 0.35);
  font-weight: 400;
  text-align: left;
}

.hours td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hours .closed td {
  color: var(--nude-light);
}

.hours-note {
  margin-top: 1.5rem;
  color: var(--nude-light);
}

.hours-action {
  margin-top: 1.4rem;
}

.contact-list {
  margin-top: 1.2rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--nude-light);
}

.contact-list svg {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 0.3rem;
  fill: var(--bordeaux);
  color: var(--bordeaux);
}

.contact-label {
  display: block;
  color: var(--ink-soft);
}

.contact-list a {
  color: var(--ink);
  text-decoration-color: var(--nude);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--bordeaux);
}

.contact-note {
  margin-top: 1.4rem;
  font-size: var(--small-size);
  color: var(--ink-soft);
}

.map {
  margin-top: 1.6rem;
  overflow: hidden;
  border: 1.5px solid var(--nude);
  border-radius: 6px;
  background: var(--cream);
}

.map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

/* Piè di pagina */
.site-footer {
  padding: 4rem 0 1.6rem;
  background: var(--bordeaux-deep);
  color: var(--nude-light);
}

.site-footer a {
  color: var(--ivory);
  text-decoration-color: rgba(220, 202, 187, 0.5);
  text-underline-offset: 3px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--white);
}

.footer-lines {
  margin-top: 1rem;
  line-height: 2;
}

.footer-contacts p + p {
  margin-top: 1rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 40px;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  margin-top: -0.2rem;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(220, 202, 187, 0.25);
  font-size: var(--small-size);
}

/* Schermi medi */
@media (max-width: 1140px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 3rem 0 4.5rem;
  }

  .hero-grid,
  .atelier-grid,
  .chapter {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.2rem;
  }

  .hero-figure {
    width: min(78%, 360px);
  }

  .medallion {
    left: -56px;
    bottom: 40px;
    width: 164px;
    height: 164px;
  }

  .section {
    padding: 4.2rem 0;
  }

  .section-head {
    margin-bottom: 2.6rem;
  }

  .oval-figure {
    width: min(70%, 300px);
  }

  .chapter {
    gap: 2.2rem;
  }

  .chapter + .chapter {
    margin-top: 4.5rem;
  }

  .chapter-media,
  .chapter-flip .chapter-media {
    order: 2;
  }

  .chapter-media {
    width: min(100% - 14px, 440px);
    justify-self: start;
  }

  .chapter-flip .chapter-media {
    justify-self: end;
  }

  .chapter-text {
    max-width: none;
  }

  .costumes {
    margin-top: 4.5rem;
    padding: 2.5rem 1.6rem 2.2rem;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
    max-width: 30rem;
    margin-inline: auto;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .review-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* Telefono */
@media (max-width: 560px) {
  :root {
    --text-size: 1.125rem;
    --header-height: 64px;
  }

  .container {
    width: min(1120px, 100% - 2rem);
  }

  .brand {
    font-size: 1.3rem;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .header-actions {
    gap: 0.1rem;
  }

  .call-button {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  .call-button svg {
    width: 20px;
    height: 20px;
    margin-top: 0;
  }

  .call-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hours-action .btn {
    width: 100%;
  }

  .hero-figure {
    width: min(72%, 300px);
    margin-right: 14px;
    justify-self: end;
  }

  .medallion {
    left: -84px;
    width: 158px;
    height: 158px;
  }

  .pair-inset {
    left: -6px;
  }

  .btn {
    padding-inline: 1.2rem;
  }

  .review {
    padding: 3.2rem 1.4rem 1.5rem;
  }

  .hours-card,
  .contact-card {
    padding: 2rem 1.4rem;
  }

  .map iframe {
    height: 320px;
  }
}

/* Telefoni stretti */
@media (max-width: 360px) {
  .brand {
    font-size: 1.15rem;
  }

  .icon-link {
    width: 34px;
  }
}

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

  .btn {
    transition: none;
  }
}
