/*
Theme Name: Rides for Her
Theme URI: https://solidarite-alliee.ca/
Author: Solidarite Alliee
Description: Theme WordPress minimal pour la phase hybride locale Rides for Her.
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.2
Text Domain: rides-for-her
*/

:root {
  --rfh-background: hsl(0 0% 100%);
  --rfh-foreground: hsl(270 30% 16%);
  --rfh-primary: hsl(335 82% 62%);
  --rfh-primary-dark: hsl(335 82% 52%);
  --rfh-primary-foreground: hsl(0 0% 100%);
  --rfh-accent: hsl(270 42% 58%);
  --rfh-accent-foreground: hsl(0 0% 100%);
  --rfh-accent-soft: hsl(270 35% 96%);
  --rfh-secondary: hsl(330 50% 97%);
  --rfh-muted: hsl(330 25% 97%);
  --rfh-muted-foreground: hsl(270 12% 48%);
  --rfh-border: hsl(330 25% 92%);
  --rfh-radius: 0.25rem;
  --rfh-container: 1120px;
  --rfh-shadow-elegant: 0 30px 60px -25px hsl(335 82% 62% / 0.32);
  --rfh-shadow-glow: 0 10px 40px -10px hsl(335 82% 62% / 0.45);
  --rfh-gradient-warm: linear-gradient(135deg, hsl(335 85% 68%), hsl(310 55% 62%));
  --rfh-gradient-cool: linear-gradient(180deg, hsl(270 42% 58%), hsl(275 45% 48%));
  --rfh-hero-overlay: linear-gradient(135deg, hsl(335 82% 52% / 0.72) 0%, hsl(335 82% 62% / 0.52) 50%, hsl(270 42% 58% / 0.42) 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--rfh-foreground);
  background: var(--rfh-background);
  font-family: Karla, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "kern";
  line-height: 1.6;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: Karla, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.05;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  color: var(--rfh-accent-foreground);
  background: var(--rfh-accent);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(var(--rfh-container), calc(100% - 4rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid hsl(335 82% 72% / 0.4);
  background: hsl(335 82% 62% / 0.92);
  backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1400px, calc(100% - 4rem));
  height: 4rem;
  margin-inline: auto;
}

.site-brand,
.site-footer-brand a {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.site-brand img,
.site-brand .custom-logo {
  display: block;
  width: auto;
  height: 2.5rem;
  object-fit: contain;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0;
  margin: 0;
  color: hsl(0 0% 100% / 0.9);
  font-size: 0.875rem;
  list-style: none;
}

.site-menu a {
  text-decoration: none;
  transition: color 180ms ease;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--rfh-accent);
}

.site-call-button,
.wp-block-button__link,
.rfh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--rfh-accent-foreground);
  background: var(--rfh-accent);
  box-shadow: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-call-button {
  min-height: 2.25rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
}

.site-call-button:hover,
.wp-block-button__link:hover,
.rfh-button:hover {
  transform: translateY(-1px);
  background: hsl(270 42% 53%);
}

.rfh-button:disabled {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.site-call-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.site-call-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-style-rfh-outline .wp-block-button__link,
.wp-block-button__link.is-style-rfh-outline,
.rfh-button-outline {
  color: var(--rfh-primary-foreground);
  border-color: hsl(0 0% 100% / 0.4);
  background: hsl(0 0% 100% / 0.1);
  backdrop-filter: blur(14px);
}

.is-style-rfh-outline .wp-block-button__link:hover,
.rfh-button-outline:hover {
  color: var(--rfh-primary-foreground);
  background: hsl(0 0% 100% / 0.18);
}

.is-style-rfh-primary .wp-block-button__link,
.rfh-button-primary {
  color: var(--rfh-primary-foreground);
  background: var(--rfh-primary);
}

.site-main:not(.rfh-front-page) {
  padding: 7rem 0 4rem;
}

.front-page-content,
.front-page-content .entry-content {
  margin: 0;
}

.entry-content > * {
  margin-block-start: 0;
}

.entry-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
}

