/*
Theme Name: Félix Idiomas
Theme URI: https://felixidiomas.com
Author: Félix Idiomas
Author URI: https://felixidiomas.com
Description: Tema one page de alto padrão para escola de idiomas. Menu, rodapé, formulário de contato, botão de WhatsApp e agendamento. Textos, links e imagens editáveis pelo Personalizar.
Version: 1.2.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: felix-idiomas
Tags: one-page, business, education, custom-colors, custom-menu, custom-logo, translation-ready
*/

:root {
  --charcoal: #242424;
  --charcoal-deep: #1b1b1b;
  --ivory: #f3efe8;
  --ivory-soft: #d9d4cb;
  --gold: #c7a360;
  --gold-light: #d8b679;
  --muted: #6e6a63;
  --border: #e3ddd2;
  --shadow-lux: 0 24px 60px -20px rgba(27, 27, 27, 0.35);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
}

p {
  margin: 0;
}

.fx-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.fx-narrow {
  max-width: 900px;
}

.fx-section {
  padding: 96px 0;
}

.fx-dark {
  background: var(--charcoal);
  color: var(--ivory);
}

.fx-darker {
  background: var(--charcoal-deep);
  color: var(--ivory);
}

.fx-light {
  background: var(--ivory);
  color: var(--charcoal);
}

.fx-center {
  text-align: center;
}

.fx-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}

.fx-h2 {
  font-size: clamp(28px, 4vw, 40px);
}

.fx-lead {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}

.fx-dark .fx-lead,
.fx-darker .fx-lead {
  color: rgba(243, 239, 232, 0.72);
}

.fx-gold {
  color: var(--gold);
}

/* ---------- Botões ---------- */

.fx-btn {
  display: inline-block;
  border-radius: 60px;
  padding: 16px 34px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.fx-btn:hover {
  transform: translateY(-2px);
}

.fx-btn-gold {
  background: var(--gold);
  color: var(--charcoal-deep);
  box-shadow: var(--shadow-lux);
}

.fx-btn-gold:hover {
  background: var(--gold-light);
}

.fx-btn-ghost {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.fx-btn-ghost:hover {
  background: var(--gold);
  color: var(--charcoal-deep);
}

.fx-btn-outline {
  border-color: rgba(243, 239, 232, 0.35);
  color: var(--ivory);
  background: transparent;
}

.fx-btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.fx-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.fx-center .fx-btn-row {
  justify-content: center;
}

/* ---------- Header ---------- */

.fx-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  background: rgba(27, 27, 27, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(199, 163, 96, 0.22);
}

.fx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.fx-brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.02em;
}

.fx-brand img {
  max-height: 46px;
  width: auto;
}

.fx-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.fx-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fx-nav a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(243, 239, 232, 0.82);
  transition: color 0.2s ease;
}

.fx-nav a:hover {
  color: var(--gold);
}

.fx-nav .fx-btn {
  padding: 12px 26px;
}

.fx-burger {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.fx-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  margin: 5px 0;
}

.fx-mobile-nav {
  display: none;
  background: var(--charcoal-deep);
  border-top: 1px solid rgba(199, 163, 96, 0.22);
  padding: 8px 24px 24px;
}

.fx-mobile-nav.is-open {
  display: block;
}

.fx-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fx-mobile-nav a {
  display: block;
  padding: 14px 0;
  color: rgba(243, 239, 232, 0.88);
  border-bottom: 1px solid rgba(243, 239, 232, 0.1);
}

.fx-mobile-nav .fx-btn {
  display: block;
  margin-top: 18px;
}

/* ---------- Hero ---------- */

.fx-hero {
  padding-top: 150px;
  padding-bottom: 90px;
}

.fx-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.fx-pill {
  display: inline-block;
  border: 1px solid rgba(199, 163, 96, 0.45);
  border-radius: 60px;
  padding: 7px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

.fx-h1 {
  font-size: clamp(34px, 5vw, 58px);
  color: var(--ivory);
}

.fx-hero-sub {
  margin-top: 22px;
  max-width: 560px;
  font-size: 18px;
  color: rgba(243, 239, 232, 0.76);
}

.fx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 30px;
  border-top: 1px solid rgba(243, 239, 232, 0.16);
}

.fx-stat-n {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--gold);
}

.fx-stat-l {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 232, 0.6);
}

.fx-framed {
  position: relative;
}

