/*
Theme Name: Aubexa
Theme URI: https://aubexa.fr
Description: Thème WordPress custom pour Aubexa Media — conversion Next.js. Communication digitale, branding et community management.
Version: 1.0.0
Author: Aubexa Media
Author URI: https://aubexa.fr
Tags: custom-background, custom-logo, featured-images, portfolio, translation-ready, dark-light-base
Text Domain: aubexa
*/

@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ===== CSS Custom Properties (from globals.css) ===== */
:root {
  --font-exo2: 'Exo 2', system-ui, sans-serif;
  --font-playfair: 'Playfair Display', Georgia, serif;

  --background: 60 20% 98%;        /* #fafaf8 (clair, comme l'app Next) */
  --foreground: 198 31% 6%;        /* #0B1215 */

  --card: 0 0% 100%;               /* #ffffff */
  --card-foreground: 198 31% 6%;

  --popover: 0 0% 100%;
  --popover-foreground: 198 31% 6%;

  --primary: 236 100% 81%;         /* melrose #a1a6ff */
  --primary-foreground: 240 6% 10%;/* très foncé */

  --secondary: 199 29% 84%;        /* botticelli #c3d9e4 */
  --secondary-foreground: 222 5% 10%;

  --muted: 0 0% 20%;               /* gris neutre */
  --muted-foreground: 0 0% 70%;

  --accent: 199 29% 84%;           /* même que secondary */
  --accent-foreground: 222 5% 10%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 180 1% 32%;            /* #535454 approché */
  --input: 180 1% 32%;
  --ring: 236 100% 81%;            /* primary */

  --radius: 0.75rem;

  /* Breakpoints personnalisés */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;

  /* Headings adaptatives */
  --fs-heading: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  --fs-paragraph: clamp(0.95rem, 0.85rem + 0.8vw, 1.5rem);
  --fs-h1: clamp(1.8rem, 1.5rem + 2.5vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 1.2rem + 2vw, 2.8rem);
  --fs-h3: clamp(1.2rem, 1rem + 1.5vw, 2rem);
  --fs-body: clamp(0.95rem, 0.85rem + 0.8vw, 1.1rem);
  --fs-small: clamp(0.85rem, 0.75rem + 0.5vw, 1rem);

  /* Hauteurs adaptatives */
  --height-hero: clamp(70vh, 100vh, 100svh);
  --height-section: clamp(60vh, 100vh, 100svh);

  /* Espacements adaptatifs */
  --spacing-xs: clamp(0.5rem, 1vw, 0.75rem);
  --spacing-sm: clamp(0.75rem, 2vw, 1rem);
  --spacing-md: clamp(1rem, 3vw, 1.5rem);
  --spacing-lg: clamp(1.5rem, 5vw, 2.5rem);
  --spacing-xl: clamp(2rem, 8vw, 4rem);

  /* Couleurs site */
  --sable-light: #ece8e0;
}

/* ===== Custom Utilities (from globals.css) ===== */
@media (min-width: 375px) and (max-width: 639px) {
  :root {
    --breakpoint-xs: 375px;
  }
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.fs-heading {
  font-size: var(--fs-heading);
}

.fs-paragraph {
  font-size: var(--fs-paragraph);
}

.font-exo2 {
  font-family: var(--font-exo2), system-ui, sans-serif;
}

.font-playfair {
  font-family: var(--font-playfair), serif;
}

.section-full-minus-nav {
  min-height: calc(100vh - 56px);
}

.vertical-text-clip {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-exo2), system-ui, sans-serif;
  letter-spacing: 0;
  color: #c3d9e4;
  font-weight: 600;
  transform: rotate(180deg);
  text-align: left;
  cursor: default;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 2rem;
  font-size: clamp(10rem, 25vh, 12rem);
  line-height: .7;
  display: flex;
}

@media (min-width: 1024px) {
  .vertical-text-clip {
    color: rgba(0,0,0,0);
    background-image: url("https://www.aubexa.fr/wp-content/uploads/2026/08/thai-nguyen-5Y507jwIRrY-unsplash.webp");
    background-position: 100%;
    background-size: auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke-width: 0px;
    -webkit-text-fill-color: transparent;
  }
}

