/* MOBILE PAR DEFAUT : 0px à 480px */

:root {
  --pink:       #c8557c;
  --pink-light: #f2d9e3;
  --pink-pale:  #faf3f6;
  --pink-mid:   #e8b4c8;
  --text:       #3a3a3a;
  --muted:      #7a7a7a;
  --white:      #ffffff;
  --bg-section: #f7f0f3;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  margin: 0;
}

header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #f0e4ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo img {
  height: 60px;
}

/* ── NAVIGATION DESKTOP (cachée sur mobile) ─ */
nav {
  display: none;
}

nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--pink-mid);
}

/* ── BURGER ──*/
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1002;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation burger actif */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed;
  top: 81px;
  right: -100%;
  width: 60%;
  background: var(--white);
  border-left: 1px solid #f0e4ea;
  box-shadow: -4px 0 20px rgba(200, 85, 124, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 999;
  transition: right 0.45s ease;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  width: 100%;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  padding: 0.7rem;
  display: block;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav a:hover {
  color: var(--pink);
  background: var(--pink-pale);
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/images/rideau-hero-section-mobile.jpg') center bottom / cover no-repeat;
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 360px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 26px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  background: var(--white);
  color: var(--pink);
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* ── SECTIONS BASE ──*/
section {
  padding: 40px 24px;
}

.sectionTitle {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.sectionSub {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 40px;
}

/* ── SERVICES ── */
#services {
  background: var(--white);
}

#services i {
  color: var(--pink);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid #f0e6ec;
  border-radius: 15px;
  padding: 28px 22px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(200, 85, 124, 0.1);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.card p {
  color :#7a7a7a;
  font-size: 14px;
  line-height: 1.7;
}

/* ── ABOUT ─── */
#about {
  background: var(--bg-section);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-img {
  opacity: 0.7;
}

.about-img img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  height: 240px;
  box-shadow: 0 12px 36px rgba(200, 85, 124, 0.12);
}

.about-text h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 14px;
}

.stats {
  display: flex;
  gap: 36px;
  margin-top: 20px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--pink);
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── GALERIE CAROUSEL ── */
#galerie {
  background: var(--white);
}

.carousel {
  max-width: 900px;
  margin: 0 auto;
}

/* Grande image */
.carousel-main {
  width: 100%;
  aspect-ratio: 5/3;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.carousel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
  opacity: 0.8;
}

.carousel-main img.fade {
  opacity: 0;
}

/* Wrapper flèches + miniatures */
.carousel-thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Flèches */
.carousel-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #f0e6ec;
  background: var(--white);
  color: var(--pink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.carousel-arrow:hover {
  background: var(--pink);
  color: var(--white);
}

/* Miniatures */
.carousel-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  flex: 1;
}

.carousel-thumbs::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.thumb {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}

.thumb:hover {
  opacity: 0.85;
}

.thumb.active {
  opacity: 1;
  border-color: var(--pink);
}

/* ── TARIFS ── */
#tarifs {
  background: var(--bg-section);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: 15px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(200, 85, 124, 0.07);
}

.pricing-card h3 {
  font-size: 17px;
  margin-bottom: 20px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f5ecf0;
  font-size: 13px;
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row .price {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

 #tarifs .price {
  color: var(--pink);
}

/* ── CONTACT ── */
#contact {
  background: var(--white);
}

.contact-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center; /* centre l'icône et le texte */
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pink-pale);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
}

.contact-item a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item i {
  color: var(--pink);
}

.contact-item p {
  font-size: 14px;
  color: var(--muted);
}

.contact-item a:hover {
  color: var(--pink);
}

/* ── FOOTER ── */
footer {
  background: var(--bg-section);
  text-align: center;
  padding: 20px 24px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid #f0e4ea;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--pink);
}

/* GRAND MOBILE */
@media (min-width: 481px) {

}


/* MOBILE LANDSCAPE / PETITE TABLETTE */
@media (min-width: 576px) {

/* HEADER */
#hero {
  height: 380px;
}

