/* Sandra Montez — layout editorial do handoff (hifi, pixel-perfect)
   Tipografia, espaço e filetes organizam a informação — não caixas.
   Radius apenas em chips/botões pill. */
:root {
  --bg: #FAF7F1;
  --ink: #221E19;
  --ink-2: #5A5248;
  --ink-3: #8A8072;
  --accent: #B85C38;
  --dark: #16324F;
  --dark-text: #F4EFE6;
  --dark-text-2: #D8D0C2;
  --dark-label: #8FA3B8;
  --dark-hairline: rgba(244, 239, 230, 0.18);
  --gold: #D9A566;
  --gold-rule: rgba(217, 165, 102, 0.7);
  --border: #E8E0D4;
  --border-card: #EAE2D6;
  --chip-border: #C9BEA9;
  --chip-accent-border: #E3C9B8;
  --rule-idx: #D8CFC0;
  --serif: 'Cormorant Garamond', serif;
  --sans: 'Karla', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body { font-family: var(--sans); color: var(--ink); overflow-x: hidden; }
a { color: var(--dark); text-decoration: none; transition: color .15s, background .15s, border-color .15s; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 64px; padding-right: 64px; }
.nowrap { white-space: nowrap; }

/* Placeholder para imagens ainda não carregadas no admin */
.ph {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, #16324F 0%, #24435f 55%, #B85C38 160%);
  display: flex; align-items: center; justify-content: center;
}
.ph span {
  font-size: 10px; letter-spacing: 3px; font-weight: 600; color: rgba(244,239,230,.55);
  text-transform: uppercase; text-align: center; padding: 0 16px;
}
.img-cover { width: 100%; height: 100%; object-fit: cover; }

/* Assinatura visual: filete duplo (2 linhas de 1px com 3px de intervalo) */
.filete-duplo { height: 5px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.filete-duplo.filete-gold { border-color: var(--gold-rule); }

/* Kickers */
.kicker { font-size: 11px; letter-spacing: 4px; font-weight: 600; color: var(--accent); }
.kicker-gold { color: var(--gold); }

/* CTAs editoriais: Cormorant itálico + seta, sublinhado 1px terracota */
.cta-editorial {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--serif); font-size: 22px; font-style: italic; color: var(--ink);
  border-bottom: 1px solid var(--accent); padding-bottom: 4px;
}
.cta-editorial:hover { color: var(--accent); }
.cta-editorial .arrow { font-style: normal; font-size: 17px; }
.cta-editorial.cta-mid { font-size: 21px; padding-bottom: 3px; gap: 10px; align-self: flex-start; }
.cta-editorial.cta-mid .arrow { font-size: 16px; }
.cta-editorial.cta-small { font-size: 19px; padding-bottom: 2px; gap: 8px; }
.cta-editorial.cta-small .arrow { font-size: 15px; }

/* NAV */
nav.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 64px; border-bottom: 1px solid var(--border); gap: 24px;
}
.brand-link { line-height: 1; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .wordmark { font-family: var(--serif); font-size: 24px; letter-spacing: 6px; font-weight: 500; color: var(--ink); }
.brand .tagline { font-size: 10px; letter-spacing: 4px; color: var(--accent); margin-top: 6px; font-weight: 600; }
.nav-right { display: flex; gap: 36px; align-items: center; font-size: 13px; letter-spacing: 2px; font-weight: 500; }
.lang-switch { display: flex; gap: 10px; font-size: 11px; letter-spacing: 1px; color: var(--ink-3); align-items: center; }
.lang-switch .sep { color: var(--rule-idx); }
.lang-switch a { color: var(--ink-3); }
.lang-switch a.active { color: var(--ink); font-weight: 600; }
.nav-right > a { color: var(--ink); }
.nav-right > a:hover { color: var(--accent); }
.btn-contact { border: 1px solid var(--ink); border-radius: 999px; padding: 10px 22px; }
.btn-contact:hover { background: var(--ink); color: var(--bg) !important; }
.btn-back {
  font-size: 12px; letter-spacing: 2px; font-weight: 600; color: var(--ink);
  border: 1px solid var(--ink); border-radius: 999px; padding: 10px 24px; white-space: nowrap;
}
.btn-back:hover { background: var(--ink); color: var(--bg); }

/* HERO (assimétrico: texto à esquerda, foto sangra até à margem direita) */
header.hero { border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: min(58.333%, 910px) minmax(0, 1fr); min-height: 620px; }
.hero-left {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 72px 0 56px 64px; position: relative; z-index: 2; min-width: 0;
}
.hero-left h1 {
  font-family: var(--serif); font-weight: 500; font-size: clamp(60px, 6.6vw, 104px);
  line-height: 1.02; margin: 36px 0 0;
}
.hero-left h1 em { font-weight: 400; }
.hero-foot { margin-top: auto; padding-top: 48px; }
.hero-cred { width: fit-content; }
.hero-cred .filete-duplo { margin-bottom: 20px; }
.hero-cred p { font-size: 12px; letter-spacing: 3px; font-weight: 600; color: var(--ink-2); margin: 0 0 42px; }
.hero-img { position: relative; z-index: 1; margin-bottom: 56px; min-width: 0; height: 564px; }

/* SECÇÕES */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; gap: 24px; }
h2.section-title, h1.section-title { font-family: var(--serif); font-size: 40px; font-weight: 500; margin: 8px 0 0; }