.fx-framed::before {
  content: "";
  position: absolute;
  inset: -16px;
  border: 1px solid rgba(199, 163, 96, 0.28);
  border-radius: 26px;
}

.fx-framed img {
  position: relative;
  border-radius: 18px;
  box-shadow: var(--shadow-lux);
  width: 100%;
  object-fit: cover;
}

/* ---------- Cards ---------- */

.fx-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 52px;
}

.fx-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.fx-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  text-align: left;
}

.fx-dark .fx-card,
.fx-darker .fx-card {
  background: rgba(243, 239, 232, 0.05);
  border-color: rgba(199, 163, 96, 0.22);
  color: var(--ivory);
}

.fx-card-x {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold);
}

.fx-card p {
  margin-top: 12px;
  font-size: 15px;
}

.fx-program {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(199, 163, 96, 0.22);
  background: rgba(243, 239, 232, 0.05);
  box-shadow: var(--shadow-lux);
}

.fx-program img {
  height: 236px;
  width: 100%;
  object-fit: cover;
}

.fx-program-body {
  padding: 30px;
}

.fx-program h3 {
  font-size: 23px;
  color: var(--ivory);
}

.fx-program p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(243, 239, 232, 0.72);
}

.fx-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.fx-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  padding: 5px 0;
  color: rgba(243, 239, 232, 0.86);
}

.fx-light .fx-list li {
  color: var(--charcoal);
}

.fx-list li::before {
  content: "\25C6";
  color: var(--gold);
}

.fx-step-n {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--gold);
}

.fx-step h3 {
  margin-top: 14px;
  font-size: 20px;
}

.fx-step p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Amanda ---------- */

.fx-amanda {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.fx-prose p {
  margin-top: 16px;
  color: rgba(243, 239, 232, 0.76);
}

.fx-sign {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
}

.fx-sign-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(243, 239, 232, 0.6);
}

/* ---------- Depoimentos ---------- */

.fx-quote {
  border: 1px solid rgba(199, 163, 96, 0.22);
  background: rgba(243, 239, 232, 0.05);
  border-radius: 18px;
  padding: 30px;
}

.fx-stars {
  color: var(--gold);
  letter-spacing: 3px;
}

.fx-quote blockquote {
  margin: 16px 0 0;
  font-size: 15px;
  color: rgba(243, 239, 232, 0.82);
}

.fx-quote figcaption {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(243, 239, 232, 0.16);
}

.fx-quote figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ivory);
}

.fx-quote figcaption span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* ---------- Vídeo ---------- */

.fx-video {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lux);
  background: #000;
}

.fx-video-ratio {
  position: relative;
  padding-top: 56.25%;
}

.fx-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fx-video p {
  background: #fff;
  color: var(--charcoal);
  padding: 16px 22px;
  font-family: var(--serif);
  font-size: 18px;
}

/* ---------- FAQ ---------- */

.fx-faq {
  margin-top: 46px;
  display: grid;
  gap: 14px;
}

.fx-faq details {
  border: 1px solid rgba(199, 163, 96, 0.22);
  background: rgba(243, 239, 232, 0.05);
  border-radius: 16px;
  padding: 22px 24px;
}

.fx-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ivory);
}

.fx-faq summary::-webkit-details-marker {
  display: none;
}

.fx-faq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.fx-faq details[open] summary::after {
  content: "\2013";
}

.fx-faq details p {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(243, 239, 232, 0.76);
}

/* ---------- Formulário ---------- */

.fx-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
}

.fx-form {
  border: 1px solid rgba(199, 163, 96, 0.28);
  background: rgba(243, 239, 232, 0.05);
  border-radius: 18px;
  padding: 32px;
  box-shadow: var(--shadow-lux);
}

.fx-form input,
.fx-form select,
.fx-form textarea {
  width: 100%;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid rgba(243, 239, 232, 0.2);
  background: rgba(243, 239, 232, 0.06);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
}

.fx-form input::placeholder,
.fx-form textarea::placeholder {
  color: rgba(243, 239, 232, 0.45);
}

.fx-form select option {
  color: #242424;
}

.fx-form input:focus,
.fx-form select:focus,
.fx-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.fx-form button {
  width: 100%;
  margin-top: 8px;
}

.fx-form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(243, 239, 232, 0.5);
}

.fx-alert {
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}

