/* styles/global.css */
@import "./Montserrat.css";

/* Ensure euro symbol displays correctly */
body {
  font-family: "Montserrat", "Arial", sans-serif;
}

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

/* VARIABLES */
:root {
  --orange-light: #ffb57d4d;
  --orange-light-solid: #fde8d8;
  --orange: #e8510b;
  --orange-dark: #b33a00;
  --purple: #57273d;
  --purple-light: #8c5d737e;
  --purple-dark: #3c212e;
  --teal: #0e8a8a;
  --teal-light: #e8f6f6;
  --teal-dark: #076060;
  --bg: #ffffff;
  --text: #1a1a1a;
  --gray: #6b7280;
  --border: #e8e8e6;
  --faq-background: #f0f8c281;
  --faq-dark: #b8d129;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
}

/* BASE */
body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

/* NAVBAR */
nav {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  justify-self: start;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 32px;
  width: auto;
  transition: opacity 0.2s;
}

.nav-logo img:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  justify-self: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 14px;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.nav-phone-btn {
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-phone-btn:hover {
  color: var(--orange);
}

.btn-espace {
  background: var(--orange);
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.btn-espace:hover {
  opacity: 0.88;
}

/* HAMBURGER BUTTON */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  justify-self: end;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* INNER RESPONSIVE */
@media (max-width: 900px) {
  .inner {
    padding: 0 32px;
  }
}

@media (max-width: 768px) {
  .inner {
    padding: 0 15px;
  }
}

/* NAVBAR RESPONSIVE */
@media (max-width: 900px) {
  nav {
    padding: 0 24px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 10px;
  }

  .nav-right {
    display: none;
  }

  .nav-phone-btn {
    font-size: 12px;
  }

  .btn-espace {
    font-size: 12px;
    padding: 8px 14px;
  }
}

@media (max-width: 768px) {
  nav {
    grid-template-columns: 1fr auto;
    grid-template-rows: 64px auto;
    height: auto;
    padding: 0 20px;
  }

  .nav-logo {
    grid-column: 1;
    grid-row: 1;
  }

  .nav-hamburger {
    display: flex;
    grid-column: 2;
    grid-row: 1;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 8px 0 16px;
    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
    width: 100%;
    padding-bottom: 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 4px;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }
}

/* SECTION TAG */
.section-tag {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-tag::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
  flex-shrink: 0;
}

/* BUTTONS */
.btn-dark,
.btn-light {
  display: inline-block;
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  width: fit-content;
}

.btn-orange {
  display: inline-block;
  background: var(--orange);
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-orange:hover {
  opacity: 0.88;
}

/* FOOTER */
footer {
  background: rgb(var(--black-rgb));
  color: rgba(var(--white-rgb), 0.45);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 40px;
  margin-bottom: 40px;
  max-width: 500px;
}

@media (max-width: 900px) {
  .footer-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    gap: 10px;
    margin-bottom: 10px;
  }
}

.footer-col h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(var(--white-rgb), 0.85);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(var(--white-rgb), 0.45);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--orange);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-contact-item {
    gap: 5px;
  }

  .footer-col a {
    font-size: 12px;
  }
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 11px;
  color: rgba(var(--white-rgb), 0.25);
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(var(--white-rgb), 0.07);
}

/* Contact Section */
.contact-section {
  background: var(--orange);
  padding: 100px 0;
}

.contact-section .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact-left h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--bg);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.contact-left p {
  font-size: 14px;
  color: rgba(var(--white-rgb), 0.82);
  line-height: 1.8;
  margin-bottom: 28px;
}

.contact-phone {
  color: var(--bg);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.contact-phone:hover {
  color: var(--bg);
}

.contact-right {
  background: var(--bg);
  border-radius: 4px;
  padding: 40px 36px;
}

@media (max-width: 900px) {
  .contact-section .inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 20px 0;
  }

  .contact-section .inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-right {
    padding: 16px;
  }
}

/* FAQ Section */
.faq-section {
  background: var(--faq-background);
  padding: 80px 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 20px 0;
  }
}

.faq-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 44px;
  letter-spacing: -0.3px;
}

@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 21px;
    margin-bottom: 30px;
  }
}

.faq-list {
  width: 100%;
}

.faq-item {
  background: var(--bg);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--faq-dark);
  margin-bottom: 6px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--faq-dark);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--faq-background);
  border: 1px solid var(--faq-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.3s;
}

.faq-item.open .faq-icon {
  background: var(--faq-dark);
  border-color: var(--faq-dark);
  transform: rotate(45deg);
}

.faq-item.open .faq-icon svg {
  fill: var(--bg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.9;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 24px 22px;
}
