/*
Theme Name: Casa Nerolphy Lista de Espera v1.0.22
Theme URI: https://nerolphy.com/
Author: Casa Nerolphy
Description: Landing page de lista de espera para Do Nada ao Todo.
Version: 1.0.22
Text Domain: casa-nerolphy
*/

:root {
  --navy: #10253e;
  --navy-deep: #0a1727;
  --paper: #f4f0e9;
  --paper-light: #fbfaf6;
  --ink: #1d2734;
  --mist: #d9d3c8;
  --gold: #a67e45;
  --danger: #ffd1cb;
  --success: #d7ecd9;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper-light);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper-light);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #e9cf9a;
  outline-offset: 3px;
}

.site-shell {
  overflow: clip;
}

.site-header {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 28px 10vw;
  color: var(--navy);
}

.wordmark,
.header-link {
  text-decoration: none;
}

.wordmark {
  display: inline-flex;
  width: 190px;
}

.wordmark-logo {
  display: block;
  width: 100%;
  height: auto;
}

.header-link {
  border-bottom: 1px solid currentColor;
  color: var(--paper-light);
  font-size: 13px;
  padding-bottom: 4px;
}

.hero {
  position: relative;
  min-height: 760px;
  background: var(--paper);
}

.hero-media,
.hero-photo,
.closing-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  display: block;
  overflow: hidden;
}

.hero-photo,
.closing-photo {
  object-fit: cover;
}

.hero-photo,
.closing-photo {
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 1fr) minmax(265px, 340px);
  align-items: end;
  gap: 8vw;
  margin: 0 auto;
  padding: 132px 10vw 72px;
}

.hero-copy {
  align-self: center;
  max-width: 480px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1,
.waitlist h2,
.closing h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero h1 {
  max-width: 480px;
  color: var(--navy);
  font-size: 72px;
  line-height: 0.98;
}

.hero-description {
  max-width: 300px;
  margin: 25px 0 30px;
  color: #314355;
  font-size: 17px;
  line-height: 1.55;
}

.text-command {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  padding-bottom: 6px;
  text-decoration: none;
}

.text-command:hover,
.header-link:hover {
  color: var(--gold);
}

.book-figure {
  position: relative;
  align-self: end;
  width: min(100%, 250px);
  margin: 0 auto 130px;
  text-align: center;
  transform: translateX(74px);
}

.book-figure img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 12px 17px 28px rgba(16, 37, 62, 0.24);
}

.waitlist {
  background: var(--navy);
  color: var(--paper-light);
}

.waitlist-inner {
  width: min(100% - 48px, 670px);
  margin: 0 auto;
  padding: 112px 0 118px;
}

.kicker-light {
  color: #dbbc80;
}

.waitlist h2 {
  max-width: 520px;
  font-size: 52px;
  line-height: 1.05;
}

.waitlist-intro,
.signup-success > p:not(.kicker) {
  max-width: 555px;
  margin: 22px 0 34px;
  color: #dbe2ea;
  font-size: 18px;
  line-height: 1.6;
}

.waitlist-form > label:first-child {
  display: block;
  margin-bottom: 9px;
  color: #f7f4ed;
  font-size: 14px;
  font-weight: 700;
}

.email-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.email-field {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  background: var(--paper-light);
  color: var(--navy);
  padding: 0 16px;
}

.mail-symbol {
  font-size: 19px;
  line-height: 1;
}

.email-field input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font-size: 16px;
  padding: 17px 0;
}

.email-field input::placeholder {
  color: #778392;
}

.email-row button,
.download-primary,
.download-secondary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #e9cf9a;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.email-row button,
.download-primary {
  background: #e9cf9a;
  color: var(--navy-deep);
  padding: 0 20px;
}

.email-row button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.email-row button:not(:disabled):hover,
.download-primary:hover {
  background: #f3ddaf;
}

.consent {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: 18px;
  color: #dbe2ea;
  font-size: 13px;
  line-height: 1.5;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #e9cf9a;
}

