/*
Theme Name:   Danidevito
Theme URI:    
Description:  Un thème développé par Florian Lefebvre pour Danidevito studio
Author:       Florian Lefebvre
Author URI:   https://florian-lefebvre.com/
Template:     hello-elementor
Version:      1.0.5
Text Domain:  danidevito
*/

/* === Custom styles === */

/* Espacements globaux : desktop (≥ 1200 px), plafonnés à leur valeur pour un écran de 1920 px */
:root {
	--ddv-gutter: min(1.4vw, 27px);
	--ddv-nav-gutter: min(2.8vw, 54px);
	--ddv-page-top: min(16.7vw, 320px);
	--ddv-section: min(13.9vw, 267px);
	--ddv-section-end: min(8.3vw, 160px);
	--ddv-footer-top: min(4.2vw, 80px);

	/* Gaps : petits en rem (fixes), grands en vw */
	--ddv-gap-xs: 0.25rem;
	--ddv-gap-s: 0.625rem;
	--ddv-gap: 1.25rem;
	--ddv-gap-l: min(2.8vw, 54px);
	--ddv-gap-xl: min(5.6vw, 107px);
}

/* Espacements tablette (810 à 1199 px) */
@media (max-width: 1199px) {
	:root {
		--ddv-gutter: 2vw;
		--ddv-nav-gutter: 3.9vw;
		--ddv-page-top: 15vw;
		--ddv-section: 15.6vw;
		--ddv-section-end: 7.8vw;
		--ddv-footer-top: 5.9vw;
		--ddv-gap-l: 3.9vw;
		--ddv-gap-xl: 7.8vw;
	}
}

/* Espacements mobile (≤ 809 px) */
@media (max-width: 809px) {
	:root {
		--ddv-gutter: 2.6vw;
		--ddv-nav-gutter: 5.1vw;
		--ddv-page-top: 28vw;
		--ddv-section: 25.6vw;
		--ddv-section-end: 20.5vw;
		--ddv-footer-top: 10.3vw;
		--ddv-gap-l: 10.3vw;
		--ddv-gap-xl: 20.5vw;
	}
}