/**
Theme Name: BlackVirgin
Author: BlackVirgin
Author URI: https://blackvirgin.fr/
Description: Astra Child Theme WP for Black Virgin www.blackvirgin.fr
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackvirgin
Template: astra
*/
/* === 1. POLICES LOCALES MONTSERRAT - woff2 === */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* === 2. VARIABLES CSS === */
:root {
  --color-bg: #000000;
  --color-bg-alt: #1a1a1a;
  --color-bg-alt2: #1d1e20;
  --color-bg-alt3: #56585e;

  --color-text: #f1f1f1;
  --color-accent: #c99e12;
  --color-accent-video: #621eba;

  --font-family-main: 'Montserrat', sans-serif;

  --radius: 20px;
  --transition-default: all 0.4s ease;
  --container-width: 1250px;
  --container-padding-mobile: 3mm;
}

/* === 3. STYLES DE BASE === */
body {
  font-family: var(--font-family-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  transition: var(--transition-default);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-default);
}

a:hover {
  color: var(--color-text);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding-mobile);
  padding-right: var(--container-padding-mobile);
}

/* === 4. TITRES === */
h1, h2, h3, h4, h5, h6 {
  word-break: break-word;
  hyphens: auto;
  overflow-wrap: break-word;
  line-height: 1.2;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* === 5. BOUTONS === */
.button, .wp-block-button__link {
  display: inline-block;
  padding: 0.7em 1.5em;
  font-weight: 700;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  background-color: #000;
  color: var(--color-accent);
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-default);
}

.button:hover, .wp-block-button__link:hover {
  background-color: var(--color-accent);
  color: #000;
}

/* === 6. SECTION VIDÉO (VIOLET) === */
.video-section {
  --color-accent: var(--color-accent-video);
}

.video-section a,
.video-section .button,
.video-section .wp-block-button__link {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.video-section .button:hover,
.video-section .wp-block-button__link:hover {
  background-color: var(--color-accent);
  color: #000;
}

/* === 7. ANIMATIONS (partie CSS uniquement, JS à inclure à part) === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.no-fade {
  opacity: 1 !important;
  transform: none !important;
}

/* === 8. RESPONSIVE === */
@media (max-width: 768px) {
  .container {
    padding-left: var(--container-padding-mobile);
    padding-right: var(--container-padding-mobile);
  }

  h1 { font-size: 1.8em; }
  h2 { font-size: 1.6em; }
  h3 { font-size: 1.4em; }
  p, li { font-size: 1em; }
}
