/**
 * Theme Name: Nata Portuguese
 * Theme URI: https://nataportuguese.com
 * Author: Nata Portuguese Team
 * Description: Tema personalizado para reserva direta de alojamentos local, desenvolvido com ACF Pro e Polylang para suporte multilingue.
 * Version: 1.0.0
 * Text Domain: nata-portuguese
 * Domain Path: /languages
 */

/* ==========================================================================
   TYPOGRAPHY FONTS
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-v20-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-v20-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. DESIGN SYSTEM - VARIÁVEIS BASE (:root)
   ========================================================================== */
:root {
  /* --- Cores: Standalone --- */
  --color-verde-oliveira: #858D36;
  --color-marrom-madeira: #302215;

  /* --- Cores: Neutral --- */
  --color-neutral-100: #FBFAF8;
  --color-neutral-200: #D9D4C7;
  --color-neutral-300: #F4ECCF;
  --color-neutral-400: #B8B4AB;
  --color-neutral-500: #94918B;
  --color-neutral-600: #706E69;
  --color-neutral-700: #4E4D4A;
  --color-neutral-800: #2E2D2B;
  --color-neutral-900: #151413;

  /* --- Cores: Primary (cool blue) --- */
  --color-primary-100: #EFF9FA;
  --color-primary-200: #E4F2F7;
  --color-primary-300: #B2D6E9;
  --color-primary-400: #80B2DB;
  /* Cor do título NEWSLETTER */
  --color-primary-500: #4F88CB;
  --color-primary-600: #325DA8;
  /* Cor dos Botões */
  --color-primary-700: #243A76;
  --color-primary-800: #151D44;
  --color-primary-900: #060713;

  /* --- Cores: Accent (yellow) --- */
  --color-accent-100: #FFFBF0;
  --color-accent-200: #FEECB9;
  --color-accent-300: #FDDE81;
  --color-accent-400: #FED048;
  --color-accent-500: #FFC20E;
  --color-accent-600: #D49303;
  --color-accent-700: #9C6304;
  --color-accent-800: #653B04;
  --color-accent-900: #301A03;

  /* --- Tipografia: Famílias --- */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Manrope', sans-serif;

  /* --- Layout & Container --- */
  --container-max-width: 1240px;
  --container-padding: 16px;
}

/* ==========================================================================
   3. RESET BÁSICO E ESTILOS GERAIS
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-marrom-madeira);
  background-color: var(--color-neutral-100);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-marrom-madeira);
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ==========================================================================
   ÍCONE DE EDIÇÃO ACF FRONTEND (Apenas Admins)
   ========================================================================== */

.editable-section {
  position: relative;
}

/* Estilo do Ícone Flutuante */
.abc_tech-acf-edit-icon {
  position: absolute;
  top: 50%;
  transform: translate(0px, -50%);
  left: 16px;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary-700);
  color: #FFFFFF;
  border-radius: 50%;
  border: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.abc_tech-acf-edit-icon:hover {
  opacity: 1;
  transform: translate(0px, -50%) scale(1.1);
  background-color: var(--color-accent-500);
  color: var(--color-neutral-900);
}

@media (max-width: 768px) {
  .abc_tech-acf-edit-icon {
    right: 8px;
    left: auto;
    top: 24px;
    transform: none;
  }

  .abc_tech-acf-edit-icon:hover {
    transform: scale(1.1);
  }
}