.fx-alert-ok {
  background: rgba(199, 163, 96, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
}

.fx-alert-err {
  background: rgba(200, 80, 80, 0.12);
  border: 1px solid #c85050;
  color: #f0b6b6;
}

.fx-hp {
  position: absolute !important;
  left: -9999px !important;
}

.fx-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 34px 0;
}

/* ---------- Footer ---------- */

.fx-footer {
  background: var(--charcoal-deep);
  color: var(--ivory);
  padding: 70px 0 30px;
}

.fx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
}

.fx-footer h4 {
  font-size: 18px;
  color: var(--ivory);
  margin-bottom: 14px;
}

.fx-footer p,
.fx-footer a {
  font-size: 15px;
  color: var(--ivory-soft);
}

.fx-footer a:hover {
  color: var(--gold);
}

.fx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fx-footer ul li {
  padding: 4px 0;
}

.fx-copy {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(199, 163, 96, 0.2);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- WhatsApp flutuante ---------- */

.fx-whats {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 998;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: 60px;
  padding: 15px 22px;
  font-weight: 700;
  box-shadow: var(--shadow-lux);
  transition: transform 0.25s ease;
}

.fx-whats:hover {
  transform: scale(1.05);
  color: #fff;
}

.fx-whats svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* ---------- Reveal ---------- */

.fx-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fx-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fx-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

section[id] {
  scroll-margin-top: 92px;
}

/* ---------- Páginas internas ---------- */

.fx-page {
  padding: 150px 0 90px;
}

.fx-page h1 {
  font-size: clamp(30px, 4vw, 44px);
}

.fx-page-content {
  margin-top: 24px;
}

.fx-page-content p,
.fx-page-content ul,
.fx-page-content ol {
  margin-top: 16px;
}

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .fx-hero-grid,
  .fx-amanda,
  .fx-contact,
  .fx-grid-2,
  .fx-footer-grid {
    grid-template-columns: 1fr;
  }

  .fx-grid-3 {
    grid-template-columns: 1fr;
  }

  .fx-nav {
    display: none;
  }

  .fx-burger {
    display: block;
  }

  .fx-section {
    padding: 66px 0;
  }

  .fx-hero {
    padding-top: 120px;
  }

  .fx-whats span {
    display: none;
  }
}

/* ---------- Galeria de viagens (Amanda) ---------- */

.fx-gallery-wrap {
  margin-top: 70px;
}

.fx-h3-gal {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ivory);
  margin: 0 0 10px;
}

.fx-gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.fx-gal-item {
  margin: 0;
  border: 1px solid rgba(199, 163, 96, 0.35);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
}

.fx-gal-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.fx-gal-item figcaption {
  padding: 12px 14px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(243, 239, 232, 0.75);
}

/* ---------- Depoimentos em foto (prints) ---------- */

.fx-shots {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.fx-shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lux);
}

.fx-shot img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: #f7f5f1;
}

.fx-shot figcaption {
  padding: 14px 18px;
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .fx-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Carrossel moderno ---------- */

.fx-carousel {
  position: relative;
  margin-top: 34px;
}

.fx-carousel-track {
  display: flex;
  gap: 20px;
  margin-top: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 6px;
}

.fx-carousel-track::-webkit-scrollbar {
  display: none;
}

.fx-carousel-track > * {
  scroll-snap-align: center;
  flex: 0 0 auto;
}

.fx-carousel-gal .fx-gal-item {
  width: min(260px, 74vw);
}

.fx-carousel-shots .fx-shot {
  width: min(420px, 84vw);
}

.fx-carousel-shots .fx-shot img {
  max-height: 520px;
}

.fx-car-nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(199, 163, 96, 0.55);
  background: rgba(27, 27, 27, 0.72);
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.fx-light .fx-car-nav {
  background: rgba(255, 255, 255, 0.9);
  color: var(--charcoal);
  box-shadow: 0 10px 26px -12px rgba(27, 27, 27, 0.5);
}

.fx-car-nav:hover {
  background: var(--gold);
  color: var(--charcoal-deep);
  transform: scale(1.06);
}

.fx-car-nav[disabled] {
  opacity: 0.25;
  pointer-events: none;
}

.fx-car-prev {
  left: -10px;
}

.fx-car-next {
  right: -10px;
}

.fx-car-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.fx-car-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(199, 163, 96, 0.35);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.fx-car-dots button.is-active {
  width: 26px;
  border-radius: 60px;
  background: var(--gold);
}

@media (max-width: 640px) {
  .fx-car-nav {
    display: none;
  }
}
