/* ============================================================
   Convite Ana & Lucas — página completa (mobile)
   Tipografia e cores extraídas do site original (WordPress/Elementor)
   via getComputedStyle. Layout/espaçamentos inalterados.
   ============================================================ */

:root {
  /* ---- Cores (Elementor global colors, valores exatos) ---- */
  --bg:      #f7f5f2;  /* fundo creme da página (inalterado)         */
  --panel:   #98b0a0;  /* fundo do painel "Local" (inalterado)        */
  --green:   #4a6d5a;  /* TEXTO: global "primary"                     */
  --sage:    #8aa590;  /* TEXTO: global "secondary"                   */
  --cream:   #f7f5f2;  /* TEXTO sobre o painel verde                  */
  --placeholder: #d9d9d9;

  /* ---- Tipografia (famílias reais do Elementor) ---- */
  --f-sans:   "Montserrat", system-ui, sans-serif;      /* corpo / labels */
  --f-serif:  "Playfair Display", Georgia, serif;       /* linhas serifadas */
  --f-script: "Parisienne", cursive;                    /* caligrafia */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  font-family: var(--f-sans);
  color: var(--green);
  display: flex;
  justify-content: center;
}

.page {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 430px;
  background: var(--bg);
  overflow: hidden;
}

.photo {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   1) VERSÍCULO  (Montserrat 400 · 1rem · lh 1.65 · #4a6d5a)
   ============================================================ */
.verse {
  position: relative;
  padding: 64px 32px 36px;
}

.verse__floral {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: auto;
  pointer-events: none;
}

.verse__text {
  position: relative;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--green);
}

.verse__ref {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--green);
}

/* ============================================================
   3) NOMES  (Parisienne 500 · 4.5rem · lh 1 · ls 0.8px · #4a6d5a)
   ============================================================ */
.names {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 8px;
  color: var(--green);
}

.names__name {
  font-family: var(--f-script);
  font-weight: 500;
  font-size: 4.5rem;
  line-height: 1;
  letter-spacing: 0.8px;
}

.names__and {
  font-family: var(--f-script);
  font-weight: 500;
  font-size: 4.5rem;     /* mesmo tamanho dos nomes (parece menor por ser minúscula no script) */
  line-height: 1;
  letter-spacing: 0.8px;
}

/* ============================================================
   4) BENÇÃO + PAIS
   título: Playfair 500 · 1rem · lh 1.65 · #8aa590
   pais:   Montserrat 400 · 1rem · lh 1.65 · #8aa590
   ============================================================ */
.parents {
  padding: 16px 24px 40px;
  text-align: center;
}

.parents__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sage);
  margin-bottom: 28px;
}

.parents__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sage);
}

/* ============================================================
   6) CONVITE + DATA
   ============================================================ */
.invite {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px 40px;
}

/* "Convidamos você..." — Montserrat 400 · 1.365rem · lh 1.65 · #8aa590 */
.invite__call {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1.365rem;
  line-height: 1.65;
  color: var(--sage);
  max-width: 18ch;
}

/* "A Realizar-se em..." — Playfair 500 · 1rem · lh 1.65 · #8aa590 (normal) */
.invite__when {
  font-family: var(--f-serif);
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--sage);
  margin-top: 32px;
}

/* "01" — Parisienne 500 · 9rem · lh 1.3 · #8aa590 */
.invite__day {
  font-family: var(--f-script);
  font-weight: 500;
  font-size: 9rem;
  line-height: 1.3;
  color: var(--sage);
}

/* "Maio" — Parisienne 500 · 3.6rem · lh 1.3 · #4a6d5a */
.invite__month {
  font-family: var(--f-script);
  font-weight: 500;
  font-size: 3.6rem;
  line-height: 1.3;
  color: var(--green);
  margin-top: -82px;
}

/* "de 2026, às 16h00" — Montserrat 400 ITÁLICO · 1.365rem · lh 1.3 · #4a6d5a */
.invite__time {
  font-family: var(--f-sans);
  font-weight: 400;
  font-style: italic;
  font-size: 1.365rem;
  line-height: 1.3;
  color: var(--green);
  margin-top: 16px;
}

/* ============================================================
   7) FOTO com enfeite floral sobreposto
   ============================================================ */
.photo-wrap {
  position: relative;
}

.photo-wrap__floral {
  position: absolute;
  top: -48px;
  right: 0;
  width: 28%;
  height: auto;
  z-index: 2;
  pointer-events: none;
  rotate: 180deg;
  right: -15px;
}

