/* ============================================
   PHYTO-SOIN | Chloé Vacle Naturopathe
   Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Color Palette - Nature & Elegance */
  --color-primary: #3B5D3A;
  --color-primary-dark: #2A4329;
  --color-primary-light: #5A7D59;
  --color-secondary: #C4A265;
  --color-secondary-light: #D4BA85;
  --color-accent: #8BA888;
  --color-bg: #FDFBF7;
  --color-bg-alt: #F5F0E8;
  --color-bg-dark: #1A2E1A;
  --color-text: #2D2D2D;
  --color-text-light: #6B6B6B;
  --color-text-muted: #9B9B9B;
  --color-white: #FFFFFF;
  --color-border: #E8E2D6;
  --color-border-light: #F0EBE1;

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --header-height: 80px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 12px 60px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-secondary);
}

.section-subtitle {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.section-title {
  margin-bottom: var(--space-md);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-secondary);
  margin-top: var(--space-sm);
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

.section--dark p {
  color: rgba(255, 255, 255, 0.8);
}

.section--dark .section-title::after {
  background: var(--color-secondary);
}

/* Fond vert (m&ecirc;me d&eacute;grad&eacute; que le hero de l'accueil) */
.section--green {
  background: linear-gradient(135deg, #2A4329 0%, #3B5D3A 30%, #4A6B49 60%, #2A4329 100%);
  color: var(--color-white);
}

.section--green h2,
.section--green h3,
.section--green h4 {
  color: var(--color-white);
}

.section--green p {
  color: rgba(255, 255, 255, 0.85);
}

.section--green .section-title::after,
.section--green .section__title::after {
  background: var(--color-secondary);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--gold {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border: 2px solid var(--color-secondary);
}

.btn--gold:hover {
  background-color: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}

.btn--white:hover {
  background-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 0.95rem;
}

.btn--sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
}

.header--transparent {
  background: transparent;
}

.header--scrolled {
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.header--scrolled .nav__logo-text {
  color: var(--color-primary-dark);
}

.header--scrolled .nav__link {
  color: var(--color-text);
}

.header--scrolled .nav__link:hover,
.header--scrolled .nav__link.active {
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-white);
  transition: color var(--transition);
}

.nav__logo-text span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-secondary);
  transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-secondary);
}

.nav__cta {
  margin-left: 1rem;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
  border-radius: 2px;
}

.header--scrolled .nav__toggle span {
  background: var(--color-text);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2A4329 0%, #3B5D3A 30%, #4A6B49 60%, #2A4329 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 162, 101, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 168, 136, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(42, 67, 41, 0.3) 0%, transparent 50%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 C40 22 22 40 0 40 C22 40 40 58 40 80 C40 58 58 40 80 40 C58 40 40 22 40 0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-md);
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-secondary);
  border: 1px solid rgba(196, 162, 101, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: italic;
  color: var(--color-secondary-light);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 3s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* --- Hero for sub-pages --- */
.hero--sub {
  min-height: 50vh;
  padding-top: var(--header-height);
}

.hero--sub .hero__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

/* --- Card Component --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-bg-alt), #E8E2D6);
}

.card__body {
  padding: var(--space-lg);
}

.card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  background: rgba(196, 162, 101, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: var(--space-sm);
}

.card__title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.card__price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.card__price small {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* --- Service Card (special) --- */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card__icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 93, 58, 0.08), rgba(196, 162, 101, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.75rem;
}

.service-card__title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.service-card__price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.service-card__duration {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* --- Features Grid --- */
.feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.feature__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 93, 58, 0.1), rgba(196, 162, 101, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.feature__title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.feature__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- About / Bio Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-bg-alt), #E8E2D6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-accent);
}

.about__image-wrapper::after {
  content: '';
  position: absolute;
  top: 1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  left: 1.5rem;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about__content {
  padding: var(--space-lg) 0;
}

.about__content .section-subtitle {
  margin-bottom: var(--space-xs);
}

.about__content .section-title {
  margin-bottom: var(--space-lg);
}

.about__text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.about__signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-top: var(--space-lg);
}

/* --- Testimonials --- */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-secondary);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.testimonial__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.testimonial__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.testimonial__stars {
  color: #f5a623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.testimonials__rating {
  margin-top: var(--space-xs);
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.testimonials__rating .testimonial__stars {
  display: inline;
  margin: 0 0.4rem 0 0;
}

#testimonials-grid {
  transition: opacity 0.4s ease;
}

/* D&eacute;calage pour que les ancres ne passent pas sous le header fixe */
#reserver,
#localisation {
  scroll-margin-top: 90px;
}

/* --- Shop / Products --- */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--color-border-light);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--color-bg-alt), #E8E2D6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-accent);
  position: relative;
  overflow: hidden;
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: var(--color-primary);
  color: var(--color-white);
}

.product-card__body {
  padding: var(--space-md);
}

.product-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0.4rem;
}

.product-card__title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.product-card__text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-light);
}

.product-card__price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-primary);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  padding: var(--space-lg) 0;
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.contact-item__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 93, 58, 0.1), rgba(196, 162, 101, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item__title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-item__text {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-item__text a {
  color: var(--color-primary);
}

.contact-item__text a:hover {
  color: var(--color-secondary);
}

/* Form */
.form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: var(--space-md);
}

.form__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(59, 93, 58, 0.1);
}

.form__textarea {
  min-height: 140px;
  resize: vertical;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* --- Banner CTA --- */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 C40 22 22 40 0 40 C22 40 40 58 40 80 C40 58 58 40 80 40 C58 40 40 22 40 0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* --- Footer --- */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: var(--space-3xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.footer__logo span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.footer__link {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-secondary);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--color-secondary);
}

/* --- Disclaimer Banner --- */
.disclaimer {
  background: rgba(196, 162, 101, 0.08);
  border: 1px solid rgba(196, 162, 101, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.disclaimer strong {
  color: var(--color-text);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--space-md) var(--space-lg);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.active {
  display: flex;
}

.cookie-banner__text {
  font-size: 0.85rem;
  line-height: 1.6;
  flex: 1;
}

.cookie-banner__text a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* --- Legal Pages --- */
.legal-content {
  padding: var(--space-xl) 0 var(--space-3xl);
}

.legal-content h2 {
  font-size: 1.75rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.legal-content h2:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.legal-content h3 {
  font-size: 1.25rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-md);
}

.legal-content ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.45s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.75s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .about__image-wrapper::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: var(--space-2xl) 0; }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + 2rem) var(--space-lg) var(--space-lg);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition);
  }

  .nav__menu.open {
    right: 0;
  }

  .nav__menu .nav__link {
    color: var(--color-text);
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .nav__menu .nav__cta {
    margin-left: 0;
    margin-top: var(--space-sm);
  }

  .nav__toggle {
    display: flex;
  }

  .hero__title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .hero--sub { min-height: 40vh; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }
}

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

.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
