/* 
  FinSpectre Conseil - Main Stylesheet
  Color Palette:
  - Deep Turquoise (#018B8B)
  - Sandy (#F4E3B2)
  - Dark Graphite (#2B2D42)
  - Lemon Yellow (#FFDD57)
  - Soft Salmon (#F28C8C)
*/

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-turquoise: #018B8B;
  --color-sandy: #F4E3B2;
  --color-graphite: #2B2D42;
  --color-yellow: #FFDD57;
  --color-salmon: #F28C8C;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 10px = 1rem */
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-graphite);
  background-color: #ffffff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-turquoise);
  transition: all 0.3s ease;
}

a:hover {
  color: #016363;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--color-graphite);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.6rem;
  position: relative;
  padding-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 8rem;
  height: 0.4rem;
  background-color: var(--color-yellow);
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 8rem 0;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-turquoise);
  color: white;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 1.2rem 3rem;
  border-radius: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #016363;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
.header {
  background-color: white;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
}

.logo {
  z-index: 1001;
}

.logo-svg {
  width: 18rem;
  height: 5rem;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-list a {
  color: var(--color-graphite);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.6rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 0.2rem solid transparent;
}

.nav-list a:hover, 
.nav-list a.active {
  color: var(--color-turquoise);
  border-bottom: 0.2rem solid var(--color-turquoise);
}

.btn-nav-contact {
  background-color: var(--color-turquoise);
  color: white !important;
  border-radius: 0.4rem;
}

.btn-nav-contact:hover {
  background-color: #016363;
  border-bottom: 0.2rem solid transparent !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-turquoise), #016363);
  color: white;
  text-align: center;
  padding: 18rem 0 12rem;
  margin-top: 8rem;
}

.hero h1 {
  color: white;
  margin-bottom: 2rem;
  font-size: 4.8rem;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  max-width: 70rem;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-content {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
  background-color: #f8f9fa;
}

.services h2 {
  text-align: center;
}

.services h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.service-card {
  background-color: white;
  padding: 3rem;
  border-radius: 0.8rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-1rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 6rem;
  height: 6rem;
  margin-bottom: 2rem;
  padding: 1.2rem;
  background-color: #ECF7F7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-turquoise);
}

.service-card h3 {
  margin-bottom: 1.5rem;
}

/* Advantages Section */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
}

.advantage-item {
  position: relative;
  padding: 2rem;
}

.advantage-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(1, 139, 139, 0.1);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.advantage-item h3 {
  margin-top: 2rem;
}

/* Work Process Section */
.process {
  background-color: #f8f9fa;
}

.process h2 {
  text-align: center;
}

.process h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.process-timeline {
  margin-top: 5rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  height: 100%;
  width: 0.2rem;
  background-color: var(--color-sandy);
}

.process-step {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 5rem;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-turquoise);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  z-index: 1;
}

.step-content {
  background-color: white;
  padding: 2rem;
  border-radius: 0.8rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

/* Testimonials Section */
.testimonials h2 {
  text-align: center;
}

.testimonials h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 3rem;
  margin-top: 5rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 0.8rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.testimonial-content {
  padding: 3rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: 8rem;
  position: absolute;
  top: -1rem;
  left: 1rem;
  opacity: 0.1;
  color: var(--color-turquoise);
}

.testimonial-author {
  display: flex;
  align-items: center;
  padding: 2rem 3rem;
  background-color: #f8f9fa;
}

.testimonial-author img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin-right: 1.5rem;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.4rem;
}

.author-info p {
  font-size: 1.4rem;
  color: #666;
}

/* Contact Form Section */
.contact h2 {
  text-align: center;
}

.contact h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.contact-container {
  display: flex;
  gap: 5rem;
  margin-top: 5rem;
}

.contact-form {
  flex: 1;
}

.contact-info {
  flex: 1;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #ddd;
  border-radius: 0.4rem;
  font-family: var(--font-body);
  font-size: 1.6rem;
}

.form-group select {
  background-color: var(--color-sandy);
}

.form-group select option {
  background-color: var(--color-sandy);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 1rem;
  margin-top: 0.5rem;
}

.checkbox-group label {
  margin-bottom: 0;
}

.contact-map {
  margin-top: 2rem;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  margin-bottom: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: var(--color-graphite);
  color: white;
  padding: 6rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info {
  flex: 2;
  min-width: 30rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-description {
  color: #ccc;
}

.footer-links {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-links-column {
  flex: 1;
  min-width: 15rem;
}

.footer-links-column h4 {
  color: white;
  margin-bottom: 2rem;
}

.footer-links-column ul li {
  margin-bottom: 1rem;
}

.footer-links-column a {
  color: #ccc;
}

.footer-links-column a:hover {
  color: var(--color-sandy);
}

.contact-list li {
  color: #ccc;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #ccc;
  font-size: 1.4rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  z-index: 9999;
  padding: 2rem 0;
}

.cookie-content {
  max-width: 120rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.cookie-content h3 {
  color: white;
  margin-bottom: 1rem;
}

.cookie-content p {
  margin-bottom: 2rem;
  max-width: 80rem;
}

.cookie-buttons {
  display: flex;
  gap: 2rem;
}

.btn-cookie-accept {
  background-color: var(--color-turquoise);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.6rem;
  border-radius: 0.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
  background-color: #016363;
}

.btn-cookie-more {
  color: white;
  text-decoration: underline;
  padding: 1rem 0;
}

/* Policy Pages */
.policy-content {
  max-width: 80rem;
  margin: 12rem auto 6rem;
  padding: 0 2rem;
}

.policy-content h1 {
  margin-bottom: 3rem;
  text-align: center;
}

.policy-content h2 {
  margin-top: 4rem;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
  margin-bottom: 2rem;
}

.policy-content ul,
.policy-content ol {
  padding-left: 2rem;
}

.policy-content ul li,
.policy-content ol li {
  margin-bottom: 1rem;
  list-style-type: disc;
}

.policy-content ol li {
  list-style-type: decimal;
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 15rem 0;
}

.thank-you h1 {
  margin-bottom: 2rem;
}

.thank-you p {
  font-size: 2rem;
  margin-bottom: 3rem;
}

/* Media Queries */
@media (max-width: 992px) {
  html {
    font-size: 58%;
  }
  
  .about-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .header-content {
    height: 7rem;
  }
  
  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 2rem;
    width: 3rem;
    cursor: pointer;
    z-index: 1001;
  }
  
  .nav-toggle-label span {
    height: 0.3rem;
    width: 100%;
    background-color: var(--color-graphite);
    transition: all 0.3s ease;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg) translate(0.5rem, 0.6rem);
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: rotate(-45deg) translate(0.5rem, -0.6rem);
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100vh;
    background-color: white;
    box-shadow: 0.5rem 0 1rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .nav-toggle:checked ~ .main-nav {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    padding: 10rem 3rem 3rem;
  }
  
  .nav-list li {
    width: 100%;
  }
  
  .nav-list a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.8rem;
    border-bottom: 1px solid #eee;
    width: 100%;
  }
  
  .btn-nav-contact {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
  }
  
  .process-step {
    padding-left: 4.5rem;
  }
  
  .footer-info,
  .footer-links-column {
    min-width: 100%;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  section {
    padding: 6rem 0;
  }
  
  .hero {
    padding: 15rem 0 9rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .testimonials-grid,
  .services-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 4rem;
  }
} 