.rfh-container {
  width: min(var(--rfh-container), calc(100% - 4rem));
  margin-inline: auto;
}

.rfh-container-narrow {
  width: min(56rem, calc(100% - 4rem));
  margin-inline: auto;
}

.rfh-section {
  position: relative;
  padding-block: 6rem;
  scroll-margin-top: 5rem;
}

.rfh-section-light {
  background: var(--rfh-background);
}

.rfh-section-soft {
  background: var(--rfh-accent-soft);
}

.rfh-section-primary {
  color: var(--rfh-primary-foreground);
  background: var(--rfh-primary);
}

.rfh-section-cool {
  color: var(--rfh-primary-foreground);
  background: var(--rfh-gradient-cool);
}

.rfh-eyebrow {
  color: var(--rfh-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.rfh-heading {
  max-width: 48rem;
  margin: 1rem 0 0;
  font-size: clamp(2.6rem, 6vw, 5rem);
  text-wrap: balance;
}

.rfh-heading-medium {
  font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.rfh-heading em,
.rfh-card-title em,
.rfh-quote em {
  color: var(--rfh-accent);
  font-style: italic;
}

.rfh-lead {
  max-width: 42rem;
  color: var(--rfh-muted-foreground);
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.75;
}

.rfh-section-cool .rfh-lead,
.rfh-section-primary .rfh-lead {
  color: hsl(0 0% 100% / 0.82);
}

.rfh-divider {
  width: min(20rem, 100%);
  height: 1px;
  margin-block: 2rem;
  background: linear-gradient(90deg, transparent, hsl(270 42% 58% / 0.5), transparent);
}

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

.rfh-center .rfh-heading,
.rfh-center .rfh-lead,
.rfh-center .rfh-divider {
  margin-inline: auto;
}

.rfh-grid {
  display: grid;
  gap: 1.5rem;
}

.rfh-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rfh-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rfh-card {
  padding: 2rem;
  border: 1px solid var(--rfh-border);
  border-radius: var(--rfh-radius);
  background: hsl(330 50% 97% / 0.42);
  transition: border-color 250ms ease, background-color 250ms ease, transform 250ms ease;
}

.rfh-card:hover {
  border-color: hsl(270 42% 58% / 0.6);
  transform: translateY(-2px);
}

.rfh-dark-card {
  border-color: hsl(0 0% 100% / 0.1);
  color: var(--rfh-primary-foreground);
  background: hsl(0 0% 100% / 0.06);
  backdrop-filter: blur(14px);
}

.rfh-dark-card p {
  color: hsl(0 0% 100% / 0.72);
}

.rfh-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  color: var(--rfh-accent);
  background: hsl(270 42% 58% / 0.16);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
}

.rfh-dark-card .rfh-icon,
.rfh-icon-soft {
  color: var(--rfh-accent);
  background: hsl(270 42% 58% / 0.2);
}

.rfh-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.rfh-card p {
  margin: 0;
}

.rfh-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
}

.rfh-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.rfh-list li::before,
.rfh-check::before {
  content: "";
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: var(--rfh-accent);
}

.rfh-hero {
  min-height: 100vh;
  padding-top: 4rem;
  overflow: hidden;
}

.rfh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--rfh-hero-overlay);
}

.rfh-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  width: min(1400px, calc(100% - 4rem));
  margin-inline: auto;
}

.rfh-hero-content {
  max-width: 42rem;
  padding-block: 6rem;
  animation: rfh-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rfh-hero-content > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.rfh-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  border: 1px solid hsl(270 42% 58% / 0.3);
  border-radius: 999px;
  color: var(--rfh-accent-soft);
  background: hsl(270 42% 58% / 0.15);
  backdrop-filter: blur(14px);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rfh-hero-title {
  margin: 1.5rem 0 0;
  color: var(--rfh-primary-foreground);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 0.95;
  text-wrap: balance;
}

.rfh-hero-title em {
  color: var(--rfh-accent);
  font-style: normal;
  font-weight: 400;
}

.rfh-hero-lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: hsl(0 0% 100% / 0.86);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.7;
}