/* DESTINOS */
#destinos { padding-top: 88px; padding-bottom: 40px; }
.dest-grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 260px 260px; grid-auto-rows: 260px; gap: 18px;
}
.dest-card { position: relative; overflow: hidden; }
.dest-card.featured { grid-row: span 2; }
.dest-card .dest-name {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 20px 34px; pointer-events: none;
  font-family: var(--serif); font-size: 26px; color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.dest-card.featured .dest-name { padding: 22px 24px 40px; font-size: 30px; }

/* BLOG (editorial: destaque + índice em filetes) */
#blog { padding-top: 72px; padding-bottom: 72px; }
.blog-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; gap: 24px; }
.blog-head .section-title { margin: 0; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--sans); font-size: 11px; letter-spacing: 2px; font-weight: 600;
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--chip-border);
  background: transparent; color: var(--ink-2); cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
#blog .filete-duplo, .blog-page .filete-duplo { margin-bottom: 48px; }

.post-featured { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; margin-bottom: 64px; }
.feat-img { display: block; height: 440px; overflow: hidden; }
.feat-body { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.feat-body .kicker { text-transform: uppercase; }
.feat-body h3 {
  font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1.12;
  margin: 18px 0 20px; text-wrap: balance;
}
.feat-body h3 a { color: var(--ink); }
.feat-body h3 a:hover { color: var(--accent); }
.feat-body .excerpt { font-size: 16px; line-height: 1.75; color: var(--ink-2); margin: 0 0 30px; max-width: 46ch; }

.idx-list { border-bottom: 1px solid var(--rule-idx); }
.idx-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) 160px; gap: 32px;
  align-items: baseline; padding: 26px 0; border-top: 1px solid var(--rule-idx); color: var(--ink);
}
.idx-cat { font-size: 11px; letter-spacing: 3px; font-weight: 600; color: var(--accent); text-transform: uppercase; }
.idx-title { font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.idx-meta { font-size: 12px; color: var(--ink-3); text-align: right; letter-spacing: 1px; white-space: nowrap; text-transform: uppercase; }
.idx-row:hover, .idx-row:hover .idx-cat, .idx-row:hover .idx-meta { color: var(--accent); }

/* SOBRE (fundo azul-atlântico; ficha técnica em filetes, sem chips nem estatísticas) */
#sobre { background: var(--dark); color: var(--dark-text); }
.about-grid {
  padding-top: 96px; padding-bottom: 88px;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 88px; align-items: start;
}
.about-body { min-width: 0; }
.about-body h2 { font-family: var(--serif); font-size: 52px; font-weight: 500; margin: 20px 0 6px; line-height: 1.1; }
.about-sub { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 400; color: var(--gold); margin: 0 0 30px; }
.about-text { font-size: 16px; line-height: 1.8; margin: 0; color: var(--dark-text-2); max-width: 58ch; }
.ficha { margin-top: 44px; max-width: 560px; }
.ficha-row {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--dark-hairline);
}
.ficha-label { font-size: 11px; letter-spacing: 3px; font-weight: 600; color: var(--dark-label); }
.ficha-value { font-size: 14px; color: var(--dark-text); }
.about-figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.about-photo { width: 360px; height: 470px; overflow: hidden; }
.about-figure figcaption { font-size: 12px; color: var(--dark-label); letter-spacing: 1px; }