.hero-bg {
  background: url('assets/images/rideau-hero-section.png') center bottom / cover no-repeat;
}

/* CONTACT */
.contact-items {
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-evenly;
}

}


/* TABLETTE PORTRAIT */
@media (min-width: 768px) {

/* HEADER */
header {
  padding: 12px 25px;
  height: 72px;
}

.logo img {
  height: 68px;
}

.burger {
  display: none;
}

.mobile-nav {
  display: none !important;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--pink);
}

/* HERO */
#hero {
  height: 440px;
}

.hero-content {
  padding: 0 56px;
  max-width: 480px;
}

.hero-content h1 { font-size: 32px; }
.hero-content p  { font-size: 15px; }

/* SECTIONS */
section {
  padding: 56px 36px;
}

.sectionTitle { font-size: 26px; }

/* SERVICES */
.cards {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ABOUT */
.about-img img {
  height: 300px;
}

/* GALERIE */
.gallery-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cards .card:last-child:nth-child(odd),
.gallery-grid .gallery-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;  /* prend toute la largeur */
  max-width: 50%;       /* mais reste à la moitié */
  margin: 0 auto;       /* et se centre */
  justify-self: center;
}

/* TARIFS */
.pricing-grid {
  grid-template-columns: 1fr 1fr;
}

.pricing-grid .pricing-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: stretch;
}

/* CONTACT */
.contact-items {
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  justify-content: space-evenly;
}

.contact-item p{
  text-align: center;
}
}


/* TABLETTE LANDSCAPE */
@media (min-width: 992px) {

/* HEADER */
header {
  padding: 10px 25px;
  height: 76px;
}

.logo img {
  height: 72px;
}

/* HERO */
.hero-content h1 { font-size: 38px; }

/* SECTIONS */
section {
  padding: 72px 48px;
}

.sectionTitle { font-size: 28px; }

/* SERVICES — 3 colonnes, annule l'orphelin */
.cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards .card:last-child:nth-child(odd) {
  grid-column: auto;
  max-width: 100%;
  margin: 0;
  justify-self: auto;
}

/* ABOUT — 2 colonnes */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-img { order: 0; }
.about-img img { height: 360px; }
.about-text h2 { font-size: 28px; }
.about-text p  { font-size: 15px; }

.stats {
  margin-left: 1rem;
}

/* GALERIE — 3 colonnes, annule l'orphelin */
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid .gallery-item:last-child:nth-child(odd) {
  grid-column: auto;
  max-width: 100%;
  margin: 0;
  justify-self: auto;
}

/* TARIFS */
.pricing-grid {
  max-width: 1100px;
}

.contact-items {
  justify-content: space-evenly;
  padding: 0 80px 0 80px;
}

}

/* DESKTOP */
@media (min-width: 1024px) {

/* HEADER*/ 
header {
  height: 96px; 
}
.logo img { 
  height: 88px; 
}
nav a { 
  font-size: 17px; 
}

/* SECTIONS */
section {
  padding: 88px 64px;
}

.sectionTitle { font-size: 30px; }
.sectionSub   { font-size: 15px; }

/* HERO */
.hero-content h1 { font-size: 48px; }
.hero-content p  { font-size: 18px; }

/* SERVICES */
.card h3 { font-size: 18px; }
.card p  { font-size: 15px; }

/* ABOUT */
.about-text h2 { font-size: 30px; }
.about-text p  { font-size: 15px; }
.stat-num      { font-size: 32px; }

/* TARIFS */
.pricing-card h3   { font-size: 20px; }
.pricing-row       { font-size: 15px; }

/* CONTACT */
.contact-items {
  padding: 0 120px 0 120px;
}
.contact-item p { font-size: 15px; }

}

/* LARGE DESKTOP */
@media (min-width: 1280px) {

/* HEADER */
header {
  padding: 10px 30px;
  height: 94px;
}

.logo img { 
  height: 90px; 
}

/* SECTIONS */
section {
  padding: 100px 80px;
}

.sectionTitle { font-size: 32px; }

/* HERO */
.hero-content h1 { font-size: 46px; }
.hero-content {
  max-width: 600px;
}

/* TARIFS */
.pricing-grid {
  max-width: 1200px;
}

.contact-items {
  justify-content: space-evenly;
  padding: 20px 240px 0 240px;
}

}