.hero-txt {
  border: 1px solid #fff;
  border-radius: 20px 0;
  padding: clamp(1rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 2.5rem);
  box-shadow: 10px 10px 19px rgba(0,0,0,0.2);
  backdrop-filter: blur(15px);
}

@media (max-width: 767px) {
  .hero-txt {
    border-radius: 10px;
    padding: 1rem 1.25rem;
  }
}

.lg\:max-w-180 {
  max-width: 45rem;
}

/* ===== Choisir Aubexa (choisir-aubexa.module.css) ===== */
.pourquoi-bg-blurry {
  z-index: 1;
  background-image: linear-gradient(297deg, #a1a6ff, #d1ecd7);
  filter: blur(100px) blur(50px);
  border-radius: 500px;
  width: clamp(250px, 60vw, 700px);
  height: clamp(250px, 60vw, 700px);
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  transform-style: preserve-3d;
  pointer-events: none;
  opacity: 0.6;
}

@media (max-width: 640px) {
  .pourquoi-bg-blurry {
    opacity: 0.4;
    filter: blur(80px) blur(40px);
  }
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.footer-subscribe {
  z-index: 998;
  border-top: 1px solid #e4ebf3;
  padding: clamp(2rem, 5vw, 3.125rem) clamp(1.875rem, 3vw, 1.875rem);
  position: static;
}

@media (max-width: 640px) {
  .footer-subscribe {
    padding: 1.5rem 1rem;
  }
}

.footer-form-two {
  background-color: var(--sable-light);
  border-radius: 10px;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  padding: clamp(2rem, 6vw, 4rem);
  box-shadow: 6px 6px 19px rgba(0,0,0,0.2);
}

@media (max-width: 767px) {
  .footer-form-two {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
  }
}

.w-form {
  margin: 0 0 15px;
}

.footer-wrapper-three {
  justify-content: space-between;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

@media (max-width: 640px) {
  .footer-wrapper-three {
    margin-bottom: 1.5rem;
    gap: clamp(0.75rem, 2vw, 1.5rem);
  }
}

.footer-divider-two {
  background-color: #e4ebf3;
  width: 100%;
  height: 1px;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.footer-bottom {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 1.5rem);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* WordPress Block Styles */
.wp-block-heading {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 3rem !important;
  margin-top: 3rem !important;
}

.wp-block-image img {
  border-radius: 10px;
  box-shadow: 6px 6px 19px rgba(0,0,0,0.2);
  margin: 4rem 0;
}

article > div > p {
  font-size: 1.3rem !important;
  line-height: 1.4rem !important;
  margin-bottom: 1.5rem !important;
}

.wp-block-button {
  justify-self: center !important;
  margin: 3rem 0;
  transition: all 0.5s ease-in-out !important;
}

.wp-block-button:hover {
  transform: scale(1.05);
}

.wp-block-button__link {
  background: #6a7f83 !important;
  color: white;
  border-radius: 25px !important;
  padding: .75rem 1.5rem !important;
  font-weight: 600 !important;
  box-shadow: 4px 4px 15px rgba(0,0,0,0.2) !important;
  font-weight: 500 !important;
  transition: all 0.5s ease-in-out !important;
}

.wp-block-button__link:hover {
  background: #fff !important;
  box-shadow: 6px 8px 10px rgba(0,0,0,0.2) !important;
  color: #0a0b0b;
}

ul.wp-block-list {
  list-style: inside;
  margin-bottom: 1.5rem;
  font-size: clamp(0.95rem, 1vw, 1.3rem);
  line-height: clamp(1.5rem, 2.5vw, 2rem);
}

@media (max-width: 640px) {
  .wp-block-heading {
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
  }

  article > div > p {
    font-size: 1rem !important;
    line-height: 1.3rem !important;
    margin-bottom: 1rem !important;
  }
}