/* NEWSLETTER */
#contacto { padding: 88px 64px; text-align: center; }
#contacto h2 { font-family: var(--serif); font-size: 40px; font-weight: 500; margin: 0 0 14px; }
#contacto .sub { font-size: 15px; color: var(--ink-2); margin: 0 0 32px; }
.news-form { display: flex; gap: 0; justify-content: center; }
.news-form input[type="email"] {
  font-family: var(--sans); font-size: 14px; padding: 15px 20px;
  border: 1px solid var(--ink); border-right: none; width: 320px; background: #fff; outline: none;
}
.news-form button {
  font-family: var(--sans); font-size: 13px; letter-spacing: 2px; font-weight: 600;
  padding: 15px 30px; background: var(--ink); color: var(--bg); border: none; cursor: pointer;
  transition: background .15s;
}
.news-form button:hover { background: var(--accent); }
.news-msg { font-size: 13px; color: var(--accent); margin-top: 14px; min-height: 18px; }

/* RODAPÉ */
footer.site-footer {
  border-top: 1px solid var(--border); padding: 40px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; line-height: 1; }
.footer-brand .wordmark { font-family: var(--serif); font-size: 18px; letter-spacing: 5px; color: var(--ink); }
.footer-brand .tagline { font-size: 9px; letter-spacing: 3px; color: var(--accent); margin-top: 5px; font-weight: 600; }
.footer-links { display: flex; gap: 28px; font-size: 12px; letter-spacing: 2px; }
.footer-links a { color: var(--ink-3); }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--ink-3); }
.footer-dev { color: var(--ink-3); }
.footer-dev:hover { color: var(--accent); }

/* LISTAGEM DO BLOG */
.blog-page { padding-top: 72px; padding-bottom: 88px; }
.blog-page .blog-head { margin-bottom: 12px; }

/* PÁGINA DE ARTIGO */
.progress-thread {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent);
  transform-origin: 0 50%; transform: scaleX(0); z-index: 50;
}
.article-head { max-width: 760px; margin: 0 auto; padding: 72px 40px 40px; text-align: center; }
.cat-chip {
  display: inline-block; font-size: 10px; letter-spacing: 3px; font-weight: 600; color: var(--accent);
  border: 1px solid var(--chip-accent-border); border-radius: 999px; padding: 6px 16px; text-transform: uppercase;
}
.article-head h1 {
  font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1.12;
  margin: 26px 0 18px; text-wrap: balance;
}
.article-head .meta { font-size: 13px; color: var(--ink-3); letter-spacing: 1px; margin: 0; text-transform: uppercase; }
.article-cover { max-width: 1000px; margin: 0 auto; padding: 0 40px; height: 480px; }
.article-cover .img-cover, .article-cover .ph { height: 480px; }
.article-body {
  max-width: 680px; margin: 0 auto; padding: 56px 40px 24px;
  font-size: 17px; line-height: 1.85; color: #3A342C;
}
.article-body p { margin: 0 0 24px; }
.article-body > p:first-child::first-letter {
  font-family: var(--serif); font-size: 52px; line-height: 0.9; float: left;
  padding: 6px 10px 0 0; color: var(--accent);
}
.article-body h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin: 40px 0 16px; color: var(--ink); }
.article-body blockquote {
  margin: 36px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--accent);
  font-family: var(--serif); font-size: 24px; font-style: italic; line-height: 1.5; color: var(--ink);
}

