/* Static brochure clone — typography matches g5plus-auteur + product-singular tokens */
:root {
  --page-bg: #f4f3ec;
  --header-bg: #fff;
  --text-muted: #7e7e7e;
  --text-body: #333;
  --title-serif: "Libre Baskerville", Georgia, serif;
  --body-sans: "Nunito Sans", system-ui, sans-serif;
  --accent: #c5a374;
  --separator: #d4c9b0;
  --btn-dark: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  background: #fff;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#gf-wrapper {
  background-color: var(--page-bg);
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1200px) {
  .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* ----- Header (desktop) ----- */
.main-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.main-header .header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 90px;
  padding: 16px 24px;
}

.main-header .header-inner > .primary-menu:first-of-type {
  justify-self: start;
}

.main-header .header-inner > .primary-menu:last-of-type {
  justify-self: end;
}

@media (min-width: 1200px) {
  .main-header .header-inner {
    padding-left: 100px;
    padding-right: 100px;
  }
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

/* g5plus-auteur: .main-menu > .menu-item > a (Nunito Sans, uppercase, grey + animated underline) */
.main-menu > .menu-item {
  position: relative;
  display: inline-block;
  line-height: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
}

.main-menu > .menu-item + .menu-item {
  margin-left: 35px;
}

.main-menu > .menu-item > .x-menu-link {
  font-family: var(--body-sans);
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  color: #696969;
  padding: 10px 0;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.main-menu > .menu-item > .x-menu-link:hover,
.main-menu > .menu-item > .x-menu-link:focus-visible {
  color: #333;
  opacity: 1;
}

.main-menu > .menu-item > .x-menu-link::before {
  content: "";
  position: absolute;
  height: 1px;
  bottom: 8px;
  left: -3px;
  right: -3px;
  background-color: #333;
  transition: transform 0.4s cubic-bezier(0.8, 0, 0.2, 1);
  transform: scale3d(0, 1, 1);
  transform-origin: 100% 50%;
}

.main-menu > .menu-item > .x-menu-link:hover::before,
.main-menu > .menu-item > .x-menu-link:focus-visible::before {
  transform: scale3d(1, 1, 1);
  transform-origin: 0% 50%;
}

.x-menu-link-text {
  display: inline-block;
}

.logo-header {
  display: flex;
  justify-content: center;
  justify-self: center;
}

.logo-header .main-logo img {
  max-height: 52px;
  width: auto;
}

@media (max-width: 1199px) {
  .main-header {
    display: none;
  }
}

/* ----- Mobile header ----- */
.mobile-header {
  display: none;
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

@media (max-width: 1199px) {
  .mobile-header {
    display: block;
  }
}

.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 16px;
}

.gf-toggle-icon {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.gf-toggle-icon span,
.gf-toggle-icon::before,
.gf-toggle-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  transition: transform 0.2s;
}

.gf-toggle-icon::before,
.gf-toggle-icon::after {
  content: "";
}

.mobile-logo-header img {
  max-height: 44px;
}

/* ----- Off-canvas ----- */
body.nav-open {
  overflow: hidden;
}

.canvas-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
}

body.nav-open .canvas-overlay {
  display: block;
}

.mobile-navigation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100vh;
  background: #fff;
  z-index: 210;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

body.nav-open .mobile-navigation-wrapper {
  transform: translateX(0);
}

.mobile-menu {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
}

.mobile-menu li {
  border-bottom: 1px solid #eee;
}

.mobile-menu > .menu-item > .x-menu-link {
  display: block;
  padding: 14px 0;
  font-family: var(--body-sans);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #696969;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu > .menu-item > .x-menu-link:hover,
.mobile-menu > .menu-item > .x-menu-link:focus-visible {
  color: #333;
  opacity: 1;
}

/* ----- Hero / book ----- */
.hero-section {
  background-color: var(--page-bg);
  background-image: url("../assets/background-203.jpg.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0 80px;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 70px 0 60px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  align-items: start;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.gsf-product-singular .singular-product-featured-title {
  font-family: var(--title-serif);
  font-size: 18px;
  line-height: 1.44;
  letter-spacing: 5px;
  font-weight: 400;
  margin: 0 0 12px;
  color: #b54a35;
}

.gsf-product-singular .singular-product-title {
  font-family: var(--title-serif);
  font-size: 56px;
  line-height: 1.2;
  font-weight: 400;
  margin: 12px 0 22px;
  color: #1a1a1a;
}

@media (max-width: 1199px) {
  .gsf-product-singular .singular-product-title {
    font-size: 48px;
  }
}

@media (max-width: 991px) {
  .gsf-product-singular .singular-product-title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .gsf-product-singular .singular-product-title {
    font-size: 34px;
  }
}

@media (max-width: 575px) {
  .gsf-product-singular .singular-product-title {
    font-size: 30px;
  }
}

.gsf-product-singular .singular-product-categories {
  display: block;
  font-family: var(--title-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.87;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.gsf-product-singular .singular-product-description {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 28px;
}

.gsf-product-singular .singular-product-description span {
  font-weight: 400;
}

.gsf-product-singular .singular-product-actions {
  padding-top: 11px;
  margin-top: 4px;
}

.gsf-product-singular .btn-amazon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccc;
  background-color: transparent;
  border-radius: 0;
  padding: 13px 30px;
  line-height: 20px;
  font-weight: 800;
  font-size: 13px;
  font-family: var(--body-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: #1a1a1a;
  transition: border-color 0.2s, background-color 0.2s;
}

.gsf-product-singular .btn-amazon:hover {
  opacity: 1;
  border-color: #999;
  background-color: rgba(255, 255, 255, 0.65);
}

.gsf-product-singular .btn-amazon .fa-arrow-up-right-from-square {
  font-size: 12px;
  opacity: 0.85;
}

.hero-visual {
  min-height: 280px;
}

@media (max-width: 991px) {
  .hero-visual {
    min-height: 200px;
    order: -1;
  }
}

.section-sep {
  border: none;
  border-top: 1px dashed var(--separator);
  margin: 0;
}

/* ----- Author ----- */
.author-section {
  padding: 56px 0 72px;
}

.author-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: start;
}

@media (max-width: 767px) {
  .author-grid {
    grid-template-columns: 1fr;
  }
}

.author-photo {
  text-align: right;
}

@media (max-width: 767px) {
  .author-photo {
    text-align: center;
  }
}

.author-photo img {
  border: 1px solid #e0e0e0;
}

.author-bio p {
  margin: 0 0 29px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.author-signature {
  margin: 20px 0 16px;
}

.author-name-block h2 {
  font-family: var(--title-serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 6px;
}

.author-name-block p {
  margin: 0;
  font-family: var(--title-serif);
  font-size: 15px;
  color: #555;
}

/* ----- Contact / footer ----- */
.contact-section {
  background-color: var(--page-bg);
  background-image: url("../assets/background-05.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 80px 0 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.gf-heading .heading-sub-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.accent-color {
  color: var(--accent);
}

.gf-heading .heading-title {
  font-family: var(--title-serif);
  font-size: 42px;
  font-weight: 400;
  margin: 0 0 20px;
  line-height: 1.2;
  color: #1a1a1a;
}

@media (max-width: 767px) {
  .gf-heading .heading-title {
    font-size: 34px;
  }
}

.contact-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #7d7d7d;
  margin: 0;
}

/* Form (gsf-contact-form style-1) */
.gsf-contact-form {
  margin-top: 8px;
}

.gsf-contact-form .ct-field p {
  margin: 0 0 16px;
}

.gsf-contact-form input[type="text"],
.gsf-contact-form input[type="email"],
.gsf-contact-form textarea {
  width: 100%;
  border: 1px solid #d0d0d0;
  background: #fff;
  padding: 14px 18px;
  font-family: var(--body-sans);
  font-size: 14px;
  border-radius: 0;
  transition: border-color 0.2s;
}

.gsf-contact-form input:focus,
.gsf-contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.gsf-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 575px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.btn-submit-form {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: var(--btn-dark);
  color: #fff;
  font-family: var(--body-sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 28px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit-form:hover {
  background: #333;
}

.btn-submit-form:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form-thanks {
  padding: 8px 0 24px;
}

.contact-form-thanks-title {
  font-family: var(--title-serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.contact-form-thanks-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #555;
}

.contact-form-error {
  margin: 12px 0 0;
  font-size: 14px;
  color: #a32020;
}

.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.footer-brand {
  text-align: center;
  padding: 48px 0 24px;
}

.footer-brand img {
  max-width: 300px;
}

.footer-brand .custom-footer-text-list {
  margin-top: 28px;
}

.custom-footer-text-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.custom-footer-text-list li {
  margin: 6px 0;
}

.custom-footer-text-list a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #f8f8f8;
}

/* Thanks page */
.thanks-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
  background: var(--page-bg);
}

.thanks-inner h1 {
  font-family: var(--title-serif);
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 16px;
}

.thanks-inner p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

.thanks-inner a {
  text-decoration: underline;
  font-weight: 600;
}
