/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 991px) {
  :root {
    --container-padding: 24px;
  }

  .section {
    padding: 60px 0;
  }

  h2 {
    font-size: 2.4rem;
  }
  .menu-close {
    display: block;
    font-size: 65px;
    background: transparent;
    border: unset;
    position: absolute;
    top: 0%;
    right: 10%;
    color: #626262;
  }
  .quote-section .quote-image {
    flex: 0 0 90%;
    margin: auto;
  }
  .quote-section {
    padding: 40px 0;
  }
  .quote-content.home-page {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  :root {
    --container-padding: 18px;
  }
  .legal-section.privacy {
    padding: 0px;
  }
  .legal-section.privacy h1 {
    font-size: 42px;
  }
  .legal-section.privacy .legal-block h2 {
    font-size: 27px;
  }
  .section {
    padding: 50px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .btn {
    min-width: 170px;
    height: 50px;
  }
}
/* Tablet */

@media (max-width: 992px) {
  .container {
    padding: 10px 25px;
  }

  .contact-btn {
    padding: 15px 35px;
    font-size: 18px;
  }

  .logo img {
    max-width: 130px;
  }

  .hero-content h1 {
    font-size: 3.8rem;
  }

  .hero-content p {
    font-size: 1.4rem;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .top-bar {
    font-size: 14px;
    letter-spacing: 2px;
    padding: 10px;
  }

  .container {
    padding: 10px 15px;
  }

  .contact-btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .menu-btn {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .logo img {
    max-width: 95px;
  }

  .hero {
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* Small Mobile */

@media (max-width: 480px) {
  .hero {
    min-height: 300px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }

  .contact-btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .logo img {
    max-width: 110px;
  }
  .mobile-menu {
    padding: 95px;
  }
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {
  .services-section {
    padding: 60px 0;
  }

  .services-top {
    gap: 40px;
  }

  .services-left h2 {
    font-size: 2.4rem;
  }

  .services-right {
    width: 300px;
  }

  .services-right p {
    font-size: 1.1rem;
  }

  .services-image img {
    height: 420px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {
  .services-section {
    padding: 50px 0;
  }

  .services-top {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }

  .services-left,
  .services-right {
    width: 100%;
  }

  .services-left h2 {
    font-size: 2rem;
  }

  .services-right p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .services-btn {
    width: 180px;
    height: 50px;
    font-size: 0.95rem;
  }

  .services-image img {
    height: 280px;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {
  .services-left h2 {
    font-size: 1.8rem;
  }

  .services-image img {
    height: 220px;
  }
}

/* ===========================
   TABLET
=========================== */

@media (max-width: 991px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ===========================
   MOBILE
=========================== */

@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
}

/* ===========================
   SMALL MOBILE
=========================== */

@media (max-width: 480px) {
  .gallery-grid {
    gap: 10px;
  }

  .gallery-item:last-child {
    display: none;
  }
}

/* ==========================
   TABLET
========================== */

@media (max-width: 991px) {
  .about-section {
    padding: 70px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    flex-direction: column-reverse;
  }

  .about-content h2 {
    max-width: 100%;
  }

  .about-sidebar {
    max-width: 100%;
  }
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 767px) {
  .about-section {
    padding: 50px 0;
  }

  .about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
  }

  .section-divider {
    margin-bottom: 25px;
  }

  .about-content p,
  .about-sidebar p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .about-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .services-section .services-left h2 {
    font-size: 28px;
  }
  .faq-left h2 {
    font-size: 29px;
    line-height: 40px;
    width: 90%;
  }
}

@media (max-width: 700px) {
  .faq-wrap {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
  .faq-left {
    padding-right: 0;
    margin-bottom: 32px;
    width: 90%;
  }
  .faq-left .services-btn {
    width: 90%;
    height: 58px;
  }
  .faq-question span {
    font-size: 17px;
  }
  .faq-text p {
    font-size: 14px;

    width: 100%;
  }
  .btn-savoir {
    font-size: 15px;
    padding: 14px 65px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zg-service__media img {
    transition: none;
  }
}

/* ===== Tablet: stack media above content ===== */
@media (max-width: 900px) {
  .zg-services {
    flex-direction: column;
  }

  .zg-services__media img {
    min-height: 0;
    height: clamp(220px, 42vw, 340px);
  }

  .zg-services__content {
    padding: clamp(2.25rem, 6vw, 3.5rem) clamp(1.5rem, 6vw, 3rem);
  }
}

/* ===== Mobile: single-column service grid ===== */
@media (max-width: 600px) {
  .zg-services__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .zg-services__media img {
    height: 220px;
  }

  .zg-service__media img {
    height: 220px;
  }

  .zg-services__eyebrow {
    font-size: 0.66rem;
  }
}

/* ===== Small phones ===== */
@media (max-width: 380px) {
  .zg-services__content {
    padding: 2rem 1.1rem;
  }

  .zg-services__title {
    font-size: 1.45rem;
  }
}

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

  .legal-section h1 {
    font-size: 32px;
  }

  .legal-block h2 {
    font-size: 24px;
  }

  .legal-block p {
    font-size: 16px;
  }
  .services-section {
    font-size: 27px;
  }
  .quote-content.home-page h2 {
    font-size: 29px;
    width: 100%;
  }
  .quote-content.nettoyage-demoussage h2 {
    line-height: 38px;
    font-size: 28px;
  }
  .quote-content.nettoyage-demoussage p {
    width: 100%;
  }
  .roof-page-title {
    width: 100%;
  }
  .quote-section.pose-de-fenetres-de-toit .quote-btn {
    width: 100%;
  }
  .gallery-section .gallery-item:last-child {
    display: none;
  }
  .quote-section.pose-de-fenetres-de-toit h3 {
    font-size: 32px;
    margin-bottom: 0;
  }
  .quote-section.pose-de-fenetres-de-toit h2 {
    width: 100%;
    font-size: 21px;
  }
  .zg-service__title {
    font-size: 20px;
  }
  .zg-services__title {
    font-size: 28px;

    width: 80%;
  }

  .legal-section h1 {
    font-size: 26px;
  }
  .legal-block h2 {
    font-size: 26px;
  }

  .legal-block strong {
    font-size: 16px;
  }
  .legal-block p {
    font-size: 15px;
  }
  .legal-block strong {
    font-size: 15px;
  }
}

@media (max-width: 575px) {
  .hero {
    height: 50vh;
  }

  .about-grid .about-sidebar {
    width: 100%;
  }

  .about-sidebar h3 {
    font-size: 14px;
  }
  .about-content p,
  .about-sidebar p {
    font-size: 15px;
  }
  .about-grid {
    gap: 20px;
  }
  .about-grid .about-content {
    width: 100%;
  }
  .about-content h2 {
    font-size: 26px;
  }
  .clients {
    background-color: var(--pink-light-background);
    padding: 15px;
  }
  .clients h2 {
    font-size: 20px;
  }
  .clients img {
    width: 100%;
    margin: auto;
  }
  .JPCouverture p {
    padding: 25px 0px;
    width: 100%;
    font-size: 18px;
    text-align: left;
  }
  .about-section {
    background: var(--pink-light-background);
    padding: 30px 0;
    background: #fff;
  }
  .quote-grid {
    display: flex;

    align-items: center;
    flex-wrap: wrap;
  }
  .quote-section .container {
    padding: 0px;
  }
  .quote-image img {
    height: 295px;
  }
  .quote-grid {
    gap: 30px;
  }
  .quote-content h2 {
    margin-bottom: 20px;
    font-size: 26px;
    line-height: 30px;
  }
  .footer-section {
    padding: 30px 0 0px;
  }
  .footer-grid {
    display: block;
  }
  .footer-newsletter h3 {
    margin-bottom: 15px;
  }
  .footer-links,
  .footer-contact,
  .footer-address {
    padding-top: 40px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-grid {
    margin-bottom: 30px;
  }
  .footer-social {
    margin-top: 21px;
  }
  .roof-page-title {
    font-size: 28px;
    line-height: 32px;

    color: #4b4b4b;
  }
  .roof-page-hero {
    background: var(--pink-dark);
    padding: 30px 0 30px;
  }
  .roof-page-subtitle {
    margin-bottom: 15px;
  }
  .quote-section.pose-de-fenetres-de-toit.reparation-de-toiture h3 {
    margin-bottom: 40px;

    font-size: 30px;
  }
  .quote-image {
    width: 100%;
  }
  .pose-de-fenetres-de-toit .quote-image img {
    height: 260px;
  }
  .quote-btn {
    width: 60%;
    height: 60px;
  }
  .pose-de-fenetres-de-toit {
    padding-bottom: 0;
    padding: 35px 0;
  }
  .quote-content p {
    margin-bottom: 0px;
    font-size: 15px;
  }
  .pose-de-fenetres-de-toit {
    padding: 15px 0px;
    padding-top: 45px;
  }

  .mb-coolum-reverse {
    flex-direction: column-reverse;
  }
  .reparation-de-toiture-form {
    padding: 15px 0px;
  }
  .reparation-de-toiture-form .roof-contact-form {
    width: 100%;
  }
  .roof-form-row {
    display: block;
  }
  .roof-contact-form button {
    width: 100%;
  }
  .services-btn {
    width: 55%;
    height: 54px;
  }
  .faq-answer-inner {
    display: block;
  }
  .faq-img {
    margin-bottom: 15px;
  }
  .roof-page-title.contact {
    width: 100%;
  }
  .contact-body .container {
    display: block;
  }
  .contact-body .container .left {
    width: 100%;
  }
  .contact-body {
    background-color: var(--pink-light-background);
    padding: 25px 0px;
  }
  .contact-body .container .right {
    width: 100%;
    margin-top: 22px;
  }
  .quote-section {
    padding: 40px 0;
  }
  .roof-features-section {
    padding: 35px 0;
  }
  .roof-features-title {
    font-size: 24px;
    margin-bottom: 35px;
  }
  .roof-features-grid {
    display: block;
  }
  .roof-feature-item h3 {
    font-size: 20px;
  }
  .roof-feature-item {
    padding: 12px 0;
  }
  .roof-process-section {
    padding: 40px 0;
    background: #fff;
  }
  .roof-process-grid {
    display: flex;
    flex-direction: column-reverse;
  }
  .roof-process-content h2 {
    font-size: 25px;
    margin-bottom: 25px;
  }
  .roof-process-tag {
    max-width: 100%;
    text-align: right;
    font-size: 16px;
  }
  .roof-contact-section {
    padding: 40px 0;
  }
  .pose-de-fenetres-de-toit-hero h3 {
    padding-top: 40px;
  }
  .form-background .roof-contact-form {
    width: 100%;
  }
  .form-background .roof-contact-form h2 {
    font-size: 27px;
    line-height: 35px;
  }
  .form-background {
    padding: 30px 0px;
  }
  .quote-content ul {
    margin: 0px 20px;
  }
  .renovation-de-toiture .quote-btn {
    width: 90%;
    height: 55px;
    font-size: 15px;
  }
  .quote-section.pose-de-fenetres-de-toit.reparation-de-toiture
    .quote-content
    h2 {
    margin: 15px 0px;
  }
  .footer-links a,
  .footer-contact a,
  .footer-address p {
    font-size: 14px;
  }
}
