/* ============================================================
   AREIAS DO SUL — Landing Page
   style.css — Variáveis, Reset e Base Global
   ============================================================ */

/* ---- Fonte local: Chamola (hero title) -------------------- */
@font-face {
  font-family: 'Chamola';
  src: url('../fonts/Chamola.woff') format('woff'),
       url('../fonts/Chamola.ttf')  format('truetype'),
       url('../fonts/Chamola.otf')  format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- Fonte local: Avenir LT Pro (body) -------------------- */
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('../../avenir-lt-pro/AvenirLTProLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('../../avenir-lt-pro/AvenirLTProBook.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('../../avenir-lt-pro/AvenirLTProMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('../../avenir-lt-pro/AvenirLTProHeavy.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Avenir LT Pro';
  src: url('../../avenir-lt-pro/AvenirLTProBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Google Fonts carregadas via <link> no HTML */

/* ---- Variáveis -------------------------------------------- */
:root {
  /* Cores */
  --color-navy:    #4a617a;
  --color-cream:   #f2ddc6;
  --color-dark:    #1c2b38;
  --color-white:   #ffffff;
  --color-sand:    #d9c8b4;
  --color-text:    #2c2c2c;
  --color-muted:   #6b7a8a;

  /* Tipografia */
  --font-heading: 'Chamola', 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Avenir LT Pro', 'Raleway', sans-serif;

  /* Espaçamentos */
  --container-max: 1312px;
  --container-pad: clamp(1.25rem, 5vw, 4.5rem);

  /* Transições */
  --transition: 0.3s ease;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #f5f3f0;
  -webkit-font-smoothing: antialiased;
}

p:last-child { margin-bottom: 0; }

.page-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Utilitários ------------------------------------------ */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Box: container responsivo com largura controlada por variável */
.box {
  --content-width: 1312px;
  width: var(--content-width);
  margin-inline: auto;
}

@media screen and (max-width: 1366px) and (min-width: 768px) {
  .box { --content-width: 90vw; }
}

@media screen and (max-width: 767px) {
  .box {
    --content-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .container {
    padding-inline: 20px;
  }
}

/* Botão primário */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--nav {
  background: var(--color-navy);
  color: var(--color-cream);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-cream);
  color: var(--color-cream);
}

.btn--solid {
  background: var(--color-navy);
  color: var(--color-cream);
}
