/* ==========================================================================
   OA Swiss Luxury — static stylesheet
   Values reproduced from the original WordPress/Kadence theme
   (palette, Alumni Sans typography, spacing, breakpoints 767 / 1024).
   ========================================================================== */

/* ---------- Fonts (Alumni Sans, variable font, self-hosted) ---------- */
@font-face {
  font-family: "Alumni Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/alumni-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Alumni Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/alumni-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --gold: #c29b3d;          /* texte, liens, bordures */
  --gold-deep: #c5982a;     /* titres */
  --gold-faded: rgba(194, 155, 61, 0.4); /* hover liens */
  --black: #000;
  --white: #fff;

  --font: "Alumni Sans", sans-serif;
  --fs-body: 1.7rem;        /* 27.2px */
  --fs-heading: 2em;        /* 54.4px */
  --fs-tagline: clamp(2rem, 1.6rem + 1vw, 2.5rem);

  --content-width: 1290px;
  --edge: 1.5rem;
  --gutter: 2rem;
  --space-20: 0.44rem;
  --space-30: 0.67rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--gold);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2 {
  margin: 0;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: var(--fs-heading);
}

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

a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.1em;
  transition: color 0.1s linear;
}
a:hover,
a:focus-visible { color: var(--gold-faded); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--white);
  color: var(--black);
  font-size: 1rem;
}
.skip-link:focus { top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: url("../assets/img/herocigar.webp") center / cover no-repeat;
  animation: fade-in 2s;
}
.hero::before {               /* voile noir 65 % */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0.65;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--edge);
  text-align: center;
}
.hero__logo { width: 200px; }
.hero__title {
  margin: var(--space-30) 0;
  padding: var(--space-30) 0;
  line-height: 1;
}
.hero__tagline {
  margin: var(--space-20) 0;
  font-size: var(--fs-tagline);
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Feature rows (image ronde + texte) ---------- */
.feature {
  display: grid;
  grid-template-columns: calc(30% - var(--gutter) / 2) calc(70% - var(--gutter) / 2);
  gap: var(--gutter);
  max-width: 80%;
  margin: 0 auto;
}
.feature--about  { padding: 1.5rem 0; }
.feature--cigars { padding: 3rem 0; }

.feature__media { align-self: center; }
.feature--cigars .feature__body { align-self: center; }

.feature__body h2 {
  margin: 0 0 0.5em;
  line-height: 1.5;
}

.round-img {
  width: 80%;
  margin: 0 auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 5px solid var(--gold);
  border-radius: 50%;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--white);
  text-align: center;
}
.social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3em;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 14px var(--edge) 30px;
}
.social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  border-radius: 3px;
  color: var(--gold);
  transition: color 0.1s linear, opacity 0.1s linear;
}
.social__link:hover,
.social__link:focus-visible { color: var(--gold-deep); opacity: 0.7; }
.social__link svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.copyright {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--edge) 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  a, .social__link { transition: none; }
}