.privacy-note {
  max-width: 570px;
  margin: 14px 0 0;
  color: #aebdca;
  font-size: 12px;
  line-height: 1.5;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-message {
  margin: 20px 0 0;
  color: var(--danger);
  font-size: 14px;
  line-height: 1.45;
}

.signup-success {
  max-width: 610px;
}

.success-mark {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  font-size: 28px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.download-primary,
.download-secondary {
  min-height: 48px;
  padding: 0 17px;
}

.download-secondary {
  border-color: #7890a6;
  color: #ecf1f5;
}

.download-secondary:hover {
  border-color: #e9cf9a;
  color: #e9cf9a;
}

.closing {
  position: relative;
  min-height: 620px;
  background: var(--paper);
}

.closing-copy {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 490px);
  margin-left: auto;
  margin-right: 5vw;
  padding: 174px 9vw 80px 0;
}

.closing h2 {
  color: var(--navy);
  font-size: 48px;
  line-height: 1.08;
}

.closing-copy > p:not(.kicker) {
  margin: 21px 0 28px;
  color: #314355;
  font-size: 17px;
  line-height: 1.55;
}

.arrow-up {
  transform: rotate(180deg);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--mist);
  background: var(--paper-light);
  color: #526170;
  font-size: 12px;
  padding: 22px 6vw;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-name {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  align-items: center;
}

.footer-link,
.footer-links a,
.inline-legal-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.footer-link,
.inline-legal-link {
  padding: 0;
  cursor: pointer;
}

.footer-link:hover,
.footer-links a:hover,
.inline-legal-link:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-legal-link {
  color: #dbe2ea;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-dialog {
  width: min(100% - 40px, 620px);
  border: 0;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(10, 23, 39, 0.24);
}

.legal-dialog::backdrop {
  background: rgba(10, 23, 39, 0.62);
}

.legal-dialog-inner {
  position: relative;
  padding: 46px 50px 44px;
}

.legal-dialog h2 {
  margin: 8px 0 22px;
  color: var(--navy);
  font-size: 36px;
  line-height: 1.12;
}

.legal-dialog p:not(.kicker) {
  margin: 0 0 16px;
  color: #314355;
  font-size: 15px;
  line-height: 1.6;
}

.legal-dialog p:last-child {
  margin-bottom: 0;
}

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

.legal-close {
  position: absolute;
  top: 15px;
  right: 16px;
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mist);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.legal-close:hover {
  border-color: var(--navy);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 5px;
  left: 5px;
  display: block;
  width: auto;
  height: auto;
  clip: auto;
  background: var(--paper-light);
  color: var(--navy);
  padding: 12px;
}

.cn-admin-wrap .widefat td,
.cn-admin-wrap .widefat th {
  vertical-align: middle;
}

@media (max-width: 760px) {
  .site-header {
    padding: 21px 24px;
  }

  .wordmark {
    width: 140px;
  }

  .header-link {
    font-size: 12px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero {
    aspect-ratio: 9 / 16;
    padding: 0;
  }

  .hero-photo {
    object-position: center;
  }

  .hero-inner {
    display: block;
    min-height: 100%;
    padding: 118px 0 42px 18px;
  }

  .hero-copy {
    position: relative;
    isolation: isolate;
    width: 34vw;
    max-width: 148px;
  }

  .hero-copy::before {
    display: none;
  }

  .hero .kicker {
    margin-bottom: 9px;
    font-size: 8px;
    line-height: 1.35;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(30px, 7vw, 34px);
    line-height: 1.03;
  }

  .hero-description {
    max-width: none;
    margin: 17px 0 18px;
    font-size: 12px;
    line-height: 1.4;
  }

  .hero .text-command {
    align-items: flex-start;
    gap: 5px;
    font-size: 12px;
    padding-bottom: 4px;
  }

  .book-figure {
    width: min(64vw, 240px);
    margin: 58px 0 8px auto;
    transform: none;
  }

  .waitlist-inner {
    width: min(100% - 40px, 670px);
    padding: 78px 0 82px;
  }

  .waitlist h2 {
    font-size: 41px;
  }

  .waitlist-intro,
  .signup-success > p:not(.kicker) {
    font-size: 16px;
  }

  .email-row {
    grid-template-columns: 1fr;
  }

  .closing {
    min-height: 620px;
  }

  .closing-photo {
    object-position: 39% center;
  }

  .closing-copy {
    width: min(100% - 48px, 390px);
    margin: 0;
    padding: 135px 0 70px 24px;
  }

  .closing h2 {
    font-size: 40px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 20px 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-dialog-inner {
    padding: 42px 28px 34px;
  }

  .legal-dialog h2 {
    font-size: 31px;
  }
}

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


.site-header {
  top: 20px;
}


.hero .kicker {
  color: #0B1D2F;
}

.closing-copy > p.closing-tagline {
  margin: 12px 0 0;
  color: #526170;
  font-size: 14px;
  line-height: 1.5;
}

.closing-copy > p.closing-tagline + p {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .closing-copy > p.closing-tagline {
    margin-top: 12px;
    font-size: 13px;
  }

  .closing-copy > p.closing-tagline + p {
    margin-top: 10px;
  }
}

@media (max-width: 760px) {
  .wordmark {
    position: relative;
    top: 3px;
    left: -6px;
  }
}