.rfh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.rfh-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding: 0;
  margin: 3rem 0 0;
  color: hsl(0 0% 100% / 0.82);
  font-size: 0.875rem;
  list-style: none;
}

.rfh-hero-proof li {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.rfh-hero-proof li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--rfh-accent);
}

.rfh-mission-grid,
.rfh-recruitment-grid,
.rfh-reservation-grid,
.rfh-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.rfh-mission-media {
  position: relative;
}

.rfh-mission-media img {
  display: block;
  border-radius: var(--rfh-radius);
  box-shadow: var(--rfh-shadow-elegant);
}

.rfh-stat {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  padding: 1.2rem 1.5rem;
  border-radius: var(--rfh-radius);
  color: var(--rfh-accent-foreground);
  background: var(--rfh-accent);
  box-shadow: var(--rfh-shadow-glow);
}

.rfh-stat-number {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.rfh-stat-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rfh-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.rfh-benefit {
  padding-left: 1.25rem;
  border-left: 2px solid var(--rfh-accent);
}

.rfh-price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.rfh-price-card.is-featured {
  position: relative;
  color: var(--rfh-primary-foreground);
  background: var(--rfh-primary);
  border-color: var(--rfh-accent);
  box-shadow: var(--rfh-shadow-glow);
  transform: translateY(-1rem);
}

.rfh-price-card.is-featured p {
  color: hsl(0 0% 100% / 0.74);
}

.rfh-popular {
  position: absolute;
  top: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: var(--rfh-accent-foreground);
  background: var(--rfh-accent);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rfh-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

.rfh-price strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1;
}

.rfh-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid hsl(0 0% 100% / 0.12);
}

.rfh-video-placeholder {
  display: grid;
  place-items: center;
  min-height: min(58vw, 28rem);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--rfh-border);
  border-radius: var(--rfh-radius);
  background: hsl(330 50% 97% / 0.42);
  box-shadow: var(--rfh-shadow-elegant);
}

.rfh-quote {
  max-width: 54rem;
  margin: 0 auto;
  color: var(--rfh-primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  text-wrap: balance;
}

.rfh-stars {
  margin-bottom: 2rem;
  color: var(--rfh-accent);
  font-size: 1.25rem;
  letter-spacing: 0.18em;
}

.rfh-person {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  color: var(--rfh-muted-foreground);
  text-align: left;
}

.rfh-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: var(--rfh-gradient-warm);
}

.rfh-form-placeholder {
  padding: 2rem;
  border: 1px solid var(--rfh-border);
  border-radius: var(--rfh-radius);
  background: hsl(330 50% 97% / 0.42);
}

.rfh-form-placeholder-dark {
  border-color: hsl(0 0% 100% / 0.1);
  color: var(--rfh-primary-foreground);
  background: hsl(0 0% 100% / 0.06);
  backdrop-filter: blur(14px);
}

.rfh-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.rfh-field {
  display: grid;
  gap: 0.5rem;
}

.rfh-field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.rfh-field input,
.rfh-field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rfh-border);
  border-radius: var(--rfh-radius);
  color: var(--rfh-foreground);
  background: var(--rfh-background);
}

.rfh-form-placeholder-dark .rfh-field input,
.rfh-form-placeholder-dark .rfh-field textarea {
  color: var(--rfh-primary-foreground);
  border-color: hsl(0 0% 100% / 0.2);
  background: hsl(0 0% 100% / 0.1);
}

.rfh-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.rfh-field-full {
  grid-column: 1 / -1;
}

.rfh-form-note {
  margin: 1rem 0 0;
  color: var(--rfh-muted-foreground);
  font-size: 0.8rem;
}