/* EXTRA LARGE DESKTOP */
@media (min-width: 1920px) {

/* HEADER */
header {
  padding: 10px 25px;
  height: 96px;
}

.logo img { 
  height: 92px; 
}

nav a { 
  font-size: 18px; 
}

/* SECTIONS */
section {
  padding: 120px 120px;
}

.sectionTitle { font-size: 36px; }
.sectionSub   { font-size: 16px; }

/* HERO */
.hero-content h1 { font-size: 62px; }
.hero-content p  { font-size: 20px; }
.hero-content {
  max-width: 700px;
}

/* TARIFS */
.pricing-grid {
  max-width: 1400px;
}

}

/* ── POLITIQUE DE CONFIDENTIALITE ── */
.legal-hero {
      background: var(--bg-section);
      padding: 120px 24px 56px;
      text-align: center;
      border-bottom: 1px solid #f0e4ea;
    }
    .legal-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 10px;
    }
    .legal-hero p {
      color: var(--muted);
      font-size: 14px;
    }
    .legal-content {
      max-width: 780px;
      margin: 0 auto;
      padding: 48px 24px 80px;
    }
    .legal-block {
      margin-bottom: 40px;
    }
    .legal-block h2 {
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--pink);
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--pink-light);
    }
    .legal-block p,
    .legal-block li {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 8px;
    }
    .legal-block ul {
      padding-left: 20px;
    }
    .legal-block strong {
      color: var(--text);
      font-weight: 700;
    }
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--pink);
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 40px;
      transition: opacity 0.2s;
    }
    .back-link:hover { opacity: 0.75; }
    .highlight-box {
      background: var(--pink-pale);
      border-left: 3px solid var(--pink);
      border-radius: 0 10px 10px 0;
      padding: 16px 20px;
      margin: 16px 0;
    }
    .highlight-box p {
      margin: 0;
      font-size: 13px !important;
    }

    @media (min-width: 768px) {
      .legal-hero { padding: 140px 36px 64px; }
      .legal-hero h1 { font-size: 34px; }
      .legal-content { padding: 60px 36px 100px; }
      .legal-block h2 { font-size: 20px; }
      .legal-block p,
      .legal-block li { font-size: 15px; }
      .highlight-box p { font-size: 14px !important; }
    }

    /* MENTIONS LEGALES */
    .legal-hero {
      background: var(--bg-section);
      padding: 120px 24px 56px;
      text-align: center;
      border-bottom: 1px solid #f0e4ea;
    }
    .legal-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: 28px;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 10px;
    }
    .legal-hero p {
      color: var(--muted);
      font-size: 14px;
    }
    .legal-content {
      max-width: 780px;
      margin: 0 auto;
      padding: 48px 24px 80px;
    }
    .legal-block {
      margin-bottom: 40px;
    }
    .legal-block h2 {
      font-family: 'Playfair Display', serif;
      font-size: 18px;
      font-weight: 600;
      color: var(--pink);
      margin-bottom: 14px;
      padding-bottom: 8px;
      border-bottom: 1px solid var(--pink-light);
    }
    .legal-block p,
    .legal-block li {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.8;
      margin-bottom: 8px;
    }
    .legal-block ul {
      padding-left: 20px;
    }
    .legal-block strong {
      color: var(--text);
      font-weight: 700;
    }
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--pink);
      text-decoration: none;
      font-size: 14px;
      font-weight: 700;
      margin-bottom: 40px;
      transition: opacity 0.2s;
    }
    .back-link:hover { opacity: 0.75; }

    @media (min-width: 768px) {
      .legal-hero { padding: 140px 36px 64px; }
      .legal-hero h1 { font-size: 34px; }
      .legal-content { padding: 60px 36px 100px; }
      .legal-block h2 { font-size: 20px; }
      .legal-block p,
      .legal-block li { font-size: 15px; }
    }