/* Bloco social do artigo */
.article-social { max-width: 680px; margin: 0 auto; padding: 16px 40px 8px; }
.article-social .filete-duplo { margin-bottom: 28px; }
.social-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.btn-like {
  display: inline-flex; align-items: center; gap: 11px; font-family: var(--sans);
  font-size: 12px; letter-spacing: 2px; font-weight: 600; padding: 13px 26px;
  border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: color .15s, border-color .15s;
}
.btn-like:hover { border-color: var(--accent); color: var(--accent); }
.btn-like.liked svg { fill: var(--accent); stroke: var(--accent); }
.share-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.share-label { font-size: 11px; letter-spacing: 3px; font-weight: 600; color: var(--ink-3); }
.share-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--chip-border); color: var(--ink);
}
.share-icon:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }

/* Galeria do artigo */
.article-gallery { max-width: 1000px; margin: 0 auto; padding: 48px 40px 88px; }
.gallery-head {
  display: flex; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--border); padding-top: 48px; margin-bottom: 32px;
}
.gallery-head h2 { font-family: var(--serif); font-size: 36px; font-weight: 500; margin: 0; }
.gallery-head .sub { font-size: 13px; color: var(--ink-3); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery-grid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.gal-img { height: 300px; overflow: hidden; }
.gallery-grid figcaption { display: flex; flex-direction: column; gap: 3px; padding: 0 2px; }
.gal-caption { font-size: 14px; font-weight: 600; color: var(--ink); }
.gal-place { font-size: 12px; color: var(--ink-3); letter-spacing: 1px; text-transform: uppercase; }

/* RESPONSIVO (breakpoints do handoff; sem overflow horizontal) */
@media (max-width: 1024px) {
  .wrap { padding-left: 36px; padding-right: 36px; }
  nav.site-nav { padding: 22px 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-left { padding: 56px 36px 48px; }
  .hero-img { height: 420px; margin: 0 36px 56px; }
  .hero-left h1 { font-size: clamp(48px, 7.8vw, 80px); }
  .post-featured { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feat-img { height: 360px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; padding-top: 72px; padding-bottom: 72px; }
  .article-cover { height: 380px; }
  .article-cover .img-cover, .article-cover .ph { height: 380px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #contacto { padding-left: 36px; padding-right: 36px; }
  footer.site-footer { padding-left: 36px; padding-right: 36px; flex-wrap: wrap; }
}

@media (max-width: 767px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  #destinos, #blog, .blog-page { padding-top: 64px; }
  nav.site-nav { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 24px; }
  .nav-right { flex-wrap: wrap; gap: 4px 22px; }
  .nav-right > a { min-height: 44px; display: inline-flex; align-items: center; }
  .hero-left { padding: 44px 24px 40px; }
  .hero-img { height: 300px; margin: 0 24px 44px; }
  .hero-left h1 { font-size: clamp(38px, 10.6vw, 48px); }
  .dest-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .dest-card, .dest-card.featured { height: 230px; grid-row: auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .blog-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .feat-body h3 { font-size: 31px; }
  .feat-img { height: 250px; }
  .idx-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .idx-meta { text-align: left; }
  .ficha-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .about-photo { width: 100%; max-width: 420px; }
  .article-head { padding: 56px 24px 32px; }
  .article-head h1 { font-size: 36px; }
  .article-cover { padding: 0 24px; height: 240px; }
  .article-cover .img-cover, .article-cover .ph { height: 240px; }
  .article-body { padding: 44px 24px 20px; }
  .article-social { padding: 12px 24px 8px; }
  .article-gallery { padding: 40px 24px 64px; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  #contacto { padding: 64px 24px; }
  .news-form { flex-direction: column; align-items: stretch; gap: 12px; }
  .news-form input[type="email"] { width: auto; border-right: 1px solid var(--ink); }
  footer.site-footer { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 24px; }
}