.rfh-section-cool .rfh-form-note,
.rfh-section-primary .rfh-form-note {
  color: hsl(0 0% 100% / 0.62);
}

.rfh-call-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: var(--rfh-radius);
  color: var(--rfh-primary-foreground);
  background: var(--rfh-primary);
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.rfh-call-card:hover {
  background: var(--rfh-primary-dark);
  transform: translateY(-1px);
}

.rfh-query-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}

.rfh-query-image {
  min-height: 14rem;
  background: var(--rfh-gradient-warm);
}

.rfh-query-card .wp-block-post-title {
  margin-top: 0.75rem;
  font-size: 1.75rem;
}

.rfh-query-card .wp-block-post-title a {
  color: var(--rfh-foreground);
  text-decoration: none;
}

.rfh-query-card .wp-block-post-title a:hover {
  color: var(--rfh-accent);
}

.rfh-faq {
  display: grid;
  gap: 0.75rem;
}

.rfh-faq details {
  padding: 0 1.5rem;
  border: 1px solid var(--rfh-border);
  border-radius: var(--rfh-radius);
  background: var(--rfh-background);
}

.rfh-faq summary {
  cursor: pointer;
  padding: 1.25rem 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.3rem;
}

.rfh-faq details p {
  margin-top: 0;
  color: var(--rfh-muted-foreground);
}

.site-footer {
  color: var(--rfh-primary-foreground);
  background: var(--rfh-primary);
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(var(--rfh-container), calc(100% - 4rem));
  margin-inline: auto;
  padding-block: 3rem;
}

.site-footer img,
.site-footer .custom-logo {
  width: auto;
  height: 2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer-copy {
  margin: 0;
  color: hsl(0 0% 100% / 0.62);
  font-size: 0.875rem;
}

.site-footer-phone {
  color: var(--rfh-accent);
  font-size: 0.875rem;
  text-decoration: none;
}

.site-footer-phone:hover {
  text-decoration: underline;
}

.site-footer-widgets {
  color: hsl(0 0% 100% / 0.74);
  font-size: 0.875rem;
  text-align: center;
}

@keyframes rfh-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .site-menu {
    gap: 1rem;
  }
}

@media (max-width: 920px) {
  .site-menu {
    display: none;
  }

  .rfh-grid-3,
  .rfh-grid-2,
  .rfh-mission-grid,
  .rfh-recruitment-grid,
  .rfh-reservation-grid,
  .rfh-contact-grid {
    grid-template-columns: 1fr;
  }

  .rfh-price-card.is-featured {
    transform: none;
  }
}

@media (max-width: 680px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .site-nav,
  .site-shell,
  .rfh-container,
  .rfh-container-narrow,
  .site-footer-inner,
  .rfh-hero .wp-block-cover__inner-container {
    width: min(100% - 2rem, var(--rfh-container));
  }

  .site-brand img,
  .site-brand .custom-logo {
    height: 2.2rem;
  }

  .rfh-section {
    padding-block: 4rem;
  }

  .rfh-hero-content {
    padding-block: 5rem;
  }

  .rfh-hero-title {
    font-size: 3.4rem;
  }

  .rfh-form-grid,
  .rfh-benefits {
    grid-template-columns: 1fr;
  }

  .rfh-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .rfh-hero-actions .wp-block-button,
  .rfh-hero-actions .wp-block-button__link {
    width: 100%;
  }

  .rfh-hero-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .rfh-stat {
    position: static;
    margin-top: 1rem;
  }

  .site-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 680px) {
  .site-nav {
    position: relative;
  }

  .site-call-button {
    position: fixed;
    top: 0.75rem;
    right: 1rem;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    min-height: 2.5rem;
    padding: 0;
    transform: none;
    z-index: 60;
  }

  .site-call-button:hover {
    transform: none;
  }

  .site-call-button span:not(.site-call-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.site-main {
  padding: 48px 0;
}