/* ============================================================
   8) LOCAL — painel verde em arco
   título: Parisienne 500 · 4rem · lh 1.3 · #f7f5f2
   linhas: Montserrat 400 · 1rem · lh 1.65 · #f7f5f2
   ============================================================ */
.local {
  /* --local-shift: o quanto o painel sobe (equivalente ao "top: -2%").
     Por ser margem (e não top), esse deslocamento se propaga: tudo que
     vem DEPOIS de .local no fluxo sobe junto, sem offset manual. */
  --local-shift: 24px;

  background: var(--panel);
  color: var(--cream);
  text-align: center;
  padding: 40px 28px 28px;
  border-radius: 50% 50% 0 0 / 140px 140px 0 0;
  /* -32px = overlap do arco sobre a foto (já existia).
     - var(--local-shift) = sobe o painel E puxa o conteúdo seguinte. */
  margin-top: calc(-32px - var(--local-shift));
  position: relative;
  z-index: 1;
}

.local__title {
  font-family: var(--f-script);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1.3;
  color: var(--cream);
  margin-bottom: 16px;
}

.local__line {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cream);
}

.local__floral {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px auto 0;
  margin-bottom: -90px;
}

/* ============================================================
   9) INTERAGIR + AÇÕES
   ============================================================ */
.actions {
  padding: 40px 28px 48px;
}

/* "Clique nos ícones para" — Montserrat 400 · 1rem · lh 1.65 · #4a6d5a */
.actions__lead {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
  color: var(--green);
  margin-top: 28px;
}

/* "Interagir" — Parisienne 500 · 4rem · lh 1.3 · #4a6d5a */
.actions__title {
  font-family: var(--f-script);
  font-weight: 500;
  font-size: 4rem;
  line-height: 1.3;
  text-align: center;
  color: var(--green);
  margin-bottom: 40px;
}

.action {
  display: flex;
  align-items: center;
  gap: 28px;
  text-decoration: none;
  color: var(--green);
  margin-bottom: 48px;
}

.action--reverse {
  flex-direction: row-reverse;
}

.action__icon {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.action__icon svg {
  width: 42px;
  height: 42px;
}

/* labels das ações — Montserrat 400 · 1.1rem · lh 1.3 · #4a6d5a */
.action__label {
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--green);
}

/* "Esperamos você!" — Parisienne 500 · 1.875rem · lh 1.3 · #4a6d5a (h2 default) */
.actions__closing {
  font-family: var(--f-script);
  font-weight: 500;
  font-size: 1.875rem;
  line-height: 1.3;
  text-align: center;
  color: var(--green);
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVO — mobile-first
   ------------------------------------------------------------
   As regras acima são a base (telas pequenas). Abaixo, apenas
   aprimoramentos progressivos para telas maiores.

   O convite é um "artboard" vertical calibrado em px: a data
   ("Maio" sobre "01") e o arco do painel "Local" dependem desse
   scale. Por isso ele NÃO é esticado — cresce de forma contida e
   é apresentado como um cartão centrado, preservando a composição.
   ============================================================ */

html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }      /* nunca rola na horizontal */
img { max-width: 100%; }

body { min-height: 100vh; }

/* --- Telas muito pequenas (≤360px) ---------------------------
   Defesa para aparelhos estreitos (320–360px): os textos em
   caligrafia (os maiores) passam a escalar por viewport, sem
   nunca ultrapassar o tamanho original. */
@media (max-width: 360px) {
  .names__name,
  .names__and    { font-size: clamp(3.4rem, 18vw, 4.5rem); }
  .invite__day   { font-size: clamp(7rem, 36vw, 9rem); }
  .invite__month { font-size: clamp(3rem, 15vw, 3.6rem); }
  .actions__title,
  .local__title  { font-size: clamp(3.2rem, 16vw, 4rem); }
}

/* --- Tablet (≥768px) -----------------------------------------
   O convite vira um cartão centrado, com respiro ao redor e leve
   crescimento contido (a composição da data/arco continua intacta). */
@media (min-width: 768px) {
  body { padding: 48px 24px; align-items: flex-start; }
  .page {
    max-width: 460px;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(74, 109, 90, 0.12);
  }
}

/* --- Desktop (≥1024px) --------------------------------------- */
@media (min-width: 1024px) {
  body { padding: 64px 24px; }
}

/* --- Telas grandes (≥1440px) --------------------------------- */
@media (min-width: 1440px) {
  body { padding: 80px 24px; }
  .page { box-shadow: 0 24px 64px rgba(74, 109, 90, 0.14); }
}
