:root {
  /* Colors */
  --surface-dark:      #161412; /* couleur qui contraste bien avec le gold pour l'écriture */
  --text-primary:      #f4ece0; 
  --text-secondary: #c7bdac;
  --text-muted: #8a8175;
  --accent:       #d4a574; /* utilisé pour les boutons */
  --accent-dark:  #b8863f;
  --border-subtle:     rgba(255, 255, 255, 0.06);
  --accent-line:  rgba(232, 212, 163, 0.18);
  --accent-gradient:  linear-gradient(135deg, #e8d4a3, #d4a574, #b8863f);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sc:      'Cormorant SC', serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --font-ui:      'Jost', sans-serif;

  /* fond semi-transparent utilisé à plusieurs endroits */
  --surface-overlay: rgba(22, 20, 18, 0.95);
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    background-image: url('/images/bg_dark.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

[data-theme="light"] .hero       { background-image: url('/images/bg_light.webp'); }
[data-theme="light"] .hero-title {
    color: #222222;
    text-shadow: 0 0 8px #dddddd, 0 0 8px #dddddd, 0 0 20px #dddddd, 0 0 20px #dddddd, 0 0 40px #dddddd;
}

/* typewritter effect */
.hero-title {
    margin-left: 15vw;
    color: var(--text-primary);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    font-style: italic;
    text-align: center;
    letter-spacing: 0.04em;
    padding: 0 1.5rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.tw-line {
    display: block;
    min-height: 1.3em;
}

.cursor {
    font-style: normal;
    font-weight: 300;
    animation: blink 0.75s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* transition waves */
.waves-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: -100px;
}

.waves-divider img {
    display: block;
    min-width: 3000px;
    width: 100%;
    height: auto;
}


@media (max-width: 768px) {
  .hero {
    justify-content: center;
  }

  .hero-title {
    margin-left: 0;
  }
}


.container {
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 220px;
  gap: 35px;
}

.container img{
    width: 40vw;
    border-radius: 10px;
}

.crossfade {
    position: relative;
    width: 40vw;
    flex-shrink: 0;
}

.crossfade img {
    width: 100%;
    border-radius: 10px;
    transition: opacity 1s ease;
}

.crossfade img:last-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.crossfade.show-second img:first-child { opacity: 0; }
.crossfade.show-second img:last-child  { opacity: 1; }

.container .about{
    width:25vw;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.title{
    margin: 0;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 2.6vw, 2.75rem);
    line-height: 1;
    color: var(--text-primary);
}

.title em{
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about p{
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.16rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.about .hours{
    font-family: var(--font-sc);
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--accent);
}

.about .hours span{
    color: var(--accent-dark);
}

.about a{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: color 300ms ease;
}

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

.about a:hover .cta-arrow{
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .container{
        flex-direction: column;
    }
    .container img{
        width: 70vw;
    }
    .container .about{
        width: 80vw;
    }
    .order{
        order: 100;
    }
}


/* ── Section Avis ──────────────────────────────────────────── */

.reviews-section {
    margin-top: 180px;
    margin-bottom: 140px;
}

/* séparateur décoratif entre les sections */
.section-sep {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 80px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.section-sep::before,
.section-sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--accent-line);
}

.section-sep-ornament {
    font-family: var(--font-sc);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--accent-dark);
    white-space: nowrap;
}

.reviews-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.reviews-header {
    text-align: center;
    margin-bottom: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.reviews-label {
    font-family: var(--font-sc);
    font-size: 0.7rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--accent);
}

.reviews-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.1;
    color: var(--text-primary);
}

.reviews-title em {
    font-style: italic;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Carousel */
.reviews-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviews-viewport {
    flex: 1;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 28px;
    transition: transform 550ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carte individuelle */
.review-card {
    flex: 0 0 calc((100% - 56px) / 3);
    border: 1px solid var(--accent-line);
    border-radius: 4px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 300ms ease;
}

.review-card:hover {
    border-color: rgba(212, 165, 116, 0.4);
}

/* Icône guillemets via CSS mask */
.review-quote {
    display: block;
    width: 30px;
    height: 26px;
    background-color: var(--accent);
    -webkit-mask: url('/images/avis/quotes.svg') center / contain no-repeat;
            mask: url('/images/avis/quotes.svg') center / contain no-repeat;
    opacity: 0.75;
}

.review-text {
    flex: 1;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-line);
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-name {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 2px;
}

.review-role {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

/* Flèches */
.reviews-arrow {
    all: unset;
    cursor: pointer;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border: 1px solid var(--accent-line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.6rem;
    line-height: 1;
    transition: border-color 300ms ease, color 300ms ease;
    user-select: none;
}

.reviews-arrow:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Dots */
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.reviews-dot {
    all: unset;
    cursor: pointer;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background 300ms ease, transform 300ms ease;
}

.reviews-dot.is-active {
    background: var(--accent);
    transform: scale(1.4);
}

/* Responsive */
@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc((100% - 28px) / 2);
    }
}

@media (max-width: 600px) {
    .reviews-section {
        margin-top: 100px;
    }
    .review-card {
        flex: 0 0 100%;
    }
    .reviews-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
}
