/* ============================================
   MAIN.CSS - TORRE TOURISM
   Base: Foundation 6 + Reset + Tokens + Estilos
   ============================================ */

/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================
   DESIGN TOKENS (variáveis CSS)
   ============================================ */
:root {
  /* CORES DA MARCA */
  --color-brand-navy: #0A2540;
  --color-brand-gold: #F4A261;
  --color-brand-gold-border: #D9A423;
  --color-brand-white: #FFFFFF;

  --color-text-main: #1E293B;
  --color-text-heading: #0A2540;
  --color-text-cta: #FFFFFF;

  --color-bg-page: #FFFFFF;
  --color-bg-cta: var(--color-brand-navy);
  --color-bg-side-panel: var(--color-brand-navy);
  --color-border-accent: var(--color-brand-gold);

  /* TIPOGRAFIA */
  --font-family-heading: "futura-100", sans-serif;
  --font-family-base: "quicksand", sans-serif;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-md: 1rem;       /* 16px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 2rem;      /* 32px */
  --font-size-3xl: 2.5rem;    /* 40px */
  --font-size-4xl: 3rem;      /* 48px */

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  --line-height-tight: 1.1;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* ESPAÇAMENTOS */
  --space-xxs: 0.25rem;   /* 4px */
  --space-xs: 0.5rem;     /* 8px */
  --space-sm: 0.75rem;    /* 12px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 5rem;      /* 80px */

  /* LAYOUT E UI */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;

  --max-width-page: 1440px;
  --max-width-content: 760px;
  --layout-side-panel-width-desktop: 35%;

  /* SOMBRAS */
  --shadow-soft: 0 4px 12px rgba(10, 37, 64, 0.1);
  --shadow-medium: 0 8px 24px rgba(10, 37, 64, 0.15);
}

/* ============================================
   TIPOGRAFIA PADRÃO (com Adobe Fonts)
   ============================================ */
body {
  background: var(--color-bg-page);
  color: var(--color-text-main);
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  font-style: normal;
  line-height: var(--line-height-relaxed);
  margin: 0;
  padding: 0;
}

/* HEADINGS (usando Futura-100) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--color-text-heading);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-regular);
  font-style: italic;
  text-transform: none;
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

/* PARÁGRAFOS E TEXTO COMUM (usando Quicksand) */
p, li, a, button {
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
}

p {
  margin-bottom: var(--space-lg);
  max-width: var(--max-width-content);
}

/* ============================================
   UTILITÁRIOS (mantendo os originais + novos)
   ============================================ */
.grid-container {
  max-width: 90rem;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 auto;
}

.bottom30 { margin-bottom: 30px; }
.bottom60 { margin-bottom: 60px; }
.top15 { margin-top: 15px; }
.top30 { margin-top: 30px; }
.m40 { margin: 40px 0; }
.pad { padding: 0 30px; }
.relative { position: relative; }
.bold { font-weight: 800; }

/* ============================================
   COMPONENTES ESPECÍFICOS - TORRE TOURISM
   ============================================ */

/* LINHA DIVISÓRIA DOURADA */
.tt-divider {
  height: 2px;
  background-color: var(--color-border-accent);
  margin: var(--space-lg) 0 var(--space-2xl) 0;
  width: 100px;
}

/* BOTÃO CTA PRIMÁRIO - TEXTO CENTRALIZADO */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-2xl);
  background-color: var(--color-bg-cta);
  color: var(--color-text-cta);
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-family-base);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 48px;
  text-align: center;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #081c2e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--color-text-cta);
  text-decoration: none;
}

.btn-primary:active {
  transform: translateY(0);
}

/* HERO SECTION (landing temporária) */
.tt-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) var(--space-xl);
  background-color: var(--color-bg-page);
  position: relative;
  overflow: hidden;
}

.tt-hero__content {
  max-width: var(--max-width-content);
  padding-right: 2.5rem;
  z-index: 2;
  position: relative;
}

.tt-hero__logo {
  display: block;
  margin-bottom: var(--space-md);
}

.tt-hero__logo img {
  display: block;
  max-width: 180px;
  height: auto;
}

.tt-hero__side-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--layout-side-panel-width-desktop);
  height: 100%;
  background-color: var(--color-bg-side-panel);
  z-index: 1;
  border-left: 8px solid var(--color-brand-gold-border);
}

/* H1 específico da hero: frase completa */
.tt-hero__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-bold);
  font-style: normal;
  font-size: var(--font-size-2xl);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-xl);
}

/* Segunda linha do título (itálico, peso regular) */
.tt-hero__title--emphasis {
  font-style: italic;
  font-weight: var(--font-weight-regular);
  display: block;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media screen and (max-width: 767px) {
  .pad {
    padding: 0 15px;
  }

  /* Hero mobile - ALINHADO À ESQUERDA */
  .tt-hero {
    min-height: auto;
    padding: var(--space-3xl) var(--space-lg);
    flex-direction: column;
    text-align: left;
    position: relative;
  }

  .grid-container {
    padding: 0 var(--space-md);
  }

  .tt-hero__content {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: var(--space-2xl);
    width: 100%;
  }

  /* Logo - ALINHADA À ESQUERDA */
  .tt-hero__logo {
    display: block;
    text-align: left;
    margin-bottom: var(--space-lg);
  }

  .tt-hero__logo img {
    max-width: 200px;
    height: auto;
    display: block;
  }

  /* Linha divisória dourada - ALINHADA À ESQUERDA */
  .tt-divider {
    width: 80px;
    margin: var(--space-md) 0 var(--space-lg) 0;
    height: 2px;
    background-color: var(--color-border-accent);
  }

  /* Título H1 - "A Torre Tourism conecta." MAIOR */
  .tt-hero__title {
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: var(--space-lg);
    color: var(--color-text-heading);
    text-align: left;
  }

  /* Segunda linha "Sua agência vende mais." MENOR */
  .tt-hero__title--emphasis {
    font-style: italic;
    font-weight: var(--font-weight-regular);
    font-size: 1.5rem;
    display: block;
    text-transform: none;
    margin-top: var(--space-xs);
  }

  /* Parágrafo - ALINHADO À ESQUERDA */
  .tt-hero p {
    font-size: var(--font-size-md);
    line-height: 1.6;
    color: var(--color-text-main);
    margin: 0 0 var(--space-xl) 0;
    padding: 0;
    text-align: left;
  }

  /* Botão CTA - TEXTO CENTRALIZADO */
  .btn-primary {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-sm);
    min-height: 56px;
    text-align: center;
  }

  /* Painel azul - LARGURA TOTAL (100vw) SEM ESPAÇOS LATERAIS */
  .tt-hero__side-panel {
    position: relative;
    width: 100vw;
    height: 500px;
    order: 2;
    margin-top: var(--space-3xl);
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
    padding: var(--space-3xl) var(--space-lg);
    border-left: none;
    border-top: 4px solid var(--color-brand-gold-border);
    background-color: var(--color-bg-side-panel);
  }
}

/* Tablet (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .tt-hero__title {
    font-size: var(--font-size-2xl);
  }

  .tt-hero__side-panel {
    width: 35%;
    border-left: 4px solid var(--color-brand-gold-border);
  }

  .tt-hero__content {
    padding-right: 2rem;
  }
}

/* ============================================
   MOBILE BLUE FILLER (Opção 2) - FUNDO AZUL ABAIXO DO PAINEL
   ============================================ */

/* Esconde no desktop */
@media screen and (min-width: 768px) {
  .mobile-blue-filler {
    display: none;
  }
}

/* Mostra e posiciona no mobile */
@media screen and (max-width: 767px) {
  .mobile-blue-filler {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg-side-panel);
    z-index: -1;
    margin-left: calc(-1 * var(--space-lg));
    margin-right: calc(-1 * var(--space-lg));
  }
}
